mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: lavc: drop ff_pixfmt_list_420 Conflicts: libavcodec/flvdec.c libavcodec/msmpeg4dec.c libavcodec/rv10.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
6ee2911996
@ -132,5 +132,8 @@ AVCodec ff_flv_decoder = {
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
@ -133,5 +133,8 @@ AVCodec ff_h263i_decoder = {
|
||||
.close = ff_h263_decode_end,
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
@ -105,11 +105,6 @@ const uint8_t *const ff_mpeg2_dc_scale_table[4] = {
|
||||
mpeg2_dc_scale_table3,
|
||||
};
|
||||
|
||||
const enum AVPixelFormat ff_pixfmt_list_420[] = {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
||||
static void dct_unquantize_mpeg1_intra_c(MpegEncContext *s,
|
||||
int16_t *block, int n, int qscale)
|
||||
{
|
||||
|
@ -763,8 +763,6 @@ void ff_MPV_motion(MpegEncContext *s,
|
||||
*/
|
||||
int ff_alloc_picture(MpegEncContext *s, Picture *pic, int shared);
|
||||
|
||||
extern const enum AVPixelFormat ff_pixfmt_list_420[];
|
||||
|
||||
/**
|
||||
* permute block according to permuatation.
|
||||
* @param last last non zero element in scantable order
|
||||
|
@ -923,7 +923,10 @@ AVCodec ff_msmpeg4v1_decoder = {
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
||||
AVCodec ff_msmpeg4v2_decoder = {
|
||||
@ -937,7 +940,10 @@ AVCodec ff_msmpeg4v2_decoder = {
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
||||
AVCodec ff_msmpeg4v3_decoder = {
|
||||
@ -951,7 +957,10 @@ AVCodec ff_msmpeg4v3_decoder = {
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
||||
AVCodec ff_wmv1_decoder = {
|
||||
@ -965,5 +974,8 @@ AVCodec ff_wmv1_decoder = {
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
@ -795,7 +795,10 @@ AVCodec ff_rv10_decoder = {
|
||||
.decode = rv10_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
||||
AVCodec ff_rv20_decoder = {
|
||||
@ -810,5 +813,8 @@ AVCodec ff_rv20_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
||||
.flush = ff_mpeg_flush,
|
||||
.max_lowres = 3,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
@ -294,7 +294,10 @@ AVCodec ff_rv30_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
|
||||
CODEC_CAP_FRAME_THREADS,
|
||||
.flush = ff_mpeg_flush,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_init_thread_copy),
|
||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_update_thread_context),
|
||||
};
|
||||
|
@ -576,7 +576,10 @@ AVCodec ff_rv40_decoder = {
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
|
||||
CODEC_CAP_FRAME_THREADS,
|
||||
.flush = ff_mpeg_flush,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_init_thread_copy),
|
||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_rv34_decode_update_thread_context),
|
||||
};
|
||||
|
@ -6331,7 +6331,10 @@ AVCodec ff_wmv3image_decoder = {
|
||||
.decode = vc1_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.flush = vc1_sprite_flush,
|
||||
.pix_fmts = ff_pixfmt_list_420
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -6347,6 +6350,9 @@ AVCodec ff_vc1image_decoder = {
|
||||
.decode = vc1_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.flush = vc1_sprite_flush,
|
||||
.pix_fmts = ff_pixfmt_list_420
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
#endif
|
||||
|
@ -477,5 +477,8 @@ AVCodec ff_wmv2_decoder = {
|
||||
.close = wmv2_decode_end,
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.pix_fmts = ff_pixfmt_list_420,
|
||||
.pix_fmts = (const enum AVPixelFormat[]) {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_NONE
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user