mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics: Group .name and .long_name together in codec/format declarations
This commit is contained in:
parent
49fe9c05f9
commit
b2bed9325d
@ -968,6 +968,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),
|
||||
@ -975,5 +976,4 @@ AVCodec ff_fourxm_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
|
||||
};
|
||||
|
@ -187,11 +187,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"),
|
||||
};
|
||||
|
@ -198,6 +198,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -205,13 +206,13 @@ AVCodec ff_eightsvx_fib_decoder = {
|
||||
.close = eightsvx_decode_close,
|
||||
.decode = eightsvx_decode_frame,
|
||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
|
||||
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
|
||||
AV_SAMPLE_FMT_NONE },
|
||||
};
|
||||
|
||||
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),
|
||||
@ -219,13 +220,13 @@ AVCodec ff_eightsvx_exp_decoder = {
|
||||
.close = eightsvx_decode_close,
|
||||
.decode = eightsvx_decode_frame,
|
||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
|
||||
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
|
||||
AV_SAMPLE_FMT_NONE },
|
||||
};
|
||||
|
||||
AVCodec ff_pcm_s8_planar_decoder = {
|
||||
.name = "pcm_s8_planar",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = AV_CODEC_ID_PCM_S8_PLANAR,
|
||||
.priv_data_size = sizeof(EightSvxContext),
|
||||
@ -233,7 +234,6 @@ AVCodec ff_pcm_s8_planar_decoder = {
|
||||
.close = eightsvx_decode_close,
|
||||
.decode = eightsvx_decode_frame,
|
||||
.capabilities = CODEC_CAP_DELAY | CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("PCM signed 8-bit planar"),
|
||||
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
|
||||
AV_SAMPLE_FMT_NONE },
|
||||
};
|
||||
|
@ -373,6 +373,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
|
||||
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),
|
||||
@ -380,12 +381,12 @@ 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,
|
||||
};
|
||||
|
||||
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),
|
||||
@ -393,6 +394,5 @@ 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,
|
||||
};
|
||||
|
@ -3089,13 +3089,13 @@ static av_cold int latm_decode_init(AVCodecContext *avctx)
|
||||
|
||||
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
|
||||
},
|
||||
@ -3110,13 +3110,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
|
||||
},
|
||||
|
@ -804,6 +804,7 @@ static const AVClass aacenc_class = {
|
||||
|
||||
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),
|
||||
@ -814,6 +815,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,
|
||||
};
|
||||
|
@ -111,6 +111,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),
|
||||
@ -118,5 +119,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"),
|
||||
};
|
||||
|
@ -1439,6 +1439,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),
|
||||
@ -1446,7 +1447,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,
|
||||
@ -1462,6 +1462,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),
|
||||
@ -1469,7 +1470,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,
|
||||
|
@ -143,6 +143,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),
|
||||
@ -151,7 +152,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,
|
||||
|
@ -142,6 +142,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),
|
||||
@ -150,7 +151,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,
|
||||
|
@ -1292,13 +1292,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");
|
||||
|
@ -175,6 +175,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),
|
||||
@ -182,7 +183,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 },
|
||||
};
|
||||
|
@ -160,6 +160,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),
|
||||
@ -167,5 +168,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"),
|
||||
};
|
||||
|
@ -469,6 +469,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),
|
||||
@ -476,5 +477,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")
|
||||
};
|
||||
|
@ -571,6 +571,7 @@ static av_cold int alac_decode_init(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),
|
||||
@ -578,5 +579,4 @@ AVCodec ff_alac_decoder = {
|
||||
.close = alac_decode_close,
|
||||
.decode = alac_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
|
||||
};
|
||||
|
@ -643,6 +643,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),
|
||||
@ -654,5 +655,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)"),
|
||||
};
|
||||
|
@ -1766,6 +1766,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),
|
||||
@ -1774,5 +1775,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)"),
|
||||
};
|
||||
|
@ -1064,13 +1064,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 },
|
||||
};
|
||||
|
@ -1248,13 +1248,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 },
|
||||
};
|
||||
|
@ -191,6 +191,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),
|
||||
@ -198,5 +199,4 @@ AVCodec ff_anm_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
|
||||
};
|
||||
|
@ -435,6 +435,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),
|
||||
@ -442,5 +443,4 @@ AVCodec ff_ansi_decoder = {
|
||||
.close = decode_close,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
|
||||
};
|
||||
|
@ -1564,6 +1564,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),
|
||||
@ -1572,7 +1573,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,
|
||||
|
@ -314,6 +314,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -321,11 +322,11 @@ AVCodec ff_asv1_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
||||
};
|
||||
|
||||
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),
|
||||
@ -333,6 +334,5 @@ AVCodec ff_asv2_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
||||
};
|
||||
|
||||
|
@ -264,6 +264,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),
|
||||
@ -271,13 +272,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),
|
||||
@ -285,6 +286,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
|
||||
|
@ -101,10 +101,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"),
|
||||
};
|
||||
|
@ -152,6 +152,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),
|
||||
@ -159,5 +160,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"),
|
||||
};
|
||||
|
@ -173,6 +173,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),
|
||||
@ -180,5 +181,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"),
|
||||
};
|
||||
|
@ -1338,12 +1338,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,
|
||||
};
|
||||
|
@ -337,6 +337,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),
|
||||
@ -344,11 +345,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),
|
||||
@ -356,5 +357,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)")
|
||||
};
|
||||
|
@ -341,9 +341,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,
|
||||
.priv_data_size = sizeof(BMPContext),
|
||||
@ -173,5 +174,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)"),
|
||||
};
|
||||
|
@ -337,21 +337,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"),
|
||||
};
|
||||
|
@ -247,6 +247,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),
|
||||
@ -254,5 +255,4 @@ AVCodec ff_c93_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
|
||||
};
|
||||
|
@ -1193,6 +1193,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),
|
||||
@ -1201,5 +1202,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)"),
|
||||
};
|
||||
|
@ -368,6 +368,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),
|
||||
@ -375,5 +376,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"),
|
||||
};
|
||||
|
@ -292,6 +292,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),
|
||||
@ -299,5 +300,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"),
|
||||
};
|
||||
|
@ -468,6 +468,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),
|
||||
@ -475,5 +476,4 @@ AVCodec ff_cinepak_decoder = {
|
||||
.close = cinepak_decode_end,
|
||||
.decode = cinepak_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
|
||||
};
|
||||
|
@ -88,12 +88,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
|
||||
|
||||
@ -152,6 +152,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
||||
|
||||
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),
|
||||
@ -159,6 +160,5 @@ 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"),
|
||||
};
|
||||
#endif
|
||||
|
@ -490,6 +490,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),
|
||||
@ -497,5 +498,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"),
|
||||
};
|
||||
|
@ -159,6 +159,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),
|
||||
@ -166,7 +167,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 },
|
||||
};
|
||||
|
@ -1255,6 +1255,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),
|
||||
@ -1262,7 +1263,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 },
|
||||
};
|
||||
|
@ -249,6 +249,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),
|
||||
@ -256,5 +257,4 @@ AVCodec ff_cscd_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
|
||||
};
|
||||
|
@ -166,25 +166,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
|
||||
|
@ -1949,13 +1949,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 },
|
||||
|
@ -394,6 +394,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),
|
||||
@ -401,5 +402,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"),
|
||||
};
|
||||
|
@ -385,6 +385,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),
|
||||
@ -392,5 +393,4 @@ AVCodec ff_dnxhd_decoder = {
|
||||
.close = dnxhd_decode_close,
|
||||
.decode = dnxhd_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
||||
};
|
||||
|
@ -1020,6 +1020,7 @@ static av_cold int dnxhd_encode_end(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -1030,6 +1031,5 @@ 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 = &class,
|
||||
};
|
||||
|
@ -327,13 +327,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");
|
||||
|
@ -210,9 +210,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,
|
||||
};
|
||||
|
@ -175,6 +175,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),
|
||||
@ -186,5 +187,4 @@ AVCodec ff_dpx_encoder = {
|
||||
AV_PIX_FMT_RGB48LE,
|
||||
AV_PIX_FMT_RGB48BE,
|
||||
AV_PIX_FMT_NONE},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DPX image"),
|
||||
};
|
||||
|
@ -384,6 +384,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),
|
||||
@ -391,16 +392,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"),
|
||||
};
|
||||
|
@ -974,6 +974,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),
|
||||
@ -983,6 +984,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
|
||||
|
@ -404,9 +404,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"),
|
||||
};
|
||||
|
@ -1465,11 +1465,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),
|
||||
@ -377,5 +378,4 @@ AVCodec ff_dvvideo_decoder = {
|
||||
.close = dvvideo_close,
|
||||
.decode = dvvideo_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"),
|
||||
};
|
||||
|
@ -540,10 +540,10 @@ static av_cold int dvdsub_init(AVCodecContext *avctx)
|
||||
|
||||
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,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
|
||||
};
|
||||
|
@ -217,8 +217,8 @@ 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,
|
||||
.encode_sub = dvdsub_encode,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"),
|
||||
};
|
||||
|
@ -325,6 +325,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),
|
||||
@ -332,5 +333,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"),
|
||||
};
|
||||
|
@ -250,6 +250,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),
|
||||
@ -258,7 +259,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,
|
||||
|
@ -220,6 +220,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),
|
||||
@ -227,5 +228,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"),
|
||||
};
|
||||
|
@ -306,6 +306,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),
|
||||
@ -313,5 +314,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")
|
||||
};
|
||||
|
@ -240,11 +240,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"),
|
||||
};
|
||||
|
@ -341,12 +341,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,
|
||||
};
|
||||
|
@ -148,6 +148,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),
|
||||
@ -155,5 +156,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"),
|
||||
};
|
||||
|
@ -368,6 +368,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),
|
||||
@ -375,5 +376,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"),
|
||||
};
|
||||
|
@ -345,6 +345,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),
|
||||
@ -352,5 +353,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"),
|
||||
};
|
||||
|
@ -908,6 +908,7 @@ static int ffv1_decode_frame(AVCodecContext *avctx, void *data,
|
||||
|
||||
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),
|
||||
@ -916,5 +917,4 @@ AVCodec ff_ffv1_decoder = {
|
||||
.decode = ffv1_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/ |
|
||||
CODEC_CAP_SLICE_THREADS,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
||||
};
|
||||
|
@ -1076,6 +1076,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),
|
||||
@ -1096,7 +1097,6 @@ AVCodec ff_ffv1_encoder = {
|
||||
AV_PIX_FMT_NONE
|
||||
|
||||
},
|
||||
.long_name = NULL_IF_CONFIG_SMALL("FFmpeg video codec #1"),
|
||||
.defaults = ffv1_defaults,
|
||||
.priv_class = &class,
|
||||
};
|
||||
|
@ -557,6 +557,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),
|
||||
@ -564,7 +565,6 @@ AVCodec ff_flac_decoder = {
|
||||
.close = flac_decode_close,
|
||||
.decode = flac_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.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,
|
||||
|
@ -1318,6 +1318,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),
|
||||
@ -1328,6 +1329,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,
|
||||
};
|
||||
|
@ -468,6 +468,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),
|
||||
@ -476,7 +477,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 */
|
||||
|
||||
@ -531,6 +531,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),
|
||||
@ -539,6 +540,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 */
|
||||
|
@ -281,6 +281,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),
|
||||
@ -288,5 +289,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"),
|
||||
};
|
||||
|
@ -740,6 +740,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),
|
||||
@ -747,5 +748,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"),
|
||||
};
|
||||
|
@ -121,6 +121,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),
|
||||
@ -128,6 +129,5 @@ AVCodec ff_flv_decoder = {
|
||||
.close = ff_h263_decode_end,
|
||||
.decode = ff_h263_decode_frame,
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
|
||||
.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,
|
||||
};
|
||||
|
@ -370,6 +370,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),
|
||||
@ -377,5 +378,4 @@ AVCodec ff_fraps_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Fraps"),
|
||||
};
|
||||
|
@ -96,10 +96,10 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
||||
|
||||
AVCodec ff_frwu_decoder = {
|
||||
.name = "frwu",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_FRWU,
|
||||
.init = decode_init,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
|
||||
};
|
||||
|
@ -140,12 +140,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,
|
||||
};
|
||||
|
@ -382,6 +382,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),
|
||||
@ -389,7 +390,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 },
|
||||
};
|
||||
|
@ -1367,12 +1367,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,
|
||||
};
|
||||
|
@ -384,6 +384,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),
|
||||
@ -392,7 +393,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 = &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
|
||||
|
@ -181,6 +181,7 @@ static int gif_encode_close(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -191,5 +192,4 @@ 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)"),
|
||||
};
|
||||
|
@ -319,6 +319,7 @@ static av_cold int gif_decode_close(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -326,5 +327,4 @@ 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)"),
|
||||
};
|
||||
|
@ -103,6 +103,7 @@ static void gsm_flush(AVCodecContext *avctx)
|
||||
|
||||
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),
|
||||
@ -110,11 +111,11 @@ AVCodec ff_gsm_decoder = {
|
||||
.decode = gsm_decode_frame,
|
||||
.flush = gsm_flush,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("GSM"),
|
||||
};
|
||||
|
||||
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),
|
||||
@ -122,5 +123,4 @@ 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"),
|
||||
};
|
||||
|
@ -661,6 +661,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),
|
||||
@ -668,5 +669,4 @@ AVCodec ff_h261_decoder = {
|
||||
.close = h261_decode_end,
|
||||
.decode = h261_decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("H.261"),
|
||||
};
|
||||
|
@ -326,6 +326,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),
|
||||
@ -334,6 +335,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,
|
||||
};
|
||||
|
@ -730,6 +730,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),
|
||||
@ -739,6 +740,5 @@ AVCodec ff_h263_decoder = {
|
||||
.capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 |
|
||||
CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
|
||||
.flush = ff_mpeg_flush,
|
||||
.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,
|
||||
};
|
||||
|
@ -4879,6 +4879,7 @@ static const AVProfile profiles[] = {
|
||||
|
||||
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),
|
||||
@ -4889,7 +4890,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),
|
||||
|
@ -740,6 +740,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),
|
||||
@ -749,13 +750,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),
|
||||
@ -765,6 +766,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
|
||||
|
@ -682,6 +682,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),
|
||||
@ -692,13 +693,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),
|
||||
@ -709,6 +710,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
|
||||
|
@ -242,11 +242,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"),
|
||||
};
|
||||
|
@ -369,6 +369,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
||||
|
||||
AVCodec ff_iff_ilbm_decoder = {
|
||||
.name = "iff_ilbm",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_IFF_ILBM,
|
||||
.priv_data_size = sizeof(IffContext),
|
||||
@ -376,11 +377,11 @@ AVCodec ff_iff_ilbm_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame_ilbm,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
|
||||
};
|
||||
|
||||
AVCodec ff_iff_byterun1_decoder = {
|
||||
.name = "iff_byterun1",
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ByteRun1"),
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.id = AV_CODEC_ID_IFF_BYTERUN1,
|
||||
.priv_data_size = sizeof(IffContext),
|
||||
@ -388,5 +389,4 @@ AVCodec ff_iff_byterun1_decoder = {
|
||||
.close = decode_end,
|
||||
.decode = decode_frame_byterun1,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("IFF ByteRun1"),
|
||||
};
|
||||
|
@ -1047,6 +1047,7 @@ static av_cold int imc_decode_close(AVCodecContext * avctx)
|
||||
|
||||
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),
|
||||
@ -1054,13 +1055,13 @@ AVCodec ff_imc_decoder = {
|
||||
.close = imc_decode_close,
|
||||
.decode = imc_decode_frame,
|
||||
.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 },
|
||||
};
|
||||
|
||||
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),
|
||||
@ -1068,7 +1069,6 @@ AVCodec ff_iac_decoder = {
|
||||
.close = imc_decode_close,
|
||||
.decode = imc_decode_frame,
|
||||
.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 },
|
||||
};
|
||||
|
@ -248,6 +248,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),
|
||||
@ -255,5 +256,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"),
|
||||
};
|
||||
|
@ -1126,6 +1126,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),
|
||||
@ -1133,5 +1134,4 @@ AVCodec ff_indeo3_decoder = {
|
||||
.close = decode_close,
|
||||
.decode = decode_frame,
|
||||
.capabilities = CODEC_CAP_DR1,
|
||||
.long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"),
|
||||
};
|
||||
|
@ -625,12 +625,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,
|
||||
};
|
||||
|
@ -649,12 +649,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