mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/codec_internal: Add macro to set AVCodec.long_name
It reduces typing: Before this patch, there were 105 codecs whose long_name-definition exceeded the 80 char line length limit. Now there are only nine of them. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
dea9744560
commit
48286d4d98
@ -146,7 +146,7 @@ static int zero12v_decode_frame(AVCodecContext *avctx, AVFrame *pic,
|
|||||||
|
|
||||||
const FFCodec ff_zero12v_decoder = {
|
const FFCodec ff_zero12v_decoder = {
|
||||||
.p.name = "012v",
|
.p.name = "012v",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
|
CODEC_LONG_NAME("Uncompressed 4:2:2 10-bit"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_012V,
|
.p.id = AV_CODEC_ID_012V,
|
||||||
.init = zero12v_decode_init,
|
.init = zero12v_decode_init,
|
||||||
|
@ -1028,7 +1028,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_fourxm_decoder = {
|
const FFCodec ff_fourxm_decoder = {
|
||||||
.p.name = "4xm",
|
.p.name = "4xm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
|
CODEC_LONG_NAME("4X Movie"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_4XM,
|
.p.id = AV_CODEC_ID_4XM,
|
||||||
.priv_data_size = sizeof(FourXContext),
|
.priv_data_size = sizeof(FourXContext),
|
||||||
|
@ -175,7 +175,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_eightbps_decoder = {
|
const FFCodec ff_eightbps_decoder = {
|
||||||
.p.name = "8bps",
|
.p.name = "8bps",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"),
|
CODEC_LONG_NAME("QuickTime 8BPS video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_8BPS,
|
.p.id = AV_CODEC_ID_8BPS,
|
||||||
.priv_data_size = sizeof(EightBpsContext),
|
.priv_data_size = sizeof(EightBpsContext),
|
||||||
|
@ -189,7 +189,7 @@ static av_cold int eightsvx_decode_close(AVCodecContext *avctx)
|
|||||||
#if CONFIG_EIGHTSVX_FIB_DECODER
|
#if CONFIG_EIGHTSVX_FIB_DECODER
|
||||||
const FFCodec ff_eightsvx_fib_decoder = {
|
const FFCodec ff_eightsvx_fib_decoder = {
|
||||||
.p.name = "8svx_fib",
|
.p.name = "8svx_fib",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
|
CODEC_LONG_NAME("8SVX fibonacci"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_8SVX_FIB,
|
.p.id = AV_CODEC_ID_8SVX_FIB,
|
||||||
.priv_data_size = sizeof (EightSvxContext),
|
.priv_data_size = sizeof (EightSvxContext),
|
||||||
@ -204,7 +204,7 @@ const FFCodec ff_eightsvx_fib_decoder = {
|
|||||||
#if CONFIG_EIGHTSVX_EXP_DECODER
|
#if CONFIG_EIGHTSVX_EXP_DECODER
|
||||||
const FFCodec ff_eightsvx_exp_decoder = {
|
const FFCodec ff_eightsvx_exp_decoder = {
|
||||||
.p.name = "8svx_exp",
|
.p.name = "8svx_exp",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
|
CODEC_LONG_NAME("8SVX exponential"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_8SVX_EXP,
|
.p.id = AV_CODEC_ID_8SVX_EXP,
|
||||||
.priv_data_size = sizeof (EightSvxContext),
|
.priv_data_size = sizeof (EightSvxContext),
|
||||||
|
@ -395,7 +395,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
#if CONFIG_A64MULTI_ENCODER
|
#if CONFIG_A64MULTI_ENCODER
|
||||||
const FFCodec ff_a64multi_encoder = {
|
const FFCodec ff_a64multi_encoder = {
|
||||||
.p.name = "a64multi",
|
.p.name = "a64multi",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64"),
|
CODEC_LONG_NAME("Multicolor charset for Commodore 64"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_A64_MULTI,
|
.p.id = AV_CODEC_ID_A64_MULTI,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
||||||
@ -410,7 +410,7 @@ const FFCodec ff_a64multi_encoder = {
|
|||||||
#if CONFIG_A64MULTI5_ENCODER
|
#if CONFIG_A64MULTI5_ENCODER
|
||||||
const FFCodec ff_a64multi5_encoder = {
|
const FFCodec ff_a64multi5_encoder = {
|
||||||
.p.name = "a64multi5",
|
.p.name = "a64multi5",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
|
CODEC_LONG_NAME("Multicolor charset for Commodore 64, extended with 5th color (colram)"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_A64_MULTI5,
|
.p.id = AV_CODEC_ID_A64_MULTI5,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
||||||
|
@ -554,7 +554,7 @@ static av_cold int latm_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_aac_decoder = {
|
const FFCodec ff_aac_decoder = {
|
||||||
.p.name = "aac",
|
.p.name = "aac",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
CODEC_LONG_NAME("AAC (Advanced Audio Coding)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AAC,
|
.p.id = AV_CODEC_ID_AAC,
|
||||||
.priv_data_size = sizeof(AACContext),
|
.priv_data_size = sizeof(AACContext),
|
||||||
@ -582,7 +582,7 @@ const FFCodec ff_aac_decoder = {
|
|||||||
*/
|
*/
|
||||||
const FFCodec ff_aac_latm_decoder = {
|
const FFCodec ff_aac_latm_decoder = {
|
||||||
.p.name = "aac_latm",
|
.p.name = "aac_latm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AAC LATM (Advanced Audio Coding LATM syntax)"),
|
CODEC_LONG_NAME("AAC LATM (Advanced Audio Coding LATM syntax)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AAC_LATM,
|
.p.id = AV_CODEC_ID_AAC_LATM,
|
||||||
.priv_data_size = sizeof(struct LATMContext),
|
.priv_data_size = sizeof(struct LATMContext),
|
||||||
|
@ -452,7 +452,7 @@ static void apply_independent_coupling_fixed(AACContext *ac,
|
|||||||
|
|
||||||
const FFCodec ff_aac_fixed_decoder = {
|
const FFCodec ff_aac_fixed_decoder = {
|
||||||
.p.name = "aac_fixed",
|
.p.name = "aac_fixed",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
CODEC_LONG_NAME("AAC (Advanced Audio Coding)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AAC,
|
.p.id = AV_CODEC_ID_AAC,
|
||||||
.priv_data_size = sizeof(AACContext),
|
.priv_data_size = sizeof(AACContext),
|
||||||
|
@ -1414,7 +1414,7 @@ static const FFCodecDefault aac_encode_defaults[] = {
|
|||||||
|
|
||||||
const FFCodec ff_aac_encoder = {
|
const FFCodec ff_aac_encoder = {
|
||||||
.p.name = "aac",
|
.p.name = "aac",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AAC (Advanced Audio Coding)"),
|
CODEC_LONG_NAME("AAC (Advanced Audio Coding)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AAC,
|
.p.id = AV_CODEC_ID_AAC,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
|
||||||
|
@ -149,7 +149,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_aasc_decoder = {
|
const FFCodec ff_aasc_decoder = {
|
||||||
.p.name = "aasc",
|
.p.name = "aasc",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"),
|
CODEC_LONG_NAME("Autodesk RLE"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AASC,
|
.p.id = AV_CODEC_ID_AASC,
|
||||||
.priv_data_size = sizeof(AascContext),
|
.priv_data_size = sizeof(AascContext),
|
||||||
|
@ -171,7 +171,7 @@ static const AVClass ac3_decoder_class = {
|
|||||||
|
|
||||||
const FFCodec ff_ac3_fixed_decoder = {
|
const FFCodec ff_ac3_fixed_decoder = {
|
||||||
.p.name = "ac3_fixed",
|
.p.name = "ac3_fixed",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
CODEC_LONG_NAME("ATSC A/52A (AC-3)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AC3,
|
.p.id = AV_CODEC_ID_AC3,
|
||||||
.p.priv_class = &ac3_decoder_class,
|
.p.priv_class = &ac3_decoder_class,
|
||||||
|
@ -69,7 +69,7 @@ const FFCodec ff_ac3_decoder = {
|
|||||||
FF_CODEC_DECODE_CB(ac3_decode_frame),
|
FF_CODEC_DECODE_CB(ac3_decode_frame),
|
||||||
.p.capabilities = AV_CODEC_CAP_CHANNEL_CONF |
|
.p.capabilities = AV_CODEC_CAP_CHANNEL_CONF |
|
||||||
AV_CODEC_CAP_DR1,
|
AV_CODEC_CAP_DR1,
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
CODEC_LONG_NAME("ATSC A/52A (AC-3)"),
|
||||||
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
|
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
|
||||||
AV_SAMPLE_FMT_NONE },
|
AV_SAMPLE_FMT_NONE },
|
||||||
.p.priv_class = &ac3_eac3_decoder_class,
|
.p.priv_class = &ac3_eac3_decoder_class,
|
||||||
@ -87,7 +87,7 @@ const FFCodec ff_eac3_decoder = {
|
|||||||
FF_CODEC_DECODE_CB(ac3_decode_frame),
|
FF_CODEC_DECODE_CB(ac3_decode_frame),
|
||||||
.p.capabilities = AV_CODEC_CAP_CHANNEL_CONF |
|
.p.capabilities = AV_CODEC_CAP_CHANNEL_CONF |
|
||||||
AV_CODEC_CAP_DR1,
|
AV_CODEC_CAP_DR1,
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52B (AC-3, E-AC-3)"),
|
CODEC_LONG_NAME("ATSC A/52B (AC-3, E-AC-3)"),
|
||||||
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
|
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
|
||||||
AV_SAMPLE_FMT_NONE },
|
AV_SAMPLE_FMT_NONE },
|
||||||
.p.priv_class = &ac3_eac3_decoder_class,
|
.p.priv_class = &ac3_eac3_decoder_class,
|
||||||
|
@ -122,7 +122,7 @@ static av_cold int ac3_fixed_encode_init(AVCodecContext *avctx)
|
|||||||
FF_DISABLE_DEPRECATION_WARNINGS
|
FF_DISABLE_DEPRECATION_WARNINGS
|
||||||
const FFCodec ff_ac3_fixed_encoder = {
|
const FFCodec ff_ac3_fixed_encoder = {
|
||||||
.p.name = "ac3_fixed",
|
.p.name = "ac3_fixed",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
CODEC_LONG_NAME("ATSC A/52A (AC-3)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AC3,
|
.p.id = AV_CODEC_ID_AC3,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -126,7 +126,7 @@ av_cold int ff_ac3_float_encode_init(AVCodecContext *avctx)
|
|||||||
FF_DISABLE_DEPRECATION_WARNINGS
|
FF_DISABLE_DEPRECATION_WARNINGS
|
||||||
const FFCodec ff_ac3_encoder = {
|
const FFCodec ff_ac3_encoder = {
|
||||||
.p.name = "ac3",
|
.p.name = "ac3",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
|
CODEC_LONG_NAME("ATSC A/52A (AC-3)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AC3,
|
.p.id = AV_CODEC_ID_AC3,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -2287,7 +2287,7 @@ static const enum AVSampleFormat sample_fmts_both[] = { AV_SAMPLE_FMT_S16,
|
|||||||
#define ADPCM_DECODER_1(id_, sample_fmts_, name_, long_name_) \
|
#define ADPCM_DECODER_1(id_, sample_fmts_, name_, long_name_) \
|
||||||
const FFCodec ff_ ## name_ ## _decoder = { \
|
const FFCodec ff_ ## name_ ## _decoder = { \
|
||||||
.p.name = #name_, \
|
.p.name = #name_, \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
CODEC_LONG_NAME(long_name_), \
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO, \
|
.p.type = AVMEDIA_TYPE_AUDIO, \
|
||||||
.p.id = id_, \
|
.p.id = id_, \
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1, \
|
.p.capabilities = AV_CODEC_CAP_DR1, \
|
||||||
|
@ -998,7 +998,7 @@ static const AVClass adpcm_encoder_class = {
|
|||||||
#define ADPCM_ENCODER_1(id_, name_, sample_fmts_, capabilities_, long_name_) \
|
#define ADPCM_ENCODER_1(id_, name_, sample_fmts_, capabilities_, long_name_) \
|
||||||
const FFCodec ff_ ## name_ ## _encoder = { \
|
const FFCodec ff_ ## name_ ## _encoder = { \
|
||||||
.p.name = #name_, \
|
.p.name = #name_, \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
CODEC_LONG_NAME(long_name_), \
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO, \
|
.p.type = AVMEDIA_TYPE_AUDIO, \
|
||||||
.p.id = id_, \
|
.p.id = id_, \
|
||||||
.p.sample_fmts = sample_fmts_, \
|
.p.sample_fmts = sample_fmts_, \
|
||||||
|
@ -192,7 +192,7 @@ static void adx_decode_flush(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_adpcm_adx_decoder = {
|
const FFCodec ff_adpcm_adx_decoder = {
|
||||||
.p.name = "adpcm_adx",
|
.p.name = "adpcm_adx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
|
CODEC_LONG_NAME("SEGA CRI ADX ADPCM"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ADPCM_ADX,
|
.p.id = AV_CODEC_ID_ADPCM_ADX,
|
||||||
.priv_data_size = sizeof(ADXContext),
|
.priv_data_size = sizeof(ADXContext),
|
||||||
|
@ -191,7 +191,7 @@ static int adx_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
|
|
||||||
const FFCodec ff_adpcm_adx_encoder = {
|
const FFCodec ff_adpcm_adx_encoder = {
|
||||||
.p.name = "adpcm_adx",
|
.p.name = "adpcm_adx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
|
CODEC_LONG_NAME("SEGA CRI ADX ADPCM"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ADPCM_ADX,
|
.p.id = AV_CODEC_ID_ADPCM_ADX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY,
|
||||||
|
@ -1285,7 +1285,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_agm_decoder = {
|
const FFCodec ff_agm_decoder = {
|
||||||
.p.name = "agm",
|
.p.name = "agm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Amuse Graphics Movie"),
|
CODEC_LONG_NAME("Amuse Graphics Movie"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AGM,
|
.p.id = AV_CODEC_ID_AGM,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -497,7 +497,7 @@ static av_cold int aic_decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_aic_decoder = {
|
const FFCodec ff_aic_decoder = {
|
||||||
.p.name = "aic",
|
.p.name = "aic",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Apple Intermediate Codec"),
|
CODEC_LONG_NAME("Apple Intermediate Codec"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AIC,
|
.p.id = AV_CODEC_ID_AIC,
|
||||||
.priv_data_size = sizeof(AICContext),
|
.priv_data_size = sizeof(AICContext),
|
||||||
|
@ -614,7 +614,7 @@ static const AVClass alac_class = {
|
|||||||
|
|
||||||
const FFCodec ff_alac_decoder = {
|
const FFCodec ff_alac_decoder = {
|
||||||
.p.name = "alac",
|
.p.name = "alac",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
|
CODEC_LONG_NAME("ALAC (Apple Lossless Audio Codec)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ALAC,
|
.p.id = AV_CODEC_ID_ALAC,
|
||||||
.priv_data_size = sizeof(ALACContext),
|
.priv_data_size = sizeof(ALACContext),
|
||||||
|
@ -651,7 +651,7 @@ static const AVClass alacenc_class = {
|
|||||||
FF_DISABLE_DEPRECATION_WARNINGS
|
FF_DISABLE_DEPRECATION_WARNINGS
|
||||||
const FFCodec ff_alac_encoder = {
|
const FFCodec ff_alac_encoder = {
|
||||||
.p.name = "alac",
|
.p.name = "alac",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"),
|
CODEC_LONG_NAME("ALAC (Apple Lossless Audio Codec)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ALAC,
|
.p.id = AV_CODEC_ID_ALAC,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
|
@ -123,7 +123,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *f,
|
|||||||
|
|
||||||
const FFCodec ff_alias_pix_decoder = {
|
const FFCodec ff_alias_pix_decoder = {
|
||||||
.p.name = "alias_pix",
|
.p.name = "alias_pix",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
|
CODEC_LONG_NAME("Alias/Wavefront PIX image"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ALIAS_PIX,
|
.p.id = AV_CODEC_ID_ALIAS_PIX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -103,7 +103,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
|
|
||||||
const FFCodec ff_alias_pix_encoder = {
|
const FFCodec ff_alias_pix_encoder = {
|
||||||
.p.name = "alias_pix",
|
.p.name = "alias_pix",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Alias/Wavefront PIX image"),
|
CODEC_LONG_NAME("Alias/Wavefront PIX image"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ALIAS_PIX,
|
.p.id = AV_CODEC_ID_ALIAS_PIX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -2181,7 +2181,7 @@ static av_cold void flush(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_als_decoder = {
|
const FFCodec ff_als_decoder = {
|
||||||
.p.name = "als",
|
.p.name = "als",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("MPEG-4 Audio Lossless Coding (ALS)"),
|
CODEC_LONG_NAME("MPEG-4 Audio Lossless Coding (ALS)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_MP4ALS,
|
.p.id = AV_CODEC_ID_MP4ALS,
|
||||||
.priv_data_size = sizeof(ALSDecContext),
|
.priv_data_size = sizeof(ALSDecContext),
|
||||||
|
@ -380,7 +380,7 @@ static const AVClass h264_amf_class = {
|
|||||||
|
|
||||||
const FFCodec ff_h264_amf_encoder = {
|
const FFCodec ff_h264_amf_encoder = {
|
||||||
.p.name = "h264_amf",
|
.p.name = "h264_amf",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AMD AMF H.264 Encoder"),
|
CODEC_LONG_NAME("AMD AMF H.264 Encoder"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_H264,
|
.p.id = AV_CODEC_ID_H264,
|
||||||
.init = amf_encode_init_h264,
|
.init = amf_encode_init_h264,
|
||||||
|
@ -312,7 +312,7 @@ static const AVClass hevc_amf_class = {
|
|||||||
|
|
||||||
const FFCodec ff_hevc_amf_encoder = {
|
const FFCodec ff_hevc_amf_encoder = {
|
||||||
.p.name = "hevc_amf",
|
.p.name = "hevc_amf",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AMD AMF HEVC encoder"),
|
CODEC_LONG_NAME("AMD AMF HEVC encoder"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_HEVC,
|
.p.id = AV_CODEC_ID_HEVC,
|
||||||
.init = amf_encode_init_hevc,
|
.init = amf_encode_init_hevc,
|
||||||
|
@ -1097,7 +1097,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_amrnb_decoder = {
|
const FFCodec ff_amrnb_decoder = {
|
||||||
.p.name = "amrnb",
|
.p.name = "amrnb",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
|
CODEC_LONG_NAME("AMR-NB (Adaptive Multi-Rate NarrowBand)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AMR_NB,
|
.p.id = AV_CODEC_ID_AMR_NB,
|
||||||
.priv_data_size = sizeof(AMRChannelsContext),
|
.priv_data_size = sizeof(AMRChannelsContext),
|
||||||
|
@ -1293,7 +1293,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_amrwb_decoder = {
|
const FFCodec ff_amrwb_decoder = {
|
||||||
.p.name = "amrwb",
|
.p.name = "amrwb",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
|
CODEC_LONG_NAME("AMR-WB (Adaptive Multi-Rate WideBand)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_AMR_WB,
|
.p.id = AV_CODEC_ID_AMR_WB,
|
||||||
.priv_data_size = sizeof(AMRWBChannelsContext),
|
.priv_data_size = sizeof(AMRWBChannelsContext),
|
||||||
|
@ -191,7 +191,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_anm_decoder = {
|
const FFCodec ff_anm_decoder = {
|
||||||
.p.name = "anm",
|
.p.name = "anm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"),
|
CODEC_LONG_NAME("Deluxe Paint Animation"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ANM,
|
.p.id = AV_CODEC_ID_ANM,
|
||||||
.priv_data_size = sizeof(AnmContext),
|
.priv_data_size = sizeof(AnmContext),
|
||||||
|
@ -481,7 +481,7 @@ static const FFCodecDefault ansi_defaults[] = {
|
|||||||
|
|
||||||
const FFCodec ff_ansi_decoder = {
|
const FFCodec ff_ansi_decoder = {
|
||||||
.p.name = "ansi",
|
.p.name = "ansi",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASCII/ANSI art"),
|
CODEC_LONG_NAME("ASCII/ANSI art"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ANSI,
|
.p.id = AV_CODEC_ID_ANSI,
|
||||||
.priv_data_size = sizeof(AnsiContext),
|
.priv_data_size = sizeof(AnsiContext),
|
||||||
|
@ -1659,7 +1659,7 @@ static const AVClass ape_decoder_class = {
|
|||||||
|
|
||||||
const FFCodec ff_ape_decoder = {
|
const FFCodec ff_ape_decoder = {
|
||||||
.p.name = "ape",
|
.p.name = "ape",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"),
|
CODEC_LONG_NAME("Monkey's Audio"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_APE,
|
.p.id = AV_CODEC_ID_APE,
|
||||||
.priv_data_size = sizeof(APEContext),
|
.priv_data_size = sizeof(APEContext),
|
||||||
|
@ -176,7 +176,7 @@ static int aptx_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
#if CONFIG_APTX_DECODER
|
#if CONFIG_APTX_DECODER
|
||||||
const FFCodec ff_aptx_decoder = {
|
const FFCodec ff_aptx_decoder = {
|
||||||
.p.name = "aptx",
|
.p.name = "aptx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
|
CODEC_LONG_NAME("aptX (Audio Processing Technology for Bluetooth)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_APTX,
|
.p.id = AV_CODEC_ID_APTX,
|
||||||
.priv_data_size = sizeof(AptXContext),
|
.priv_data_size = sizeof(AptXContext),
|
||||||
@ -195,7 +195,7 @@ const FFCodec ff_aptx_decoder = {
|
|||||||
#if CONFIG_APTX_HD_DECODER
|
#if CONFIG_APTX_HD_DECODER
|
||||||
const FFCodec ff_aptx_hd_decoder = {
|
const FFCodec ff_aptx_hd_decoder = {
|
||||||
.p.name = "aptx_hd",
|
.p.name = "aptx_hd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
|
CODEC_LONG_NAME("aptX HD (Audio Processing Technology for Bluetooth)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_APTX_HD,
|
.p.id = AV_CODEC_ID_APTX_HD,
|
||||||
.priv_data_size = sizeof(AptXContext),
|
.priv_data_size = sizeof(AptXContext),
|
||||||
|
@ -263,7 +263,7 @@ static av_cold int aptx_encode_init(AVCodecContext *avctx)
|
|||||||
#if CONFIG_APTX_ENCODER
|
#if CONFIG_APTX_ENCODER
|
||||||
const FFCodec ff_aptx_encoder = {
|
const FFCodec ff_aptx_encoder = {
|
||||||
.p.name = "aptx",
|
.p.name = "aptx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("aptX (Audio Processing Technology for Bluetooth)"),
|
CODEC_LONG_NAME("aptX (Audio Processing Technology for Bluetooth)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_APTX,
|
.p.id = AV_CODEC_ID_APTX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
@ -284,7 +284,7 @@ const FFCodec ff_aptx_encoder = {
|
|||||||
#if CONFIG_APTX_HD_ENCODER
|
#if CONFIG_APTX_HD_ENCODER
|
||||||
const FFCodec ff_aptx_hd_encoder = {
|
const FFCodec ff_aptx_hd_encoder = {
|
||||||
.p.name = "aptx_hd",
|
.p.name = "aptx_hd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("aptX HD (Audio Processing Technology for Bluetooth)"),
|
CODEC_LONG_NAME("aptX HD (Audio Processing Technology for Bluetooth)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_APTX_HD,
|
.p.id = AV_CODEC_ID_APTX_HD,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME,
|
||||||
|
@ -208,7 +208,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_arbc_decoder = {
|
const FFCodec ff_arbc_decoder = {
|
||||||
.p.name = "arbc",
|
.p.name = "arbc",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Gryphon's Anim Compressor"),
|
CODEC_LONG_NAME("Gryphon's Anim Compressor"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ARBC,
|
.p.id = AV_CODEC_ID_ARBC,
|
||||||
.priv_data_size = sizeof(ARBCContext),
|
.priv_data_size = sizeof(ARBCContext),
|
||||||
|
@ -732,7 +732,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_argo_decoder = {
|
const FFCodec ff_argo_decoder = {
|
||||||
.p.name = "argo",
|
.p.name = "argo",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Video"),
|
CODEC_LONG_NAME("Argonaut Games Video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ARGO,
|
.p.id = AV_CODEC_ID_ARGO,
|
||||||
.priv_data_size = sizeof(ArgoContext),
|
.priv_data_size = sizeof(ArgoContext),
|
||||||
|
@ -64,7 +64,7 @@ static int ass_decode_frame(AVCodecContext *avctx, AVSubtitle *sub,
|
|||||||
#if CONFIG_SSA_DECODER
|
#if CONFIG_SSA_DECODER
|
||||||
const FFCodec ff_ssa_decoder = {
|
const FFCodec ff_ssa_decoder = {
|
||||||
.p.name = "ssa",
|
.p.name = "ssa",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
CODEC_LONG_NAME("ASS (Advanced SubStation Alpha) subtitle"),
|
||||||
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
||||||
.p.id = AV_CODEC_ID_ASS,
|
.p.id = AV_CODEC_ID_ASS,
|
||||||
.init = ass_decode_init,
|
.init = ass_decode_init,
|
||||||
@ -75,7 +75,7 @@ const FFCodec ff_ssa_decoder = {
|
|||||||
#if CONFIG_ASS_DECODER
|
#if CONFIG_ASS_DECODER
|
||||||
const FFCodec ff_ass_decoder = {
|
const FFCodec ff_ass_decoder = {
|
||||||
.p.name = "ass",
|
.p.name = "ass",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
CODEC_LONG_NAME("ASS (Advanced SubStation Alpha) subtitle"),
|
||||||
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
||||||
.p.id = AV_CODEC_ID_ASS,
|
.p.id = AV_CODEC_ID_ASS,
|
||||||
.init = ass_decode_init,
|
.init = ass_decode_init,
|
||||||
|
@ -71,7 +71,7 @@ static int ass_encode_frame(AVCodecContext *avctx,
|
|||||||
#if CONFIG_SSA_ENCODER
|
#if CONFIG_SSA_ENCODER
|
||||||
const FFCodec ff_ssa_encoder = {
|
const FFCodec ff_ssa_encoder = {
|
||||||
.p.name = "ssa",
|
.p.name = "ssa",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
CODEC_LONG_NAME("ASS (Advanced SubStation Alpha) subtitle"),
|
||||||
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
||||||
.p.id = AV_CODEC_ID_ASS,
|
.p.id = AV_CODEC_ID_ASS,
|
||||||
.init = ass_encode_init,
|
.init = ass_encode_init,
|
||||||
@ -82,7 +82,7 @@ const FFCodec ff_ssa_encoder = {
|
|||||||
#if CONFIG_ASS_ENCODER
|
#if CONFIG_ASS_ENCODER
|
||||||
const FFCodec ff_ass_encoder = {
|
const FFCodec ff_ass_encoder = {
|
||||||
.p.name = "ass",
|
.p.name = "ass",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASS (Advanced SubStation Alpha) subtitle"),
|
CODEC_LONG_NAME("ASS (Advanced SubStation Alpha) subtitle"),
|
||||||
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
||||||
.p.id = AV_CODEC_ID_ASS,
|
.p.id = AV_CODEC_ID_ASS,
|
||||||
.init = ass_encode_init,
|
.init = ass_encode_init,
|
||||||
|
@ -330,7 +330,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
|||||||
#if CONFIG_ASV1_DECODER
|
#if CONFIG_ASV1_DECODER
|
||||||
const FFCodec ff_asv1_decoder = {
|
const FFCodec ff_asv1_decoder = {
|
||||||
.p.name = "asv1",
|
.p.name = "asv1",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
CODEC_LONG_NAME("ASUS V1"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ASV1,
|
.p.id = AV_CODEC_ID_ASV1,
|
||||||
.priv_data_size = sizeof(ASV1Context),
|
.priv_data_size = sizeof(ASV1Context),
|
||||||
@ -344,7 +344,7 @@ const FFCodec ff_asv1_decoder = {
|
|||||||
#if CONFIG_ASV2_DECODER
|
#if CONFIG_ASV2_DECODER
|
||||||
const FFCodec ff_asv2_decoder = {
|
const FFCodec ff_asv2_decoder = {
|
||||||
.p.name = "asv2",
|
.p.name = "asv2",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
CODEC_LONG_NAME("ASUS V2"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ASV2,
|
.p.id = AV_CODEC_ID_ASV2,
|
||||||
.priv_data_size = sizeof(ASV1Context),
|
.priv_data_size = sizeof(ASV1Context),
|
||||||
|
@ -345,7 +345,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
#if CONFIG_ASV1_ENCODER
|
#if CONFIG_ASV1_ENCODER
|
||||||
const FFCodec ff_asv1_encoder = {
|
const FFCodec ff_asv1_encoder = {
|
||||||
.p.name = "asv1",
|
.p.name = "asv1",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASUS V1"),
|
CODEC_LONG_NAME("ASUS V1"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ASV1,
|
.p.id = AV_CODEC_ID_ASV1,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
@ -360,7 +360,7 @@ const FFCodec ff_asv1_encoder = {
|
|||||||
#if CONFIG_ASV2_ENCODER
|
#if CONFIG_ASV2_ENCODER
|
||||||
const FFCodec ff_asv2_encoder = {
|
const FFCodec ff_asv2_encoder = {
|
||||||
.p.name = "asv2",
|
.p.name = "asv2",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ASUS V2"),
|
CODEC_LONG_NAME("ASUS V2"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_ASV2,
|
.p.id = AV_CODEC_ID_ASV2,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -384,7 +384,7 @@ static av_cold int atrac1_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_atrac1_decoder = {
|
const FFCodec ff_atrac1_decoder = {
|
||||||
.p.name = "atrac1",
|
.p.name = "atrac1",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
|
CODEC_LONG_NAME("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC1,
|
.p.id = AV_CODEC_ID_ATRAC1,
|
||||||
.priv_data_size = sizeof(AT1Ctx),
|
.priv_data_size = sizeof(AT1Ctx),
|
||||||
|
@ -1016,7 +1016,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_atrac3_decoder = {
|
const FFCodec ff_atrac3_decoder = {
|
||||||
.p.name = "atrac3",
|
.p.name = "atrac3",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
|
CODEC_LONG_NAME("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC3,
|
.p.id = AV_CODEC_ID_ATRAC3,
|
||||||
.priv_data_size = sizeof(ATRAC3Context),
|
.priv_data_size = sizeof(ATRAC3Context),
|
||||||
@ -1031,7 +1031,7 @@ const FFCodec ff_atrac3_decoder = {
|
|||||||
|
|
||||||
const FFCodec ff_atrac3al_decoder = {
|
const FFCodec ff_atrac3al_decoder = {
|
||||||
.p.name = "atrac3al",
|
.p.name = "atrac3al",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
|
CODEC_LONG_NAME("ATRAC3 AL (Adaptive TRansform Acoustic Coding 3 Advanced Lossless)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC3AL,
|
.p.id = AV_CODEC_ID_ATRAC3AL,
|
||||||
.priv_data_size = sizeof(ATRAC3Context),
|
.priv_data_size = sizeof(ATRAC3Context),
|
||||||
|
@ -392,7 +392,7 @@ static int atrac3p_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_atrac3p_decoder = {
|
const FFCodec ff_atrac3p_decoder = {
|
||||||
.p.name = "atrac3plus",
|
.p.name = "atrac3plus",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
|
CODEC_LONG_NAME("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC3P,
|
.p.id = AV_CODEC_ID_ATRAC3P,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
@ -405,7 +405,7 @@ const FFCodec ff_atrac3p_decoder = {
|
|||||||
|
|
||||||
const FFCodec ff_atrac3pal_decoder = {
|
const FFCodec ff_atrac3pal_decoder = {
|
||||||
.p.name = "atrac3plusal",
|
.p.name = "atrac3plusal",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
|
CODEC_LONG_NAME("ATRAC3+ AL (Adaptive TRansform Acoustic Coding 3+ Advanced Lossless)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC3PAL,
|
.p.id = AV_CODEC_ID_ATRAC3PAL,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -989,7 +989,7 @@ static av_cold int atrac9_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_atrac9_decoder = {
|
const FFCodec ff_atrac9_decoder = {
|
||||||
.p.name = "atrac9",
|
.p.name = "atrac9",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
|
CODEC_LONG_NAME("ATRAC9 (Adaptive TRansform Acoustic Coding 9)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_ATRAC9,
|
.p.id = AV_CODEC_ID_ATRAC9,
|
||||||
.priv_data_size = sizeof(ATRAC9Context),
|
.priv_data_size = sizeof(ATRAC9Context),
|
||||||
|
@ -591,7 +591,7 @@ static av_cold int ffat_close_decoder(AVCodecContext *avctx)
|
|||||||
FFAT_DEC_CLASS(NAME) \
|
FFAT_DEC_CLASS(NAME) \
|
||||||
const FFCodec ff_##NAME##_at_decoder = { \
|
const FFCodec ff_##NAME##_at_decoder = { \
|
||||||
.p.name = #NAME "_at", \
|
.p.name = #NAME "_at", \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \
|
CODEC_LONG_NAME(#NAME " (AudioToolbox)"), \
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO, \
|
.p.type = AVMEDIA_TYPE_AUDIO, \
|
||||||
.p.id = ID, \
|
.p.id = ID, \
|
||||||
.priv_data_size = sizeof(ATDecodeContext), \
|
.priv_data_size = sizeof(ATDecodeContext), \
|
||||||
|
@ -616,7 +616,7 @@ static const AVOption options[] = {
|
|||||||
FFAT_ENC_CLASS(NAME) \
|
FFAT_ENC_CLASS(NAME) \
|
||||||
const FFCodec ff_##NAME##_at_encoder = { \
|
const FFCodec ff_##NAME##_at_encoder = { \
|
||||||
.p.name = #NAME "_at", \
|
.p.name = #NAME "_at", \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL(#NAME " (AudioToolbox)"), \
|
CODEC_LONG_NAME(#NAME " (AudioToolbox)"), \
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO, \
|
.p.type = AVMEDIA_TYPE_AUDIO, \
|
||||||
.p.id = ID, \
|
.p.id = ID, \
|
||||||
.priv_data_size = sizeof(ATDecodeContext), \
|
.priv_data_size = sizeof(ATDecodeContext), \
|
||||||
|
@ -98,7 +98,7 @@ static int aura_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_aura2_decoder = {
|
const FFCodec ff_aura2_decoder = {
|
||||||
.p.name = "aura2",
|
.p.name = "aura2",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Auravision Aura 2"),
|
CODEC_LONG_NAME("Auravision Aura 2"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AURA2,
|
.p.id = AV_CODEC_ID_AURA2,
|
||||||
.init = aura_decode_init,
|
.init = aura_decode_init,
|
||||||
|
@ -1247,7 +1247,7 @@ static const AVClass av1_class = {
|
|||||||
|
|
||||||
const FFCodec ff_av1_decoder = {
|
const FFCodec ff_av1_decoder = {
|
||||||
.p.name = "av1",
|
.p.name = "av1",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Alliance for Open Media AV1"),
|
CODEC_LONG_NAME("Alliance for Open Media AV1"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AV1,
|
.p.id = AV_CODEC_ID_AV1,
|
||||||
.priv_data_size = sizeof(AV1DecContext),
|
.priv_data_size = sizeof(AV1DecContext),
|
||||||
|
@ -91,7 +91,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
|
|||||||
|
|
||||||
const FFCodec ff_avrn_decoder = {
|
const FFCodec ff_avrn_decoder = {
|
||||||
.p.name = "avrn",
|
.p.name = "avrn",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
|
CODEC_LONG_NAME("Avid AVI Codec"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AVRN,
|
.p.id = AV_CODEC_ID_AVRN,
|
||||||
.priv_data_size = sizeof(AVRnContext),
|
.priv_data_size = sizeof(AVRnContext),
|
||||||
|
@ -177,7 +177,7 @@ static av_cold int avs_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_avs_decoder = {
|
const FFCodec ff_avs_decoder = {
|
||||||
.p.name = "avs",
|
.p.name = "avs",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
|
CODEC_LONG_NAME("AVS (Audio Video Standard) video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AVS,
|
.p.id = AV_CODEC_ID_AVS,
|
||||||
.priv_data_size = sizeof(AvsContext),
|
.priv_data_size = sizeof(AvsContext),
|
||||||
|
@ -121,7 +121,7 @@ static int avui_decode_frame(AVCodecContext *avctx, AVFrame *pic,
|
|||||||
|
|
||||||
const FFCodec ff_avui_decoder = {
|
const FFCodec ff_avui_decoder = {
|
||||||
.p.name = "avui",
|
.p.name = "avui",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
|
CODEC_LONG_NAME("Avid Meridien Uncompressed"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AVUI,
|
.p.id = AV_CODEC_ID_AVUI,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -93,7 +93,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
|
|
||||||
const FFCodec ff_avui_encoder = {
|
const FFCodec ff_avui_encoder = {
|
||||||
.p.name = "avui",
|
.p.name = "avui",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Avid Meridien Uncompressed"),
|
CODEC_LONG_NAME("Avid Meridien Uncompressed"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AVUI,
|
.p.id = AV_CODEC_ID_AVUI,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_EXPERIMENTAL,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_EXPERIMENTAL,
|
||||||
|
@ -165,7 +165,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_bethsoftvid_decoder = {
|
const FFCodec ff_bethsoftvid_decoder = {
|
||||||
.p.name = "bethsoftvid",
|
.p.name = "bethsoftvid",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"),
|
CODEC_LONG_NAME("Bethesda VID video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BETHSOFTVID,
|
.p.id = AV_CODEC_ID_BETHSOFTVID,
|
||||||
.priv_data_size = sizeof(BethsoftvidContext),
|
.priv_data_size = sizeof(BethsoftvidContext),
|
||||||
|
@ -177,7 +177,7 @@ static av_cold int bfi_decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_bfi_decoder = {
|
const FFCodec ff_bfi_decoder = {
|
||||||
.p.name = "bfi",
|
.p.name = "bfi",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"),
|
CODEC_LONG_NAME("Brute Force & Ignorance"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BFI,
|
.p.id = AV_CODEC_ID_BFI,
|
||||||
.priv_data_size = sizeof(BFIContext),
|
.priv_data_size = sizeof(BFIContext),
|
||||||
|
@ -1420,7 +1420,7 @@ static void flush(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_bink_decoder = {
|
const FFCodec ff_bink_decoder = {
|
||||||
.p.name = "binkvideo",
|
.p.name = "binkvideo",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bink video"),
|
CODEC_LONG_NAME("Bink video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BINKVIDEO,
|
.p.id = AV_CODEC_ID_BINKVIDEO,
|
||||||
.priv_data_size = sizeof(BinkContext),
|
.priv_data_size = sizeof(BinkContext),
|
||||||
|
@ -367,7 +367,7 @@ static void decode_flush(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_binkaudio_rdft_decoder = {
|
const FFCodec ff_binkaudio_rdft_decoder = {
|
||||||
.p.name = "binkaudio_rdft",
|
.p.name = "binkaudio_rdft",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)"),
|
CODEC_LONG_NAME("Bink Audio (RDFT)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_BINKAUDIO_RDFT,
|
.p.id = AV_CODEC_ID_BINKAUDIO_RDFT,
|
||||||
.priv_data_size = sizeof(BinkAudioContext),
|
.priv_data_size = sizeof(BinkAudioContext),
|
||||||
@ -381,7 +381,7 @@ const FFCodec ff_binkaudio_rdft_decoder = {
|
|||||||
|
|
||||||
const FFCodec ff_binkaudio_dct_decoder = {
|
const FFCodec ff_binkaudio_dct_decoder = {
|
||||||
.p.name = "binkaudio_dct",
|
.p.name = "binkaudio_dct",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (DCT)"),
|
CODEC_LONG_NAME("Bink Audio (DCT)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_BINKAUDIO_DCT,
|
.p.id = AV_CODEC_ID_BINKAUDIO_DCT,
|
||||||
.priv_data_size = sizeof(BinkAudioContext),
|
.priv_data_size = sizeof(BinkAudioContext),
|
||||||
|
@ -219,7 +219,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
#if CONFIG_BINTEXT_DECODER
|
#if CONFIG_BINTEXT_DECODER
|
||||||
const FFCodec ff_bintext_decoder = {
|
const FFCodec ff_bintext_decoder = {
|
||||||
.p.name = "bintext",
|
.p.name = "bintext",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Binary text"),
|
CODEC_LONG_NAME("Binary text"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BINTEXT,
|
.p.id = AV_CODEC_ID_BINTEXT,
|
||||||
.priv_data_size = sizeof(XbinContext),
|
.priv_data_size = sizeof(XbinContext),
|
||||||
@ -231,7 +231,7 @@ const FFCodec ff_bintext_decoder = {
|
|||||||
#if CONFIG_XBIN_DECODER
|
#if CONFIG_XBIN_DECODER
|
||||||
const FFCodec ff_xbin_decoder = {
|
const FFCodec ff_xbin_decoder = {
|
||||||
.p.name = "xbin",
|
.p.name = "xbin",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"),
|
CODEC_LONG_NAME("eXtended BINary text"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_XBIN,
|
.p.id = AV_CODEC_ID_XBIN,
|
||||||
.priv_data_size = sizeof(XbinContext),
|
.priv_data_size = sizeof(XbinContext),
|
||||||
@ -243,7 +243,7 @@ const FFCodec ff_xbin_decoder = {
|
|||||||
#if CONFIG_IDF_DECODER
|
#if CONFIG_IDF_DECODER
|
||||||
const FFCodec ff_idf_decoder = {
|
const FFCodec ff_idf_decoder = {
|
||||||
.p.name = "idf",
|
.p.name = "idf",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"),
|
CODEC_LONG_NAME("iCEDraw text"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_IDF,
|
.p.id = AV_CODEC_ID_IDF,
|
||||||
.priv_data_size = sizeof(XbinContext),
|
.priv_data_size = sizeof(XbinContext),
|
||||||
|
@ -143,7 +143,7 @@ static int bitpacked_decode(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_bitpacked_decoder = {
|
const FFCodec ff_bitpacked_decoder = {
|
||||||
.p.name = "bitpacked",
|
.p.name = "bitpacked",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
|
CODEC_LONG_NAME("Bitpacked"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BITPACKED,
|
.p.id = AV_CODEC_ID_BITPACKED,
|
||||||
.p.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
.p.capabilities = AV_CODEC_CAP_FRAME_THREADS,
|
||||||
|
@ -106,7 +106,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
|
|
||||||
const FFCodec ff_bitpacked_encoder = {
|
const FFCodec ff_bitpacked_encoder = {
|
||||||
.p.name = "bitpacked",
|
.p.name = "bitpacked",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Bitpacked"),
|
CODEC_LONG_NAME("Bitpacked"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BITPACKED,
|
.p.id = AV_CODEC_ID_BITPACKED,
|
||||||
.priv_data_size = sizeof(struct BitpackedContext),
|
.priv_data_size = sizeof(struct BitpackedContext),
|
||||||
|
@ -366,7 +366,7 @@ static int bmp_decode_frame(AVCodecContext *avctx, AVFrame *p,
|
|||||||
|
|
||||||
const FFCodec ff_bmp_decoder = {
|
const FFCodec ff_bmp_decoder = {
|
||||||
.p.name = "bmp",
|
.p.name = "bmp",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
|
CODEC_LONG_NAME("BMP (Windows and OS/2 bitmap)"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BMP,
|
.p.id = AV_CODEC_ID_BMP,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -158,7 +158,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
|
|
||||||
const FFCodec ff_bmp_encoder = {
|
const FFCodec ff_bmp_encoder = {
|
||||||
.p.name = "bmp",
|
.p.name = "bmp",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("BMP (Windows and OS/2 bitmap)"),
|
CODEC_LONG_NAME("BMP (Windows and OS/2 bitmap)"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BMP,
|
.p.id = AV_CODEC_ID_BMP,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -80,7 +80,7 @@ static int bmv_aud_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_bmv_audio_decoder = {
|
const FFCodec ff_bmv_audio_decoder = {
|
||||||
.p.name = "bmv_audio",
|
.p.name = "bmv_audio",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV audio"),
|
CODEC_LONG_NAME("Discworld II BMV audio"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_BMV_AUDIO,
|
.p.id = AV_CODEC_ID_BMV_AUDIO,
|
||||||
.init = bmv_aud_decode_init,
|
.init = bmv_aud_decode_init,
|
||||||
|
@ -287,7 +287,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_bmv_video_decoder = {
|
const FFCodec ff_bmv_video_decoder = {
|
||||||
.p.name = "bmv_video",
|
.p.name = "bmv_video",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV video"),
|
CODEC_LONG_NAME("Discworld II BMV video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BMV_VIDEO,
|
.p.id = AV_CODEC_ID_BMV_VIDEO,
|
||||||
.priv_data_size = sizeof(BMVDecContext),
|
.priv_data_size = sizeof(BMVDecContext),
|
||||||
|
@ -286,7 +286,7 @@ static int pix_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_brender_pix_decoder = {
|
const FFCodec ff_brender_pix_decoder = {
|
||||||
.p.name = "brender_pix",
|
.p.name = "brender_pix",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("BRender PIX image"),
|
CODEC_LONG_NAME("BRender PIX image"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_BRENDER_PIX,
|
.p.id = AV_CODEC_ID_BRENDER_PIX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -260,7 +260,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||||||
|
|
||||||
const FFCodec ff_c93_decoder = {
|
const FFCodec ff_c93_decoder = {
|
||||||
.p.name = "c93",
|
.p.name = "c93",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
|
CODEC_LONG_NAME("Interplay C93"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_C93,
|
.p.id = AV_CODEC_ID_C93,
|
||||||
.priv_data_size = sizeof(C93DecoderContext),
|
.priv_data_size = sizeof(C93DecoderContext),
|
||||||
|
@ -1317,7 +1317,7 @@ static int cavs_decode_frame(AVCodecContext *avctx, AVFrame *rframe,
|
|||||||
|
|
||||||
const FFCodec ff_cavs_decoder = {
|
const FFCodec ff_cavs_decoder = {
|
||||||
.p.name = "cavs",
|
.p.name = "cavs",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
|
CODEC_LONG_NAME("Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CAVS,
|
.p.id = AV_CODEC_ID_CAVS,
|
||||||
.priv_data_size = sizeof(AVSContext),
|
.priv_data_size = sizeof(AVSContext),
|
||||||
|
@ -946,7 +946,7 @@ static const AVClass ccaption_dec_class = {
|
|||||||
|
|
||||||
const FFCodec ff_ccaption_decoder = {
|
const FFCodec ff_ccaption_decoder = {
|
||||||
.p.name = "cc_dec",
|
.p.name = "cc_dec",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Closed Caption (EIA-608 / CEA-708)"),
|
CODEC_LONG_NAME("Closed Caption (EIA-608 / CEA-708)"),
|
||||||
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
.p.type = AVMEDIA_TYPE_SUBTITLE,
|
||||||
.p.id = AV_CODEC_ID_EIA_608,
|
.p.id = AV_CODEC_ID_EIA_608,
|
||||||
.p.priv_class = &ccaption_dec_class,
|
.p.priv_class = &ccaption_dec_class,
|
||||||
|
@ -389,7 +389,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cdgraphics_decoder = {
|
const FFCodec ff_cdgraphics_decoder = {
|
||||||
.p.name = "cdgraphics",
|
.p.name = "cdgraphics",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("CD Graphics video"),
|
CODEC_LONG_NAME("CD Graphics video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CDGRAPHICS,
|
.p.id = AV_CODEC_ID_CDGRAPHICS,
|
||||||
.priv_data_size = sizeof(CDGraphicsContext),
|
.priv_data_size = sizeof(CDGraphicsContext),
|
||||||
|
@ -445,7 +445,7 @@ static av_cold int cdtoons_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cdtoons_decoder = {
|
const FFCodec ff_cdtoons_decoder = {
|
||||||
.p.name = "cdtoons",
|
.p.name = "cdtoons",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
|
CODEC_LONG_NAME("CDToons video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CDTOONS,
|
.p.id = AV_CODEC_ID_CDTOONS,
|
||||||
.priv_data_size = sizeof(CDToonsContext),
|
.priv_data_size = sizeof(CDToonsContext),
|
||||||
|
@ -337,7 +337,7 @@ static av_cold int cdxl_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cdxl_decoder = {
|
const FFCodec ff_cdxl_decoder = {
|
||||||
.p.name = "cdxl",
|
.p.name = "cdxl",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Commodore CDXL video"),
|
CODEC_LONG_NAME("Commodore CDXL video"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CDXL,
|
.p.id = AV_CODEC_ID_CDXL,
|
||||||
.priv_data_size = sizeof(CDXLVideoContext),
|
.priv_data_size = sizeof(CDXLVideoContext),
|
||||||
|
@ -1457,7 +1457,7 @@ static int update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
|
|||||||
|
|
||||||
const FFCodec ff_cfhd_decoder = {
|
const FFCodec ff_cfhd_decoder = {
|
||||||
.p.name = "cfhd",
|
.p.name = "cfhd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"),
|
CODEC_LONG_NAME("GoPro CineForm HD"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CFHD,
|
.p.id = AV_CODEC_ID_CFHD,
|
||||||
.priv_data_size = sizeof(CFHDContext),
|
.priv_data_size = sizeof(CFHDContext),
|
||||||
|
@ -848,7 +848,7 @@ static const AVClass cfhd_class = {
|
|||||||
|
|
||||||
const FFCodec ff_cfhd_encoder = {
|
const FFCodec ff_cfhd_encoder = {
|
||||||
.p.name = "cfhd",
|
.p.name = "cfhd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("GoPro CineForm HD"),
|
CODEC_LONG_NAME("GoPro CineForm HD"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CFHD,
|
.p.id = AV_CODEC_ID_CFHD,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
||||||
|
@ -506,7 +506,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cinepak_decoder = {
|
const FFCodec ff_cinepak_decoder = {
|
||||||
.p.name = "cinepak",
|
.p.name = "cinepak",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
|
CODEC_LONG_NAME("Cinepak"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CINEPAK,
|
.p.id = AV_CODEC_ID_CINEPAK,
|
||||||
.priv_data_size = sizeof(CinepakContext),
|
.priv_data_size = sizeof(CinepakContext),
|
||||||
|
@ -1216,7 +1216,7 @@ static av_cold int cinepak_encode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cinepak_encoder = {
|
const FFCodec ff_cinepak_encoder = {
|
||||||
.p.name = "cinepak",
|
.p.name = "cinepak",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cinepak"),
|
CODEC_LONG_NAME("Cinepak"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CINEPAK,
|
.p.id = AV_CODEC_ID_CINEPAK,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -769,7 +769,7 @@ static av_cold int clv_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_clearvideo_decoder = {
|
const FFCodec ff_clearvideo_decoder = {
|
||||||
.p.name = "clearvideo",
|
.p.name = "clearvideo",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Iterated Systems ClearVideo"),
|
CODEC_LONG_NAME("Iterated Systems ClearVideo"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CLEARVIDEO,
|
.p.id = AV_CODEC_ID_CLEARVIDEO,
|
||||||
.priv_data_size = sizeof(CLVContext),
|
.priv_data_size = sizeof(CLVContext),
|
||||||
|
@ -83,7 +83,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cljr_decoder = {
|
const FFCodec ff_cljr_decoder = {
|
||||||
.p.name = "cljr",
|
.p.name = "cljr",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
|
CODEC_LONG_NAME("Cirrus Logic AccuPak"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CLJR,
|
.p.id = AV_CODEC_ID_CLJR,
|
||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
|
@ -110,7 +110,7 @@ static const AVClass cljr_class = {
|
|||||||
|
|
||||||
const FFCodec ff_cljr_encoder = {
|
const FFCodec ff_cljr_encoder = {
|
||||||
.p.name = "cljr",
|
.p.name = "cljr",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"),
|
CODEC_LONG_NAME("Cirrus Logic AccuPak"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CLJR,
|
.p.id = AV_CODEC_ID_CLJR,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -493,7 +493,7 @@ static av_cold int cllc_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cllc_decoder = {
|
const FFCodec ff_cllc_decoder = {
|
||||||
.p.name = "cllc",
|
.p.name = "cllc",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Canopus Lossless Codec"),
|
CODEC_LONG_NAME("Canopus Lossless Codec"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CLLC,
|
.p.id = AV_CODEC_ID_CLLC,
|
||||||
.priv_data_size = sizeof(CLLCContext),
|
.priv_data_size = sizeof(CLLCContext),
|
||||||
|
@ -165,7 +165,7 @@ static int cng_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_comfortnoise_decoder = {
|
const FFCodec ff_comfortnoise_decoder = {
|
||||||
.p.name = "comfortnoise",
|
.p.name = "comfortnoise",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"),
|
CODEC_LONG_NAME("RFC 3389 comfort noise generator"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_COMFORT_NOISE,
|
.p.id = AV_CODEC_ID_COMFORT_NOISE,
|
||||||
.priv_data_size = sizeof(CNGContext),
|
.priv_data_size = sizeof(CNGContext),
|
||||||
|
@ -98,7 +98,7 @@ static int cng_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
|
|
||||||
const FFCodec ff_comfortnoise_encoder = {
|
const FFCodec ff_comfortnoise_encoder = {
|
||||||
.p.name = "comfortnoise",
|
.p.name = "comfortnoise",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("RFC 3389 comfort noise generator"),
|
CODEC_LONG_NAME("RFC 3389 comfort noise generator"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_COMFORT_NOISE,
|
.p.id = AV_CODEC_ID_COMFORT_NOISE,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_CODEC_CAP_DR1,
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "codec.h"
|
#include "codec.h"
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The codec is not known to be init-threadsafe (i.e. it might be unsafe
|
* The codec is not known to be init-threadsafe (i.e. it might be unsafe
|
||||||
@ -257,6 +258,12 @@ typedef struct FFCodec {
|
|||||||
const uint32_t *codec_tags;
|
const uint32_t *codec_tags;
|
||||||
} FFCodec;
|
} FFCodec;
|
||||||
|
|
||||||
|
#if CONFIG_SMALL
|
||||||
|
#define CODEC_LONG_NAME(str) .p.long_name = NULL
|
||||||
|
#else
|
||||||
|
#define CODEC_LONG_NAME(str) .p.long_name = str
|
||||||
|
#endif
|
||||||
|
|
||||||
#define FF_CODEC_DECODE_CB(func) \
|
#define FF_CODEC_DECODE_CB(func) \
|
||||||
.cb_type = FF_CODEC_CB_TYPE_DECODE, \
|
.cb_type = FF_CODEC_CB_TYPE_DECODE, \
|
||||||
.cb.decode = (func)
|
.cb.decode = (func)
|
||||||
|
@ -1298,7 +1298,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cook_decoder = {
|
const FFCodec ff_cook_decoder = {
|
||||||
.p.name = "cook",
|
.p.name = "cook",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cook / Cooker / Gecko (RealAudio G2)"),
|
CODEC_LONG_NAME("Cook / Cooker / Gecko (RealAudio G2)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_COOK,
|
.p.id = AV_CODEC_ID_COOK,
|
||||||
.priv_data_size = sizeof(COOKContext),
|
.priv_data_size = sizeof(COOKContext),
|
||||||
|
@ -224,7 +224,7 @@ static av_cold int cpia_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cpia_decoder = {
|
const FFCodec ff_cpia_decoder = {
|
||||||
.p.name = "cpia",
|
.p.name = "cpia",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("CPiA video format"),
|
CODEC_LONG_NAME("CPiA video format"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CPIA,
|
.p.id = AV_CODEC_ID_CPIA,
|
||||||
.priv_data_size = sizeof(CpiaContext),
|
.priv_data_size = sizeof(CpiaContext),
|
||||||
|
@ -433,5 +433,5 @@ const FFCodec ff_cri_decoder = {
|
|||||||
.close = cri_decode_close,
|
.close = cri_decode_close,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
.caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Cintel RAW"),
|
CODEC_LONG_NAME("Cintel RAW"),
|
||||||
};
|
};
|
||||||
|
@ -776,7 +776,7 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame)
|
|||||||
}; \
|
}; \
|
||||||
const FFCodec ff_##x##_crystalhd_decoder = { \
|
const FFCodec ff_##x##_crystalhd_decoder = { \
|
||||||
.p.name = #x "_crystalhd", \
|
.p.name = #x "_crystalhd", \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("CrystalHD " #X " decoder"), \
|
CODEC_LONG_NAME("CrystalHD " #X " decoder"), \
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO, \
|
.p.type = AVMEDIA_TYPE_VIDEO, \
|
||||||
.p.id = AV_CODEC_ID_##X, \
|
.p.id = AV_CODEC_ID_##X, \
|
||||||
.priv_data_size = sizeof(CHDContext), \
|
.priv_data_size = sizeof(CHDContext), \
|
||||||
|
@ -167,7 +167,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_cscd_decoder = {
|
const FFCodec ff_cscd_decoder = {
|
||||||
.p.name = "camstudio",
|
.p.name = "camstudio",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("CamStudio"),
|
CODEC_LONG_NAME("CamStudio"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CSCD,
|
.p.id = AV_CODEC_ID_CSCD,
|
||||||
.priv_data_size = sizeof(CamStudioContext),
|
.priv_data_size = sizeof(CamStudioContext),
|
||||||
|
@ -1118,7 +1118,7 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
|
|||||||
}; \
|
}; \
|
||||||
const FFCodec ff_##x##_cuvid_decoder = { \
|
const FFCodec ff_##x##_cuvid_decoder = { \
|
||||||
.p.name = #x "_cuvid", \
|
.p.name = #x "_cuvid", \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Nvidia CUVID " #X " decoder"), \
|
CODEC_LONG_NAME("Nvidia CUVID " #X " decoder"), \
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO, \
|
.p.type = AVMEDIA_TYPE_VIDEO, \
|
||||||
.p.id = AV_CODEC_ID_##X, \
|
.p.id = AV_CODEC_ID_##X, \
|
||||||
.priv_data_size = sizeof(CuvidContext), \
|
.priv_data_size = sizeof(CuvidContext), \
|
||||||
|
@ -177,7 +177,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
#if CONFIG_AURA_DECODER
|
#if CONFIG_AURA_DECODER
|
||||||
const FFCodec ff_aura_decoder = {
|
const FFCodec ff_aura_decoder = {
|
||||||
.p.name = "aura",
|
.p.name = "aura",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Auravision AURA"),
|
CODEC_LONG_NAME("Auravision AURA"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_AURA,
|
.p.id = AV_CODEC_ID_AURA,
|
||||||
.priv_data_size = sizeof(CyuvDecodeContext),
|
.priv_data_size = sizeof(CyuvDecodeContext),
|
||||||
@ -190,7 +190,7 @@ const FFCodec ff_aura_decoder = {
|
|||||||
#if CONFIG_CYUV_DECODER
|
#if CONFIG_CYUV_DECODER
|
||||||
const FFCodec ff_cyuv_decoder = {
|
const FFCodec ff_cyuv_decoder = {
|
||||||
.p.name = "cyuv",
|
.p.name = "cyuv",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
|
CODEC_LONG_NAME("Creative YUV (CYUV)"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_CYUV,
|
.p.id = AV_CODEC_ID_CYUV,
|
||||||
.priv_data_size = sizeof(CyuvDecodeContext),
|
.priv_data_size = sizeof(CyuvDecodeContext),
|
||||||
|
@ -412,7 +412,7 @@ static const AVClass dcadec_class = {
|
|||||||
|
|
||||||
const FFCodec ff_dca_decoder = {
|
const FFCodec ff_dca_decoder = {
|
||||||
.p.name = "dca",
|
.p.name = "dca",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
CODEC_LONG_NAME("DCA (DTS Coherent Acoustics)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_DTS,
|
.p.id = AV_CODEC_ID_DTS,
|
||||||
.priv_data_size = sizeof(DCAContext),
|
.priv_data_size = sizeof(DCAContext),
|
||||||
|
@ -1238,7 +1238,7 @@ static const FFCodecDefault defaults[] = {
|
|||||||
|
|
||||||
const FFCodec ff_dca_encoder = {
|
const FFCodec ff_dca_encoder = {
|
||||||
.p.name = "dca",
|
.p.name = "dca",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
|
CODEC_LONG_NAME("DCA (DTS Coherent Acoustics)"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_DTS,
|
.p.id = AV_CODEC_ID_DTS,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_EXPERIMENTAL,
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_EXPERIMENTAL,
|
||||||
|
@ -710,7 +710,7 @@ static int dds_decode(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_dds_decoder = {
|
const FFCodec ff_dds_decoder = {
|
||||||
.p.name = "dds",
|
.p.name = "dds",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DirectDraw Surface image decoder"),
|
CODEC_LONG_NAME("DirectDraw Surface image decoder"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DDS,
|
.p.id = AV_CODEC_ID_DDS,
|
||||||
FF_CODEC_DECODE_CB(dds_decode),
|
FF_CODEC_DECODE_CB(dds_decode),
|
||||||
|
@ -423,7 +423,7 @@ static av_cold int dfa_decode_end(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_dfa_decoder = {
|
const FFCodec ff_dfa_decoder = {
|
||||||
.p.name = "dfa",
|
.p.name = "dfa",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
|
CODEC_LONG_NAME("Chronomaster DFA"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DFA,
|
.p.id = AV_CODEC_ID_DFA,
|
||||||
.priv_data_size = sizeof(DfaContext),
|
.priv_data_size = sizeof(DfaContext),
|
||||||
|
@ -127,7 +127,7 @@ static int dfpwm_dec_frame(struct AVCodecContext *ctx, AVFrame *frame,
|
|||||||
|
|
||||||
const FFCodec ff_dfpwm_decoder = {
|
const FFCodec ff_dfpwm_decoder = {
|
||||||
.p.name = "dfpwm",
|
.p.name = "dfpwm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DFPWM1a audio"),
|
CODEC_LONG_NAME("DFPWM1a audio"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_DFPWM,
|
.p.id = AV_CODEC_ID_DFPWM,
|
||||||
.priv_data_size = sizeof(DFPWMState),
|
.priv_data_size = sizeof(DFPWMState),
|
||||||
|
@ -109,7 +109,7 @@ static int dfpwm_enc_frame(struct AVCodecContext *ctx, struct AVPacket *packet,
|
|||||||
|
|
||||||
const FFCodec ff_dfpwm_encoder = {
|
const FFCodec ff_dfpwm_encoder = {
|
||||||
.p.name = "dfpwm",
|
.p.name = "dfpwm",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DFPWM1a audio"),
|
CODEC_LONG_NAME("DFPWM1a audio"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_DFPWM,
|
.p.id = AV_CODEC_ID_DFPWM,
|
||||||
.priv_data_size = sizeof(DFPWMState),
|
.priv_data_size = sizeof(DFPWMState),
|
||||||
|
@ -2357,7 +2357,7 @@ static int dirac_decode_frame(AVCodecContext *avctx, AVFrame *picture,
|
|||||||
|
|
||||||
const FFCodec ff_dirac_decoder = {
|
const FFCodec ff_dirac_decoder = {
|
||||||
.p.name = "dirac",
|
.p.name = "dirac",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("BBC Dirac VC-2"),
|
CODEC_LONG_NAME("BBC Dirac VC-2"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DIRAC,
|
.p.id = AV_CODEC_ID_DIRAC,
|
||||||
.priv_data_size = sizeof(DiracContext),
|
.priv_data_size = sizeof(DiracContext),
|
||||||
|
@ -726,7 +726,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
const FFCodec ff_dnxhd_decoder = {
|
const FFCodec ff_dnxhd_decoder = {
|
||||||
.p.name = "dnxhd",
|
.p.name = "dnxhd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
CODEC_LONG_NAME("VC3/DNxHD"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DNXHD,
|
.p.id = AV_CODEC_ID_DNXHD,
|
||||||
.priv_data_size = sizeof(DNXHDContext),
|
.priv_data_size = sizeof(DNXHDContext),
|
||||||
|
@ -1355,7 +1355,7 @@ static const FFCodecDefault dnxhd_defaults[] = {
|
|||||||
|
|
||||||
const FFCodec ff_dnxhd_encoder = {
|
const FFCodec ff_dnxhd_encoder = {
|
||||||
.p.name = "dnxhd",
|
.p.name = "dnxhd",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"),
|
CODEC_LONG_NAME("VC3/DNxHD"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DNXHD,
|
.p.id = AV_CODEC_ID_DNXHD,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS |
|
.p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS |
|
||||||
|
@ -1299,7 +1299,7 @@ static const AVClass dolby_e_decoder_class = {
|
|||||||
|
|
||||||
const FFCodec ff_dolby_e_decoder = {
|
const FFCodec ff_dolby_e_decoder = {
|
||||||
.p.name = "dolby_e",
|
.p.name = "dolby_e",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("Dolby E"),
|
CODEC_LONG_NAME("Dolby E"),
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO,
|
.p.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.p.id = AV_CODEC_ID_DOLBY_E,
|
.p.id = AV_CODEC_ID_DOLBY_E,
|
||||||
.priv_data_size = sizeof(DBEDecodeContext),
|
.priv_data_size = sizeof(DBEDecodeContext),
|
||||||
|
@ -411,7 +411,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
|||||||
#define DPCM_DECODER(id_, name_, long_name_) \
|
#define DPCM_DECODER(id_, name_, long_name_) \
|
||||||
const FFCodec ff_ ## name_ ## _decoder = { \
|
const FFCodec ff_ ## name_ ## _decoder = { \
|
||||||
.p.name = #name_, \
|
.p.name = #name_, \
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
|
CODEC_LONG_NAME(long_name_), \
|
||||||
.p.type = AVMEDIA_TYPE_AUDIO, \
|
.p.type = AVMEDIA_TYPE_AUDIO, \
|
||||||
.p.id = id_, \
|
.p.id = id_, \
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1, \
|
.p.capabilities = AV_CODEC_CAP_DR1, \
|
||||||
|
@ -761,7 +761,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p,
|
|||||||
|
|
||||||
const FFCodec ff_dpx_decoder = {
|
const FFCodec ff_dpx_decoder = {
|
||||||
.p.name = "dpx",
|
.p.name = "dpx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
|
CODEC_LONG_NAME("DPX (Digital Picture Exchange) image"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DPX,
|
.p.id = AV_CODEC_ID_DPX,
|
||||||
FF_CODEC_DECODE_CB(decode_frame),
|
FF_CODEC_DECODE_CB(decode_frame),
|
||||||
|
@ -276,7 +276,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
|
|||||||
|
|
||||||
const FFCodec ff_dpx_encoder = {
|
const FFCodec ff_dpx_encoder = {
|
||||||
.p.name = "dpx",
|
.p.name = "dpx",
|
||||||
.p.long_name = NULL_IF_CONFIG_SMALL("DPX (Digital Picture Exchange) image"),
|
CODEC_LONG_NAME("DPX (Digital Picture Exchange) image"),
|
||||||
.p.type = AVMEDIA_TYPE_VIDEO,
|
.p.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.p.id = AV_CODEC_ID_DPX,
|
.p.id = AV_CODEC_ID_DPX,
|
||||||
.p.capabilities = AV_CODEC_CAP_DR1,
|
.p.capabilities = AV_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