00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #define CONFIG_FLOAT 1
00023 #include "mpegaudiodec.c"
00024
00025 #if CONFIG_MP1FLOAT_DECODER
00026 AVCodec ff_mp1float_decoder =
00027 {
00028 "mp1float",
00029 AVMEDIA_TYPE_AUDIO,
00030 CODEC_ID_MP1,
00031 sizeof(MPADecodeContext),
00032 decode_init,
00033 NULL,
00034 .close = NULL,
00035 decode_frame,
00036 CODEC_CAP_PARSE_ONLY,
00037 .flush= flush,
00038 .long_name= NULL_IF_CONFIG_SMALL("MP1 (MPEG audio layer 1)"),
00039 };
00040 #endif
00041 #if CONFIG_MP2FLOAT_DECODER
00042 AVCodec ff_mp2float_decoder =
00043 {
00044 "mp2float",
00045 AVMEDIA_TYPE_AUDIO,
00046 CODEC_ID_MP2,
00047 sizeof(MPADecodeContext),
00048 decode_init,
00049 NULL,
00050 .close = NULL,
00051 decode_frame,
00052 CODEC_CAP_PARSE_ONLY,
00053 .flush= flush,
00054 .long_name= NULL_IF_CONFIG_SMALL("MP2 (MPEG audio layer 2)"),
00055 };
00056 #endif
00057 #if CONFIG_MP3FLOAT_DECODER
00058 AVCodec ff_mp3float_decoder =
00059 {
00060 "mp3float",
00061 AVMEDIA_TYPE_AUDIO,
00062 CODEC_ID_MP3,
00063 sizeof(MPADecodeContext),
00064 decode_init,
00065 NULL,
00066 .close = NULL,
00067 decode_frame,
00068 CODEC_CAP_PARSE_ONLY,
00069 .flush= flush,
00070 .long_name= NULL_IF_CONFIG_SMALL("MP3 (MPEG audio layer 3)"),
00071 };
00072 #endif
00073 #if CONFIG_MP3ADUFLOAT_DECODER
00074 AVCodec ff_mp3adufloat_decoder =
00075 {
00076 "mp3adufloat",
00077 AVMEDIA_TYPE_AUDIO,
00078 CODEC_ID_MP3ADU,
00079 sizeof(MPADecodeContext),
00080 decode_init,
00081 NULL,
00082 .close = NULL,
00083 decode_frame_adu,
00084 CODEC_CAP_PARSE_ONLY,
00085 .flush= flush,
00086 .long_name= NULL_IF_CONFIG_SMALL("ADU (Application Data Unit) MP3 (MPEG audio layer 3)"),
00087 };
00088 #endif
00089 #if CONFIG_MP3ON4FLOAT_DECODER
00090 AVCodec ff_mp3on4float_decoder =
00091 {
00092 "mp3on4float",
00093 AVMEDIA_TYPE_AUDIO,
00094 CODEC_ID_MP3ON4,
00095 sizeof(MP3On4DecodeContext),
00096 decode_init_mp3on4,
00097 NULL,
00098 decode_close_mp3on4,
00099 decode_frame_mp3on4,
00100 .flush= flush,
00101 .long_name= NULL_IF_CONFIG_SMALL("MP3onMP4"),
00102 };
00103 #endif