* commit 'b2bed9325dbd6be0da1d91ffed3f513c40274fd2': cosmetics: Group .name and .long_name together in codec/format declarations Conflicts: libavcodec/8svx.c libavcodec/alac.c libavcodec/cljr.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dpxenc.c libavcodec/dvdec.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/ffv1dec.c libavcodec/flacdec.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/g726.c libavcodec/gif.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/h263dec.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopencore-amr.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/libvo-amrwbenc.c libavcodec/libvorbisenc.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/ljpegenc.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpeg12dec.c libavcodec/mpeg4videodec.c libavcodec/msmpeg4dec.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/proresdec_lgpl.c libavcodec/proresenc_kostya.c libavcodec/ra144enc.c libavcodec/rawdec.c libavcodec/rv10.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tta.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/wavpack.c libavcodec/xbmenc.c libavcodec/yop.c Merged-by: Michael Niedermayer <michaelni@gmx.at>tags/n2.1
| @@ -1020,6 +1020,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_fourxm_decoder = { | AVCodec ff_fourxm_decoder = { | ||||
| .name = "4xm", | .name = "4xm", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("4X Movie"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_4XM, | .id = AV_CODEC_ID_4XM, | ||||
| .priv_data_size = sizeof(FourXContext), | .priv_data_size = sizeof(FourXContext), | ||||
| @@ -1027,5 +1028,4 @@ AVCodec ff_fourxm_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("4X Movie"), | |||||
| }; | }; | ||||
| @@ -178,11 +178,11 @@ static av_cold int decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_eightbps_decoder = { | AVCodec ff_eightbps_decoder = { | ||||
| .name = "8bps", | .name = "8bps", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_8BPS, | .id = AV_CODEC_ID_8BPS, | ||||
| .priv_data_size = sizeof(EightBpsContext), | .priv_data_size = sizeof(EightBpsContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"), | |||||
| }; | }; | ||||
| @@ -187,6 +187,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx) | |||||
| #if CONFIG_EIGHTSVX_FIB_DECODER | #if CONFIG_EIGHTSVX_FIB_DECODER | ||||
| AVCodec ff_eightsvx_fib_decoder = { | AVCodec ff_eightsvx_fib_decoder = { | ||||
| .name = "8svx_fib", | .name = "8svx_fib", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_8SVX_FIB, | .id = AV_CODEC_ID_8SVX_FIB, | ||||
| .priv_data_size = sizeof (EightSvxContext), | .priv_data_size = sizeof (EightSvxContext), | ||||
| @@ -194,7 +195,6 @@ AVCodec ff_eightsvx_fib_decoder = { | |||||
| .decode = eightsvx_decode_frame, | .decode = eightsvx_decode_frame, | ||||
| .close = eightsvx_decode_close, | .close = eightsvx_decode_close, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -202,6 +202,7 @@ AVCodec ff_eightsvx_fib_decoder = { | |||||
| #if CONFIG_EIGHTSVX_EXP_DECODER | #if CONFIG_EIGHTSVX_EXP_DECODER | ||||
| AVCodec ff_eightsvx_exp_decoder = { | AVCodec ff_eightsvx_exp_decoder = { | ||||
| .name = "8svx_exp", | .name = "8svx_exp", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_8SVX_EXP, | .id = AV_CODEC_ID_8SVX_EXP, | ||||
| .priv_data_size = sizeof (EightSvxContext), | .priv_data_size = sizeof (EightSvxContext), | ||||
| @@ -209,7 +210,6 @@ AVCodec ff_eightsvx_exp_decoder = { | |||||
| .decode = eightsvx_decode_frame, | .decode = eightsvx_decode_frame, | ||||
| .close = eightsvx_decode_close, | .close = eightsvx_decode_close, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -396,6 +396,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt, | |||||
| #if CONFIG_A64MULTI_ENCODER | #if CONFIG_A64MULTI_ENCODER | ||||
| AVCodec ff_a64multi_encoder = { | AVCodec ff_a64multi_encoder = { | ||||
| .name = "a64multi", | .name = "a64multi", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_A64_MULTI, | .id = AV_CODEC_ID_A64_MULTI, | ||||
| .priv_data_size = sizeof(A64Context), | .priv_data_size = sizeof(A64Context), | ||||
| @@ -403,13 +404,13 @@ AVCodec ff_a64multi_encoder = { | |||||
| .encode2 = a64multi_encode_frame, | .encode2 = a64multi_encode_frame, | ||||
| .close = a64multi_close_encoder, | .close = a64multi_close_encoder, | ||||
| .pix_fmts = (const enum AVPixelFormat[]) {AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE}, | .pix_fmts = (const enum AVPixelFormat[]) {AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE}, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"), | |||||
| .capabilities = CODEC_CAP_DELAY, | .capabilities = CODEC_CAP_DELAY, | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_A64MULTI5_ENCODER | #if CONFIG_A64MULTI5_ENCODER | ||||
| AVCodec ff_a64multi5_encoder = { | AVCodec ff_a64multi5_encoder = { | ||||
| .name = "a64multi5", | .name = "a64multi5", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_A64_MULTI5, | .id = AV_CODEC_ID_A64_MULTI5, | ||||
| .priv_data_size = sizeof(A64Context), | .priv_data_size = sizeof(A64Context), | ||||
| @@ -417,7 +418,6 @@ AVCodec ff_a64multi5_encoder = { | |||||
| .encode2 = a64multi_encode_frame, | .encode2 = a64multi_encode_frame, | ||||
| .close = a64multi_close_encoder, | .close = a64multi_close_encoder, | ||||
| .pix_fmts = (const enum AVPixelFormat[]) {AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE}, | .pix_fmts = (const enum AVPixelFormat[]) {AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE}, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"), | |||||
| .capabilities = CODEC_CAP_DELAY, | .capabilities = CODEC_CAP_DELAY, | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -3258,13 +3258,13 @@ static const AVClass aac_decoder_class = { | |||||
| AVCodec ff_aac_decoder = { | AVCodec ff_aac_decoder = { | ||||
| .name = "aac", | .name = "aac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AAC, | .id = AV_CODEC_ID_AAC, | ||||
| .priv_data_size = sizeof(AACContext), | .priv_data_size = sizeof(AACContext), | ||||
| .init = aac_decode_init, | .init = aac_decode_init, | ||||
| .close = aac_decode_close, | .close = aac_decode_close, | ||||
| .decode = aac_decode_frame, | .decode = aac_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { | .sample_fmts = (const enum AVSampleFormat[]) { | ||||
| AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE | AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE | ||||
| }, | }, | ||||
| @@ -3281,13 +3281,13 @@ AVCodec ff_aac_decoder = { | |||||
| */ | */ | ||||
| AVCodec ff_aac_latm_decoder = { | AVCodec ff_aac_latm_decoder = { | ||||
| .name = "aac_latm", | .name = "aac_latm", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AAC_LATM, | .id = AV_CODEC_ID_AAC_LATM, | ||||
| .priv_data_size = sizeof(struct LATMContext), | .priv_data_size = sizeof(struct LATMContext), | ||||
| .init = latm_decode_init, | .init = latm_decode_init, | ||||
| .close = aac_decode_close, | .close = aac_decode_close, | ||||
| .decode = latm_decode_frame, | .decode = latm_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { | .sample_fmts = (const enum AVSampleFormat[]) { | ||||
| AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE | AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE | ||||
| }, | }, | ||||
| @@ -815,6 +815,7 @@ static const int mpeg4audio_sample_rates[16] = { | |||||
| AVCodec ff_aac_encoder = { | AVCodec ff_aac_encoder = { | ||||
| .name = "aac", | .name = "aac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AAC, | .id = AV_CODEC_ID_AAC, | ||||
| .priv_data_size = sizeof(AACEncContext), | .priv_data_size = sizeof(AACEncContext), | ||||
| @@ -826,6 +827,5 @@ AVCodec ff_aac_encoder = { | |||||
| CODEC_CAP_EXPERIMENTAL, | CODEC_CAP_EXPERIMENTAL, | ||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"), | |||||
| .priv_class = &aacenc_class, | .priv_class = &aacenc_class, | ||||
| }; | }; | ||||
| @@ -151,6 +151,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_aasc_decoder = { | AVCodec ff_aasc_decoder = { | ||||
| .name = "aasc", | .name = "aasc", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_AASC, | .id = AV_CODEC_ID_AASC, | ||||
| .priv_data_size = sizeof(AascContext), | .priv_data_size = sizeof(AascContext), | ||||
| @@ -158,5 +159,4 @@ AVCodec ff_aasc_decoder = { | |||||
| .close = aasc_decode_end, | .close = aasc_decode_end, | ||||
| .decode = aasc_decode_frame, | .decode = aasc_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"), | |||||
| }; | }; | ||||
| @@ -1453,6 +1453,7 @@ static const AVClass ac3_decoder_class = { | |||||
| AVCodec ff_ac3_decoder = { | AVCodec ff_ac3_decoder = { | ||||
| .name = "ac3", | .name = "ac3", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AC3, | .id = AV_CODEC_ID_AC3, | ||||
| .priv_data_size = sizeof (AC3DecodeContext), | .priv_data_size = sizeof (AC3DecodeContext), | ||||
| @@ -1460,7 +1461,6 @@ AVCodec ff_ac3_decoder = { | |||||
| .close = ac3_decode_end, | .close = ac3_decode_end, | ||||
| .decode = ac3_decode_frame, | .decode = ac3_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .priv_class = &ac3_decoder_class, | .priv_class = &ac3_decoder_class, | ||||
| @@ -1476,6 +1476,7 @@ static const AVClass eac3_decoder_class = { | |||||
| AVCodec ff_eac3_decoder = { | AVCodec ff_eac3_decoder = { | ||||
| .name = "eac3", | .name = "eac3", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_EAC3, | .id = AV_CODEC_ID_EAC3, | ||||
| .priv_data_size = sizeof (AC3DecodeContext), | .priv_data_size = sizeof (AC3DecodeContext), | ||||
| @@ -1483,7 +1484,6 @@ AVCodec ff_eac3_decoder = { | |||||
| .close = ac3_decode_end, | .close = ac3_decode_end, | ||||
| .decode = ac3_decode_frame, | .decode = ac3_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .priv_class = &eac3_decoder_class, | .priv_class = &eac3_decoder_class, | ||||
| @@ -154,6 +154,7 @@ static av_cold int ac3_fixed_encode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_ac3_fixed_encoder = { | AVCodec ff_ac3_fixed_encoder = { | ||||
| .name = "ac3_fixed", | .name = "ac3_fixed", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AC3, | .id = AV_CODEC_ID_AC3, | ||||
| .priv_data_size = sizeof(AC3EncodeContext), | .priv_data_size = sizeof(AC3EncodeContext), | ||||
| @@ -162,7 +163,6 @@ AVCodec ff_ac3_fixed_encoder = { | |||||
| .close = ff_ac3_encode_close, | .close = ff_ac3_encode_close, | ||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16P, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16P, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .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, | ||||
| .defaults = ac3_defaults, | .defaults = ac3_defaults, | ||||
| @@ -152,6 +152,7 @@ static CoefType calc_cpl_coord(CoefSumType energy_ch, CoefSumType energy_cpl) | |||||
| #if CONFIG_AC3_ENCODER | #if CONFIG_AC3_ENCODER | ||||
| AVCodec ff_ac3_encoder = { | AVCodec ff_ac3_encoder = { | ||||
| .name = "ac3", | .name = "ac3", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AC3, | .id = AV_CODEC_ID_AC3, | ||||
| .priv_data_size = sizeof(AC3EncodeContext), | .priv_data_size = sizeof(AC3EncodeContext), | ||||
| @@ -160,7 +161,6 @@ AVCodec ff_ac3_encoder = { | |||||
| .close = ff_ac3_encode_close, | .close = ff_ac3_encode_close, | ||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .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, | ||||
| .defaults = ac3_defaults, | .defaults = ac3_defaults, | ||||
| @@ -1532,13 +1532,13 @@ static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16, | |||||
| #define ADPCM_DECODER(id_, sample_fmts_, name_, long_name_) \ | #define ADPCM_DECODER(id_, sample_fmts_, name_, long_name_) \ | ||||
| AVCodec ff_ ## name_ ## _decoder = { \ | AVCodec ff_ ## name_ ## _decoder = { \ | ||||
| .name = #name_, \ | .name = #name_, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| .type = AVMEDIA_TYPE_AUDIO, \ | .type = AVMEDIA_TYPE_AUDIO, \ | ||||
| .id = id_, \ | .id = id_, \ | ||||
| .priv_data_size = sizeof(ADPCMDecodeContext), \ | .priv_data_size = sizeof(ADPCMDecodeContext), \ | ||||
| .init = adpcm_decode_init, \ | .init = adpcm_decode_init, \ | ||||
| .decode = adpcm_decode_frame, \ | .decode = adpcm_decode_frame, \ | ||||
| .capabilities = CODEC_CAP_DR1, \ | .capabilities = CODEC_CAP_DR1, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| .sample_fmts = sample_fmts_, \ | .sample_fmts = sample_fmts_, \ | ||||
| } | } | ||||
| @@ -708,6 +708,7 @@ static const enum AVSampleFormat sample_fmts_p[] = { | |||||
| #define ADPCM_ENCODER(id_, name_, sample_fmts_, long_name_) \ | #define ADPCM_ENCODER(id_, name_, sample_fmts_, long_name_) \ | ||||
| AVCodec ff_ ## name_ ## _encoder = { \ | AVCodec ff_ ## name_ ## _encoder = { \ | ||||
| .name = #name_, \ | .name = #name_, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| .type = AVMEDIA_TYPE_AUDIO, \ | .type = AVMEDIA_TYPE_AUDIO, \ | ||||
| .id = id_, \ | .id = id_, \ | ||||
| .priv_data_size = sizeof(ADPCMEncodeContext), \ | .priv_data_size = sizeof(ADPCMEncodeContext), \ | ||||
| @@ -715,7 +716,6 @@ AVCodec ff_ ## name_ ## _encoder = { \ | |||||
| .encode2 = adpcm_encode_frame, \ | .encode2 = adpcm_encode_frame, \ | ||||
| .close = adpcm_encode_close, \ | .close = adpcm_encode_close, \ | ||||
| .sample_fmts = sample_fmts_, \ | .sample_fmts = sample_fmts_, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| } | } | ||||
| ADPCM_ENCODER(AV_CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt, sample_fmts_p, "ADPCM IMA QuickTime"); | ADPCM_ENCODER(AV_CODEC_ID_ADPCM_IMA_QT, adpcm_ima_qt, sample_fmts_p, "ADPCM IMA QuickTime"); | ||||
| @@ -174,6 +174,7 @@ static void adx_decode_flush(AVCodecContext *avctx) | |||||
| AVCodec ff_adpcm_adx_decoder = { | AVCodec ff_adpcm_adx_decoder = { | ||||
| .name = "adpcm_adx", | .name = "adpcm_adx", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_ADX, | .id = AV_CODEC_ID_ADPCM_ADX, | ||||
| .priv_data_size = sizeof(ADXContext), | .priv_data_size = sizeof(ADXContext), | ||||
| @@ -181,7 +182,6 @@ AVCodec ff_adpcm_adx_decoder = { | |||||
| .decode = adx_decode_frame, | .decode = adx_decode_frame, | ||||
| .flush = adx_decode_flush, | .flush = adx_decode_flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -158,6 +158,7 @@ static int adx_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | |||||
| AVCodec ff_adpcm_adx_encoder = { | AVCodec ff_adpcm_adx_encoder = { | ||||
| .name = "adpcm_adx", | .name = "adpcm_adx", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_ADX, | .id = AV_CODEC_ID_ADPCM_ADX, | ||||
| .priv_data_size = sizeof(ADXContext), | .priv_data_size = sizeof(ADXContext), | ||||
| @@ -165,5 +166,4 @@ AVCodec ff_adpcm_adx_encoder = { | |||||
| .encode2 = adx_encode_frame, | .encode2 = adx_encode_frame, | ||||
| .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("SEGA CRI ADX ADPCM"), | |||||
| }; | }; | ||||
| @@ -470,6 +470,7 @@ static av_cold int aic_decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_aic_decoder = { | AVCodec ff_aic_decoder = { | ||||
| .name = "aic", | .name = "aic", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_AIC, | .id = AV_CODEC_ID_AIC, | ||||
| .priv_data_size = sizeof(AICContext), | .priv_data_size = sizeof(AICContext), | ||||
| @@ -477,5 +478,4 @@ AVCodec ff_aic_decoder = { | |||||
| .close = aic_decode_close, | .close = aic_decode_close, | ||||
| .decode = aic_decode_frame, | .decode = aic_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec") | |||||
| }; | }; | ||||
| @@ -626,6 +626,7 @@ static int init_thread_copy(AVCodecContext *avctx) | |||||
| AVCodec ff_alac_decoder = { | AVCodec ff_alac_decoder = { | ||||
| .name = "alac", | .name = "alac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ALAC, | .id = AV_CODEC_ID_ALAC, | ||||
| .priv_data_size = sizeof(ALACContext), | .priv_data_size = sizeof(ALACContext), | ||||
| @@ -634,5 +635,4 @@ AVCodec ff_alac_decoder = { | |||||
| .decode = alac_decode_frame, | .decode = alac_decode_frame, | ||||
| .init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy), | .init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy), | ||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -634,6 +634,7 @@ static int alac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | |||||
| AVCodec ff_alac_encoder = { | AVCodec ff_alac_encoder = { | ||||
| .name = "alac", | .name = "alac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ALAC, | .id = AV_CODEC_ID_ALAC, | ||||
| .priv_data_size = sizeof(AlacEncodeContext), | .priv_data_size = sizeof(AlacEncodeContext), | ||||
| @@ -645,5 +646,4 @@ AVCodec ff_alac_encoder = { | |||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32P, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S32P, | ||||
| AV_SAMPLE_FMT_S16P, | AV_SAMPLE_FMT_S16P, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -1786,6 +1786,7 @@ static av_cold void flush(AVCodecContext *avctx) | |||||
| AVCodec ff_als_decoder = { | AVCodec ff_als_decoder = { | ||||
| .name = "als", | .name = "als", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_MP4ALS, | .id = AV_CODEC_ID_MP4ALS, | ||||
| .priv_data_size = sizeof(ALSDecContext), | .priv_data_size = sizeof(ALSDecContext), | ||||
| @@ -1794,5 +1795,4 @@ AVCodec ff_als_decoder = { | |||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .flush = flush, | .flush = flush, | ||||
| .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"), | |||||
| }; | }; | ||||
| @@ -1082,13 +1082,13 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_amrnb_decoder = { | AVCodec ff_amrnb_decoder = { | ||||
| .name = "amrnb", | .name = "amrnb", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AMR_NB, | .id = AV_CODEC_ID_AMR_NB, | ||||
| .priv_data_size = sizeof(AMRContext), | .priv_data_size = sizeof(AMRContext), | ||||
| .init = amrnb_decode_init, | .init = amrnb_decode_init, | ||||
| .decode = amrnb_decode_frame, | .decode = amrnb_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -1267,13 +1267,13 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_amrwb_decoder = { | AVCodec ff_amrwb_decoder = { | ||||
| .name = "amrwb", | .name = "amrwb", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_AMR_WB, | .id = AV_CODEC_ID_AMR_WB, | ||||
| .priv_data_size = sizeof(AMRWBContext), | .priv_data_size = sizeof(AMRWBContext), | ||||
| .init = amrwb_decode_init, | .init = amrwb_decode_init, | ||||
| .decode = amrwb_decode_frame, | .decode = amrwb_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -189,6 +189,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_anm_decoder = { | AVCodec ff_anm_decoder = { | ||||
| .name = "anm", | .name = "anm", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ANM, | .id = AV_CODEC_ID_ANM, | ||||
| .priv_data_size = sizeof(AnmContext), | .priv_data_size = sizeof(AnmContext), | ||||
| @@ -196,5 +197,4 @@ AVCodec ff_anm_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("Deluxe Paint Animation"), | |||||
| }; | }; | ||||
| @@ -466,6 +466,7 @@ static av_cold int decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_ansi_decoder = { | AVCodec ff_ansi_decoder = { | ||||
| .name = "ansi", | .name = "ansi", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ANSI, | .id = AV_CODEC_ID_ANSI, | ||||
| .priv_data_size = sizeof(AnsiContext), | .priv_data_size = sizeof(AnsiContext), | ||||
| @@ -473,5 +474,4 @@ AVCodec ff_ansi_decoder = { | |||||
| .close = decode_close, | .close = decode_close, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"), | |||||
| }; | }; | ||||
| @@ -1569,6 +1569,7 @@ static const AVClass ape_decoder_class = { | |||||
| AVCodec ff_ape_decoder = { | AVCodec ff_ape_decoder = { | ||||
| .name = "ape", | .name = "ape", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_APE, | .id = AV_CODEC_ID_APE, | ||||
| .priv_data_size = sizeof(APEContext), | .priv_data_size = sizeof(APEContext), | ||||
| @@ -1577,7 +1578,6 @@ AVCodec ff_ape_decoder = { | |||||
| .decode = ape_decode_frame, | .decode = ape_decode_frame, | ||||
| .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DELAY | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DELAY | CODEC_CAP_DR1, | ||||
| .flush = ape_flush, | .flush = ape_flush, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P, | ||||
| AV_SAMPLE_FMT_S16P, | AV_SAMPLE_FMT_S16P, | ||||
| AV_SAMPLE_FMT_S32P, | AV_SAMPLE_FMT_S32P, | ||||
| @@ -310,6 +310,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| #if CONFIG_ASV1_DECODER | #if CONFIG_ASV1_DECODER | ||||
| AVCodec ff_asv1_decoder = { | AVCodec ff_asv1_decoder = { | ||||
| .name = "asv1", | .name = "asv1", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ASV1, | .id = AV_CODEC_ID_ASV1, | ||||
| .priv_data_size = sizeof(ASV1Context), | .priv_data_size = sizeof(ASV1Context), | ||||
| @@ -317,13 +318,13 @@ 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"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_ASV2_DECODER | #if CONFIG_ASV2_DECODER | ||||
| AVCodec ff_asv2_decoder = { | AVCodec ff_asv2_decoder = { | ||||
| .name = "asv2", | .name = "asv2", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ASV2, | .id = AV_CODEC_ID_ASV2, | ||||
| .priv_data_size = sizeof(ASV1Context), | .priv_data_size = sizeof(ASV1Context), | ||||
| @@ -331,7 +332,6 @@ 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"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -262,6 +262,7 @@ static av_cold int encode_init(AVCodecContext *avctx){ | |||||
| #if CONFIG_ASV1_ENCODER | #if CONFIG_ASV1_ENCODER | ||||
| AVCodec ff_asv1_encoder = { | AVCodec ff_asv1_encoder = { | ||||
| .name = "asv1", | .name = "asv1", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ASV1, | .id = AV_CODEC_ID_ASV1, | ||||
| .priv_data_size = sizeof(ASV1Context), | .priv_data_size = sizeof(ASV1Context), | ||||
| @@ -269,13 +270,13 @@ AVCodec ff_asv1_encoder = { | |||||
| .encode2 = encode_frame, | .encode2 = encode_frame, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, | ||||
| AV_PIX_FMT_NONE }, | AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V1"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_ASV2_ENCODER | #if CONFIG_ASV2_ENCODER | ||||
| AVCodec ff_asv2_encoder = { | AVCodec ff_asv2_encoder = { | ||||
| .name = "asv2", | .name = "asv2", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ASV2, | .id = AV_CODEC_ID_ASV2, | ||||
| .priv_data_size = sizeof(ASV1Context), | .priv_data_size = sizeof(ASV1Context), | ||||
| @@ -283,6 +284,5 @@ AVCodec ff_asv2_encoder = { | |||||
| .encode2 = encode_frame, | .encode2 = encode_frame, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, | ||||
| AV_PIX_FMT_NONE }, | AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ASUS V2"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -99,10 +99,10 @@ static int aura_decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_aura2_decoder = { | AVCodec ff_aura2_decoder = { | ||||
| .name = "aura2", | .name = "aura2", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_AURA2, | .id = AV_CODEC_ID_AURA2, | ||||
| .init = aura_decode_init, | .init = aura_decode_init, | ||||
| .decode = aura_decode_frame, | .decode = aura_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"), | |||||
| }; | }; | ||||
| @@ -175,6 +175,7 @@ static av_cold int avs_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_avs_decoder = { | AVCodec ff_avs_decoder = { | ||||
| .name = "avs", | .name = "avs", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_AVS, | .id = AV_CODEC_ID_AVS, | ||||
| .priv_data_size = sizeof(AvsContext), | .priv_data_size = sizeof(AvsContext), | ||||
| @@ -182,5 +183,4 @@ AVCodec ff_avs_decoder = { | |||||
| .decode = avs_decode_frame, | .decode = avs_decode_frame, | ||||
| .close = avs_decode_end, | .close = avs_decode_end, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"), | |||||
| }; | }; | ||||
| @@ -151,6 +151,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_bethsoftvid_decoder = { | AVCodec ff_bethsoftvid_decoder = { | ||||
| .name = "bethsoftvid", | .name = "bethsoftvid", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BETHSOFTVID, | .id = AV_CODEC_ID_BETHSOFTVID, | ||||
| .priv_data_size = sizeof(BethsoftvidContext), | .priv_data_size = sizeof(BethsoftvidContext), | ||||
| @@ -158,5 +159,4 @@ AVCodec ff_bethsoftvid_decoder = { | |||||
| .close = bethsoftvid_decode_end, | .close = bethsoftvid_decode_end, | ||||
| .decode = bethsoftvid_decode_frame, | .decode = bethsoftvid_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"), | |||||
| }; | }; | ||||
| @@ -177,6 +177,7 @@ static av_cold int bfi_decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_bfi_decoder = { | AVCodec ff_bfi_decoder = { | ||||
| .name = "bfi", | .name = "bfi", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BFI, | .id = AV_CODEC_ID_BFI, | ||||
| .priv_data_size = sizeof(BFIContext), | .priv_data_size = sizeof(BFIContext), | ||||
| @@ -184,5 +185,4 @@ AVCodec ff_bfi_decoder = { | |||||
| .close = bfi_decode_close, | .close = bfi_decode_close, | ||||
| .decode = bfi_decode_frame, | .decode = bfi_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), | |||||
| }; | }; | ||||
| @@ -1334,12 +1334,12 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_bink_decoder = { | AVCodec ff_bink_decoder = { | ||||
| .name = "binkvideo", | .name = "binkvideo", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BINKVIDEO, | .id = AV_CODEC_ID_BINKVIDEO, | ||||
| .priv_data_size = sizeof(BinkContext), | .priv_data_size = sizeof(BinkContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .close = decode_end, | .close = decode_end, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink video"), | |||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| }; | }; | ||||
| @@ -335,6 +335,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_binkaudio_rdft_decoder = { | AVCodec ff_binkaudio_rdft_decoder = { | ||||
| .name = "binkaudio_rdft", | .name = "binkaudio_rdft", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_BINKAUDIO_RDFT, | .id = AV_CODEC_ID_BINKAUDIO_RDFT, | ||||
| .priv_data_size = sizeof(BinkAudioContext), | .priv_data_size = sizeof(BinkAudioContext), | ||||
| @@ -342,11 +343,11 @@ AVCodec ff_binkaudio_rdft_decoder = { | |||||
| .close = decode_end, | .close = decode_end, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") | |||||
| }; | }; | ||||
| AVCodec ff_binkaudio_dct_decoder = { | AVCodec ff_binkaudio_dct_decoder = { | ||||
| .name = "binkaudio_dct", | .name = "binkaudio_dct", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_BINKAUDIO_DCT, | .id = AV_CODEC_ID_BINKAUDIO_DCT, | ||||
| .priv_data_size = sizeof(BinkAudioContext), | .priv_data_size = sizeof(BinkAudioContext), | ||||
| @@ -354,5 +355,4 @@ AVCodec ff_binkaudio_dct_decoder = { | |||||
| .close = decode_end, | .close = decode_end, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)") | |||||
| }; | }; | ||||
| @@ -330,9 +330,9 @@ static int bmp_decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_bmp_decoder = { | AVCodec ff_bmp_decoder = { | ||||
| .name = "bmp", | .name = "bmp", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BMP, | .id = AV_CODEC_ID_BMP, | ||||
| .decode = bmp_decode_frame, | .decode = bmp_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), | |||||
| }; | }; | ||||
| @@ -161,6 +161,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, | |||||
| AVCodec ff_bmp_encoder = { | AVCodec ff_bmp_encoder = { | ||||
| .name = "bmp", | .name = "bmp", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BMP, | .id = AV_CODEC_ID_BMP, | ||||
| .init = bmp_encode_init, | .init = bmp_encode_init, | ||||
| @@ -172,5 +173,4 @@ AVCodec ff_bmp_encoder = { | |||||
| AV_PIX_FMT_MONOBLACK, | AV_PIX_FMT_MONOBLACK, | ||||
| AV_PIX_FMT_NONE | AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"), | |||||
| }; | }; | ||||
| @@ -340,21 +340,21 @@ static int bmv_aud_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_bmv_video_decoder = { | AVCodec ff_bmv_video_decoder = { | ||||
| .name = "bmv_video", | .name = "bmv_video", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_BMV_VIDEO, | .id = AV_CODEC_ID_BMV_VIDEO, | ||||
| .priv_data_size = sizeof(BMVDecContext), | .priv_data_size = sizeof(BMVDecContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"), | |||||
| }; | }; | ||||
| AVCodec ff_bmv_audio_decoder = { | AVCodec ff_bmv_audio_decoder = { | ||||
| .name = "bmv_audio", | .name = "bmv_audio", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_BMV_AUDIO, | .id = AV_CODEC_ID_BMV_AUDIO, | ||||
| .init = bmv_aud_decode_init, | .init = bmv_aud_decode_init, | ||||
| .decode = bmv_aud_decode_frame, | .decode = bmv_aud_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"), | |||||
| }; | }; | ||||
| @@ -254,6 +254,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_c93_decoder = { | AVCodec ff_c93_decoder = { | ||||
| .name = "c93", | .name = "c93", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_C93, | .id = AV_CODEC_ID_C93, | ||||
| .priv_data_size = sizeof(C93DecoderContext), | .priv_data_size = sizeof(C93DecoderContext), | ||||
| @@ -261,5 +262,4 @@ AVCodec ff_c93_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("Interplay C93"), | |||||
| }; | }; | ||||
| @@ -1217,6 +1217,7 @@ static int cavs_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, | |||||
| AVCodec ff_cavs_decoder = { | AVCodec ff_cavs_decoder = { | ||||
| .name = "cavs", | .name = "cavs", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CAVS, | .id = AV_CODEC_ID_CAVS, | ||||
| .priv_data_size = sizeof(AVSContext), | .priv_data_size = sizeof(AVSContext), | ||||
| @@ -1225,5 +1226,4 @@ AVCodec ff_cavs_decoder = { | |||||
| .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 (Audio Video Standard) (AVS1-P2, JiZhun profile)"), | |||||
| }; | }; | ||||
| @@ -370,6 +370,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_cdgraphics_decoder = { | AVCodec ff_cdgraphics_decoder = { | ||||
| .name = "cdgraphics", | .name = "cdgraphics", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CDGRAPHICS, | .id = AV_CODEC_ID_CDGRAPHICS, | ||||
| .priv_data_size = sizeof(CDGraphicsContext), | .priv_data_size = sizeof(CDGraphicsContext), | ||||
| @@ -377,5 +378,4 @@ AVCodec ff_cdgraphics_decoder = { | |||||
| .close = cdg_decode_end, | .close = cdg_decode_end, | ||||
| .decode = cdg_decode_frame, | .decode = cdg_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"), | |||||
| }; | }; | ||||
| @@ -298,6 +298,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_cdxl_decoder = { | AVCodec ff_cdxl_decoder = { | ||||
| .name = "cdxl", | .name = "cdxl", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CDXL, | .id = AV_CODEC_ID_CDXL, | ||||
| .priv_data_size = sizeof(CDXLVideoContext), | .priv_data_size = sizeof(CDXLVideoContext), | ||||
| @@ -305,5 +306,4 @@ AVCodec ff_cdxl_decoder = { | |||||
| .close = cdxl_decode_end, | .close = cdxl_decode_end, | ||||
| .decode = cdxl_decode_frame, | .decode = cdxl_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"), | |||||
| }; | }; | ||||
| @@ -477,6 +477,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_cinepak_decoder = { | AVCodec ff_cinepak_decoder = { | ||||
| .name = "cinepak", | .name = "cinepak", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cinepak"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CINEPAK, | .id = AV_CODEC_ID_CINEPAK, | ||||
| .priv_data_size = sizeof(CinepakContext), | .priv_data_size = sizeof(CinepakContext), | ||||
| @@ -484,5 +485,4 @@ AVCodec ff_cinepak_decoder = { | |||||
| .close = cinepak_decode_end, | .close = cinepak_decode_end, | ||||
| .decode = cinepak_decode_frame, | .decode = cinepak_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cinepak"), | |||||
| }; | }; | ||||
| @@ -87,12 +87,12 @@ static av_cold int decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_cljr_decoder = { | AVCodec ff_cljr_decoder = { | ||||
| .name = "cljr", | .name = "cljr", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CLJR, | .id = AV_CODEC_ID_CLJR, | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -177,6 +177,7 @@ static const AVClass cljr_class = { | |||||
| AVCodec ff_cljr_encoder = { | AVCodec ff_cljr_encoder = { | ||||
| .name = "cljr", | .name = "cljr", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CLJR, | .id = AV_CODEC_ID_CLJR, | ||||
| .priv_data_size = sizeof(CLJRContext), | .priv_data_size = sizeof(CLJRContext), | ||||
| @@ -184,7 +185,6 @@ AVCodec ff_cljr_encoder = { | |||||
| .encode2 = encode_frame, | .encode2 = encode_frame, | ||||
| .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P, | .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV411P, | ||||
| AV_PIX_FMT_NONE }, | AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| .priv_class = &cljr_class, | .priv_class = &cljr_class, | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -481,6 +481,7 @@ static av_cold int cllc_decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_cllc_decoder = { | AVCodec ff_cllc_decoder = { | ||||
| .name = "cllc", | .name = "cllc", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CLLC, | .id = AV_CODEC_ID_CLLC, | ||||
| .priv_data_size = sizeof(CLLCContext), | .priv_data_size = sizeof(CLLCContext), | ||||
| @@ -488,5 +489,4 @@ AVCodec ff_cllc_decoder = { | |||||
| .decode = cllc_decode_frame, | .decode = cllc_decode_frame, | ||||
| .close = cllc_decode_close, | .close = cllc_decode_close, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"), | |||||
| }; | }; | ||||
| @@ -157,6 +157,7 @@ static int cng_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_comfortnoise_decoder = { | AVCodec ff_comfortnoise_decoder = { | ||||
| .name = "comfortnoise", | .name = "comfortnoise", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_COMFORT_NOISE, | .id = AV_CODEC_ID_COMFORT_NOISE, | ||||
| .priv_data_size = sizeof(CNGContext), | .priv_data_size = sizeof(CNGContext), | ||||
| @@ -164,7 +165,6 @@ AVCodec ff_comfortnoise_decoder = { | |||||
| .decode = cng_decode_frame, | .decode = cng_decode_frame, | ||||
| .flush = cng_decode_flush, | .flush = cng_decode_flush, | ||||
| .close = cng_decode_close, | .close = cng_decode_close, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | |||||
| .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 }, | ||||
| .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1, | ||||
| @@ -104,13 +104,13 @@ static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | |||||
| AVCodec ff_comfortnoise_encoder = { | AVCodec ff_comfortnoise_encoder = { | ||||
| .name = "comfortnoise", | .name = "comfortnoise", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_COMFORT_NOISE, | .id = AV_CODEC_ID_COMFORT_NOISE, | ||||
| .priv_data_size = sizeof(CNGContext), | .priv_data_size = sizeof(CNGContext), | ||||
| .init = cng_encode_init, | .init = cng_encode_init, | ||||
| .encode2 = cng_encode_frame, | .encode2 = cng_encode_frame, | ||||
| .close = cng_encode_close, | .close = cng_encode_close, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"), | |||||
| .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 }, | ||||
| }; | }; | ||||
| @@ -1279,6 +1279,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_cook_decoder = { | AVCodec ff_cook_decoder = { | ||||
| .name = "cook", | .name = "cook", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_COOK, | .id = AV_CODEC_ID_COOK, | ||||
| .priv_data_size = sizeof(COOKContext), | .priv_data_size = sizeof(COOKContext), | ||||
| @@ -1286,7 +1287,6 @@ AVCodec ff_cook_decoder = { | |||||
| .close = cook_decode_close, | .close = cook_decode_close, | ||||
| .decode = cook_decode_frame, | .decode = cook_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -159,6 +159,7 @@ static av_cold int decode_end(AVCodecContext *avctx) { | |||||
| AVCodec ff_cscd_decoder = { | AVCodec ff_cscd_decoder = { | ||||
| .name = "camstudio", | .name = "camstudio", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("CamStudio"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CSCD, | .id = AV_CODEC_ID_CSCD, | ||||
| .priv_data_size = sizeof(CamStudioContext), | .priv_data_size = sizeof(CamStudioContext), | ||||
| @@ -166,5 +167,4 @@ AVCodec ff_cscd_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("CamStudio"), | |||||
| }; | }; | ||||
| @@ -178,25 +178,25 @@ static int cyuv_decode_frame(AVCodecContext *avctx, | |||||
| #if CONFIG_AURA_DECODER | #if CONFIG_AURA_DECODER | ||||
| AVCodec ff_aura_decoder = { | AVCodec ff_aura_decoder = { | ||||
| .name = "aura", | .name = "aura", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_AURA, | .id = AV_CODEC_ID_AURA, | ||||
| .priv_data_size = sizeof(CyuvDecodeContext), | .priv_data_size = sizeof(CyuvDecodeContext), | ||||
| .init = cyuv_decode_init, | .init = cyuv_decode_init, | ||||
| .decode = cyuv_decode_frame, | .decode = cyuv_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_CYUV_DECODER | #if CONFIG_CYUV_DECODER | ||||
| AVCodec ff_cyuv_decoder = { | AVCodec ff_cyuv_decoder = { | ||||
| .name = "cyuv", | .name = "cyuv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CYUV, | .id = AV_CODEC_ID_CYUV, | ||||
| .priv_data_size = sizeof(CyuvDecodeContext), | .priv_data_size = sizeof(CyuvDecodeContext), | ||||
| .init = cyuv_decode_init, | .init = cyuv_decode_init, | ||||
| .decode = cyuv_decode_frame, | .decode = cyuv_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -2507,13 +2507,13 @@ static const AVProfile profiles[] = { | |||||
| AVCodec ff_dca_decoder = { | AVCodec ff_dca_decoder = { | ||||
| .name = "dca", | .name = "dca", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_DTS, | .id = AV_CODEC_ID_DTS, | ||||
| .priv_data_size = sizeof(DCAContext), | .priv_data_size = sizeof(DCAContext), | ||||
| .init = dca_decode_init, | .init = dca_decode_init, | ||||
| .decode = dca_decode_frame, | .decode = dca_decode_frame, | ||||
| .close = dca_decode_end, | .close = dca_decode_end, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), | |||||
| .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_CHANNEL_CONF | CODEC_CAP_DR1, | ||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| @@ -408,6 +408,7 @@ static av_cold int dfa_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_dfa_decoder = { | AVCodec ff_dfa_decoder = { | ||||
| .name = "dfa", | .name = "dfa", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DFA, | .id = AV_CODEC_ID_DFA, | ||||
| .priv_data_size = sizeof(DfaContext), | .priv_data_size = sizeof(DfaContext), | ||||
| @@ -415,5 +416,4 @@ AVCodec ff_dfa_decoder = { | |||||
| .close = dfa_decode_end, | .close = dfa_decode_end, | ||||
| .decode = dfa_decode_frame, | .decode = dfa_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"), | |||||
| }; | }; | ||||
| @@ -413,6 +413,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_dnxhd_decoder = { | AVCodec ff_dnxhd_decoder = { | ||||
| .name = "dnxhd", | .name = "dnxhd", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DNXHD, | .id = AV_CODEC_ID_DNXHD, | ||||
| .priv_data_size = sizeof(DNXHDContext), | .priv_data_size = sizeof(DNXHDContext), | ||||
| @@ -420,5 +421,4 @@ AVCodec ff_dnxhd_decoder = { | |||||
| .close = dnxhd_decode_close, | .close = dnxhd_decode_close, | ||||
| .decode = dnxhd_decode_frame, | .decode = dnxhd_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| }; | }; | ||||
| @@ -1037,6 +1037,7 @@ static const AVCodecDefault dnxhd_defaults[] = { | |||||
| AVCodec ff_dnxhd_encoder = { | AVCodec ff_dnxhd_encoder = { | ||||
| .name = "dnxhd", | .name = "dnxhd", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DNXHD, | .id = AV_CODEC_ID_DNXHD, | ||||
| .priv_data_size = sizeof(DNXHDEncContext), | .priv_data_size = sizeof(DNXHDEncContext), | ||||
| @@ -1047,7 +1048,6 @@ AVCodec ff_dnxhd_encoder = { | |||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV422P, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV422P, | ||||
| AV_PIX_FMT_YUV422P10, | AV_PIX_FMT_YUV422P10, | ||||
| AV_PIX_FMT_NONE }, | AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| .priv_class = &dnxhd_class, | .priv_class = &dnxhd_class, | ||||
| .defaults = dnxhd_defaults, | .defaults = dnxhd_defaults, | ||||
| }; | }; | ||||
| @@ -328,13 +328,13 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void *data, | |||||
| #define DPCM_DECODER(id_, name_, long_name_) \ | #define DPCM_DECODER(id_, name_, long_name_) \ | ||||
| AVCodec ff_ ## name_ ## _decoder = { \ | AVCodec ff_ ## name_ ## _decoder = { \ | ||||
| .name = #name_, \ | .name = #name_, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| .type = AVMEDIA_TYPE_AUDIO, \ | .type = AVMEDIA_TYPE_AUDIO, \ | ||||
| .id = id_, \ | .id = id_, \ | ||||
| .priv_data_size = sizeof(DPCMContext), \ | .priv_data_size = sizeof(DPCMContext), \ | ||||
| .init = dpcm_decode_init, \ | .init = dpcm_decode_init, \ | ||||
| .decode = dpcm_decode_frame, \ | .decode = dpcm_decode_frame, \ | ||||
| .capabilities = CODEC_CAP_DR1, \ | .capabilities = CODEC_CAP_DR1, \ | ||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| } | } | ||||
| DPCM_DECODER(AV_CODEC_ID_INTERPLAY_DPCM, interplay_dpcm, "DPCM Interplay"); | DPCM_DECODER(AV_CODEC_ID_INTERPLAY_DPCM, interplay_dpcm, "DPCM Interplay"); | ||||
| @@ -257,9 +257,9 @@ static int decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_dpx_decoder = { | AVCodec ff_dpx_decoder = { | ||||
| .name = "dpx", | .name = "dpx", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DPX image"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DPX, | .id = AV_CODEC_ID_DPX, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DPX image"), | |||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| }; | }; | ||||
| @@ -235,6 +235,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, | |||||
| AVCodec ff_dpx_encoder = { | AVCodec ff_dpx_encoder = { | ||||
| .name = "dpx", | .name = "dpx", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DPX image"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DPX, | .id = AV_CODEC_ID_DPX, | ||||
| .priv_data_size = sizeof(DPXContext), | .priv_data_size = sizeof(DPXContext), | ||||
| @@ -247,5 +248,4 @@ AVCodec ff_dpx_encoder = { | |||||
| AV_PIX_FMT_GBRP10LE, AV_PIX_FMT_GBRP10BE, | AV_PIX_FMT_GBRP10LE, AV_PIX_FMT_GBRP10BE, | ||||
| AV_PIX_FMT_GBRP12LE, AV_PIX_FMT_GBRP12BE, | AV_PIX_FMT_GBRP12LE, AV_PIX_FMT_GBRP12BE, | ||||
| AV_PIX_FMT_NONE}, | AV_PIX_FMT_NONE}, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DPX image"), | |||||
| }; | }; | ||||
| @@ -397,6 +397,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_dsicinvideo_decoder = { | AVCodec ff_dsicinvideo_decoder = { | ||||
| .name = "dsicinvideo", | .name = "dsicinvideo", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DSICINVIDEO, | .id = AV_CODEC_ID_DSICINVIDEO, | ||||
| .priv_data_size = sizeof(CinVideoContext), | .priv_data_size = sizeof(CinVideoContext), | ||||
| @@ -404,16 +405,15 @@ AVCodec ff_dsicinvideo_decoder = { | |||||
| .close = cinvideo_decode_end, | .close = cinvideo_decode_end, | ||||
| .decode = cinvideo_decode_frame, | .decode = cinvideo_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), | |||||
| }; | }; | ||||
| AVCodec ff_dsicinaudio_decoder = { | AVCodec ff_dsicinaudio_decoder = { | ||||
| .name = "dsicinaudio", | .name = "dsicinaudio", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_DSICINAUDIO, | .id = AV_CODEC_ID_DSICINAUDIO, | ||||
| .priv_data_size = sizeof(CinAudioContext), | .priv_data_size = sizeof(CinAudioContext), | ||||
| .init = cinaudio_decode_init, | .init = cinaudio_decode_init, | ||||
| .decode = cinaudio_decode_frame, | .decode = cinaudio_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"), | |||||
| }; | }; | ||||
| @@ -984,6 +984,7 @@ static int dvvideo_encode_frame(AVCodecContext *c, AVPacket *pkt, | |||||
| AVCodec ff_dvvideo_encoder = { | AVCodec ff_dvvideo_encoder = { | ||||
| .name = "dvvideo", | .name = "dvvideo", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DVVIDEO, | .id = AV_CODEC_ID_DVVIDEO, | ||||
| .priv_data_size = sizeof(DVVideoContext), | .priv_data_size = sizeof(DVVideoContext), | ||||
| @@ -993,6 +994,5 @@ AVCodec ff_dvvideo_encoder = { | |||||
| .pix_fmts = (const enum AVPixelFormat[]) { | .pix_fmts = (const enum AVPixelFormat[]) { | ||||
| AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE | AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| }; | }; | ||||
| #endif // CONFIG_DVVIDEO_ENCODER | #endif // CONFIG_DVVIDEO_ENCODER | ||||
| @@ -456,9 +456,9 @@ static int dvbsub_encode(AVCodecContext *avctx, | |||||
| AVCodec ff_dvbsub_encoder = { | AVCodec ff_dvbsub_encoder = { | ||||
| .name = "dvbsub", | .name = "dvbsub", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| .type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
| .id = AV_CODEC_ID_DVB_SUBTITLE, | .id = AV_CODEC_ID_DVB_SUBTITLE, | ||||
| .priv_data_size = sizeof(DVBSubtitleContext), | .priv_data_size = sizeof(DVBSubtitleContext), | ||||
| .encode_sub = dvbsub_encode, | .encode_sub = dvbsub_encode, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| }; | }; | ||||
| @@ -1544,11 +1544,11 @@ static int dvbsub_decode(AVCodecContext *avctx, | |||||
| AVCodec ff_dvbsub_decoder = { | AVCodec ff_dvbsub_decoder = { | ||||
| .name = "dvbsub", | .name = "dvbsub", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| .type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
| .id = AV_CODEC_ID_DVB_SUBTITLE, | .id = AV_CODEC_ID_DVB_SUBTITLE, | ||||
| .priv_data_size = sizeof(DVBSubContext), | .priv_data_size = sizeof(DVBSubContext), | ||||
| .init = dvbsub_init_decoder, | .init = dvbsub_init_decoder, | ||||
| .close = dvbsub_close_decoder, | .close = dvbsub_close_decoder, | ||||
| .decode = dvbsub_decode, | .decode = dvbsub_decode, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| }; | }; | ||||
| @@ -370,6 +370,7 @@ static int dvvideo_close(AVCodecContext *c) | |||||
| AVCodec ff_dvvideo_decoder = { | AVCodec ff_dvvideo_decoder = { | ||||
| .name = "dvvideo", | .name = "dvvideo", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DVVIDEO, | .id = AV_CODEC_ID_DVVIDEO, | ||||
| .priv_data_size = sizeof(DVVideoContext), | .priv_data_size = sizeof(DVVideoContext), | ||||
| @@ -378,5 +379,4 @@ AVCodec ff_dvvideo_decoder = { | |||||
| .decode = dvvideo_decode_frame, | .decode = dvvideo_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS, | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS, | ||||
| .max_lowres = 3, | .max_lowres = 3, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| }; | }; | ||||
| @@ -655,12 +655,12 @@ static const AVClass dvdsub_class = { | |||||
| AVCodec ff_dvdsub_decoder = { | AVCodec ff_dvdsub_decoder = { | ||||
| .name = "dvdsub", | .name = "dvdsub", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| .type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
| .id = AV_CODEC_ID_DVD_SUBTITLE, | .id = AV_CODEC_ID_DVD_SUBTITLE, | ||||
| .priv_data_size = sizeof(DVDSubContext), | .priv_data_size = sizeof(DVDSubContext), | ||||
| .init = dvdsub_init, | .init = dvdsub_init, | ||||
| .decode = dvdsub_decode, | .decode = dvdsub_decode, | ||||
| .close = dvdsub_close, | .close = dvdsub_close, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| .priv_class = &dvdsub_class, | .priv_class = &dvdsub_class, | ||||
| }; | }; | ||||
| @@ -434,10 +434,10 @@ static int dvdsub_encode(AVCodecContext *avctx, | |||||
| AVCodec ff_dvdsub_encoder = { | AVCodec ff_dvdsub_encoder = { | ||||
| .name = "dvdsub", | .name = "dvdsub", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| .type = AVMEDIA_TYPE_SUBTITLE, | .type = AVMEDIA_TYPE_SUBTITLE, | ||||
| .id = AV_CODEC_ID_DVD_SUBTITLE, | .id = AV_CODEC_ID_DVD_SUBTITLE, | ||||
| .init = dvdsub_init, | .init = dvdsub_init, | ||||
| .encode_sub = dvdsub_encode, | .encode_sub = dvdsub_encode, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| .priv_data_size = sizeof(DVDSubtitleContext), | .priv_data_size = sizeof(DVDSubtitleContext), | ||||
| }; | }; | ||||
| @@ -350,6 +350,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_dxa_decoder = { | AVCodec ff_dxa_decoder = { | ||||
| .name = "dxa", | .name = "dxa", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_DXA, | .id = AV_CODEC_ID_DXA, | ||||
| .priv_data_size = sizeof(DxaDecContext), | .priv_data_size = sizeof(DxaDecContext), | ||||
| @@ -357,5 +358,4 @@ AVCodec ff_dxa_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("Feeble Files/ScummVM DXA"), | |||||
| }; | }; | ||||
| @@ -254,6 +254,7 @@ void ff_eac3_output_frame_header(AC3EncodeContext *s) | |||||
| #if CONFIG_EAC3_ENCODER | #if CONFIG_EAC3_ENCODER | ||||
| AVCodec ff_eac3_encoder = { | AVCodec ff_eac3_encoder = { | ||||
| .name = "eac3", | .name = "eac3", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 E-AC-3"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_EAC3, | .id = AV_CODEC_ID_EAC3, | ||||
| .priv_data_size = sizeof(AC3EncodeContext), | .priv_data_size = sizeof(AC3EncodeContext), | ||||
| @@ -262,7 +263,6 @@ AVCodec ff_eac3_encoder = { | |||||
| .close = ff_ac3_encode_close, | .close = ff_ac3_encode_close, | ||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .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, | ||||
| .defaults = ac3_defaults, | .defaults = ac3_defaults, | ||||
| @@ -225,6 +225,7 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){ | |||||
| AVCodec ff_eacmv_decoder = { | AVCodec ff_eacmv_decoder = { | ||||
| .name = "eacmv", | .name = "eacmv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_CMV, | .id = AV_CODEC_ID_CMV, | ||||
| .priv_data_size = sizeof(CmvContext), | .priv_data_size = sizeof(CmvContext), | ||||
| @@ -232,5 +233,4 @@ AVCodec ff_eacmv_decoder = { | |||||
| .close = cmv_decode_end, | .close = cmv_decode_end, | ||||
| .decode = cmv_decode_frame, | .decode = cmv_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"), | |||||
| }; | }; | ||||
| @@ -321,6 +321,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_eamad_decoder = { | AVCodec ff_eamad_decoder = { | ||||
| .name = "eamad", | .name = "eamad", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts Madcow Video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_MAD, | .id = AV_CODEC_ID_MAD, | ||||
| .priv_data_size = sizeof(MadContext), | .priv_data_size = sizeof(MadContext), | ||||
| @@ -328,5 +329,4 @@ AVCodec ff_eamad_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("Electronic Arts Madcow Video") | |||||
| }; | }; | ||||
| @@ -242,11 +242,11 @@ static int tgq_decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_eatgq_decoder = { | AVCodec ff_eatgq_decoder = { | ||||
| .name = "eatgq", | .name = "eatgq", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_TGQ, | .id = AV_CODEC_ID_TGQ, | ||||
| .priv_data_size = sizeof(TgqContext), | .priv_data_size = sizeof(TgqContext), | ||||
| .init = tgq_decode_init, | .init = tgq_decode_init, | ||||
| .decode = tgq_decode_frame, | .decode = tgq_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGQ video"), | |||||
| }; | }; | ||||
| @@ -353,12 +353,12 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_eatgv_decoder = { | AVCodec ff_eatgv_decoder = { | ||||
| .name = "eatgv", | .name = "eatgv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_TGV, | .id = AV_CODEC_ID_TGV, | ||||
| .priv_data_size = sizeof(TgvContext), | .priv_data_size = sizeof(TgvContext), | ||||
| .init = tgv_decode_init, | .init = tgv_decode_init, | ||||
| .close = tgv_decode_end, | .close = tgv_decode_end, | ||||
| .decode = tgv_decode_frame, | .decode = tgv_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"), | |||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| }; | }; | ||||
| @@ -147,6 +147,7 @@ static av_cold int tqi_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_eatqi_decoder = { | AVCodec ff_eatqi_decoder = { | ||||
| .name = "eatqi", | .name = "eatqi", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_TQI, | .id = AV_CODEC_ID_TQI, | ||||
| .priv_data_size = sizeof(TqiContext), | .priv_data_size = sizeof(TqiContext), | ||||
| @@ -154,5 +155,4 @@ AVCodec ff_eatqi_decoder = { | |||||
| .close = tqi_decode_end, | .close = tqi_decode_end, | ||||
| .decode = tqi_decode_frame, | .decode = tqi_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TQI Video"), | |||||
| }; | }; | ||||
| @@ -362,6 +362,7 @@ static int escape124_decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_escape124_decoder = { | AVCodec ff_escape124_decoder = { | ||||
| .name = "escape124", | .name = "escape124", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Escape 124"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ESCAPE124, | .id = AV_CODEC_ID_ESCAPE124, | ||||
| .priv_data_size = sizeof(Escape124Context), | .priv_data_size = sizeof(Escape124Context), | ||||
| @@ -369,5 +370,4 @@ AVCodec ff_escape124_decoder = { | |||||
| .close = escape124_decode_close, | .close = escape124_decode_close, | ||||
| .decode = escape124_decode_frame, | .decode = escape124_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Escape 124"), | |||||
| }; | }; | ||||
| @@ -349,6 +349,7 @@ static int escape130_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_escape130_decoder = { | AVCodec ff_escape130_decoder = { | ||||
| .name = "escape130", | .name = "escape130", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Escape 130"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_ESCAPE130, | .id = AV_CODEC_ID_ESCAPE130, | ||||
| .priv_data_size = sizeof(Escape130Context), | .priv_data_size = sizeof(Escape130Context), | ||||
| @@ -356,5 +357,4 @@ AVCodec ff_escape130_decoder = { | |||||
| .close = escape130_decode_close, | .close = escape130_decode_close, | ||||
| .decode = escape130_decode_frame, | .decode = escape130_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Escape 130"), | |||||
| }; | }; | ||||
| @@ -1061,6 +1061,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src) | |||||
| AVCodec ff_ffv1_decoder = { | AVCodec ff_ffv1_decoder = { | ||||
| .name = "ffv1", | .name = "ffv1", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FFV1, | .id = AV_CODEC_ID_FFV1, | ||||
| .priv_data_size = sizeof(FFV1Context), | .priv_data_size = sizeof(FFV1Context), | ||||
| @@ -1071,5 +1072,4 @@ AVCodec ff_ffv1_decoder = { | |||||
| .update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context), | .update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context), | ||||
| .capabilities = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/ | | .capabilities = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/ | | ||||
| CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS, | CODEC_CAP_FRAME_THREADS | CODEC_CAP_SLICE_THREADS, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), | |||||
| }; | }; | ||||
| @@ -1211,6 +1211,7 @@ static const AVCodecDefault ffv1_defaults[] = { | |||||
| AVCodec ff_ffv1_encoder = { | AVCodec ff_ffv1_encoder = { | ||||
| .name = "ffv1", | .name = "ffv1", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FFV1, | .id = AV_CODEC_ID_FFV1, | ||||
| .priv_data_size = sizeof(FFV1Context), | .priv_data_size = sizeof(FFV1Context), | ||||
| @@ -1232,7 +1233,6 @@ AVCodec ff_ffv1_encoder = { | |||||
| AV_PIX_FMT_NONE | AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"), | |||||
| .defaults = ffv1_defaults, | .defaults = ffv1_defaults, | ||||
| .priv_class = &ffv1_class, | .priv_class = &ffv1_class, | ||||
| }; | }; | ||||
| @@ -591,6 +591,7 @@ static av_cold int flac_decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_flac_decoder = { | AVCodec ff_flac_decoder = { | ||||
| .name = "flac", | .name = "flac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_FLAC, | .id = AV_CODEC_ID_FLAC, | ||||
| .priv_data_size = sizeof(FLACContext), | .priv_data_size = sizeof(FLACContext), | ||||
| @@ -599,7 +600,6 @@ AVCodec ff_flac_decoder = { | |||||
| .decode = flac_decode_frame, | .decode = flac_decode_frame, | ||||
| .init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy), | .init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy), | ||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, | ||||
| AV_SAMPLE_FMT_S16P, | AV_SAMPLE_FMT_S16P, | ||||
| AV_SAMPLE_FMT_S32, | AV_SAMPLE_FMT_S32, | ||||
| @@ -1343,6 +1343,7 @@ static const AVClass flac_encoder_class = { | |||||
| AVCodec ff_flac_encoder = { | AVCodec ff_flac_encoder = { | ||||
| .name = "flac", | .name = "flac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_FLAC, | .id = AV_CODEC_ID_FLAC, | ||||
| .priv_data_size = sizeof(FlacEncodeContext), | .priv_data_size = sizeof(FlacEncodeContext), | ||||
| @@ -1353,6 +1354,5 @@ AVCodec ff_flac_encoder = { | |||||
| .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, | .sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_S16, | ||||
| AV_SAMPLE_FMT_S32, | AV_SAMPLE_FMT_S32, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| .priv_class = &flac_encoder_class, | .priv_class = &flac_encoder_class, | ||||
| }; | }; | ||||
| @@ -479,6 +479,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx) | |||||
| #if CONFIG_FLASHSV_DECODER | #if CONFIG_FLASHSV_DECODER | ||||
| AVCodec ff_flashsv_decoder = { | AVCodec ff_flashsv_decoder = { | ||||
| .name = "flashsv", | .name = "flashsv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLASHSV, | .id = AV_CODEC_ID_FLASHSV, | ||||
| .priv_data_size = sizeof(FlashSVContext), | .priv_data_size = sizeof(FlashSVContext), | ||||
| @@ -487,7 +488,6 @@ AVCodec ff_flashsv_decoder = { | |||||
| .decode = flashsv_decode_frame, | .decode = flashsv_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), | |||||
| }; | }; | ||||
| #endif /* CONFIG_FLASHSV_DECODER */ | #endif /* CONFIG_FLASHSV_DECODER */ | ||||
| @@ -542,6 +542,7 @@ static av_cold int flashsv2_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_flashsv2_decoder = { | AVCodec ff_flashsv2_decoder = { | ||||
| .name = "flashsv2", | .name = "flashsv2", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLASHSV2, | .id = AV_CODEC_ID_FLASHSV2, | ||||
| .priv_data_size = sizeof(FlashSVContext), | .priv_data_size = sizeof(FlashSVContext), | ||||
| @@ -550,6 +551,5 @@ AVCodec ff_flashsv2_decoder = { | |||||
| .decode = flashsv_decode_frame, | .decode = flashsv_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"), | |||||
| }; | }; | ||||
| #endif /* CONFIG_FLASHSV2_DECODER */ | #endif /* CONFIG_FLASHSV2_DECODER */ | ||||
| @@ -277,6 +277,7 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_flashsv_encoder = { | AVCodec ff_flashsv_encoder = { | ||||
| .name = "flashsv", | .name = "flashsv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLASHSV, | .id = AV_CODEC_ID_FLASHSV, | ||||
| .priv_data_size = sizeof(FlashSVContext), | .priv_data_size = sizeof(FlashSVContext), | ||||
| @@ -284,5 +285,4 @@ AVCodec ff_flashsv_encoder = { | |||||
| .encode2 = flashsv_encode_frame, | .encode2 = flashsv_encode_frame, | ||||
| .close = flashsv_encode_end, | .close = flashsv_encode_end, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), | |||||
| }; | }; | ||||
| @@ -804,6 +804,7 @@ static av_cold int flic_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_flic_decoder = { | AVCodec ff_flic_decoder = { | ||||
| .name = "flic", | .name = "flic", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLIC, | .id = AV_CODEC_ID_FLIC, | ||||
| .priv_data_size = sizeof(FlicDecodeContext), | .priv_data_size = sizeof(FlicDecodeContext), | ||||
| @@ -811,5 +812,4 @@ AVCodec ff_flic_decoder = { | |||||
| .close = flic_decode_end, | .close = flic_decode_end, | ||||
| .decode = flic_decode_frame, | .decode = flic_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"), | |||||
| }; | }; | ||||
| @@ -124,6 +124,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s) | |||||
| AVCodec ff_flv_decoder = { | AVCodec ff_flv_decoder = { | ||||
| .name = "flv", | .name = "flv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLV1, | .id = AV_CODEC_ID_FLV1, | ||||
| .priv_data_size = sizeof(MpegEncContext), | .priv_data_size = sizeof(MpegEncContext), | ||||
| @@ -132,6 +133,5 @@ AVCodec ff_flv_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, | ||||
| .max_lowres = 3, | .max_lowres = 3, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), | |||||
| .pix_fmts = ff_pixfmt_list_420, | .pix_fmts = ff_pixfmt_list_420, | ||||
| }; | }; | ||||
| @@ -88,6 +88,7 @@ FF_MPV_GENERIC_CLASS(flv) | |||||
| AVCodec ff_flv_encoder = { | AVCodec ff_flv_encoder = { | ||||
| .name = "flv", | .name = "flv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FLV1, | .id = AV_CODEC_ID_FLV1, | ||||
| .priv_data_size = sizeof(MpegEncContext), | .priv_data_size = sizeof(MpegEncContext), | ||||
| @@ -95,6 +96,5 @@ AVCodec ff_flv_encoder = { | |||||
| .encode2 = ff_MPV_encode_picture, | .encode2 = ff_MPV_encode_picture, | ||||
| .close = ff_MPV_encode_end, | .close = ff_MPV_encode_end, | ||||
| .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, | .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("FLV / Sorenson Spark / Sorenson H.263 (Flash Video)"), | |||||
| .priv_class = &flv_class, | .priv_class = &flv_class, | ||||
| }; | }; | ||||
| @@ -313,6 +313,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_fraps_decoder = { | AVCodec ff_fraps_decoder = { | ||||
| .name = "fraps", | .name = "fraps", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Fraps"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FRAPS, | .id = AV_CODEC_ID_FRAPS, | ||||
| .priv_data_size = sizeof(FrapsContext), | .priv_data_size = sizeof(FrapsContext), | ||||
| @@ -320,5 +321,4 @@ AVCodec ff_fraps_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("Fraps"), | |||||
| }; | }; | ||||
| @@ -117,12 +117,12 @@ static const AVClass frwu_class = { | |||||
| AVCodec ff_frwu_decoder = { | AVCodec ff_frwu_decoder = { | ||||
| .name = "frwu", | .name = "frwu", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FRWU, | .id = AV_CODEC_ID_FRWU, | ||||
| .priv_data_size = sizeof(FRWUContext), | .priv_data_size = sizeof(FRWUContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"), | |||||
| .priv_class = &frwu_class, | .priv_class = &frwu_class, | ||||
| }; | }; | ||||
| @@ -138,12 +138,12 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data, | |||||
| AVCodec ff_adpcm_g722_decoder = { | AVCodec ff_adpcm_g722_decoder = { | ||||
| .name = "g722", | .name = "g722", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_G722, | .id = AV_CODEC_ID_ADPCM_G722, | ||||
| .priv_data_size = sizeof(G722Context), | .priv_data_size = sizeof(G722Context), | ||||
| .init = g722_decode_init, | .init = g722_decode_init, | ||||
| .decode = g722_decode_frame, | .decode = g722_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), | |||||
| .priv_class = &g722_decoder_class, | .priv_class = &g722_decoder_class, | ||||
| }; | }; | ||||
| @@ -381,6 +381,7 @@ static int g722_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, | |||||
| AVCodec ff_adpcm_g722_encoder = { | AVCodec ff_adpcm_g722_encoder = { | ||||
| .name = "g722", | .name = "g722", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.722 ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_G722, | .id = AV_CODEC_ID_ADPCM_G722, | ||||
| .priv_data_size = sizeof(G722Context), | .priv_data_size = sizeof(G722Context), | ||||
| @@ -388,7 +389,6 @@ AVCodec ff_adpcm_g722_encoder = { | |||||
| .close = g722_encode_close, | .close = g722_encode_close, | ||||
| .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"), | |||||
| .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 }, | ||||
| }; | }; | ||||
| @@ -1331,12 +1331,12 @@ static const AVClass g723_1dec_class = { | |||||
| AVCodec ff_g723_1_decoder = { | AVCodec ff_g723_1_decoder = { | ||||
| .name = "g723_1", | .name = "g723_1", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_G723_1, | .id = AV_CODEC_ID_G723_1, | ||||
| .priv_data_size = sizeof(G723_1_Context), | .priv_data_size = sizeof(G723_1_Context), | ||||
| .init = g723_1_decode_init, | .init = g723_1_decode_init, | ||||
| .decode = g723_1_decode_frame, | .decode = g723_1_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.723.1"), | |||||
| .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, | .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, | ||||
| .priv_class = &g723_1dec_class, | .priv_class = &g723_1dec_class, | ||||
| }; | }; | ||||
| @@ -382,6 +382,7 @@ static const AVCodecDefault defaults[] = { | |||||
| AVCodec ff_adpcm_g726_encoder = { | AVCodec ff_adpcm_g726_encoder = { | ||||
| .name = "g726", | .name = "g726", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_G726, | .id = AV_CODEC_ID_ADPCM_G726, | ||||
| .priv_data_size = sizeof(G726Context), | .priv_data_size = sizeof(G726Context), | ||||
| @@ -390,7 +391,6 @@ AVCodec ff_adpcm_g726_encoder = { | |||||
| .capabilities = CODEC_CAP_SMALL_LAST_FRAME, | .capabilities = CODEC_CAP_SMALL_LAST_FRAME, | ||||
| .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("G.726 ADPCM"), | |||||
| .priv_class = &g726_class, | .priv_class = &g726_class, | ||||
| .defaults = defaults, | .defaults = defaults, | ||||
| }; | }; | ||||
| @@ -460,6 +460,7 @@ static void g726_decode_flush(AVCodecContext *avctx) | |||||
| AVCodec ff_adpcm_g726_decoder = { | AVCodec ff_adpcm_g726_decoder = { | ||||
| .name = "g726", | .name = "g726", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_ADPCM_G726, | .id = AV_CODEC_ID_ADPCM_G726, | ||||
| .priv_data_size = sizeof(G726Context), | .priv_data_size = sizeof(G726Context), | ||||
| @@ -467,6 +468,5 @@ AVCodec ff_adpcm_g726_decoder = { | |||||
| .decode = g726_decode_frame, | .decode = g726_decode_frame, | ||||
| .flush = g726_decode_flush, | .flush = g726_decode_flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -301,6 +301,7 @@ static const AVClass gif_class = { | |||||
| AVCodec ff_gif_encoder = { | AVCodec ff_gif_encoder = { | ||||
| .name = "gif", | .name = "gif", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_GIF, | .id = AV_CODEC_ID_GIF, | ||||
| .priv_data_size = sizeof(GIFContext), | .priv_data_size = sizeof(GIFContext), | ||||
| @@ -311,6 +312,5 @@ AVCodec ff_gif_encoder = { | |||||
| AV_PIX_FMT_RGB8, AV_PIX_FMT_BGR8, AV_PIX_FMT_RGB4_BYTE, AV_PIX_FMT_BGR4_BYTE, | AV_PIX_FMT_RGB8, AV_PIX_FMT_BGR8, AV_PIX_FMT_RGB4_BYTE, AV_PIX_FMT_BGR4_BYTE, | ||||
| AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8, AV_PIX_FMT_NONE | AV_PIX_FMT_GRAY8, AV_PIX_FMT_PAL8, AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| .priv_class = &gif_class, | .priv_class = &gif_class, | ||||
| }; | }; | ||||
| @@ -532,6 +532,7 @@ static const AVClass decoder_class = { | |||||
| AVCodec ff_gif_decoder = { | AVCodec ff_gif_decoder = { | ||||
| .name = "gif", | .name = "gif", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_GIF, | .id = AV_CODEC_ID_GIF, | ||||
| .priv_data_size = sizeof(GifState), | .priv_data_size = sizeof(GifState), | ||||
| @@ -539,6 +540,5 @@ AVCodec ff_gif_decoder = { | |||||
| .close = gif_decode_close, | .close = gif_decode_close, | ||||
| .decode = gif_decode_frame, | .decode = gif_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| .priv_class = &decoder_class, | .priv_class = &decoder_class, | ||||
| }; | }; | ||||
| @@ -111,6 +111,7 @@ static void gsm_flush(AVCodecContext *avctx) | |||||
| #if CONFIG_GSM_DECODER | #if CONFIG_GSM_DECODER | ||||
| AVCodec ff_gsm_decoder = { | AVCodec ff_gsm_decoder = { | ||||
| .name = "gsm", | .name = "gsm", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GSM"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_GSM, | .id = AV_CODEC_ID_GSM, | ||||
| .priv_data_size = sizeof(GSMContext), | .priv_data_size = sizeof(GSMContext), | ||||
| @@ -118,12 +119,12 @@ AVCodec ff_gsm_decoder = { | |||||
| .decode = gsm_decode_frame, | .decode = gsm_decode_frame, | ||||
| .flush = gsm_flush, | .flush = gsm_flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GSM"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_GSM_MS_DECODER | #if CONFIG_GSM_MS_DECODER | ||||
| AVCodec ff_gsm_ms_decoder = { | AVCodec ff_gsm_ms_decoder = { | ||||
| .name = "gsm_ms", | .name = "gsm_ms", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_GSM_MS, | .id = AV_CODEC_ID_GSM_MS, | ||||
| .priv_data_size = sizeof(GSMContext), | .priv_data_size = sizeof(GSMContext), | ||||
| @@ -131,6 +132,5 @@ AVCodec ff_gsm_ms_decoder = { | |||||
| .decode = gsm_decode_frame, | .decode = gsm_decode_frame, | ||||
| .flush = gsm_flush, | .flush = gsm_flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("GSM Microsoft variant"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -663,6 +663,7 @@ static av_cold int h261_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_h261_decoder = { | AVCodec ff_h261_decoder = { | ||||
| .name = "h261", | .name = "h261", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.261"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_H261, | .id = AV_CODEC_ID_H261, | ||||
| .priv_data_size = sizeof(H261Context), | .priv_data_size = sizeof(H261Context), | ||||
| @@ -671,5 +672,4 @@ AVCodec ff_h261_decoder = { | |||||
| .decode = h261_decode_frame, | .decode = h261_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .max_lowres = 3, | .max_lowres = 3, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.261"), | |||||
| }; | }; | ||||
| @@ -327,6 +327,7 @@ FF_MPV_GENERIC_CLASS(h261) | |||||
| AVCodec ff_h261_encoder = { | AVCodec ff_h261_encoder = { | ||||
| .name = "h261", | .name = "h261", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.261"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_H261, | .id = AV_CODEC_ID_H261, | ||||
| .priv_data_size = sizeof(H261Context), | .priv_data_size = sizeof(H261Context), | ||||
| @@ -335,6 +336,5 @@ AVCodec ff_h261_encoder = { | |||||
| .close = ff_MPV_encode_end, | .close = ff_MPV_encode_end, | ||||
| .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, | .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, | ||||
| AV_PIX_FMT_NONE }, | AV_PIX_FMT_NONE }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.261"), | |||||
| .priv_class = &h261_class, | .priv_class = &h261_class, | ||||
| }; | }; | ||||
| @@ -785,6 +785,7 @@ const enum AVPixelFormat ff_h263_hwaccel_pixfmt_list_420[] = { | |||||
| AVCodec ff_h263_decoder = { | AVCodec ff_h263_decoder = { | ||||
| .name = "h263", | .name = "h263", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_H263, | .id = AV_CODEC_ID_H263, | ||||
| .priv_data_size = sizeof(MpegEncContext), | .priv_data_size = sizeof(MpegEncContext), | ||||
| @@ -795,12 +796,12 @@ AVCodec ff_h263_decoder = { | |||||
| CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush = ff_mpeg_flush, | .flush = ff_mpeg_flush, | ||||
| .max_lowres = 3, | .max_lowres = 3, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), | |||||
| .pix_fmts = ff_h263_hwaccel_pixfmt_list_420, | .pix_fmts = ff_h263_hwaccel_pixfmt_list_420, | ||||
| }; | }; | ||||
| AVCodec ff_h263p_decoder = { | AVCodec ff_h263p_decoder = { | ||||
| .name = "h263p", | .name = "h263p", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_H263P, | .id = AV_CODEC_ID_H263P, | ||||
| .priv_data_size = sizeof(MpegEncContext), | .priv_data_size = sizeof(MpegEncContext), | ||||
| @@ -811,6 +812,5 @@ AVCodec ff_h263p_decoder = { | |||||
| CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush = ff_mpeg_flush, | .flush = ff_mpeg_flush, | ||||
| .max_lowres = 3, | .max_lowres = 3, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), | |||||
| .pix_fmts = ff_h263_hwaccel_pixfmt_list_420, | .pix_fmts = ff_h263_hwaccel_pixfmt_list_420, | ||||
| }; | }; | ||||
| @@ -5184,6 +5184,7 @@ static const AVClass h264_vdpau_class = { | |||||
| AVCodec ff_h264_decoder = { | AVCodec ff_h264_decoder = { | ||||
| .name = "h264", | .name = "h264", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_H264, | .id = AV_CODEC_ID_H264, | ||||
| .priv_data_size = sizeof(H264Context), | .priv_data_size = sizeof(H264Context), | ||||
| @@ -5194,7 +5195,6 @@ AVCodec ff_h264_decoder = { | |||||
| CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS | | CODEC_CAP_DELAY | CODEC_CAP_SLICE_THREADS | | ||||
| CODEC_CAP_FRAME_THREADS, | CODEC_CAP_FRAME_THREADS, | ||||
| .flush = flush_dpb, | .flush = flush_dpb, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), | |||||
| .init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy), | .init_thread_copy = ONLY_IF_THREADS_ENABLED(decode_init_thread_copy), | ||||
| .update_thread_context = ONLY_IF_THREADS_ENABLED(decode_update_thread_context), | .update_thread_context = ONLY_IF_THREADS_ENABLED(decode_update_thread_context), | ||||
| .profiles = NULL_IF_CONFIG_SMALL(profiles), | .profiles = NULL_IF_CONFIG_SMALL(profiles), | ||||
| @@ -767,6 +767,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| #if CONFIG_HUFFYUV_DECODER | #if CONFIG_HUFFYUV_DECODER | ||||
| AVCodec ff_huffyuv_decoder = { | AVCodec ff_huffyuv_decoder = { | ||||
| .name = "huffyuv", | .name = "huffyuv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_HUFFYUV, | .id = AV_CODEC_ID_HUFFYUV, | ||||
| .priv_data_size = sizeof(HYuvContext), | .priv_data_size = sizeof(HYuvContext), | ||||
| @@ -776,13 +777,13 @@ AVCodec ff_huffyuv_decoder = { | |||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | | ||||
| CODEC_CAP_FRAME_THREADS, | 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"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_FFVHUFF_DECODER | #if CONFIG_FFVHUFF_DECODER | ||||
| AVCodec ff_ffvhuff_decoder = { | AVCodec ff_ffvhuff_decoder = { | ||||
| .name = "ffvhuff", | .name = "ffvhuff", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FFVHUFF, | .id = AV_CODEC_ID_FFVHUFF, | ||||
| .priv_data_size = sizeof(HYuvContext), | .priv_data_size = sizeof(HYuvContext), | ||||
| @@ -792,6 +793,5 @@ AVCodec ff_ffvhuff_decoder = { | |||||
| .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | | .capabilities = CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND | | ||||
| CODEC_CAP_FRAME_THREADS, | 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"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -687,6 +687,7 @@ static av_cold int encode_end(AVCodecContext *avctx) | |||||
| #if CONFIG_HUFFYUV_ENCODER | #if CONFIG_HUFFYUV_ENCODER | ||||
| AVCodec ff_huffyuv_encoder = { | AVCodec ff_huffyuv_encoder = { | ||||
| .name = "huffyuv", | .name = "huffyuv", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_HUFFYUV, | .id = AV_CODEC_ID_HUFFYUV, | ||||
| .priv_data_size = sizeof(HYuvContext), | .priv_data_size = sizeof(HYuvContext), | ||||
| @@ -697,13 +698,13 @@ AVCodec ff_huffyuv_encoder = { | |||||
| AV_PIX_FMT_YUV422P, AV_PIX_FMT_RGB24, | AV_PIX_FMT_YUV422P, AV_PIX_FMT_RGB24, | ||||
| AV_PIX_FMT_RGB32, AV_PIX_FMT_NONE | AV_PIX_FMT_RGB32, AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_FFVHUFF_ENCODER | #if CONFIG_FFVHUFF_ENCODER | ||||
| AVCodec ff_ffvhuff_encoder = { | AVCodec ff_ffvhuff_encoder = { | ||||
| .name = "ffvhuff", | .name = "ffvhuff", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_FFVHUFF, | .id = AV_CODEC_ID_FFVHUFF, | ||||
| .priv_data_size = sizeof(HYuvContext), | .priv_data_size = sizeof(HYuvContext), | ||||
| @@ -714,6 +715,5 @@ AVCodec ff_ffvhuff_encoder = { | |||||
| AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_RGB24, | AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_RGB24, | ||||
| AV_PIX_FMT_RGB32, AV_PIX_FMT_NONE | AV_PIX_FMT_RGB32, AV_PIX_FMT_NONE | ||||
| }, | }, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -243,11 +243,11 @@ static int idcin_decode_frame(AVCodecContext *avctx, | |||||
| AVCodec ff_idcin_decoder = { | AVCodec ff_idcin_decoder = { | ||||
| .name = "idcinvideo", | .name = "idcinvideo", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_IDCIN, | .id = AV_CODEC_ID_IDCIN, | ||||
| .priv_data_size = sizeof(IdcinContext), | .priv_data_size = sizeof(IdcinContext), | ||||
| .init = idcin_decode_init, | .init = idcin_decode_init, | ||||
| .decode = idcin_decode_frame, | .decode = idcin_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"), | |||||
| }; | }; | ||||
| @@ -871,6 +871,7 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| #if CONFIG_IFF_ILBM_DECODER | #if CONFIG_IFF_ILBM_DECODER | ||||
| AVCodec ff_iff_ilbm_decoder = { | AVCodec ff_iff_ilbm_decoder = { | ||||
| .name = "iff", | .name = "iff", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IFF"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_IFF_ILBM, | .id = AV_CODEC_ID_IFF_ILBM, | ||||
| .priv_data_size = sizeof(IffContext), | .priv_data_size = sizeof(IffContext), | ||||
| @@ -878,12 +879,12 @@ AVCodec ff_iff_ilbm_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("IFF"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #if CONFIG_IFF_BYTERUN1_DECODER | #if CONFIG_IFF_BYTERUN1_DECODER | ||||
| AVCodec ff_iff_byterun1_decoder = { | AVCodec ff_iff_byterun1_decoder = { | ||||
| .name = "iff", | .name = "iff", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IFF"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_IFF_BYTERUN1, | .id = AV_CODEC_ID_IFF_BYTERUN1, | ||||
| .priv_data_size = sizeof(IffContext), | .priv_data_size = sizeof(IffContext), | ||||
| @@ -891,6 +892,5 @@ AVCodec ff_iff_byterun1_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("IFF"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -1066,6 +1066,7 @@ static av_cold void flush(AVCodecContext *avctx) | |||||
| #if CONFIG_IMC_DECODER | #if CONFIG_IMC_DECODER | ||||
| AVCodec ff_imc_decoder = { | AVCodec ff_imc_decoder = { | ||||
| .name = "imc", | .name = "imc", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_IMC, | .id = AV_CODEC_ID_IMC, | ||||
| .priv_data_size = sizeof(IMCContext), | .priv_data_size = sizeof(IMCContext), | ||||
| @@ -1074,7 +1075,6 @@ AVCodec ff_imc_decoder = { | |||||
| .decode = imc_decode_frame, | .decode = imc_decode_frame, | ||||
| .flush = flush, | .flush = flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -1082,6 +1082,7 @@ AVCodec ff_imc_decoder = { | |||||
| #if CONFIG_IAC_DECODER | #if CONFIG_IAC_DECODER | ||||
| AVCodec ff_iac_decoder = { | AVCodec ff_iac_decoder = { | ||||
| .name = "iac", | .name = "iac", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"), | |||||
| .type = AVMEDIA_TYPE_AUDIO, | .type = AVMEDIA_TYPE_AUDIO, | ||||
| .id = AV_CODEC_ID_IAC, | .id = AV_CODEC_ID_IAC, | ||||
| .priv_data_size = sizeof(IMCContext), | .priv_data_size = sizeof(IMCContext), | ||||
| @@ -1090,7 +1091,6 @@ AVCodec ff_iac_decoder = { | |||||
| .decode = imc_decode_frame, | .decode = imc_decode_frame, | ||||
| .flush = flush, | .flush = flush, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("IAC (Indeo Audio Coder)"), | |||||
| .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, | ||||
| AV_SAMPLE_FMT_NONE }, | AV_SAMPLE_FMT_NONE }, | ||||
| }; | }; | ||||
| @@ -247,6 +247,7 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx) | |||||
| AVCodec ff_indeo2_decoder = { | AVCodec ff_indeo2_decoder = { | ||||
| .name = "indeo2", | .name = "indeo2", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_INDEO2, | .id = AV_CODEC_ID_INDEO2, | ||||
| .priv_data_size = sizeof(Ir2Context), | .priv_data_size = sizeof(Ir2Context), | ||||
| @@ -254,5 +255,4 @@ AVCodec ff_indeo2_decoder = { | |||||
| .close = ir2_decode_end, | .close = ir2_decode_end, | ||||
| .decode = ir2_decode_frame, | .decode = ir2_decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"), | |||||
| }; | }; | ||||
| @@ -1132,6 +1132,7 @@ static av_cold int decode_close(AVCodecContext *avctx) | |||||
| AVCodec ff_indeo3_decoder = { | AVCodec ff_indeo3_decoder = { | ||||
| .name = "indeo3", | .name = "indeo3", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_INDEO3, | .id = AV_CODEC_ID_INDEO3, | ||||
| .priv_data_size = sizeof(Indeo3DecodeContext), | .priv_data_size = sizeof(Indeo3DecodeContext), | ||||
| @@ -1139,5 +1140,4 @@ AVCodec ff_indeo3_decoder = { | |||||
| .close = decode_close, | .close = decode_close, | ||||
| .decode = decode_frame, | .decode = decode_frame, | ||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"), | |||||
| }; | }; | ||||
| @@ -674,12 +674,12 @@ static av_cold int decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_indeo4_decoder = { | AVCodec ff_indeo4_decoder = { | ||||
| .name = "indeo4", | .name = "indeo4", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_INDEO4, | .id = AV_CODEC_ID_INDEO4, | ||||
| .priv_data_size = sizeof(IVI45DecContext), | .priv_data_size = sizeof(IVI45DecContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .close = ff_ivi_decode_close, | .close = ff_ivi_decode_close, | ||||
| .decode = ff_ivi_decode_frame, | .decode = ff_ivi_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 4"), | |||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| }; | }; | ||||
| @@ -676,12 +676,12 @@ static av_cold int decode_init(AVCodecContext *avctx) | |||||
| AVCodec ff_indeo5_decoder = { | AVCodec ff_indeo5_decoder = { | ||||
| .name = "indeo5", | .name = "indeo5", | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"), | |||||
| .type = AVMEDIA_TYPE_VIDEO, | .type = AVMEDIA_TYPE_VIDEO, | ||||
| .id = AV_CODEC_ID_INDEO5, | .id = AV_CODEC_ID_INDEO5, | ||||
| .priv_data_size = sizeof(IVI45DecContext), | .priv_data_size = sizeof(IVI45DecContext), | ||||
| .init = decode_init, | .init = decode_init, | ||||
| .close = ff_ivi_decode_close, | .close = ff_ivi_decode_close, | ||||
| .decode = ff_ivi_decode_frame, | .decode = ff_ivi_decode_frame, | ||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo Video Interactive 5"), | |||||
| .capabilities = CODEC_CAP_DR1, | .capabilities = CODEC_CAP_DR1, | ||||
| }; | }; | ||||