History

Merge commit '5da51284937649a8ebb84fa951c235438fcbf8ae'

* commit '5da51284937649a8ebb84fa951c235438fcbf8ae': cavs: Add a dependency on h264chroma lavc: Split out ff_hwaccel_pixfmt_list_420[] over individual codecs Conflicts: libavcodec/h263dec.c libavcodec/h264.c libavcodec/mpeg12.c

Michael Niedermayer committed 13 years ago

Commit fa3a7b52 parents ff9b607 5da51281 file · +4 −4Browse files

Unified · Split

libavcodec/h264.c+4−4
@@ -68,7 +68,7 @@ static const uint8_t div6[QP_MAX_NUM + 1] = { · 67 unmodified lines
6868 14,14,14,14,
6969 };
7070
71−static const enum AVPixelFormat hwaccel_pixfmt_list_h264_420[] = {
71+static const enum AVPixelFormat h264_hwaccel_pixfmt_list_420[] = {
7272 #if CONFIG_H264_DXVA2_HWACCEL
7373 AV_PIX_FMT_DXVA2_VLD,
7474 #endif
@@ -85,7 +85,7 @@ static const enum AVPixelFormat hwaccel_pixfmt_list_h264_420[] = { · 10 unmodified lines
8585 AV_PIX_FMT_NONE
8686 };
8787
88−static const enum AVPixelFormat hwaccel_pixfmt_list_h264_jpeg_420[] = {
88+static const enum AVPixelFormat h264_hwaccel_pixfmt_list_jpeg_420[] = {
8989 #if CONFIG_H264_DXVA2_HWACCEL
9090 AV_PIX_FMT_DXVA2_VLD,
9191 #endif
@@ -2972,8 +2972,8 @@ static enum PixelFormat get_pixel_format(H264Context *h, int force_callback) · 2880 unmodified lines
29722972 const enum AVPixelFormat * fmt = h->avctx->codec->pix_fmts ?
29732973 h->avctx->codec->pix_fmts :
29742974 h->avctx->color_range == AVCOL_RANGE_JPEG ?
2975− hwaccel_pixfmt_list_h264_jpeg_420 :
2976− hwaccel_pixfmt_list_h264_420;
2975+ h264_hwaccel_pixfmt_list_jpeg_420 :
2976+ h264_hwaccel_pixfmt_list_420;
29772977
29782978 for (i=0; fmt[i] != AV_PIX_FMT_NONE; i++)
29792979 if (fmt[i] == h->avctx->pix_fmt && !force_callback)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t