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