Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.5
| @@ -836,6 +836,6 @@ AVCodec fourxm_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| /*CODEC_CAP_DR1,*/ | /*CODEC_CAP_DR1,*/ | ||||
| .long_name = "4X Movie", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("4X Movie"), | |||||
| }; | }; | ||||
| @@ -230,5 +230,5 @@ AVCodec eightbps_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "QuickTime 8BPS video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("QuickTime 8BPS video"), | |||||
| }; | }; | ||||
| @@ -96,7 +96,7 @@ AVCodec eightsvx_fib_decoder = { | |||||
| .priv_data_size = sizeof (EightSvxContext), | .priv_data_size = sizeof (EightSvxContext), | ||||
| .init = eightsvx_decode_init, | .init = eightsvx_decode_init, | ||||
| .decode = eightsvx_decode_frame, | .decode = eightsvx_decode_frame, | ||||
| .long_name = "8SVX fibonacci", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX fibonacci"), | |||||
| }; | }; | ||||
| AVCodec eightsvx_exp_decoder = { | AVCodec eightsvx_exp_decoder = { | ||||
| @@ -106,5 +106,5 @@ AVCodec eightsvx_exp_decoder = { | |||||
| .priv_data_size = sizeof (EightSvxContext), | .priv_data_size = sizeof (EightSvxContext), | ||||
| .init = eightsvx_decode_init, | .init = eightsvx_decode_init, | ||||
| .decode = eightsvx_decode_frame, | .decode = eightsvx_decode_frame, | ||||
| .long_name = "8SVX exponential", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"), | |||||
| }; | }; | ||||
| @@ -171,5 +171,5 @@ AVCodec aasc_decoder = { | |||||
| aasc_decode_end, | aasc_decode_end, | ||||
| aasc_decode_frame, | aasc_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Autodesk RLE", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk RLE"), | |||||
| }; | }; | ||||
| @@ -1198,5 +1198,5 @@ AVCodec ac3_decoder = { | |||||
| .init = ac3_decode_init, | .init = ac3_decode_init, | ||||
| .close = ac3_decode_end, | .close = ac3_decode_end, | ||||
| .decode = ac3_decode_frame, | .decode = ac3_decode_frame, | ||||
| .long_name = "ATSC A/52 / AC-3", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 / AC-3"), | |||||
| }; | }; | ||||
| @@ -1364,5 +1364,5 @@ AVCodec ac3_encoder = { | |||||
| AC3_encode_frame, | AC3_encode_frame, | ||||
| AC3_encode_close, | AC3_encode_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "ATSC A/52 / AC-3", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("ATSC A/52 / AC-3"), | |||||
| }; | }; | ||||
| @@ -1610,7 +1610,7 @@ AVCodec name ## _encoder = { \ | |||||
| adpcm_encode_frame, \ | adpcm_encode_frame, \ | ||||
| adpcm_encode_close, \ | adpcm_encode_close, \ | ||||
| NULL, \ | NULL, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| }; | }; | ||||
| #else | #else | ||||
| #define ADPCM_ENCODER(id,name,long_name_) | #define ADPCM_ENCODER(id,name,long_name_) | ||||
| @@ -1627,7 +1627,7 @@ AVCodec name ## _decoder = { \ | |||||
| NULL, \ | NULL, \ | ||||
| NULL, \ | NULL, \ | ||||
| adpcm_decode_frame, \ | adpcm_decode_frame, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| }; | }; | ||||
| #else | #else | ||||
| #define ADPCM_DECODER(id,name,long_name_) | #define ADPCM_DECODER(id,name,long_name_) | ||||
| @@ -165,6 +165,6 @@ AVCodec adpcm_adx_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| adx_decode_frame, | adx_decode_frame, | ||||
| .long_name = "SEGA CRI ADX", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX"), | |||||
| }; | }; | ||||
| @@ -190,5 +190,5 @@ AVCodec adpcm_adx_encoder = { | |||||
| adx_encode_frame, | adx_encode_frame, | ||||
| adx_encode_close, | adx_encode_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "SEGA CRI ADX", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX"), | |||||
| }; | }; | ||||
| @@ -620,5 +620,5 @@ AVCodec alac_decoder = { | |||||
| NULL, | NULL, | ||||
| alac_decode_close, | alac_decode_close, | ||||
| alac_decode_frame, | alac_decode_frame, | ||||
| .long_name = "ALAC (Apple Lossless Audio Codec)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("ALAC (Apple Lossless Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -917,5 +917,5 @@ AVCodec ape_decoder = { | |||||
| NULL, | NULL, | ||||
| ape_decode_close, | ape_decode_close, | ||||
| ape_decode_frame, | ape_decode_frame, | ||||
| .long_name = "Monkey's Audio", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Monkey's Audio"), | |||||
| }; | }; | ||||
| @@ -615,7 +615,7 @@ AVCodec asv1_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name= "ASUS V1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"), | |||||
| }; | }; | ||||
| AVCodec asv2_decoder = { | AVCodec asv2_decoder = { | ||||
| @@ -628,7 +628,7 @@ AVCodec asv2_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name= "ASUS V2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"), | |||||
| }; | }; | ||||
| #ifdef CONFIG_ENCODERS | #ifdef CONFIG_ENCODERS | ||||
| @@ -642,7 +642,7 @@ AVCodec asv1_encoder = { | |||||
| encode_frame, | encode_frame, | ||||
| //encode_end, | //encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "ASUS V1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("ASUS V1"), | |||||
| }; | }; | ||||
| AVCodec asv2_encoder = { | AVCodec asv2_encoder = { | ||||
| @@ -654,7 +654,7 @@ AVCodec asv2_encoder = { | |||||
| encode_frame, | encode_frame, | ||||
| //encode_end, | //encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "ASUS V2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"), | |||||
| }; | }; | ||||
| #endif //CONFIG_ENCODERS | #endif //CONFIG_ENCODERS | ||||
| @@ -1071,5 +1071,5 @@ AVCodec atrac3_decoder = | |||||
| .init = atrac3_decode_init, | .init = atrac3_decode_init, | ||||
| .close = atrac3_decode_close, | .close = atrac3_decode_close, | ||||
| .decode = atrac3_decode_frame, | .decode = atrac3_decode_frame, | ||||
| .long_name = "Atrac 3 (Adaptive TRansform Acoustic Coding 3)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Atrac 3 (Adaptive TRansform Acoustic Coding 3)"), | |||||
| }; | }; | ||||
| @@ -2245,7 +2245,11 @@ typedef struct AVCodec { | |||||
| void (*flush)(AVCodecContext *); | void (*flush)(AVCodecContext *); | ||||
| const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0} | const AVRational *supported_framerates; ///< array of supported framerates, or NULL if any, array is terminated by {0,0} | ||||
| const enum PixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1 | const enum PixelFormat *pix_fmts; ///< array of supported pixel formats, or NULL if unknown, array is terminated by -1 | ||||
| const char *long_name; ///< descriptive name for the codec, meant to be more human readable than \p name | |||||
| /** | |||||
| * Descriptive name for the codec, meant to be more human readable than \p name. | |||||
| * You \e should use the NULL_IF_CONFIG_SMALL() macro to define it. | |||||
| */ | |||||
| const char *long_name; | |||||
| const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 | const int *supported_samplerates; ///< array of supported audio samplerates, or NULL if unknown, array is terminated by 0 | ||||
| } AVCodec; | } AVCodec; | ||||
| @@ -158,5 +158,5 @@ AVCodec avs_decoder = { | |||||
| NULL, | NULL, | ||||
| avs_decode_frame, | avs_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "AVS (Audio Video Standard) video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"), | |||||
| }; | }; | ||||
| @@ -136,5 +136,5 @@ AVCodec bethsoftvid_decoder = { | |||||
| .init = bethsoftvid_decode_init, | .init = bethsoftvid_decode_init, | ||||
| .close = bethsoftvid_decode_end, | .close = bethsoftvid_decode_end, | ||||
| .decode = bethsoftvid_decode_frame, | .decode = bethsoftvid_decode_frame, | ||||
| .long_name = "Bethesda VID video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Bethesda VID video"), | |||||
| }; | }; | ||||
| @@ -178,5 +178,5 @@ AVCodec bfi_decoder = { | |||||
| .init = bfi_decode_init, | .init = bfi_decode_init, | ||||
| .close = bfi_decode_close, | .close = bfi_decode_close, | ||||
| .decode = bfi_decode_frame, | .decode = bfi_decode_frame, | ||||
| .long_name = "Brute Force & Ignorance", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Brute Force & Ignorance"), | |||||
| }; | }; | ||||
| @@ -258,5 +258,5 @@ AVCodec bmp_decoder = { | |||||
| NULL, | NULL, | ||||
| bmp_decode_end, | bmp_decode_end, | ||||
| bmp_decode_frame, | bmp_decode_frame, | ||||
| .long_name = "BMP image", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP image"), | |||||
| }; | }; | ||||
| @@ -95,5 +95,5 @@ AVCodec bmp_encoder = { | |||||
| bmp_encode_frame, | bmp_encode_frame, | ||||
| NULL, //encode_end, | NULL, //encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | ||||
| .long_name = "BMP image", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("BMP image"), | |||||
| }; | }; | ||||
| @@ -250,5 +250,5 @@ AVCodec c93_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Interplay C93", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"), | |||||
| }; | }; | ||||
| @@ -699,5 +699,5 @@ AVCodec cavs_decoder = { | |||||
| cavs_decode_frame, | cavs_decode_frame, | ||||
| CODEC_CAP_DR1 | CODEC_CAP_DELAY, | CODEC_CAP_DR1 | CODEC_CAP_DELAY, | ||||
| .flush= cavs_flush, | .flush= cavs_flush, | ||||
| .long_name= "Chinese AVS video (AVS1-P2, JiZhun profile)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Chinese AVS video (AVS1-P2, JiZhun profile)"), | |||||
| }; | }; | ||||
| @@ -463,5 +463,5 @@ AVCodec cinepak_decoder = { | |||||
| cinepak_decode_end, | cinepak_decode_end, | ||||
| cinepak_decode_frame, | cinepak_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Cinepak", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Cinepak"), | |||||
| }; | }; | ||||
| @@ -140,7 +140,7 @@ AVCodec cljr_decoder = { | |||||
| NULL, | NULL, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Cirrus Logic AccuPak", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| }; | }; | ||||
| #if 0 | #if 0 | ||||
| #ifdef CONFIG_ENCODERS | #ifdef CONFIG_ENCODERS | ||||
| @@ -153,7 +153,7 @@ AVCodec cljr_encoder = { | |||||
| encode_init, | encode_init, | ||||
| encode_frame, | encode_frame, | ||||
| //encode_end, | //encode_end, | ||||
| .long_name = "Cirrus Logic AccuPak", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Cirrus Logic AccuPak"), | |||||
| }; | }; | ||||
| #endif //CONFIG_ENCODERS | #endif //CONFIG_ENCODERS | ||||
| @@ -1195,5 +1195,5 @@ AVCodec cook_decoder = | |||||
| .init = cook_decode_init, | .init = cook_decode_init, | ||||
| .close = cook_decode_close, | .close = cook_decode_close, | ||||
| .decode = cook_decode_frame, | .decode = cook_decode_frame, | ||||
| .long_name = "COOK", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("COOK"), | |||||
| }; | }; | ||||
| @@ -258,6 +258,6 @@ AVCodec cscd_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "CamStudio", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("CamStudio"), | |||||
| }; | }; | ||||
| @@ -181,6 +181,6 @@ AVCodec cyuv_decoder = { | |||||
| cyuv_decode_frame, | cyuv_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| NULL, | NULL, | ||||
| .long_name = "Creative YUV (CYUV)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), | |||||
| }; | }; | ||||
| @@ -1264,5 +1264,5 @@ AVCodec dca_decoder = { | |||||
| .priv_data_size = sizeof(DCAContext), | .priv_data_size = sizeof(DCAContext), | ||||
| .init = dca_decode_init, | .init = dca_decode_init, | ||||
| .decode = dca_decode_frame, | .decode = dca_decode_frame, | ||||
| .long_name = "DCA (DTS Coherent Acoustics)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), | |||||
| }; | }; | ||||
| @@ -342,5 +342,5 @@ AVCodec dnxhd_decoder = { | |||||
| dnxhd_decode_close, | dnxhd_decode_close, | ||||
| dnxhd_decode_frame, | dnxhd_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "VC3/DNxHD", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| }; | }; | ||||
| @@ -857,5 +857,5 @@ AVCodec dnxhd_encoder = { | |||||
| dnxhd_encode_picture, | dnxhd_encode_picture, | ||||
| dnxhd_encode_end, | dnxhd_encode_end, | ||||
| .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_NONE}, | .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_NONE}, | ||||
| .long_name = "VC3/DNxHD", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("VC3/DNxHD"), | |||||
| }; | }; | ||||
| @@ -304,7 +304,7 @@ AVCodec name ## _decoder = { \ | |||||
| NULL, \ | NULL, \ | ||||
| NULL, \ | NULL, \ | ||||
| dpcm_decode_frame, \ | dpcm_decode_frame, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| }; | }; | ||||
| DPCM_DECODER(CODEC_ID_INTERPLAY_DPCM, interplay_dpcm, "Interplay DPCM"); | DPCM_DECODER(CODEC_ID_INTERPLAY_DPCM, interplay_dpcm, "Interplay DPCM"); | ||||
| @@ -348,7 +348,7 @@ AVCodec dsicinvideo_decoder = { | |||||
| cinvideo_decode_end, | cinvideo_decode_end, | ||||
| cinvideo_decode_frame, | cinvideo_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Delphine Software International CIN video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"), | |||||
| }; | }; | ||||
| AVCodec dsicinaudio_decoder = { | AVCodec dsicinaudio_decoder = { | ||||
| @@ -360,5 +360,5 @@ AVCodec dsicinaudio_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| cinaudio_decode_frame, | cinaudio_decode_frame, | ||||
| .long_name = "Delphine Software International CIN audio", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"), | |||||
| }; | }; | ||||
| @@ -1236,7 +1236,7 @@ AVCodec dvvideo_encoder = { | |||||
| dvvideo_init, | dvvideo_init, | ||||
| dvvideo_encode_frame, | dvvideo_encode_frame, | ||||
| .pix_fmts = (enum PixelFormat[]) {PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts = (enum PixelFormat[]) {PIX_FMT_YUV411P, PIX_FMT_YUV422P, PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name = "DV (Digital Video)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| }; | }; | ||||
| #endif // CONFIG_DVVIDEO_ENCODER | #endif // CONFIG_DVVIDEO_ENCODER | ||||
| @@ -1252,6 +1252,6 @@ AVCodec dvvideo_decoder = { | |||||
| dvvideo_decode_frame, | dvvideo_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| NULL, | NULL, | ||||
| .long_name = "DV (Digital Video)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DV (Digital Video)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -408,5 +408,5 @@ AVCodec dvbsub_encoder = { | |||||
| sizeof(DVBSubtitleContext), | sizeof(DVBSubtitleContext), | ||||
| NULL, | NULL, | ||||
| dvbsub_encode, | dvbsub_encode, | ||||
| .long_name = "DVB subtitles", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| }; | }; | ||||
| @@ -1430,5 +1430,5 @@ AVCodec dvbsub_decoder = { | |||||
| NULL, | NULL, | ||||
| dvbsub_close_decoder, | dvbsub_close_decoder, | ||||
| dvbsub_decode, | dvbsub_decode, | ||||
| .long_name = "DVB subtitles", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DVB subtitles"), | |||||
| }; | }; | ||||
| @@ -506,5 +506,5 @@ AVCodec dvdsub_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| dvdsub_decode, | dvdsub_decode, | ||||
| .long_name = "DVD subtitles", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| }; | }; | ||||
| @@ -222,5 +222,5 @@ AVCodec dvdsub_encoder = { | |||||
| 0, | 0, | ||||
| NULL, | NULL, | ||||
| dvdsub_encode, | dvdsub_encode, | ||||
| .long_name = "DVD subtitles", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("DVD subtitles"), | |||||
| }; | }; | ||||
| @@ -327,6 +327,6 @@ AVCodec dxa_decoder = { | |||||
| NULL, | NULL, | ||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| .long_name = "Feeble Files/ScummVM DXA", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"), | |||||
| }; | }; | ||||
| @@ -380,6 +380,6 @@ AVCodec escape124_decoder = { | |||||
| escape124_decode_close, | escape124_decode_close, | ||||
| escape124_decode_frame, | escape124_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Escape 124", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Escape 124"), | |||||
| }; | }; | ||||
| @@ -1026,7 +1026,7 @@ AVCodec ffv1_decoder = { | |||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, | CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/, | ||||
| NULL, | NULL, | ||||
| .long_name= "FFmpeg codec #1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("FFmpeg codec #1"), | |||||
| }; | }; | ||||
| #ifdef CONFIG_ENCODERS | #ifdef CONFIG_ENCODERS | ||||
| @@ -1039,6 +1039,6 @@ AVCodec ffv1_encoder = { | |||||
| encode_frame, | encode_frame, | ||||
| common_end, | common_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV444P, PIX_FMT_YUV422P, PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_RGB32, PIX_FMT_NONE}, | ||||
| .long_name= "FFmpeg codec #1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("FFmpeg codec #1"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -774,5 +774,5 @@ AVCodec flac_decoder = { | |||||
| flac_decode_close, | flac_decode_close, | ||||
| flac_decode_frame, | flac_decode_frame, | ||||
| .flush= flac_flush, | .flush= flac_flush, | ||||
| .long_name= "FLAC (Free Lossless Audio Codec)" | |||||
| .long_name= NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -1492,5 +1492,5 @@ AVCodec flac_encoder = { | |||||
| flac_encode_close, | flac_encode_close, | ||||
| NULL, | NULL, | ||||
| .capabilities = CODEC_CAP_SMALL_LAST_FRAME, | .capabilities = CODEC_CAP_SMALL_LAST_FRAME, | ||||
| .long_name = "FLAC (Free Lossless Audio Codec)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("FLAC (Free Lossless Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -255,5 +255,5 @@ AVCodec flashsv_decoder = { | |||||
| flashsv_decode_frame, | flashsv_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | ||||
| .long_name = "Flash Screen Video v1", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), | |||||
| }; | }; | ||||
| @@ -293,6 +293,6 @@ AVCodec flashsv_encoder = { | |||||
| flashsv_encode_frame, | flashsv_encode_frame, | ||||
| flashsv_encode_end, | flashsv_encode_end, | ||||
| .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, | ||||
| .long_name = "Flash Screen Video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), | |||||
| }; | }; | ||||
| @@ -750,5 +750,5 @@ AVCodec flic_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| .long_name = "Autodesk Animator Flic video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Autodesk Animator Flic video"), | |||||
| }; | }; | ||||
| @@ -365,5 +365,5 @@ AVCodec fraps_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Fraps", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Fraps"), | |||||
| }; | }; | ||||
| @@ -413,7 +413,7 @@ AVCodec adpcm_g726_encoder = { | |||||
| g726_encode_frame, | g726_encode_frame, | ||||
| g726_close, | g726_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "G.726 ADPCM", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), | |||||
| }; | }; | ||||
| #endif //CONFIG_ENCODERS | #endif //CONFIG_ENCODERS | ||||
| @@ -426,5 +426,5 @@ AVCodec adpcm_g726_decoder = { | |||||
| NULL, | NULL, | ||||
| g726_close, | g726_close, | ||||
| g726_decode_frame, | g726_decode_frame, | ||||
| .long_name = "G.726 ADPCM", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), | |||||
| }; | }; | ||||
| @@ -341,5 +341,5 @@ AVCodec gif_encoder = { | |||||
| gif_encode_frame, | gif_encode_frame, | ||||
| NULL, //encode_end, | NULL, //encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, PIX_FMT_NONE}, | ||||
| .long_name= "GIF (Graphics Interchange Format)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| }; | }; | ||||
| @@ -333,5 +333,5 @@ AVCodec gif_decoder = { | |||||
| NULL, | NULL, | ||||
| gif_decode_close, | gif_decode_close, | ||||
| gif_decode_frame, | gif_decode_frame, | ||||
| .long_name = "GIF (Graphics Interchange Format)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), | |||||
| }; | }; | ||||
| @@ -647,5 +647,5 @@ AVCodec h261_decoder = { | |||||
| h261_decode_end, | h261_decode_end, | ||||
| h261_decode_frame, | h261_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "H.261", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("H.261"), | |||||
| }; | }; | ||||
| @@ -330,6 +330,6 @@ AVCodec h261_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "H.261", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("H.261"), | |||||
| }; | }; | ||||
| @@ -723,7 +723,7 @@ AVCodec mpeg4_decoder = { | |||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name= "MPEG-4 part 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), | |||||
| }; | }; | ||||
| AVCodec h263_decoder = { | AVCodec h263_decoder = { | ||||
| @@ -737,7 +737,7 @@ AVCodec h263_decoder = { | |||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name="H.263", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("H.263"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v1_decoder = { | AVCodec msmpeg4v1_decoder = { | ||||
| @@ -750,7 +750,7 @@ AVCodec msmpeg4v1_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name="MPEG-4 part 2 Microsoft variant version 1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v2_decoder = { | AVCodec msmpeg4v2_decoder = { | ||||
| @@ -763,7 +763,7 @@ AVCodec msmpeg4v2_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name="MPEG-4 part 2 Microsoft variant version 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v3_decoder = { | AVCodec msmpeg4v3_decoder = { | ||||
| @@ -776,7 +776,7 @@ AVCodec msmpeg4v3_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name="MPEG-4 part 2 Microsoft variant version 3", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"), | |||||
| }; | }; | ||||
| AVCodec wmv1_decoder = { | AVCodec wmv1_decoder = { | ||||
| @@ -789,7 +789,7 @@ AVCodec wmv1_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name= "Windows Media Video 7", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 7"), | |||||
| }; | }; | ||||
| AVCodec h263i_decoder = { | AVCodec h263i_decoder = { | ||||
| @@ -802,7 +802,7 @@ AVCodec h263i_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name = "H.263i", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("H.263i"), | |||||
| }; | }; | ||||
| AVCodec flv_decoder = { | AVCodec flv_decoder = { | ||||
| @@ -815,5 +815,5 @@ AVCodec flv_decoder = { | |||||
| ff_h263_decode_end, | ff_h263_decode_end, | ||||
| ff_h263_decode_frame, | ff_h263_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | ||||
| .long_name= "Flash Video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Flash Video"), | |||||
| }; | }; | ||||
| @@ -8100,7 +8100,7 @@ AVCodec h264_decoder = { | |||||
| decode_frame, | decode_frame, | ||||
| /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= flush_dpb, | .flush= flush_dpb, | ||||
| .long_name = "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), | |||||
| }; | }; | ||||
| #include "svq3.c" | #include "svq3.c" | ||||
| @@ -1445,7 +1445,7 @@ AVCodec huffyuv_decoder = { | |||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, | CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, | ||||
| NULL, | NULL, | ||||
| .long_name = "Huffyuv / HuffYUV", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), | |||||
| }; | }; | ||||
| AVCodec ffvhuff_decoder = { | AVCodec ffvhuff_decoder = { | ||||
| @@ -1459,7 +1459,7 @@ AVCodec ffvhuff_decoder = { | |||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, | CODEC_CAP_DR1 | CODEC_CAP_DRAW_HORIZ_BAND, | ||||
| NULL, | NULL, | ||||
| .long_name = "Huffyuv FFmpeg variant", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -1474,7 +1474,7 @@ AVCodec huffyuv_encoder = { | |||||
| encode_frame, | encode_frame, | ||||
| encode_end, | encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE}, | ||||
| .long_name = "Huffyuv / HuffYUV", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv / HuffYUV"), | |||||
| }; | }; | ||||
| AVCodec ffvhuff_encoder = { | AVCodec ffvhuff_encoder = { | ||||
| @@ -1486,7 +1486,7 @@ AVCodec ffvhuff_encoder = { | |||||
| encode_frame, | encode_frame, | ||||
| encode_end, | encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_RGB32, PIX_FMT_NONE}, | ||||
| .long_name = "Huffyuv FFmpeg variant", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Huffyuv FFmpeg variant"), | |||||
| }; | }; | ||||
| #endif //CONFIG_ENCODERS | #endif //CONFIG_ENCODERS | ||||
| @@ -262,6 +262,6 @@ AVCodec idcin_decoder = { | |||||
| idcin_decode_end, | idcin_decode_end, | ||||
| idcin_decode_frame, | idcin_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "id Quake II CIN video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("id Quake II CIN video"), | |||||
| }; | }; | ||||
| @@ -813,5 +813,5 @@ AVCodec imc_decoder = { | |||||
| .init = imc_decode_init, | .init = imc_decode_init, | ||||
| .close = imc_decode_close, | .close = imc_decode_close, | ||||
| .decode = imc_decode_frame, | .decode = imc_decode_frame, | ||||
| .long_name = "IMC (Intel Music Coder)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("IMC (Intel Music Coder)"), | |||||
| }; | }; | ||||
| @@ -219,5 +219,5 @@ AVCodec indeo2_decoder = { | |||||
| NULL, | NULL, | ||||
| ir2_decode_frame, | ir2_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Intel Indeo 2", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"), | |||||
| }; | }; | ||||
| @@ -1135,5 +1135,5 @@ AVCodec indeo3_decoder = { | |||||
| indeo3_decode_frame, | indeo3_decode_frame, | ||||
| 0, | 0, | ||||
| NULL, | NULL, | ||||
| .long_name = "Intel Indeo 3", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 3"), | |||||
| }; | }; | ||||
| @@ -942,5 +942,5 @@ AVCodec interplay_video_decoder = { | |||||
| ipvideo_decode_end, | ipvideo_decode_end, | ||||
| ipvideo_decode_frame, | ipvideo_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Interplay MVE Video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Interplay MVE Video"), | |||||
| }; | }; | ||||
| @@ -372,5 +372,5 @@ AVCodec jpegls_decoder = { | |||||
| ff_mjpeg_decode_end, | ff_mjpeg_decode_end, | ||||
| ff_mjpeg_decode_frame, | ff_mjpeg_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "JPEG-LS", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("JPEG-LS"), | |||||
| }; | }; | ||||
| @@ -390,5 +390,5 @@ AVCodec jpegls_encoder = { //FIXME avoid MPV_* lossless JPEG should not need the | |||||
| encode_picture_ls, | encode_picture_ls, | ||||
| NULL, | NULL, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_RGB24, PIX_FMT_GRAY8, PIX_FMT_GRAY16, PIX_FMT_NONE}, | ||||
| .long_name= "JPEG-LS", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("JPEG-LS"), | |||||
| }; | }; | ||||
| @@ -411,5 +411,5 @@ AVCodec kmvc_decoder = { | |||||
| NULL, | NULL, | ||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| .long_name = "Karl Morton's video codec", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Karl Morton's video codec"), | |||||
| }; | }; | ||||
| @@ -697,7 +697,7 @@ AVCodec mszh_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name ="LCL (LossLess Codec Library) MSZH", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) MSZH"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -712,6 +712,6 @@ AVCodec zlib_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name ="LCL (LossLess Codec Library) ZLIB", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -228,5 +228,5 @@ AVCodec zlib_encoder = { | |||||
| encode_init, | encode_init, | ||||
| encode_frame, | encode_frame, | ||||
| encode_end, | encode_end, | ||||
| .long_name = "LCL (LossLess Codec Library) ZLIB", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("LCL (LossLess Codec Library) ZLIB"), | |||||
| }; | }; | ||||
| @@ -222,5 +222,5 @@ AVCodec liba52_decoder = { | |||||
| NULL, | NULL, | ||||
| a52_decode_end, | a52_decode_end, | ||||
| a52_decode_frame, | a52_decode_frame, | ||||
| .long_name = "liba52 ATSC A/52 / AC-3", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("liba52 ATSC A/52 / AC-3"), | |||||
| }; | }; | ||||
| @@ -503,7 +503,7 @@ AVCodec libamr_nb_decoder = | |||||
| NULL, | NULL, | ||||
| amr_nb_decode_close, | amr_nb_decode_close, | ||||
| amr_nb_decode_frame, | amr_nb_decode_frame, | ||||
| .long_name = "libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band"), | |||||
| }; | }; | ||||
| AVCodec libamr_nb_encoder = | AVCodec libamr_nb_encoder = | ||||
| @@ -516,7 +516,7 @@ AVCodec libamr_nb_encoder = | |||||
| amr_nb_encode_frame, | amr_nb_encode_frame, | ||||
| amr_nb_encode_close, | amr_nb_encode_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libamr-nb Adaptive Multi-Rate (AMR) Narrow-Band"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -697,7 +697,7 @@ AVCodec libamr_wb_decoder = | |||||
| NULL, | NULL, | ||||
| amr_wb_decode_close, | amr_wb_decode_close, | ||||
| amr_wb_decode_frame, | amr_wb_decode_frame, | ||||
| .long_name = "libamr-wb Adaptive Multi-Rate (AMR) Wide-Band", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libamr-wb Adaptive Multi-Rate (AMR) Wide-Band"), | |||||
| }; | }; | ||||
| AVCodec libamr_wb_encoder = | AVCodec libamr_wb_encoder = | ||||
| @@ -710,7 +710,7 @@ AVCodec libamr_wb_encoder = | |||||
| amr_wb_encode_frame, | amr_wb_encode_frame, | ||||
| amr_wb_encode_close, | amr_wb_encode_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "libamr-wb Adaptive Multi-Rate (AMR) Wide-Band", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libamr-wb Adaptive Multi-Rate (AMR) Wide-Band"), | |||||
| }; | }; | ||||
| #endif //CONFIG_LIBAMR_WB | #endif //CONFIG_LIBAMR_WB | ||||
| @@ -205,5 +205,5 @@ AVCodec libdirac_decoder = { | |||||
| libdirac_decode_frame, | libdirac_decode_frame, | ||||
| CODEC_CAP_DELAY, | CODEC_CAP_DELAY, | ||||
| .flush = libdirac_flush, | .flush = libdirac_flush, | ||||
| .long_name = "libdirac Dirac 2.2", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), | |||||
| } ; | } ; | ||||
| @@ -370,5 +370,5 @@ AVCodec libdirac_encoder = { | |||||
| libdirac_encode_close, | libdirac_encode_close, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, -1}, | ||||
| .long_name= "libdirac Dirac 2.2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("libdirac Dirac 2.2"), | |||||
| } ; | } ; | ||||
| @@ -151,5 +151,5 @@ AVCodec libfaac_encoder = { | |||||
| Faac_encode_init, | Faac_encode_init, | ||||
| Faac_encode_frame, | Faac_encode_frame, | ||||
| Faac_encode_close, | Faac_encode_close, | ||||
| .long_name = "libfaac AAC (Advanced Audio Codec)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libfaac AAC (Advanced Audio Codec)"), | |||||
| }; | }; | ||||
| @@ -325,7 +325,7 @@ AVCodec name ## _decoder = { \ | |||||
| NULL, \ | NULL, \ | ||||
| faac_decode_end, \ | faac_decode_end, \ | ||||
| faac_decode_frame, \ | faac_decode_frame, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| } | } | ||||
| // FIXME - raw AAC files - maybe just one entry will be enough | // FIXME - raw AAC files - maybe just one entry will be enough | ||||
| @@ -117,7 +117,7 @@ AVCodec libgsm_encoder = { | |||||
| libgsm_init, | libgsm_init, | ||||
| libgsm_encode_frame, | libgsm_encode_frame, | ||||
| libgsm_close, | libgsm_close, | ||||
| .long_name = "libgsm GSM", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), | |||||
| }; | }; | ||||
| AVCodec libgsm_ms_encoder = { | AVCodec libgsm_ms_encoder = { | ||||
| @@ -128,7 +128,7 @@ AVCodec libgsm_ms_encoder = { | |||||
| libgsm_init, | libgsm_init, | ||||
| libgsm_encode_frame, | libgsm_encode_frame, | ||||
| libgsm_close, | libgsm_close, | ||||
| .long_name = "libgsm GSM Microsoft variant", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"), | |||||
| }; | }; | ||||
| static int libgsm_decode_frame(AVCodecContext *avctx, | static int libgsm_decode_frame(AVCodecContext *avctx, | ||||
| @@ -158,7 +158,7 @@ AVCodec libgsm_decoder = { | |||||
| NULL, | NULL, | ||||
| libgsm_close, | libgsm_close, | ||||
| libgsm_decode_frame, | libgsm_decode_frame, | ||||
| .long_name = "libgsm GSM", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM"), | |||||
| }; | }; | ||||
| AVCodec libgsm_ms_decoder = { | AVCodec libgsm_ms_decoder = { | ||||
| @@ -170,5 +170,5 @@ AVCodec libgsm_ms_decoder = { | |||||
| NULL, | NULL, | ||||
| libgsm_close, | libgsm_close, | ||||
| libgsm_decode_frame, | libgsm_decode_frame, | ||||
| .long_name = "libgsm GSM Microsoft variant", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libgsm GSM Microsoft variant"), | |||||
| }; | }; | ||||
| @@ -218,5 +218,5 @@ AVCodec libmp3lame_encoder = { | |||||
| MP3lame_encode_frame, | MP3lame_encode_frame, | ||||
| MP3lame_encode_close, | MP3lame_encode_close, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .long_name= "libmp3lame MP3 (MPEG audio layer 3)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("libmp3lame MP3 (MPEG audio layer 3)"), | |||||
| }; | }; | ||||
| @@ -305,5 +305,5 @@ AVCodec libschroedinger_decoder = { | |||||
| libschroedinger_decode_frame, | libschroedinger_decode_frame, | ||||
| CODEC_CAP_DELAY, | CODEC_CAP_DELAY, | ||||
| .flush = libschroedinger_flush, | .flush = libschroedinger_flush, | ||||
| .long_name = "libschroedinger Dirac 2.2", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"), | |||||
| }; | }; | ||||
| @@ -384,5 +384,5 @@ AVCodec libschroedinger_encoder = { | |||||
| libschroedinger_encode_close, | libschroedinger_encode_close, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_NONE}, | ||||
| .long_name= "libschroedinger Dirac 2.2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("libschroedinger Dirac 2.2"), | |||||
| }; | }; | ||||
| @@ -277,5 +277,5 @@ AVCodec libtheora_encoder = | |||||
| .close = encode_close, | .close = encode_close, | ||||
| .encode = encode_frame, | .encode = encode_frame, | ||||
| .pix_fmts = supported_pixel_formats, | .pix_fmts = supported_pixel_formats, | ||||
| .long_name = "libtheora Theora", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libtheora Theora"), | |||||
| }; | }; | ||||
| @@ -217,5 +217,5 @@ AVCodec libvorbis_encoder = { | |||||
| oggvorbis_encode_frame, | oggvorbis_encode_frame, | ||||
| oggvorbis_encode_close, | oggvorbis_encode_close, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .long_name= "libvorbis Vorbis", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("libvorbis Vorbis"), | |||||
| } ; | } ; | ||||
| @@ -301,5 +301,5 @@ AVCodec libx264_encoder = { | |||||
| .close = X264_close, | .close = X264_close, | ||||
| .capabilities = CODEC_CAP_DELAY, | .capabilities = CODEC_CAP_DELAY, | ||||
| .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, PIX_FMT_NONE }, | .pix_fmts = (enum PixelFormat[]) { PIX_FMT_YUV420P, PIX_FMT_NONE }, | ||||
| .long_name = "libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10"), | |||||
| }; | }; | ||||
| @@ -778,5 +778,5 @@ AVCodec libxvid_encoder = { | |||||
| ff_xvid_encode_frame, | ff_xvid_encode_frame, | ||||
| ff_xvid_encode_close, | ff_xvid_encode_close, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "libxvidcore MPEG-4 part 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("libxvidcore MPEG-4 part 2"), | |||||
| }; | }; | ||||
| @@ -194,5 +194,5 @@ AVCodec ljpeg_encoder = { //FIXME avoid MPV_* lossless JPEG should not need them | |||||
| MPV_encode_init, | MPV_encode_init, | ||||
| encode_picture_lossless, | encode_picture_lossless, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .long_name = "Lossless JPEG", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Lossless JPEG"), | |||||
| }; | }; | ||||
| @@ -282,5 +282,5 @@ AVCodec loco_decoder = { | |||||
| NULL, | NULL, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "LOCO", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("LOCO"), | |||||
| }; | }; | ||||
| @@ -437,7 +437,7 @@ AVCodec mace3_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| mace_decode_frame, | mace_decode_frame, | ||||
| .long_name = "MACE (Macintosh Audio Compression/Expansion) 3:1", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 3:1"), | |||||
| }; | }; | ||||
| AVCodec mace6_decoder = { | AVCodec mace6_decoder = { | ||||
| @@ -449,6 +449,6 @@ AVCodec mace6_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| mace_decode_frame, | mace_decode_frame, | ||||
| .long_name = "MACE (Macintosh Audio Compression/Expansion) 6:1", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("MACE (Macintosh Audio Compression/Expansion) 6:1"), | |||||
| }; | }; | ||||
| @@ -267,6 +267,6 @@ AVCodec mdec_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name="Sony PlayStation MDEC (Motion DECoder)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Sony PlayStation MDEC (Motion DECoder)"), | |||||
| }; | }; | ||||
| @@ -386,5 +386,5 @@ AVCodec mimic_decoder = { | |||||
| mimic_decode_end, | mimic_decode_end, | ||||
| mimic_decode_frame, | mimic_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "Mimic", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Mimic"), | |||||
| }; | }; | ||||
| @@ -146,5 +146,5 @@ AVCodec mjpegb_decoder = { | |||||
| mjpegb_decode_frame, | mjpegb_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| NULL, | NULL, | ||||
| .long_name = "Apple MJPEG-B", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Apple MJPEG-B"), | |||||
| }; | }; | ||||
| @@ -1364,7 +1364,7 @@ AVCodec mjpeg_decoder = { | |||||
| ff_mjpeg_decode_frame, | ff_mjpeg_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| NULL, | NULL, | ||||
| .long_name = "MJPEG (Motion JPEG)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), | |||||
| }; | }; | ||||
| AVCodec thp_decoder = { | AVCodec thp_decoder = { | ||||
| @@ -1378,5 +1378,5 @@ AVCodec thp_decoder = { | |||||
| ff_mjpeg_decode_frame, | ff_mjpeg_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| NULL, | NULL, | ||||
| .long_name = "Nintendo Gamecube THP video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"), | |||||
| }; | }; | ||||
| @@ -455,5 +455,5 @@ AVCodec mjpeg_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_NONE}, | ||||
| .long_name= "MJPEG (Motion JPEG)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), | |||||
| }; | }; | ||||
| @@ -202,5 +202,5 @@ AVCodec mmvideo_decoder = { | |||||
| mm_decode_end, | mm_decode_end, | ||||
| mm_decode_frame, | mm_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "American Laser Games MM Video", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("American Laser Games MM Video"), | |||||
| }; | }; | ||||
| @@ -273,5 +273,5 @@ AVCodec mpc7_decoder = { | |||||
| NULL, | NULL, | ||||
| mpc7_decode_frame, | mpc7_decode_frame, | ||||
| .flush = mpc7_decode_flush, | .flush = mpc7_decode_flush, | ||||
| .long_name = "Musepack SV7", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Musepack SV7"), | |||||
| }; | }; | ||||
| @@ -361,5 +361,5 @@ AVCodec mpc8_decoder = { | |||||
| NULL, | NULL, | ||||
| NULL, | NULL, | ||||
| mpc8_decode_frame, | mpc8_decode_frame, | ||||
| .long_name = "Musepack SV8", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"), | |||||
| }; | }; | ||||
| @@ -2445,7 +2445,7 @@ AVCodec mpeg1video_decoder = { | |||||
| mpeg_decode_frame, | mpeg_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name= "MPEG-1 video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), | |||||
| }; | }; | ||||
| AVCodec mpeg2video_decoder = { | AVCodec mpeg2video_decoder = { | ||||
| @@ -2459,7 +2459,7 @@ AVCodec mpeg2video_decoder = { | |||||
| mpeg_decode_frame, | mpeg_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name= "MPEG-2 video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-2 video"), | |||||
| }; | }; | ||||
| //legacy decoder | //legacy decoder | ||||
| @@ -2474,7 +2474,7 @@ AVCodec mpegvideo_decoder = { | |||||
| mpeg_decode_frame, | mpeg_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name= "MPEG-1 video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), | |||||
| }; | }; | ||||
| #ifdef HAVE_XVMC | #ifdef HAVE_XVMC | ||||
| @@ -2508,7 +2508,7 @@ AVCodec mpeg_xvmc_decoder = { | |||||
| mpeg_decode_frame, | mpeg_decode_frame, | ||||
| CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY, | CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED| CODEC_CAP_HWACCEL | CODEC_CAP_DELAY, | ||||
| .flush= ff_mpeg_flush, | .flush= ff_mpeg_flush, | ||||
| .long_name = "MPEG-1 video XvMC (X-Video Motion Compensation)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("MPEG-1 video XvMC (X-Video Motion Compensation)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -938,7 +938,7 @@ AVCodec mpeg1video_encoder = { | |||||
| .supported_framerates= ff_frame_rate_tab+1, | .supported_framerates= ff_frame_rate_tab+1, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .long_name= "MPEG-1 video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-1 video"), | |||||
| }; | }; | ||||
| AVCodec mpeg2video_encoder = { | AVCodec mpeg2video_encoder = { | ||||
| @@ -952,5 +952,5 @@ AVCodec mpeg2video_encoder = { | |||||
| .supported_framerates= ff_frame_rate_tab+1, | .supported_framerates= ff_frame_rate_tab+1, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_NONE}, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .long_name= "MPEG-2 video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-2 video"), | |||||
| }; | }; | ||||
| @@ -2640,7 +2640,7 @@ AVCodec mp2_decoder = | |||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_PARSE_ONLY, | CODEC_CAP_PARSE_ONLY, | ||||
| .flush= flush, | .flush= flush, | ||||
| .long_name= "MP2 (MPEG audio layer 2)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #ifdef CONFIG_MP3_DECODER | #ifdef CONFIG_MP3_DECODER | ||||
| @@ -2656,7 +2656,7 @@ AVCodec mp3_decoder = | |||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_PARSE_ONLY, | CODEC_CAP_PARSE_ONLY, | ||||
| .flush= flush, | .flush= flush, | ||||
| .long_name= "MP3 (MPEG audio layer 3)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #ifdef CONFIG_MP3ADU_DECODER | #ifdef CONFIG_MP3ADU_DECODER | ||||
| @@ -2672,7 +2672,7 @@ AVCodec mp3adu_decoder = | |||||
| decode_frame_adu, | decode_frame_adu, | ||||
| CODEC_CAP_PARSE_ONLY, | CODEC_CAP_PARSE_ONLY, | ||||
| .flush= flush, | .flush= flush, | ||||
| .long_name= "ADU (Application Data Unit) MP3 (MPEG audio layer 3)", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| #ifdef CONFIG_MP3ON4_DECODER | #ifdef CONFIG_MP3ON4_DECODER | ||||
| @@ -2687,6 +2687,6 @@ AVCodec mp3on4_decoder = | |||||
| decode_close_mp3on4, | decode_close_mp3on4, | ||||
| decode_frame_mp3on4, | decode_frame_mp3on4, | ||||
| .flush= flush, | .flush= flush, | ||||
| .long_name= "MP3onMP4", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MP3onMP4"), | |||||
| }; | }; | ||||
| #endif | #endif | ||||
| @@ -796,7 +796,7 @@ AVCodec mp2_encoder = { | |||||
| MPA_encode_frame, | MPA_encode_frame, | ||||
| MPA_encode_close, | MPA_encode_close, | ||||
| NULL, | NULL, | ||||
| .long_name = "MP2 (MPEG audio layer 2)", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"), | |||||
| }; | }; | ||||
| #undef FIX | #undef FIX | ||||
| @@ -3749,7 +3749,7 @@ AVCodec h263_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "H.263", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("H.263"), | |||||
| }; | }; | ||||
| AVCodec h263p_encoder = { | AVCodec h263p_encoder = { | ||||
| @@ -3761,7 +3761,7 @@ AVCodec h263p_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "H.263+ / H.263 version 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("H.263+ / H.263 version 2"), | |||||
| }; | }; | ||||
| AVCodec flv_encoder = { | AVCodec flv_encoder = { | ||||
| @@ -3773,7 +3773,7 @@ AVCodec flv_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "Flash Video", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Flash Video"), | |||||
| }; | }; | ||||
| AVCodec rv10_encoder = { | AVCodec rv10_encoder = { | ||||
| @@ -3785,7 +3785,7 @@ AVCodec rv10_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "RealVideo 1.0", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("RealVideo 1.0"), | |||||
| }; | }; | ||||
| AVCodec rv20_encoder = { | AVCodec rv20_encoder = { | ||||
| @@ -3797,7 +3797,7 @@ AVCodec rv20_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "RealVideo 2.0", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("RealVideo 2.0"), | |||||
| }; | }; | ||||
| AVCodec mpeg4_encoder = { | AVCodec mpeg4_encoder = { | ||||
| @@ -3810,7 +3810,7 @@ AVCodec mpeg4_encoder = { | |||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .capabilities= CODEC_CAP_DELAY, | .capabilities= CODEC_CAP_DELAY, | ||||
| .long_name= "MPEG-4 part 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v1_encoder = { | AVCodec msmpeg4v1_encoder = { | ||||
| @@ -3822,7 +3822,7 @@ AVCodec msmpeg4v1_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "MPEG-4 part 2 Microsoft variant version 1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v2_encoder = { | AVCodec msmpeg4v2_encoder = { | ||||
| @@ -3834,7 +3834,7 @@ AVCodec msmpeg4v2_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "MPEG-4 part 2 Microsoft variant version 2", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"), | |||||
| }; | }; | ||||
| AVCodec msmpeg4v3_encoder = { | AVCodec msmpeg4v3_encoder = { | ||||
| @@ -3846,7 +3846,7 @@ AVCodec msmpeg4v3_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "MPEG-4 part 2 Microsoft variant version 3", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 3"), | |||||
| }; | }; | ||||
| AVCodec wmv1_encoder = { | AVCodec wmv1_encoder = { | ||||
| @@ -3858,5 +3858,5 @@ AVCodec wmv1_encoder = { | |||||
| MPV_encode_picture, | MPV_encode_picture, | ||||
| MPV_encode_end, | MPV_encode_end, | ||||
| .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, | ||||
| .long_name= "Windows Media Video 7", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Windows Media Video 7"), | |||||
| }; | }; | ||||
| @@ -304,5 +304,5 @@ AVCodec msrle_decoder = { | |||||
| msrle_decode_end, | msrle_decode_end, | ||||
| msrle_decode_frame, | msrle_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name= "Microsoft RLE", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Microsoft RLE"), | |||||
| }; | }; | ||||
| @@ -339,5 +339,5 @@ AVCodec msvideo1_decoder = { | |||||
| msvideo1_decode_end, | msvideo1_decode_end, | ||||
| msvideo1_decode_frame, | msvideo1_decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name= "Microsoft Video 1", | |||||
| .long_name= NULL_IF_CONFIG_SMALL("Microsoft Video 1"), | |||||
| }; | }; | ||||
| @@ -206,6 +206,6 @@ AVCodec nellymoser_decoder = { | |||||
| NULL, | NULL, | ||||
| decode_end, | decode_end, | ||||
| decode_tag, | decode_tag, | ||||
| .long_name = "Nellymoser Asao", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"), | |||||
| }; | }; | ||||
| @@ -270,6 +270,6 @@ AVCodec nuv_decoder = { | |||||
| decode_end, | decode_end, | ||||
| decode_frame, | decode_frame, | ||||
| CODEC_CAP_DR1, | CODEC_CAP_DR1, | ||||
| .long_name = "NuppelVideo", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("NuppelVideo"), | |||||
| }; | }; | ||||
| @@ -530,7 +530,7 @@ AVCodec name ## _encoder = { \ | |||||
| pcm_encode_frame, \ | pcm_encode_frame, \ | ||||
| pcm_encode_close, \ | pcm_encode_close, \ | ||||
| NULL, \ | NULL, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| }; | }; | ||||
| #else | #else | ||||
| #define PCM_ENCODER(id,name,long_name_) | #define PCM_ENCODER(id,name,long_name_) | ||||
| @@ -547,7 +547,7 @@ AVCodec name ## _decoder = { \ | |||||
| NULL, \ | NULL, \ | ||||
| NULL, \ | NULL, \ | ||||
| pcm_decode_frame, \ | pcm_decode_frame, \ | ||||
| .long_name = long_name_, \ | |||||
| .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | |||||
| }; | }; | ||||
| #else | #else | ||||
| #define PCM_DECODER(id,name,long_name_) | #define PCM_DECODER(id,name,long_name_) | ||||
| @@ -244,5 +244,5 @@ AVCodec pcx_decoder = { | |||||
| pcx_decode_frame, | pcx_decode_frame, | ||||
| 0, | 0, | ||||
| NULL, | NULL, | ||||
| .long_name = "PC Paintbrush PCX image", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("PC Paintbrush PCX image"), | |||||
| }; | }; | ||||
| @@ -618,5 +618,5 @@ AVCodec png_decoder = { | |||||
| decode_frame, | decode_frame, | ||||
| 0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/, | 0 /*CODEC_CAP_DR1*/ /*| CODEC_CAP_DRAW_HORIZ_BAND*/, | ||||
| NULL, | NULL, | ||||
| .long_name = "PNG image", | |||||
| .long_name = NULL_IF_CONFIG_SMALL("PNG image"), | |||||
| }; | }; | ||||