|
|
|
@ -47,7 +47,8 @@ AVCodec ff_mp1float_decoder = { |
|
|
|
|
.priv_data_size = sizeof(MPADecodeContext), |
|
|
|
|
.init = decode_init, |
|
|
|
|
.decode = decode_frame, |
|
|
|
|
.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.capabilities = AV_CODEC_CAP_CHANNEL_CONF | |
|
|
|
|
AV_CODEC_CAP_DR1, |
|
|
|
|
.flush = flush, |
|
|
|
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
|
|
|
|
AV_SAMPLE_FMT_FLT, |
|
|
|
@ -63,7 +64,8 @@ AVCodec ff_mp2float_decoder = { |
|
|
|
|
.priv_data_size = sizeof(MPADecodeContext), |
|
|
|
|
.init = decode_init, |
|
|
|
|
.decode = decode_frame, |
|
|
|
|
.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.capabilities = AV_CODEC_CAP_CHANNEL_CONF | |
|
|
|
|
AV_CODEC_CAP_DR1, |
|
|
|
|
.flush = flush, |
|
|
|
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
|
|
|
|
AV_SAMPLE_FMT_FLT, |
|
|
|
@ -79,7 +81,8 @@ AVCodec ff_mp3float_decoder = { |
|
|
|
|
.priv_data_size = sizeof(MPADecodeContext), |
|
|
|
|
.init = decode_init, |
|
|
|
|
.decode = decode_frame, |
|
|
|
|
.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.capabilities = AV_CODEC_CAP_CHANNEL_CONF | |
|
|
|
|
AV_CODEC_CAP_DR1, |
|
|
|
|
.flush = flush, |
|
|
|
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
|
|
|
|
AV_SAMPLE_FMT_FLT, |
|
|
|
@ -95,7 +98,8 @@ AVCodec ff_mp3adufloat_decoder = { |
|
|
|
|
.priv_data_size = sizeof(MPADecodeContext), |
|
|
|
|
.init = decode_init, |
|
|
|
|
.decode = decode_frame_adu, |
|
|
|
|
.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.capabilities = AV_CODEC_CAP_CHANNEL_CONF | |
|
|
|
|
AV_CODEC_CAP_DR1, |
|
|
|
|
.flush = flush, |
|
|
|
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
|
|
|
|
AV_SAMPLE_FMT_FLT, |
|
|
|
@ -112,7 +116,8 @@ AVCodec ff_mp3on4float_decoder = { |
|
|
|
|
.init = decode_init_mp3on4, |
|
|
|
|
.close = decode_close_mp3on4, |
|
|
|
|
.decode = decode_frame_mp3on4, |
|
|
|
|
.capabilities = AV_CODEC_CAP_DR1, |
|
|
|
|
.capabilities = AV_CODEC_CAP_CHANNEL_CONF | |
|
|
|
|
AV_CODEC_CAP_DR1, |
|
|
|
|
.flush = flush_mp3on4, |
|
|
|
|
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, |
|
|
|
|
AV_SAMPLE_FMT_NONE }, |
|
|
|
|