mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics: Align codec declarations
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
6d27d8b1dd
commit
00c3b67b8a
@ -817,8 +817,10 @@ AVCodec ff_aac_encoder = {
|
|||||||
.init = aac_encode_init,
|
.init = aac_encode_init,
|
||||||
.encode2 = aac_encode_frame,
|
.encode2 = aac_encode_frame,
|
||||||
.close = aac_encode_end,
|
.close = aac_encode_end,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY | CODEC_CAP_EXPERIMENTAL,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY |
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
CODEC_CAP_EXPERIMENTAL,
|
||||||
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Advanced Audio Coding"),
|
.long_name = NULL_IF_CONFIG_SMALL("Advanced Audio Coding"),
|
||||||
.priv_class = &aacenc_class,
|
.priv_class = &aacenc_class,
|
||||||
};
|
};
|
||||||
|
@ -148,7 +148,8 @@ AVCodec ff_ac3_fixed_encoder = {
|
|||||||
.init = ac3_fixed_encode_init,
|
.init = ac3_fixed_encode_init,
|
||||||
.encode2 = ff_ac3_fixed_encode_frame,
|
.encode2 = ff_ac3_fixed_encode_frame,
|
||||||
.close = ff_ac3_encode_close,
|
.close = ff_ac3_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
||||||
.priv_class = &ac3enc_class,
|
.priv_class = &ac3enc_class,
|
||||||
.channel_layouts = ff_ac3_channel_layouts,
|
.channel_layouts = ff_ac3_channel_layouts,
|
||||||
|
@ -146,7 +146,8 @@ AVCodec ff_ac3_encoder = {
|
|||||||
.init = ff_ac3_encode_init,
|
.init = ff_ac3_encode_init,
|
||||||
.encode2 = ff_ac3_float_encode_frame,
|
.encode2 = ff_ac3_float_encode_frame,
|
||||||
.close = ff_ac3_encode_close,
|
.close = ff_ac3_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
||||||
.priv_class = &ac3enc_class,
|
.priv_class = &ac3enc_class,
|
||||||
.channel_layouts = ff_ac3_channel_layouts,
|
.channel_layouts = ff_ac3_channel_layouts,
|
||||||
|
@ -727,7 +727,7 @@ AVCodec ff_ ## name_ ## _encoder = { \
|
|||||||
.encode2 = adpcm_encode_frame, \
|
.encode2 = adpcm_encode_frame, \
|
||||||
.close = adpcm_encode_close, \
|
.close = adpcm_encode_close, \
|
||||||
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, \
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, \
|
||||||
AV_SAMPLE_FMT_NONE}, \
|
AV_SAMPLE_FMT_NONE }, \
|
||||||
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1063,5 +1063,6 @@ AVCodec ff_amrnb_decoder = {
|
|||||||
.decode = amrnb_decode_frame,
|
.decode = amrnb_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate NarrowBand"),
|
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate NarrowBand"),
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
@ -1243,5 +1243,6 @@ AVCodec ff_amrwb_decoder = {
|
|||||||
.decode = amrwb_decode_frame,
|
.decode = amrwb_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate WideBand"),
|
.long_name = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate WideBand"),
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
@ -626,7 +626,7 @@ AVCodec ff_asv1_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("ASUS V1"),
|
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
||||||
};
|
};
|
||||||
|
|
||||||
AVCodec ff_asv2_decoder = {
|
AVCodec ff_asv2_decoder = {
|
||||||
@ -638,7 +638,7 @@ AVCodec ff_asv2_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("ASUS V2"),
|
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
||||||
};
|
};
|
||||||
|
|
||||||
#if CONFIG_ASV1_ENCODER
|
#if CONFIG_ASV1_ENCODER
|
||||||
@ -649,9 +649,8 @@ AVCodec ff_asv1_encoder = {
|
|||||||
.priv_data_size = sizeof(ASV1Context),
|
.priv_data_size = sizeof(ASV1Context),
|
||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
//encode_end,
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("ASUS V1"),
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -663,8 +662,7 @@ AVCodec ff_asv2_encoder = {
|
|||||||
.priv_data_size = sizeof(ASV1Context),
|
.priv_data_size = sizeof(ASV1Context),
|
||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
//encode_end,
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("ASUS V2"),
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -171,6 +171,7 @@ AVCodec ff_bmp_encoder = {
|
|||||||
PIX_FMT_RGB555, PIX_FMT_RGB444, PIX_FMT_RGB565,
|
PIX_FMT_RGB555, PIX_FMT_RGB444, PIX_FMT_RGB565,
|
||||||
PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8,
|
PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8,
|
||||||
PIX_FMT_MONOBLACK,
|
PIX_FMT_MONOBLACK,
|
||||||
PIX_FMT_NONE},
|
PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("BMP image"),
|
.long_name = NULL_IF_CONFIG_SMALL("BMP image"),
|
||||||
};
|
};
|
||||||
|
@ -724,6 +724,6 @@ AVCodec ff_cavs_decoder = {
|
|||||||
.close = ff_cavs_end,
|
.close = ff_cavs_end,
|
||||||
.decode = cavs_decode_frame,
|
.decode = cavs_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
||||||
.flush= cavs_flush,
|
.flush = cavs_flush,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Chinese AVS video (AVS1-P2, JiZhun profile)"),
|
.long_name = NULL_IF_CONFIG_SMALL("Chinese AVS video (AVS1-P2, JiZhun profile)"),
|
||||||
};
|
};
|
||||||
|
@ -1007,7 +1007,9 @@ AVCodec ff_dnxhd_encoder = {
|
|||||||
.encode2 = dnxhd_encode_picture,
|
.encode2 = dnxhd_encode_picture,
|
||||||
.close = dnxhd_encode_end,
|
.close = dnxhd_encode_end,
|
||||||
.capabilities = CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_SLICE_THREADS,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_YUV422P10, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV422P,
|
||||||
|
PIX_FMT_YUV422P10,
|
||||||
|
PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
};
|
};
|
||||||
|
@ -960,7 +960,9 @@ AVCodec ff_dvvideo_encoder = {
|
|||||||
.init = dvvideo_init_encoder,
|
.init = dvvideo_init_encoder,
|
||||||
.encode2 = dvvideo_encode_frame,
|
.encode2 = dvvideo_encode_frame,
|
||||||
.capabilities = CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_SLICE_THREADS,
|
||||||
.pix_fmts = (const enum PixelFormat[]) {PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]) {
|
||||||
|
PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
|
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
|
||||||
};
|
};
|
||||||
#endif // CONFIG_DVVIDEO_ENCODER
|
#endif // CONFIG_DVVIDEO_ENCODER
|
||||||
|
@ -254,7 +254,8 @@ AVCodec ff_eac3_encoder = {
|
|||||||
.init = ff_ac3_encode_init,
|
.init = ff_ac3_encode_init,
|
||||||
.encode2 = ff_ac3_float_encode_frame,
|
.encode2 = ff_ac3_float_encode_frame,
|
||||||
.close = ff_ac3_encode_close,
|
.close = ff_ac3_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 E-AC-3"),
|
.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 E-AC-3"),
|
||||||
.priv_class = &eac3enc_class,
|
.priv_class = &eac3enc_class,
|
||||||
.channel_layouts = ff_ac3_channel_layouts,
|
.channel_layouts = ff_ac3_channel_layouts,
|
||||||
|
@ -1743,8 +1743,9 @@ AVCodec ff_ffv1_decoder = {
|
|||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
.close = common_end,
|
.close = common_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/ | CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/ |
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
CODEC_CAP_SLICE_THREADS,
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
||||||
};
|
};
|
||||||
|
|
||||||
#if CONFIG_FFV1_ENCODER
|
#if CONFIG_FFV1_ENCODER
|
||||||
@ -1757,7 +1758,11 @@ AVCodec ff_ffv1_encoder = {
|
|||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = common_end,
|
.close = common_end,
|
||||||
.capabilities = CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_SLICE_THREADS,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_YUV420P16, PIX_FMT_YUV422P16, PIX_FMT_YUV444P16, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P,
|
||||||
|
PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_YUV420P16, PIX_FMT_YUV422P16,
|
||||||
|
PIX_FMT_YUV444P16, PIX_FMT_NONE
|
||||||
|
},
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -689,5 +689,5 @@ AVCodec ff_flac_decoder = {
|
|||||||
.close = flac_decode_close,
|
.close = flac_decode_close,
|
||||||
.decode = flac_decode_frame,
|
.decode = flac_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
|
.long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
|
||||||
};
|
};
|
||||||
|
@ -1307,7 +1307,8 @@ AVCodec ff_flac_encoder = {
|
|||||||
.encode2 = flac_encode_frame,
|
.encode2 = flac_encode_frame,
|
||||||
.close = flac_encode_close,
|
.close = flac_encode_close,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
|
.long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"),
|
||||||
.priv_class = &flac_encoder_class,
|
.priv_class = &flac_encoder_class,
|
||||||
};
|
};
|
||||||
|
@ -461,7 +461,7 @@ AVCodec ff_flashsv_decoder = {
|
|||||||
.close = flashsv_decode_end,
|
.close = flashsv_decode_end,
|
||||||
.decode = flashsv_decode_frame,
|
.decode = flashsv_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
|
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_FLASHSV_DECODER */
|
#endif /* CONFIG_FLASHSV_DECODER */
|
||||||
@ -524,7 +524,7 @@ AVCodec ff_flashsv2_decoder = {
|
|||||||
.close = flashsv2_decode_end,
|
.close = flashsv2_decode_end,
|
||||||
.decode = flashsv_decode_frame,
|
.decode = flashsv_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
|
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
|
||||||
};
|
};
|
||||||
#endif /* CONFIG_FLASHSV2_DECODER */
|
#endif /* CONFIG_FLASHSV2_DECODER */
|
||||||
|
@ -287,6 +287,6 @@ AVCodec ff_flashsv_encoder = {
|
|||||||
.init = flashsv_encode_init,
|
.init = flashsv_encode_init,
|
||||||
.encode2 = flashsv_encode_frame,
|
.encode2 = flashsv_encode_frame,
|
||||||
.close = flashsv_encode_end,
|
.close = flashsv_encode_end,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_BGR24, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
|
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"),
|
||||||
};
|
};
|
||||||
|
@ -127,7 +127,7 @@ AVCodec ff_flv_decoder = {
|
|||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres= 3,
|
.max_lowres = 3,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),
|
.long_name = NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -94,7 +94,7 @@ AVCodec ff_flv_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),
|
.long_name = NULL_IF_CONFIG_SMALL("Flash Video (FLV) / Sorenson Spark / Sorenson H.263"),
|
||||||
.priv_class = &flv_class,
|
.priv_class = &flv_class,
|
||||||
};
|
};
|
||||||
|
@ -400,5 +400,6 @@ AVCodec ff_adpcm_g722_encoder = {
|
|||||||
.encode2 = g722_encode_frame,
|
.encode2 = g722_encode_frame,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
|
.long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
@ -407,7 +407,8 @@ AVCodec ff_adpcm_g726_encoder = {
|
|||||||
.close = g726_encode_close,
|
.close = g726_encode_close,
|
||||||
#endif
|
#endif
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
|
.long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
.defaults = defaults,
|
.defaults = defaults,
|
||||||
|
@ -187,6 +187,9 @@ AVCodec ff_gif_encoder = {
|
|||||||
.init = gif_encode_init,
|
.init = gif_encode_init,
|
||||||
.encode2 = gif_encode_frame,
|
.encode2 = gif_encode_frame,
|
||||||
.close = gif_encode_close,
|
.close = gif_encode_close,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
|
PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE,
|
||||||
|
PIX_FMT_GRAY8, PIX_FMT_PAL8, PIX_FMT_NONE
|
||||||
|
},
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"),
|
||||||
};
|
};
|
||||||
|
@ -331,7 +331,7 @@ AVCodec ff_h261_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("H.261"),
|
.long_name = NULL_IF_CONFIG_SMALL("H.261"),
|
||||||
.priv_class = &h261_class,
|
.priv_class = &h261_class,
|
||||||
};
|
};
|
||||||
|
@ -742,9 +742,10 @@ AVCodec ff_h263_decoder = {
|
|||||||
.init = ff_h263_decode_init,
|
.init = ff_h263_decode_init,
|
||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
.flush= ff_mpeg_flush,
|
CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
|
||||||
.max_lowres= 3,
|
.flush = ff_mpeg_flush,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
|
.max_lowres = 3,
|
||||||
.pix_fmts= ff_hwaccel_pixfmt_list_420,
|
.long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"),
|
||||||
|
.pix_fmts = ff_hwaccel_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -1456,7 +1456,8 @@ AVCodec ff_huffyuv_decoder = {
|
|||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy),
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy),
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"),
|
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"),
|
||||||
};
|
};
|
||||||
@ -1471,7 +1472,8 @@ AVCodec ff_ffvhuff_decoder = {
|
|||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy),
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy),
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
|
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
|
||||||
};
|
};
|
||||||
@ -1486,7 +1488,9 @@ AVCodec ff_huffyuv_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = encode_end,
|
.close = encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"),
|
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -1500,7 +1504,9 @@ AVCodec ff_ffvhuff_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = encode_end,
|
.close = encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
|
.long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -134,5 +134,5 @@ AVCodec ff_h263i_decoder = {
|
|||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
|
.long_name = NULL_IF_CONFIG_SMALL("Intel H.263"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -399,6 +399,9 @@ AVCodec ff_jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need
|
|||||||
.priv_data_size = sizeof(JpeglsContext),
|
.priv_data_size = sizeof(JpeglsContext),
|
||||||
.init = encode_init_ls,
|
.init = encode_init_ls,
|
||||||
.encode2 = encode_picture_ls,
|
.encode2 = encode_picture_ls,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16,
|
||||||
|
PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
|
.long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"),
|
||||||
};
|
};
|
||||||
|
@ -223,7 +223,8 @@ AVCodec ff_libfaac_encoder = {
|
|||||||
.encode2 = Faac_encode_frame,
|
.encode2 = Faac_encode_frame,
|
||||||
.close = Faac_encode_close,
|
.close = Faac_encode_close,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
|
.long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"),
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(profiles),
|
.profiles = NULL_IF_CONFIG_SMALL(profiles),
|
||||||
};
|
};
|
||||||
|
@ -123,7 +123,8 @@ AVCodec ff_libgsm_encoder = {
|
|||||||
.init = libgsm_encode_init,
|
.init = libgsm_encode_init,
|
||||||
.encode2 = libgsm_encode_frame,
|
.encode2 = libgsm_encode_frame,
|
||||||
.close = libgsm_encode_close,
|
.close = libgsm_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"),
|
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"),
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -134,7 +135,8 @@ AVCodec ff_libgsm_ms_encoder = {
|
|||||||
.init = libgsm_encode_init,
|
.init = libgsm_encode_init,
|
||||||
.encode2 = libgsm_encode_frame,
|
.encode2 = libgsm_encode_frame,
|
||||||
.close = libgsm_encode_close,
|
.close = libgsm_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"),
|
.long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -297,7 +297,8 @@ AVCodec ff_libopencore_amrnb_encoder = {
|
|||||||
.encode2 = amr_nb_encode_frame,
|
.encode2 = amr_nb_encode_frame,
|
||||||
.close = amr_nb_encode_close,
|
.close = amr_nb_encode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SMALL_LAST_FRAME,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
|
.long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
};
|
};
|
||||||
|
@ -221,5 +221,5 @@ AVCodec ff_libopenjpeg_decoder = {
|
|||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
|
||||||
.max_lowres = 5,
|
.max_lowres = 5,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"),
|
.long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"),
|
||||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(libopenjpeg_decode_init_thread_copy)
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(libopenjpeg_decode_init_thread_copy),
|
||||||
};
|
};
|
||||||
|
@ -449,6 +449,8 @@ AVCodec ff_libschroedinger_encoder = {
|
|||||||
.encode2 = libschroedinger_encode_frame,
|
.encode2 = libschroedinger_encode_frame,
|
||||||
.close = libschroedinger_encode_close,
|
.close = libschroedinger_encode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DELAY,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"),
|
.long_name = NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"),
|
||||||
};
|
};
|
||||||
|
@ -332,7 +332,8 @@ AVCodec ff_libspeex_encoder = {
|
|||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = encode_close,
|
.close = encode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DELAY,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE },
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
|
.long_name = NULL_IF_CONFIG_SMALL("libspeex Speex"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
.defaults = defaults,
|
.defaults = defaults,
|
||||||
|
@ -369,6 +369,8 @@ AVCodec ff_libtheora_encoder = {
|
|||||||
.close = encode_close,
|
.close = encode_close,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.capabilities = CODEC_CAP_DELAY, // needed to get the statsfile summary
|
.capabilities = CODEC_CAP_DELAY, // needed to get the statsfile summary
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libtheora Theora"),
|
.long_name = NULL_IF_CONFIG_SMALL("libtheora Theora"),
|
||||||
};
|
};
|
||||||
|
@ -196,6 +196,7 @@ AVCodec ff_libvo_aacenc_encoder = {
|
|||||||
.encode2 = aac_encode_frame,
|
.encode2 = aac_encode_frame,
|
||||||
.close = aac_encode_close,
|
.close = aac_encode_close,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AAC"),
|
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn AAC"),
|
||||||
};
|
};
|
||||||
|
@ -148,8 +148,9 @@ AVCodec ff_libvo_amrwbenc_encoder = {
|
|||||||
.init = amr_wb_encode_init,
|
.init = amr_wb_encode_init,
|
||||||
.encode2 = amr_wb_encode_frame,
|
.encode2 = amr_wb_encode_frame,
|
||||||
.close = amr_wb_encode_close,
|
.close = amr_wb_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn Adaptive Multi-Rate "
|
AV_SAMPLE_FMT_NONE },
|
||||||
"(AMR) Wide-Band"),
|
.long_name = NULL_IF_CONFIG_SMALL("Android VisualOn Adaptive "
|
||||||
|
"Multi-Rate (AMR) Wide-Band"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
};
|
};
|
||||||
|
@ -574,7 +574,7 @@ AVCodec ff_libvpx_encoder = {
|
|||||||
.encode2 = vp8_encode,
|
.encode2 = vp8_encode,
|
||||||
.close = vp8_free,
|
.close = vp8_free,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"),
|
.long_name = NULL_IF_CONFIG_SMALL("libvpx VP8"),
|
||||||
.priv_class = &class,
|
.priv_class = &class,
|
||||||
.defaults = defaults,
|
.defaults = defaults,
|
||||||
|
@ -827,8 +827,8 @@ AVCodec ff_libxvid_encoder = {
|
|||||||
.init = xvid_encode_init,
|
.init = xvid_encode_init,
|
||||||
.encode2 = xvid_encode_frame,
|
.encode2 = xvid_encode_frame,
|
||||||
.close = xvid_encode_close,
|
.close = xvid_encode_close,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("libxvidcore MPEG-4 part 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("libxvidcore MPEG-4 part 2"),
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* CONFIG_LIBXVID_ENCODER */
|
#endif /* CONFIG_LIBXVID_ENCODER */
|
||||||
|
@ -273,6 +273,6 @@ AVCodec ff_mdec_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
|
.long_name = NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"),
|
||||||
.init_thread_copy= ONLY_IF_THREADS_ENABLED(decode_init_thread_copy)
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy)
|
||||||
};
|
};
|
||||||
|
@ -453,6 +453,8 @@ AVCodec ff_mjpeg_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"),
|
PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE
|
||||||
|
},
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"),
|
||||||
};
|
};
|
||||||
|
@ -2498,7 +2498,9 @@ AVCodec ff_mpeg1video_decoder = {
|
|||||||
.init = mpeg_decode_init,
|
.init = mpeg_decode_init,
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
|
CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
|
||||||
|
CODEC_CAP_SLICE_THREADS,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
.max_lowres = 3,
|
.max_lowres = 3,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
|
||||||
@ -2513,7 +2515,9 @@ AVCodec ff_mpeg2video_decoder = {
|
|||||||
.init = mpeg_decode_init,
|
.init = mpeg_decode_init,
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
|
CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
|
||||||
|
CODEC_CAP_SLICE_THREADS,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
.max_lowres = 3,
|
.max_lowres = 3,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"),
|
||||||
@ -2546,7 +2550,8 @@ AVCodec ff_mpeg_xvmc_decoder = {
|
|||||||
.init = mpeg_mc_decode_init,
|
.init = mpeg_mc_decode_init,
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
|
CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video XvMC (X-Video Motion Compensation)"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video XvMC (X-Video Motion Compensation)"),
|
||||||
};
|
};
|
||||||
@ -2562,7 +2567,8 @@ AVCodec ff_mpeg_vdpau_decoder = {
|
|||||||
.init = mpeg_decode_init,
|
.init = mpeg_decode_init,
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED |
|
||||||
|
CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video (VDPAU acceleration)"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1/2 video (VDPAU acceleration)"),
|
||||||
};
|
};
|
||||||
@ -2577,7 +2583,8 @@ AVCodec ff_mpeg1_vdpau_decoder = {
|
|||||||
.init = mpeg_decode_init,
|
.init = mpeg_decode_init,
|
||||||
.close = mpeg_decode_end,
|
.close = mpeg_decode_end,
|
||||||
.decode = mpeg_decode_frame,
|
.decode = mpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED |
|
||||||
|
CODEC_CAP_HWACCEL_VDPAU | CODEC_CAP_DELAY,
|
||||||
.flush = flush,
|
.flush = flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video (VDPAU acceleration)"),
|
||||||
};
|
};
|
||||||
|
@ -958,10 +958,11 @@ AVCodec ff_mpeg1video_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.supported_framerates= avpriv_frame_rate_tab+1,
|
.supported_framerates = avpriv_frame_rate_tab+1,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P,
|
||||||
.capabilities= CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"),
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video"),
|
||||||
.priv_class = &mpeg1_class,
|
.priv_class = &mpeg1_class,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -973,9 +974,11 @@ AVCodec ff_mpeg2video_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.supported_framerates= avpriv_frame_rate_tab+1,
|
.supported_framerates = avpriv_frame_rate_tab + 1,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.capabilities= CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-2 video"),
|
},
|
||||||
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-2 video"),
|
||||||
.priv_class = &mpeg2_class,
|
.priv_class = &mpeg2_class,
|
||||||
};
|
};
|
||||||
|
@ -2262,13 +2262,15 @@ AVCodec ff_mpeg4_decoder = {
|
|||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
.flush= ff_mpeg_flush,
|
CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
|
||||||
.max_lowres= 3,
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
|
.flush = ff_mpeg_flush,
|
||||||
.pix_fmts= ff_hwaccel_pixfmt_list_420,
|
.max_lowres = 3,
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
|
||||||
|
.pix_fmts = ff_hwaccel_pixfmt_list_420,
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(mpeg4_video_profiles),
|
.profiles = NULL_IF_CONFIG_SMALL(mpeg4_video_profiles),
|
||||||
.update_thread_context= ONLY_IF_THREADS_ENABLED(ff_mpeg_update_thread_context)
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(ff_mpeg_update_thread_context),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -2281,8 +2283,10 @@ AVCodec ff_mpeg4_vdpau_decoder = {
|
|||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY |
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
|
CODEC_CAP_HWACCEL_VDPAU,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_VDPAU_MPEG4, PIX_FMT_NONE},
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
|
||||||
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_VDPAU_MPEG4,
|
||||||
|
PIX_FMT_NONE },
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -1339,8 +1339,8 @@ AVCodec ff_mpeg4_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.capabilities= CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
|
||||||
.priv_class = &mpeg4enc_class,
|
.priv_class = &mpeg4enc_class,
|
||||||
};
|
};
|
||||||
|
@ -789,8 +789,11 @@ AVCodec ff_mp2_encoder = {
|
|||||||
.init = MPA_encode_init,
|
.init = MPA_encode_init,
|
||||||
.encode2 = MPA_encode_frame,
|
.encode2 = MPA_encode_frame,
|
||||||
.close = MPA_encode_close,
|
.close = MPA_encode_close,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
.supported_samplerates= (const int[]){44100, 48000, 32000, 22050, 24000, 16000, 0},
|
AV_SAMPLE_FMT_NONE },
|
||||||
|
.supported_samplerates = (const int[]){
|
||||||
|
44100, 48000, 32000, 22050, 24000, 16000, 0
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
|
.long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
|
||||||
.defaults = mp2_defaults,
|
.defaults = mp2_defaults,
|
||||||
};
|
};
|
||||||
|
@ -4163,8 +4163,8 @@ AVCodec ff_h263p_encoder = {
|
|||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.capabilities = CODEC_CAP_SLICE_THREADS,
|
.capabilities = CODEC_CAP_SLICE_THREADS,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("H.263+ / H.263-1998 / H.263 version 2"),
|
||||||
.priv_class = &h263p_class,
|
.priv_class = &h263p_class,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -4178,8 +4178,8 @@ AVCodec ff_msmpeg4v2_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
|
||||||
.priv_class = &msmpeg4v2_class,
|
.priv_class = &msmpeg4v2_class,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -4193,8 +4193,8 @@ AVCodec ff_msmpeg4v3_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
|
||||||
.priv_class = &msmpeg4v3_class,
|
.priv_class = &msmpeg4v3_class,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -4208,7 +4208,7 @@ AVCodec ff_wmv1_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
|
||||||
.priv_class = &wmv1_class,
|
.priv_class = &wmv1_class,
|
||||||
};
|
};
|
||||||
|
@ -1216,9 +1216,9 @@ AVCodec ff_msmpeg4v1_decoder = {
|
|||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres= 3,
|
.max_lowres = 3,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
|
||||||
AVCodec ff_msmpeg4v2_decoder = {
|
AVCodec ff_msmpeg4v2_decoder = {
|
||||||
@ -1230,9 +1230,9 @@ AVCodec ff_msmpeg4v2_decoder = {
|
|||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres= 3,
|
.max_lowres = 3,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
|
||||||
AVCodec ff_msmpeg4v3_decoder = {
|
AVCodec ff_msmpeg4v3_decoder = {
|
||||||
@ -1244,9 +1244,9 @@ AVCodec ff_msmpeg4v3_decoder = {
|
|||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres= 3,
|
.max_lowres = 3,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
|
.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
|
||||||
AVCodec ff_wmv1_decoder = {
|
AVCodec ff_wmv1_decoder = {
|
||||||
@ -1258,7 +1258,7 @@ AVCodec ff_wmv1_decoder = {
|
|||||||
.close = ff_h263_decode_end,
|
.close = ff_h263_decode_end,
|
||||||
.decode = ff_h263_decode_frame,
|
.decode = ff_h263_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres= 3,
|
.max_lowres = 3,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 7"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -153,5 +153,5 @@ AVCodec ff_msrle_decoder = {
|
|||||||
.close = msrle_decode_end,
|
.close = msrle_decode_end,
|
||||||
.decode = msrle_decode_frame,
|
.decode = msrle_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Microsoft RLE"),
|
.long_name = NULL_IF_CONFIG_SMALL("Microsoft RLE"),
|
||||||
};
|
};
|
||||||
|
@ -342,5 +342,5 @@ AVCodec ff_msvideo1_decoder = {
|
|||||||
.close = msvideo1_decode_end,
|
.close = msvideo1_decode_end,
|
||||||
.decode = msvideo1_decode_frame,
|
.decode = msvideo1_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
|
.long_name = NULL_IF_CONFIG_SMALL("Microsoft Video 1"),
|
||||||
};
|
};
|
||||||
|
@ -338,5 +338,5 @@ AVCodec ff_mxpeg_decoder = {
|
|||||||
.close = mxpeg_decode_end,
|
.close = mxpeg_decode_end,
|
||||||
.decode = mxpeg_decode_frame,
|
.decode = mxpeg_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.max_lowres = 3
|
.max_lowres = 3,
|
||||||
};
|
};
|
||||||
|
@ -425,5 +425,6 @@ AVCodec ff_nellymoser_encoder = {
|
|||||||
.close = encode_end,
|
.close = encode_end,
|
||||||
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_SMALL_LAST_FRAME | CODEC_CAP_DELAY,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
|
.long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
@ -121,6 +121,9 @@ AVCodec ff_pam_encoder = {
|
|||||||
.priv_data_size = sizeof(PNMContext),
|
.priv_data_size = sizeof(PNMContext),
|
||||||
.init = ff_pnm_init,
|
.init = ff_pnm_init,
|
||||||
.encode2 = pam_encode_frame,
|
.encode2 = pam_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_GRAY8, PIX_FMT_MONOWHITE,
|
||||||
|
PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PAM (Portable AnyMap) image"),
|
||||||
};
|
};
|
||||||
|
@ -321,7 +321,8 @@ AVCodec ff_pcm_bluray_decoder = {
|
|||||||
.init = pcm_bluray_decode_init,
|
.init = pcm_bluray_decode_init,
|
||||||
.decode = pcm_bluray_decode_frame,
|
.decode = pcm_bluray_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32,
|
.sample_fmts = (const enum AVSampleFormat[]){
|
||||||
AV_SAMPLE_FMT_NONE},
|
AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S32, AV_SAMPLE_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
|
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 16|20|24-bit big-endian for Blu-ray media"),
|
||||||
};
|
};
|
||||||
|
@ -211,8 +211,10 @@ AVCodec ff_pcx_encoder = {
|
|||||||
.encode2 = pcx_encode_frame,
|
.encode2 = pcx_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
PIX_FMT_RGB24,
|
PIX_FMT_RGB24,
|
||||||
PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8,
|
PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE,
|
||||||
|
PIX_FMT_GRAY8, PIX_FMT_PAL8,
|
||||||
PIX_FMT_MONOBLACK,
|
PIX_FMT_MONOBLACK,
|
||||||
PIX_FMT_NONE},
|
PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"),
|
||||||
};
|
};
|
||||||
|
@ -460,6 +460,9 @@ AVCodec ff_png_encoder = {
|
|||||||
.priv_data_size = sizeof(PNGEncContext),
|
.priv_data_size = sizeof(PNGEncContext),
|
||||||
.init = png_enc_init,
|
.init = png_enc_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
|
PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8,
|
||||||
|
PIX_FMT_MONOBLACK, PIX_FMT_NONE
|
||||||
|
},
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
|
||||||
};
|
};
|
||||||
|
@ -126,7 +126,9 @@ AVCodec ff_pgm_encoder = {
|
|||||||
.priv_data_size = sizeof(PNMContext),
|
.priv_data_size = sizeof(PNMContext),
|
||||||
.init = ff_pnm_init,
|
.init = ff_pnm_init,
|
||||||
.encode2 = pnm_encode_frame,
|
.encode2 = pnm_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_GRAY8, PIX_FMT_GRAY16BE, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PGM (Portable GrayMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -139,7 +141,7 @@ AVCodec ff_pgmyuv_encoder = {
|
|||||||
.priv_data_size = sizeof(PNMContext),
|
.priv_data_size = sizeof(PNMContext),
|
||||||
.init = ff_pnm_init,
|
.init = ff_pnm_init,
|
||||||
.encode2 = pnm_encode_frame,
|
.encode2 = pnm_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PGMYUV (Portable GrayMap YUV) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -152,7 +154,9 @@ AVCodec ff_ppm_encoder = {
|
|||||||
.priv_data_size = sizeof(PNMContext),
|
.priv_data_size = sizeof(PNMContext),
|
||||||
.init = ff_pnm_init,
|
.init = ff_pnm_init,
|
||||||
.encode2 = pnm_encode_frame,
|
.encode2 = pnm_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_RGB24, PIX_FMT_RGB48BE, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PPM (Portable PixelMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -165,7 +169,8 @@ AVCodec ff_pbm_encoder = {
|
|||||||
.priv_data_size = sizeof(PNMContext),
|
.priv_data_size = sizeof(PNMContext),
|
||||||
.init = ff_pnm_init,
|
.init = ff_pnm_init,
|
||||||
.encode2 = pnm_encode_frame,
|
.encode2 = pnm_encode_frame,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_MONOWHITE, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_MONOWHITE,
|
||||||
|
PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
|
.long_name = NULL_IF_CONFIG_SMALL("PBM (Portable BitMap) image"),
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -335,6 +335,8 @@ AVCodec ff_qtrle_encoder = {
|
|||||||
.init = qtrle_encode_init,
|
.init = qtrle_encode_init,
|
||||||
.encode2 = qtrle_encode_frame,
|
.encode2 = qtrle_encode_frame,
|
||||||
.close = qtrle_encode_end,
|
.close = qtrle_encode_end,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB555BE, PIX_FMT_ARGB, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_RGB24, PIX_FMT_RGB555BE, PIX_FMT_ARGB, PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
|
.long_name = NULL_IF_CONFIG_SMALL("QuickTime Animation (RLE) video"),
|
||||||
};
|
};
|
||||||
|
@ -532,5 +532,5 @@ AVCodec ff_ralf_decoder = {
|
|||||||
.decode = decode_frame,
|
.decode = decode_frame,
|
||||||
.flush = decode_flush,
|
.flush = decode_flush,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless")
|
.long_name = NULL_IF_CONFIG_SMALL("RealAudio Lossless"),
|
||||||
};
|
};
|
||||||
|
@ -211,6 +211,7 @@ AVCodec ff_roq_dpcm_encoder = {
|
|||||||
.encode2 = roq_dpcm_encode_frame,
|
.encode2 = roq_dpcm_encode_frame,
|
||||||
.close = roq_dpcm_encode_close,
|
.close = roq_dpcm_encode_close,
|
||||||
.capabilities = CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DELAY,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("id RoQ DPCM"),
|
.long_name = NULL_IF_CONFIG_SMALL("id RoQ DPCM"),
|
||||||
};
|
};
|
||||||
|
@ -1080,7 +1080,8 @@ AVCodec ff_roq_encoder = {
|
|||||||
.init = roq_encode_init,
|
.init = roq_encode_init,
|
||||||
.encode2 = roq_encode_frame,
|
.encode2 = roq_encode_frame,
|
||||||
.close = roq_encode_end,
|
.close = roq_encode_end,
|
||||||
.supported_framerates = (const AVRational[]){{30,1}, {0,0}},
|
.supported_framerates = (const AVRational[]){ {30,1}, {0,0} },
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV444P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV444P,
|
||||||
|
PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
|
.long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
|
||||||
};
|
};
|
||||||
|
@ -729,7 +729,7 @@ AVCodec ff_rv10_decoder = {
|
|||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.max_lowres = 3,
|
.max_lowres = 3,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
|
||||||
AVCodec ff_rv20_decoder = {
|
AVCodec ff_rv20_decoder = {
|
||||||
@ -741,8 +741,8 @@ AVCodec ff_rv20_decoder = {
|
|||||||
.close = rv10_decode_end,
|
.close = rv10_decode_end,
|
||||||
.decode = rv10_decode_frame,
|
.decode = rv10_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
||||||
.flush= ff_mpeg_flush,
|
.flush = ff_mpeg_flush,
|
||||||
.max_lowres = 3,
|
.max_lowres = 3,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -66,7 +66,7 @@ AVCodec ff_rv10_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
|
||||||
.priv_class = &rv10_class,
|
.priv_class = &rv10_class,
|
||||||
};
|
};
|
||||||
|
@ -67,7 +67,7 @@ AVCodec ff_rv20_encoder = {
|
|||||||
.init = ff_MPV_encode_init,
|
.init = ff_MPV_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
|
||||||
.priv_class = &rv20_class,
|
.priv_class = &rv20_class,
|
||||||
};
|
};
|
||||||
|
@ -275,7 +275,8 @@ AVCodec ff_rv30_decoder = {
|
|||||||
.init = rv30_decode_init,
|
.init = rv30_decode_init,
|
||||||
.close = ff_rv34_decode_end,
|
.close = ff_rv34_decode_end,
|
||||||
.decode = ff_rv34_decode_frame,
|
.decode = ff_rv34_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.flush = ff_mpeg_flush,
|
.flush = ff_mpeg_flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
|
||||||
.pix_fmts = ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
|
@ -564,7 +564,8 @@ AVCodec ff_rv40_decoder = {
|
|||||||
.init = rv40_decode_init,
|
.init = rv40_decode_init,
|
||||||
.close = ff_rv34_decode_end,
|
.close = ff_rv34_decode_end,
|
||||||
.decode = ff_rv34_decode_frame,
|
.decode = ff_rv34_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.flush = ff_mpeg_flush,
|
.flush = ff_mpeg_flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
|
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
|
||||||
.pix_fmts = ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
|
@ -177,6 +177,8 @@ AVCodec ff_sgi_encoder = {
|
|||||||
.priv_data_size = sizeof(SgiContext),
|
.priv_data_size = sizeof(SgiContext),
|
||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_GRAY8, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("SGI image"),
|
PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_GRAY8, PIX_FMT_NONE
|
||||||
|
},
|
||||||
|
.long_name = NULL_IF_CONFIG_SMALL("SGI image"),
|
||||||
};
|
};
|
||||||
|
@ -636,5 +636,5 @@ AVCodec ff_shorten_decoder = {
|
|||||||
.close = shorten_decode_close,
|
.close = shorten_decode_close,
|
||||||
.decode = shorten_decode_frame,
|
.decode = shorten_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Shorten"),
|
.long_name = NULL_IF_CONFIG_SMALL("Shorten"),
|
||||||
};
|
};
|
||||||
|
@ -818,7 +818,7 @@ AVCodec ff_svq1_decoder = {
|
|||||||
.close = svq1_decode_end,
|
.close = svq1_decode_end,
|
||||||
.decode = svq1_decode_frame,
|
.decode = svq1_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DR1,
|
||||||
.flush= ff_mpeg_flush,
|
.flush = ff_mpeg_flush,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV410P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV410P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
|
.long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
|
||||||
};
|
};
|
||||||
|
@ -586,6 +586,6 @@ AVCodec ff_svq1_encoder = {
|
|||||||
.init = svq1_encode_init,
|
.init = svq1_encode_init,
|
||||||
.encode2 = svq1_encode_frame,
|
.encode2 = svq1_encode_frame,
|
||||||
.close = svq1_encode_end,
|
.close = svq1_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV410P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV410P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
|
.long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1"),
|
||||||
};
|
};
|
||||||
|
@ -1109,7 +1109,8 @@ AVCodec ff_svq3_decoder = {
|
|||||||
.init = svq3_decode_init,
|
.init = svq3_decode_init,
|
||||||
.close = svq3_decode_end,
|
.close = svq3_decode_end,
|
||||||
.decode = svq3_decode_frame,
|
.decode = svq3_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_DELAY,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||||
|
CODEC_CAP_DELAY,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"),
|
.long_name = NULL_IF_CONFIG_SMALL("Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3"),
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUVJ420P, PIX_FMT_NONE },
|
||||||
};
|
};
|
||||||
|
@ -168,6 +168,9 @@ AVCodec ff_targa_encoder = {
|
|||||||
.priv_data_size = sizeof(TargaContext),
|
.priv_data_size = sizeof(TargaContext),
|
||||||
.init = targa_encode_init,
|
.init = targa_encode_init,
|
||||||
.encode2 = targa_encode_frame,
|
.encode2 = targa_encode_frame,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_BGRA, PIX_FMT_RGB555LE, PIX_FMT_GRAY8, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){
|
||||||
|
PIX_FMT_BGR24, PIX_FMT_BGRA, PIX_FMT_RGB555LE, PIX_FMT_GRAY8,
|
||||||
|
PIX_FMT_NONE
|
||||||
|
},
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Truevision Targa image"),
|
.long_name= NULL_IF_CONFIG_SMALL("Truevision Targa image"),
|
||||||
};
|
};
|
||||||
|
@ -472,13 +472,13 @@ AVCodec ff_tiff_encoder = {
|
|||||||
.id = CODEC_ID_TIFF,
|
.id = CODEC_ID_TIFF,
|
||||||
.priv_data_size = sizeof(TiffEncoderContext),
|
.priv_data_size = sizeof(TiffEncoderContext),
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.pix_fmts =
|
.pix_fmts = (const enum PixelFormat[]) {
|
||||||
(const enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8,
|
PIX_FMT_RGB24, PIX_FMT_PAL8, PIX_FMT_GRAY8,
|
||||||
PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE,
|
PIX_FMT_MONOBLACK, PIX_FMT_MONOWHITE,
|
||||||
PIX_FMT_YUV420P, PIX_FMT_YUV422P,
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P,
|
||||||
PIX_FMT_YUV444P, PIX_FMT_YUV410P,
|
PIX_FMT_YUV444P, PIX_FMT_YUV410P,
|
||||||
PIX_FMT_YUV411P,
|
PIX_FMT_YUV411P,
|
||||||
PIX_FMT_NONE},
|
PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
|
.long_name = NULL_IF_CONFIG_SMALL("TIFF image"),
|
||||||
.priv_class = &tiffenc_class,
|
.priv_class = &tiffenc_class,
|
||||||
};
|
};
|
||||||
|
@ -123,6 +123,6 @@ AVCodec ff_v210_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = encode_close,
|
.close = encode_close,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_YUV422P10, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV422P10, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
||||||
};
|
};
|
||||||
|
@ -5704,7 +5704,7 @@ AVCodec ff_wmv3_vdpau_decoder = {
|
|||||||
.decode = vc1_decode_frame,
|
.decode = vc1_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9 VDPAU"),
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_VDPAU_WMV3, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_VDPAU_WMV3, PIX_FMT_NONE },
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
@ -5720,7 +5720,7 @@ AVCodec ff_vc1_vdpau_decoder = {
|
|||||||
.decode = vc1_decode_frame,
|
.decode = vc1_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"),
|
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1 VDPAU"),
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_VDPAU_VC1, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_VDPAU_VC1, PIX_FMT_NONE },
|
||||||
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
.profiles = NULL_IF_CONFIG_SMALL(profiles)
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
@ -1213,7 +1213,8 @@ AVCodec ff_vorbis_encoder = {
|
|||||||
.init = vorbis_encode_init,
|
.init = vorbis_encode_init,
|
||||||
.encode2 = vorbis_encode_frame,
|
.encode2 = vorbis_encode_frame,
|
||||||
.close = vorbis_encode_close,
|
.close = vorbis_encode_close,
|
||||||
.capabilities= CODEC_CAP_DELAY | CODEC_CAP_EXPERIMENTAL,
|
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_EXPERIMENTAL,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
|
.long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
|
||||||
};
|
};
|
||||||
|
@ -2381,7 +2381,8 @@ AVCodec ff_theora_decoder = {
|
|||||||
.init = theora_decode_init,
|
.init = theora_decode_init,
|
||||||
.close = vp3_decode_end,
|
.close = vp3_decode_end,
|
||||||
.decode = vp3_decode_frame,
|
.decode = vp3_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.flush = vp3_decode_flush,
|
.flush = vp3_decode_flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Theora"),
|
.long_name = NULL_IF_CONFIG_SMALL("Theora"),
|
||||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(vp3_init_thread_copy),
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(vp3_init_thread_copy),
|
||||||
@ -2397,9 +2398,10 @@ AVCodec ff_vp3_decoder = {
|
|||||||
.init = vp3_decode_init,
|
.init = vp3_decode_init,
|
||||||
.close = vp3_decode_end,
|
.close = vp3_decode_end,
|
||||||
.decode = vp3_decode_frame,
|
.decode = vp3_decode_frame,
|
||||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_FRAME_THREADS,
|
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND |
|
||||||
|
CODEC_CAP_FRAME_THREADS,
|
||||||
.flush = vp3_decode_flush,
|
.flush = vp3_decode_flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("On2 VP3"),
|
.long_name = NULL_IF_CONFIG_SMALL("On2 VP3"),
|
||||||
.init_thread_copy = ONLY_IF_THREADS_ENABLED(vp3_init_thread_copy),
|
.init_thread_copy = ONLY_IF_THREADS_ENABLED(vp3_init_thread_copy),
|
||||||
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context)
|
.update_thread_context = ONLY_IF_THREADS_ENABLED(vp3_update_thread_context),
|
||||||
};
|
};
|
||||||
|
@ -427,7 +427,8 @@ AVCodec ff_wmav1_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_superframe,
|
.encode2 = encode_superframe,
|
||||||
.close = ff_wma_end,
|
.close = ff_wma_end,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 1"),
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -439,6 +440,7 @@ AVCodec ff_wmav2_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_superframe,
|
.encode2 = encode_superframe,
|
||||||
.close = ff_wma_end,
|
.close = ff_wma_end,
|
||||||
.sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
|
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16,
|
||||||
|
AV_SAMPLE_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 2"),
|
||||||
};
|
};
|
||||||
|
@ -1624,6 +1624,6 @@ AVCodec ff_wmapro_decoder = {
|
|||||||
.close = decode_end,
|
.close = decode_end,
|
||||||
.decode = decode_packet,
|
.decode = decode_packet,
|
||||||
.capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
|
||||||
.flush= flush,
|
.flush = flush,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio 9 Professional"),
|
||||||
};
|
};
|
||||||
|
@ -481,5 +481,5 @@ AVCodec ff_wmv2_decoder = {
|
|||||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||||
.max_lowres = 3,
|
.max_lowres = 3,
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
|
||||||
.pix_fmts= ff_pixfmt_list_420,
|
.pix_fmts = ff_pixfmt_list_420,
|
||||||
};
|
};
|
||||||
|
@ -219,6 +219,6 @@ AVCodec ff_wmv2_encoder = {
|
|||||||
.init = wmv2_encode_init,
|
.init = wmv2_encode_init,
|
||||||
.encode2 = ff_MPV_encode_picture,
|
.encode2 = ff_MPV_encode_picture,
|
||||||
.close = ff_MPV_encode_end,
|
.close = ff_MPV_encode_end,
|
||||||
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
|
||||||
.long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
|
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
|
||||||
};
|
};
|
||||||
|
@ -344,6 +344,6 @@ AVCodec ff_zmbv_encoder = {
|
|||||||
.init = encode_init,
|
.init = encode_init,
|
||||||
.encode2 = encode_frame,
|
.encode2 = encode_frame,
|
||||||
.close = encode_end,
|
.close = encode_end,
|
||||||
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_PAL8, PIX_FMT_NONE},
|
.pix_fmts = (const enum PixelFormat[]){ PIX_FMT_PAL8, PIX_FMT_NONE },
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
|
.long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user