This patch set goes back to using request_sample_fmt. ffmpeg and ffplay are
modified to set AVOptions prior to calling av_find_stream_info() so that the
decoder will be initialized with the user-requested sample format.
Justin Ruggles (5):
Add float_interleave() to FmtConvertContext with x86-optimized
versions.
Add request_sample_fmt field to AVCodecContext.
Add APIchanges entry for request_sample_fmt.
Add support for request_sample_format in ffmpeg and ffplay.
Add floating-point sample format support to the ac3, eac3, dca, aac,
and vorbis decoders.
doc/APIchanges | 3 +
ffmpeg.c | 61 +++++++++++++++++-
ffplay.c | 17 +++++
libavcodec/aac.h | 2 +-
libavcodec/aacdec.c | 35 +++++++---
libavcodec/aacsbr.c | 11 ++-
libavcodec/aacsbr.h | 2 +-
libavcodec/ac3dec.c | 32 +++++++--
libavcodec/avcodec.h | 7 ++
libavcodec/dca.c | 34 ++++++++--
libavcodec/fmtconvert.c | 20 ++++++
libavcodec/fmtconvert.h | 9 +++
libavcodec/options.c | 6 ++
libavcodec/version.h | 2 +-
libavcodec/vorbisdec.c | 23 +++++--
libavcodec/x86/fmtconvert.asm | 141 +++++++++++++++++++++++++++++++++++++++
libavcodec/x86/fmtconvert_mmx.c | 30 ++++++++
17 files changed, 399 insertions(+), 36 deletions(-)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel