1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.

None of these symbols should be accessed directly, so declare them as
hidden.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69)
This commit is contained in:
Diego Elio Pettenò 2011-01-25 21:40:11 +00:00 committed by Michael Niedermayer
parent 4b21c38180
commit e7e2df27f8
268 changed files with 358 additions and 358 deletions

View File

@ -865,7 +865,7 @@ static av_cold int decode_end(AVCodecContext *avctx){
return 0;
}
AVCodec fourxm_decoder = {
AVCodec ff_fourxm_decoder = {
"4xm",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_4XM,

View File

@ -219,7 +219,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
AVCodec eightbps_decoder = {
AVCodec ff_eightbps_decoder = {
"8bps",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_8BPS,

View File

@ -92,7 +92,7 @@ static av_cold int eightsvx_decode_init(AVCodecContext *avctx)
return 0;
}
AVCodec eightsvx_fib_decoder = {
AVCodec ff_eightsvx_fib_decoder = {
.name = "8svx_fib",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_8SVX_FIB,
@ -102,7 +102,7 @@ AVCodec eightsvx_fib_decoder = {
.long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"),
};
AVCodec eightsvx_exp_decoder = {
AVCodec ff_eightsvx_exp_decoder = {
.name = "8svx_exp",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_8SVX_EXP,

View File

@ -362,7 +362,7 @@ static int a64multi_encode_frame(AVCodecContext *avctx, unsigned char *buf,
return 0;
}
AVCodec a64multi_encoder = {
AVCodec ff_a64multi_encoder = {
.name = "a64multi",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_A64_MULTI,
@ -375,7 +375,7 @@ AVCodec a64multi_encoder = {
.capabilities = CODEC_CAP_DELAY,
};
AVCodec a64multi5_encoder = {
AVCodec ff_a64multi5_encoder = {
.name = "a64multi5",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_A64_MULTI5,

View File

@ -107,7 +107,7 @@ static int aac_adtstoasc_filter(AVBitStreamFilterContext *bsfc,
return 0;
}
AVBitStreamFilter aac_adtstoasc_bsf = {
AVBitStreamFilter ff_aac_adtstoasc_bsf = {
"aac_adtstoasc",
sizeof(AACBSFContext),
aac_adtstoasc_filter,

View File

@ -60,7 +60,7 @@ static av_cold int aac_parse_init(AVCodecParserContext *s1)
}
AVCodecParser aac_parser = {
AVCodecParser ff_aac_parser = {
{ CODEC_ID_AAC },
sizeof(AACAC3ParseContext),
aac_parse_init,

View File

@ -2351,7 +2351,7 @@ av_cold static int latm_decode_init(AVCodecContext *avctx)
}
AVCodec aac_decoder = {
AVCodec ff_aac_decoder = {
"aac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AAC,
@ -2372,7 +2372,7 @@ AVCodec aac_decoder = {
in MPEG transport streams which only contain one program.
To do a more complex LATM demuxing a separate LATM demuxer should be used.
*/
AVCodec aac_latm_decoder = {
AVCodec ff_aac_latm_decoder = {
.name = "aac_latm",
.type = CODEC_TYPE_AUDIO,
.id = CODEC_ID_AAC_LATM,

View File

@ -641,7 +641,7 @@ static av_cold int aac_encode_end(AVCodecContext *avctx)
return 0;
}
AVCodec aac_encoder = {
AVCodec ff_aac_encoder = {
"aac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AAC,

View File

@ -109,7 +109,7 @@ static av_cold int aasc_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec aasc_decoder = {
AVCodec ff_aasc_decoder = {
"aasc",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_AASC,

View File

@ -169,7 +169,7 @@ static av_cold int ac3_parse_init(AVCodecParserContext *s1)
}
AVCodecParser ac3_parser = {
AVCodecParser ff_ac3_parser = {
{ CODEC_ID_AC3, CODEC_ID_EAC3 },
sizeof(AACAC3ParseContext),
ac3_parse_init,

View File

@ -1437,7 +1437,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec ac3_decoder = {
AVCodec ff_ac3_decoder = {
.name = "ac3",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_AC3,
@ -1449,7 +1449,7 @@ AVCodec ac3_decoder = {
};
#if CONFIG_EAC3_DECODER
AVCodec eac3_decoder = {
AVCodec ff_eac3_decoder = {
.name = "eac3",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_EAC3,

View File

@ -425,7 +425,7 @@ int main(void)
#endif /* TEST */
AVCodec ac3_fixed_encoder = {
AVCodec ff_ac3_fixed_encoder = {
"ac3_fixed",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AC3,

View File

@ -109,7 +109,7 @@ static void scale_coefficients(AC3EncodeContext *s)
}
AVCodec ac3_encoder = {
AVCodec ff_ac3_encoder = {
"ac3",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_AC3,

View File

@ -1708,7 +1708,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
#if CONFIG_ENCODERS
#define ADPCM_ENCODER(id,name,long_name_) \
AVCodec name ## _encoder = { \
AVCodec ff_ ## name ## _encoder = { \
#name, \
AVMEDIA_TYPE_AUDIO, \
id, \
@ -1726,7 +1726,7 @@ AVCodec name ## _encoder = { \
#if CONFIG_DECODERS
#define ADPCM_DECODER(id,name,long_name_) \
AVCodec name ## _decoder = { \
AVCodec ff_ ## name ## _decoder = { \
#name, \
AVMEDIA_TYPE_AUDIO, \
id, \

View File

@ -166,7 +166,7 @@ static int adx_decode_frame(AVCodecContext *avctx,
return buf-buf0;
}
AVCodec adpcm_adx_decoder = {
AVCodec ff_adpcm_adx_decoder = {
"adpcm_adx",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ADPCM_ADX,

View File

@ -183,7 +183,7 @@ static int adx_encode_frame(AVCodecContext *avctx,
return dst-frame;
}
AVCodec adpcm_adx_encoder = {
AVCodec ff_adpcm_adx_encoder = {
"adpcm_adx",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ADPCM_ADX,

View File

@ -691,7 +691,7 @@ static av_cold int alac_decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec alac_decoder = {
AVCodec ff_alac_decoder = {
"alac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ALAC,

View File

@ -523,7 +523,7 @@ static av_cold int alac_encode_close(AVCodecContext *avctx)
return 0;
}
AVCodec alac_encoder = {
AVCodec ff_alac_encoder = {
"alac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ALAC,

View File

@ -27,23 +27,23 @@
#include "avcodec.h"
#define REGISTER_HWACCEL(X,x) { \
extern AVHWAccel x##_hwaccel; \
if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&x##_hwaccel); }
extern AVHWAccel ff_##x##_hwaccel; \
if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&ff_##x##_hwaccel); }
#define REGISTER_ENCODER(X,x) { \
extern AVCodec x##_encoder; \
if(CONFIG_##X##_ENCODER) avcodec_register(&x##_encoder); }
extern AVCodec ff_##x##_encoder; \
if(CONFIG_##X##_ENCODER) avcodec_register(&ff_##x##_encoder); }
#define REGISTER_DECODER(X,x) { \
extern AVCodec x##_decoder; \
if(CONFIG_##X##_DECODER) avcodec_register(&x##_decoder); }
extern AVCodec ff_##x##_decoder; \
if(CONFIG_##X##_DECODER) avcodec_register(&ff_##x##_decoder); }
#define REGISTER_ENCDEC(X,x) REGISTER_ENCODER(X,x); REGISTER_DECODER(X,x)
#define REGISTER_PARSER(X,x) { \
extern AVCodecParser x##_parser; \
if(CONFIG_##X##_PARSER) av_register_codec_parser(&x##_parser); }
extern AVCodecParser ff_##x##_parser; \
if(CONFIG_##X##_PARSER) av_register_codec_parser(&ff_##x##_parser); }
#define REGISTER_BSF(X,x) { \
extern AVBitStreamFilter x##_bsf; \
if(CONFIG_##X##_BSF) av_register_bitstream_filter(&x##_bsf); }
extern AVBitStreamFilter ff_##x##_bsf; \
if(CONFIG_##X##_BSF) av_register_bitstream_filter(&ff_##x##_bsf); }
void avcodec_register_all(void)
{

View File

@ -1737,7 +1737,7 @@ static av_cold void flush(AVCodecContext *avctx)
}
AVCodec als_decoder = {
AVCodec ff_als_decoder = {
"als",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_MP4ALS,

View File

@ -1036,7 +1036,7 @@ static int amrnb_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
}
AVCodec amrnb_decoder = {
AVCodec ff_amrnb_decoder = {
.name = "amrnb",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_AMR_NB,

View File

@ -1225,7 +1225,7 @@ static int amrwb_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
return expected_fr_size;
}
AVCodec amrwb_decoder = {
AVCodec ff_amrwb_decoder = {
.name = "amrwb",
.type = CODEC_TYPE_AUDIO,
.id = CODEC_ID_AMR_WB,

View File

@ -183,7 +183,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec anm_decoder = {
AVCodec ff_anm_decoder = {
"anm",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ANM,

View File

@ -422,7 +422,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec ansi_decoder = {
AVCodec ff_ansi_decoder = {
.name = "ansi",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_ANSI,

View File

@ -883,7 +883,7 @@ static void ape_flush(AVCodecContext *avctx)
s->samples= 0;
}
AVCodec ape_decoder = {
AVCodec ff_ape_decoder = {
"ape",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_APE,

View File

@ -52,7 +52,7 @@ static int ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr,
return avpkt->size;
}
AVCodec ass_decoder = {
AVCodec ff_ass_decoder = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,

View File

@ -57,7 +57,7 @@ static int ass_encode_frame(AVCodecContext *avctx,
return total_len;
}
AVCodec ass_encoder = {
AVCodec ff_ass_encoder = {
.name = "ass",
.long_name = NULL_IF_CONFIG_SMALL("Advanced SubStation Alpha subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,

View File

@ -613,7 +613,7 @@ static av_cold int decode_end(AVCodecContext *avctx){
return 0;
}
AVCodec asv1_decoder = {
AVCodec ff_asv1_decoder = {
"asv1",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ASV1,
@ -626,7 +626,7 @@ AVCodec asv1_decoder = {
.long_name= NULL_IF_CONFIG_SMALL("ASUS V1"),
};
AVCodec asv2_decoder = {
AVCodec ff_asv2_decoder = {
"asv2",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ASV2,
@ -640,7 +640,7 @@ AVCodec asv2_decoder = {
};
#if CONFIG_ASV1_ENCODER
AVCodec asv1_encoder = {
AVCodec ff_asv1_encoder = {
"asv1",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ASV1,
@ -654,7 +654,7 @@ AVCodec asv1_encoder = {
#endif
#if CONFIG_ASV2_ENCODER
AVCodec asv2_encoder = {
AVCodec ff_asv2_encoder = {
"asv2",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ASV2,

View File

@ -365,7 +365,7 @@ static av_cold int atrac1_decode_end(AVCodecContext * avctx) {
}
AVCodec atrac1_decoder = {
AVCodec ff_atrac1_decoder = {
.name = "atrac1",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_ATRAC1,

View File

@ -1019,7 +1019,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
}
AVCodec atrac3_decoder =
AVCodec ff_atrac3_decoder =
{
.name = "atrac3",
.type = AVMEDIA_TYPE_AUDIO,

View File

@ -122,7 +122,7 @@ static av_cold int aura_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec aura2_decoder = {
AVCodec ff_aura2_decoder = {
"aura2",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_AURA2,

View File

@ -150,7 +150,7 @@ static av_cold int avs_decode_init(AVCodecContext * avctx)
return 0;
}
AVCodec avs_decoder = {
AVCodec ff_avs_decoder = {
"avs",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_AVS,

View File

@ -130,7 +130,7 @@ static av_cold int bethsoftvid_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec bethsoftvid_decoder = {
AVCodec ff_bethsoftvid_decoder = {
.name = "bethsoftvid",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_BETHSOFTVID,

View File

@ -180,7 +180,7 @@ static av_cold int bfi_decode_close(AVCodecContext * avctx)
return 0;
}
AVCodec bfi_decoder = {
AVCodec ff_bfi_decoder = {
.name = "bfi",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_BFI,

View File

@ -1000,7 +1000,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec bink_decoder = {
AVCodec ff_bink_decoder = {
"binkvideo",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_BINKVIDEO,

View File

@ -286,7 +286,7 @@ static int decode_frame(AVCodecContext *avctx,
return buf_size;
}
AVCodec binkaudio_rdft_decoder = {
AVCodec ff_binkaudio_rdft_decoder = {
"binkaudio_rdft",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_BINKAUDIO_RDFT,
@ -298,7 +298,7 @@ AVCodec binkaudio_rdft_decoder = {
.long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)")
};
AVCodec binkaudio_dct_decoder = {
AVCodec ff_binkaudio_dct_decoder = {
"binkaudio_dct",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_BINKAUDIO_DCT,

View File

@ -335,7 +335,7 @@ static av_cold int bmp_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec bmp_decoder = {
AVCodec ff_bmp_decoder = {
"bmp",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_BMP,

View File

@ -149,7 +149,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_s
return n_bytes;
}
AVCodec bmp_encoder = {
AVCodec ff_bmp_encoder = {
"bmp",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_BMP,

View File

@ -242,7 +242,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
return buf_size;
}
AVCodec c93_decoder = {
AVCodec ff_c93_decoder = {
"c93",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_C93,

View File

@ -97,7 +97,7 @@ static int cavsvideo_parse(AVCodecParserContext *s,
return next;
}
AVCodecParser cavsvideo_parser = {
AVCodecParser ff_cavsvideo_parser = {
{ CODEC_ID_CAVS },
sizeof(ParseContext1),
NULL,

View File

@ -709,7 +709,7 @@ static int cavs_decode_frame(AVCodecContext * avctx,void *data, int *data_size,
}
}
AVCodec cavs_decoder = {
AVCodec ff_cavs_decoder = {
"cavs",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CAVS,

View File

@ -367,7 +367,7 @@ static av_cold int cdg_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec cdgraphics_decoder = {
AVCodec ff_cdgraphics_decoder = {
"cdgraphics",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CDGRAPHICS,

View File

@ -40,7 +40,7 @@ static int chomp_filter(AVBitStreamFilterContext *bsfc,
/**
* This filter removes a string of NULL bytes from the end of a packet.
*/
AVBitStreamFilter chomp_bsf = {
AVBitStreamFilter ff_chomp_bsf = {
"chomp",
0,
chomp_filter,

View File

@ -455,7 +455,7 @@ static av_cold int cinepak_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec cinepak_decoder = {
AVCodec ff_cinepak_decoder = {
"cinepak",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CINEPAK,

View File

@ -140,7 +140,7 @@ static av_cold int encode_init(AVCodecContext *avctx){
}
#endif
AVCodec cljr_decoder = {
AVCodec ff_cljr_decoder = {
"cljr",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CLJR,
@ -154,7 +154,7 @@ AVCodec cljr_decoder = {
};
#if CONFIG_CLJR_ENCODER
AVCodec cljr_encoder = {
AVCodec ff_cljr_encoder = {
"cljr",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CLJR,

View File

@ -1283,7 +1283,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
}
AVCodec cook_decoder =
AVCodec ff_cook_decoder =
{
.name = "cook",
.type = AVMEDIA_TYPE_AUDIO,

View File

@ -254,7 +254,7 @@ static av_cold int decode_end(AVCodecContext *avctx) {
return 0;
}
AVCodec cscd_decoder = {
AVCodec ff_cscd_decoder = {
"camstudio",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CSCD,

View File

@ -178,7 +178,7 @@ static av_cold int cyuv_decode_end(AVCodecContext *avctx)
}
#if CONFIG_AURA_DECODER
AVCodec aura_decoder = {
AVCodec ff_aura_decoder = {
"aura",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_AURA,
@ -194,7 +194,7 @@ AVCodec aura_decoder = {
#endif
#if CONFIG_CYUV_DECODER
AVCodec cyuv_decoder = {
AVCodec ff_cyuv_decoder = {
"cyuv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CYUV,

View File

@ -1875,7 +1875,7 @@ static const AVProfile profiles[] = {
{ FF_PROFILE_UNKNOWN },
};
AVCodec dca_decoder = {
AVCodec ff_dca_decoder = {
.name = "dca",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_DTS,

View File

@ -125,7 +125,7 @@ static int dca_parse(AVCodecParserContext * s,
return next;
}
AVCodecParser dca_parser = {
AVCodecParser ff_dca_parser = {
{CODEC_ID_DTS},
sizeof(DCAParseContext),
dca_parse_init,

View File

@ -247,7 +247,7 @@ static void dirac_parse_close(AVCodecParserContext *s)
av_free(pc->buffer);
}
AVCodecParser dirac_parser = {
AVCodecParser ff_dirac_parser = {
{ CODEC_ID_DIRAC },
sizeof(DiracParseContext),
NULL,

View File

@ -86,7 +86,7 @@ static int dnxhd_parse(AVCodecParserContext *s,
return next;
}
AVCodecParser dnxhd_parser = {
AVCodecParser ff_dnxhd_parser = {
{ CODEC_ID_DNXHD },
sizeof(ParseContext),
NULL,

View File

@ -346,7 +346,7 @@ static av_cold int dnxhd_decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec dnxhd_decoder = {
AVCodec ff_dnxhd_decoder = {
"dnxhd",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DNXHD,

View File

@ -848,7 +848,7 @@ static int dnxhd_encode_end(AVCodecContext *avctx)
return 0;
}
AVCodec dnxhd_encoder = {
AVCodec ff_dnxhd_encoder = {
"dnxhd",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DNXHD,

View File

@ -299,7 +299,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx,
}
#define DPCM_DECODER(id, name, long_name_) \
AVCodec name ## _decoder = { \
AVCodec ff_ ## name ## _decoder = { \
#name, \
AVMEDIA_TYPE_AUDIO, \
id, \

View File

@ -220,7 +220,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec dpx_decoder = {
AVCodec ff_dpx_decoder = {
"dpx",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DPX,

View File

@ -343,7 +343,7 @@ static int cinaudio_decode_frame(AVCodecContext *avctx,
}
AVCodec dsicinvideo_decoder = {
AVCodec ff_dsicinvideo_decoder = {
"dsicinvideo",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DSICINVIDEO,
@ -356,7 +356,7 @@ AVCodec dsicinvideo_decoder = {
.long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
};
AVCodec dsicinaudio_decoder = {
AVCodec ff_dsicinaudio_decoder = {
"dsicinaudio",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_DSICINAUDIO,

View File

@ -43,7 +43,7 @@ static int dump_extradata(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx,
return 0;
}
AVBitStreamFilter dump_extradata_bsf={
AVBitStreamFilter ff_dump_extradata_bsf={
"dump_extra",
0,
dump_extradata,

View File

@ -1290,7 +1290,7 @@ static int dvvideo_close(AVCodecContext *c)
#if CONFIG_DVVIDEO_ENCODER
AVCodec dvvideo_encoder = {
AVCodec ff_dvvideo_encoder = {
"dvvideo",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DVVIDEO,
@ -1303,7 +1303,7 @@ AVCodec dvvideo_encoder = {
#endif // CONFIG_DVVIDEO_ENCODER
#if CONFIG_DVVIDEO_DECODER
AVCodec dvvideo_decoder = {
AVCodec ff_dvvideo_decoder = {
"dvvideo",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DVVIDEO,

View File

@ -402,7 +402,7 @@ static int dvbsub_encode(AVCodecContext *avctx,
return ret;
}
AVCodec dvbsub_encoder = {
AVCodec ff_dvbsub_encoder = {
"dvbsub",
AVMEDIA_TYPE_SUBTITLE,
CODEC_ID_DVB_SUBTITLE,

View File

@ -179,7 +179,7 @@ static av_cold void dvbsub_parse_close(AVCodecParserContext *s)
av_freep(&pc->packet_buf);
}
AVCodecParser dvbsub_parser = {
AVCodecParser ff_dvbsub_parser = {
{ CODEC_ID_DVB_SUBTITLE },
sizeof(DVBSubParseContext),
dvbsub_parse_init,

View File

@ -1479,7 +1479,7 @@ static int dvbsub_decode(AVCodecContext *avctx,
}
AVCodec dvbsub_decoder = {
AVCodec ff_dvbsub_decoder = {
"dvbsub",
AVMEDIA_TYPE_SUBTITLE,
CODEC_ID_DVB_SUBTITLE,

View File

@ -76,7 +76,7 @@ static av_cold void dvdsub_parse_close(AVCodecParserContext *s)
av_freep(&pc->packet);
}
AVCodecParser dvdsub_parser = {
AVCodecParser ff_dvdsub_parser = {
{ CODEC_ID_DVD_SUBTITLE },
sizeof(DVDSubParseContext),
dvdsub_parse_init,

View File

@ -486,7 +486,7 @@ static int dvdsub_decode(AVCodecContext *avctx,
return buf_size;
}
AVCodec dvdsub_decoder = {
AVCodec ff_dvdsub_decoder = {
"dvdsub",
AVMEDIA_TYPE_SUBTITLE,
CODEC_ID_DVD_SUBTITLE,

View File

@ -215,7 +215,7 @@ static int dvdsub_encode(AVCodecContext *avctx,
return ret;
}
AVCodec dvdsub_encoder = {
AVCodec ff_dvdsub_encoder = {
"dvdsub",
AVMEDIA_TYPE_SUBTITLE,
CODEC_ID_DVD_SUBTITLE,

View File

@ -317,7 +317,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec dxa_decoder = {
AVCodec ff_dxa_decoder = {
"dxa",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_DXA,

View File

@ -205,7 +205,7 @@ static av_cold int cmv_decode_end(AVCodecContext *avctx){
return 0;
}
AVCodec eacmv_decoder = {
AVCodec ff_eacmv_decoder = {
"eacmv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_CMV,

View File

@ -306,7 +306,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec eamad_decoder = {
AVCodec ff_eamad_decoder = {
"eamad",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_MAD,

View File

@ -243,7 +243,7 @@ static av_cold int tgq_decode_end(AVCodecContext *avctx){
return 0;
}
AVCodec eatgq_decoder = {
AVCodec ff_eatgq_decoder = {
"eatgq",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_TGQ,

View File

@ -334,7 +334,7 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec eatgv_decoder = {
AVCodec ff_eatgv_decoder = {
"eatgv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_TGV,

View File

@ -154,7 +154,7 @@ static av_cold int tqi_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec eatqi_decoder = {
AVCodec ff_eatqi_decoder = {
"eatqi",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_TQI,

View File

@ -363,7 +363,7 @@ static int escape124_decode_frame(AVCodecContext *avctx,
}
AVCodec escape124_decoder = {
AVCodec ff_escape124_decoder = {
"escape124",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_ESCAPE124,

View File

@ -1786,7 +1786,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
return buf_size;
}
AVCodec ffv1_decoder = {
AVCodec ff_ffv1_decoder = {
"ffv1",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FFV1,
@ -1801,7 +1801,7 @@ AVCodec ffv1_decoder = {
};
#if CONFIG_FFV1_ENCODER
AVCodec ffv1_encoder = {
AVCodec ff_ffv1_encoder = {
"ffv1",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FFV1,

View File

@ -673,7 +673,7 @@ static void flac_parse_close(AVCodecParserContext *c)
av_free(fpc->wrap_buf);
}
AVCodecParser flac_parser = {
AVCodecParser ff_flac_parser = {
{ CODEC_ID_FLAC },
sizeof(FLACParseContext),
flac_parse_init,

View File

@ -653,7 +653,7 @@ static av_cold int flac_decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec flac_decoder = {
AVCodec ff_flac_decoder = {
"flac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_FLAC,

View File

@ -1326,7 +1326,7 @@ static av_cold int flac_encode_close(AVCodecContext *avctx)
}
AVCodec flac_encoder = {
AVCodec ff_flac_encoder = {
"flac",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_FLAC,

View File

@ -250,7 +250,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
}
AVCodec flashsv_decoder = {
AVCodec ff_flashsv_decoder = {
"flashsv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLASHSV,

View File

@ -280,7 +280,7 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx)
return 0;
}
AVCodec flashsv_encoder = {
AVCodec ff_flashsv_encoder = {
"flashsv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLASHSV,

View File

@ -742,7 +742,7 @@ static av_cold int flic_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec flic_decoder = {
AVCodec ff_flic_decoder = {
"flic",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLIC,

View File

@ -118,7 +118,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s)
return 0;
}
AVCodec flv_decoder = {
AVCodec ff_flv_decoder = {
"flv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLV1,

View File

@ -84,7 +84,7 @@ void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, in
}
}
AVCodec flv_encoder = {
AVCodec ff_flv_encoder = {
"flv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FLV1,

View File

@ -355,7 +355,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
}
AVCodec fraps_decoder = {
AVCodec ff_fraps_decoder = {
"fraps",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FRAPS,

View File

@ -109,7 +109,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec frwu_decoder = {
AVCodec ff_frwu_decoder = {
"FRWU",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FRWU,

View File

@ -328,7 +328,7 @@ static int g722_decode_frame(AVCodecContext *avctx, void *data,
return avpkt->size;
}
AVCodec adpcm_g722_decoder = {
AVCodec ff_adpcm_g722_decoder = {
.name = "g722",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_ADPCM_G722,
@ -568,7 +568,7 @@ static int g722_encode_frame(AVCodecContext *avctx,
return i;
}
AVCodec adpcm_g722_encoder = {
AVCodec ff_adpcm_g722_encoder = {
.name = "g722",
.type = AVMEDIA_TYPE_AUDIO,
.id = CODEC_ID_ADPCM_G722,

View File

@ -391,7 +391,7 @@ static int g726_decode_frame(AVCodecContext *avctx,
}
#if CONFIG_ADPCM_G726_ENCODER
AVCodec adpcm_g726_encoder = {
AVCodec ff_adpcm_g726_encoder = {
"g726",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ADPCM_G726,
@ -406,7 +406,7 @@ AVCodec adpcm_g726_encoder = {
};
#endif
AVCodec adpcm_g726_decoder = {
AVCodec ff_adpcm_g726_decoder = {
"g726",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_ADPCM_G726,

View File

@ -312,7 +312,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
return buf_size;
}
AVCodec g729_decoder =
AVCodec ff_g729_decoder =
{
"g729",
AVMEDIA_TYPE_AUDIO,

View File

@ -166,7 +166,7 @@ static int gif_encode_close(AVCodecContext *avctx)
return 0;
}
AVCodec gif_encoder = {
AVCodec ff_gif_encoder = {
"gif",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_GIF,

View File

@ -325,7 +325,7 @@ static av_cold int gif_decode_close(AVCodecContext *avctx)
return 0;
}
AVCodec gif_decoder = {
AVCodec ff_gif_decoder = {
"gif",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_GIF,

View File

@ -84,7 +84,7 @@ static int gsm_decode_frame(AVCodecContext *avctx, void *data,
return avctx->block_align;
}
AVCodec gsm_decoder = {
AVCodec ff_gsm_decoder = {
"gsm",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_GSM,
@ -96,7 +96,7 @@ AVCodec gsm_decoder = {
.long_name = NULL_IF_CONFIG_SMALL("GSM"),
};
AVCodec gsm_ms_decoder = {
AVCodec ff_gsm_ms_decoder = {
"gsm_ms",
AVMEDIA_TYPE_AUDIO,
CODEC_ID_GSM_MS,

View File

@ -81,7 +81,7 @@ static int h261_parse(AVCodecParserContext *s,
return next;
}
AVCodecParser h261_parser = {
AVCodecParser ff_h261_parser = {
{ CODEC_ID_H261 },
sizeof(ParseContext),
NULL,

View File

@ -641,7 +641,7 @@ static av_cold int h261_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec h261_decoder = {
AVCodec ff_h261_decoder = {
"h261",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H261,

View File

@ -321,7 +321,7 @@ static void h261_encode_block(H261Context * h, DCTELEM * block, int n){
}
}
AVCodec h261_encoder = {
AVCodec ff_h261_encoder = {
"h261",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H261,

View File

@ -83,7 +83,7 @@ static int h263_parse(AVCodecParserContext *s,
return next;
}
AVCodecParser h263_parser = {
AVCodecParser ff_h263_parser = {
{ CODEC_ID_H263 },
sizeof(ParseContext),
NULL,

View File

@ -735,7 +735,7 @@ av_log(avctx, AV_LOG_DEBUG, "%"PRId64"\n", rdtsc()-time);
return get_consumed_bytes(s, buf_size);
}
AVCodec h263_decoder = {
AVCodec ff_h263_decoder = {
"h263",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H263,

View File

@ -3360,7 +3360,7 @@ av_cold int ff_h264_decode_end(AVCodecContext *avctx)
}
AVCodec h264_decoder = {
AVCodec ff_h264_decoder = {
"h264",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H264,
@ -3375,7 +3375,7 @@ AVCodec h264_decoder = {
};
#if CONFIG_H264_VDPAU_DECODER
AVCodec h264_vdpau_decoder = {
AVCodec ff_h264_vdpau_decoder = {
"h264_vdpau",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H264,

View File

@ -169,7 +169,7 @@ fail:
return AVERROR(EINVAL);
}
AVBitStreamFilter h264_mp4toannexb_bsf = {
AVBitStreamFilter ff_h264_mp4toannexb_bsf = {
"h264_mp4toannexb",
sizeof(H264BSFContext),
h264_mp4toannexb_filter,

View File

@ -332,7 +332,7 @@ static int init(AVCodecParserContext *s)
return 0;
}
AVCodecParser h264_parser = {
AVCodecParser ff_h264_parser = {
{ CODEC_ID_H264 },
sizeof(H264Context),
init,

View File

@ -1416,7 +1416,7 @@ static av_cold int encode_end(AVCodecContext *avctx)
#endif /* CONFIG_HUFFYUV_ENCODER || CONFIG_FFVHUFF_ENCODER */
#if CONFIG_HUFFYUV_DECODER
AVCodec huffyuv_decoder = {
AVCodec ff_huffyuv_decoder = {
"huffyuv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_HUFFYUV,
@ -1432,7 +1432,7 @@ AVCodec huffyuv_decoder = {
#endif
#if CONFIG_FFVHUFF_DECODER
AVCodec ffvhuff_decoder = {
AVCodec ff_ffvhuff_decoder = {
"ffvhuff",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FFVHUFF,
@ -1448,7 +1448,7 @@ AVCodec ffvhuff_decoder = {
#endif
#if CONFIG_HUFFYUV_ENCODER
AVCodec huffyuv_encoder = {
AVCodec ff_huffyuv_encoder = {
"huffyuv",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_HUFFYUV,
@ -1462,7 +1462,7 @@ AVCodec huffyuv_encoder = {
#endif
#if CONFIG_FFVHUFF_ENCODER
AVCodec ffvhuff_encoder = {
AVCodec ff_ffvhuff_encoder = {
"ffvhuff",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_FFVHUFF,

View File

@ -253,7 +253,7 @@ static av_cold int idcin_decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec idcin_decoder = {
AVCodec ff_idcin_decoder = {
"idcinvideo",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_IDCIN,

View File

@ -367,7 +367,7 @@ static av_cold int decode_end(AVCodecContext *avctx)
return 0;
}
AVCodec iff_ilbm_decoder = {
AVCodec ff_iff_ilbm_decoder = {
"iff_ilbm",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_IFF_ILBM,
@ -380,7 +380,7 @@ AVCodec iff_ilbm_decoder = {
.long_name = NULL_IF_CONFIG_SMALL("IFF ILBM"),
};
AVCodec iff_byterun1_decoder = {
AVCodec ff_iff_byterun1_decoder = {
"iff_byterun1",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_IFF_BYTERUN1,

Some files were not shown because too many files have changed in this diff Show More