This is an updated patch set which does clipping of coefficients
earlier so that processing in-between MDCT and exponent extraction
(e.g. coupling and rematrixing) will use clipped coefficients.
Justin Ruggles (4):
ac3enc: add int32_t array clipping function to DSPUtil, including x86
versions.
ac3enc: clip coefficients after MDCT.
ac3dsp: simplify extract_exponents() now that it does not need to do
clipping.
ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents()
libavcodec/ac3dsp.c | 15 +-----
libavcodec/ac3enc.c | 10 +++-
libavcodec/ac3enc.h | 8 +++
libavcodec/ac3enc_template.c | 16 +++++-
libavcodec/dsputil.c | 17 ++++++
libavcodec/dsputil.h | 14 +++++
libavcodec/x86/ac3dsp.asm | 102 +++++++++++++++++++++++++++++++++
libavcodec/x86/ac3dsp_mmx.c | 15 +++++
libavcodec/x86/dsputil_mmx.c | 15 +++++
libavcodec/x86/dsputil_yasm.asm | 118 +++++++++++++++++++++++++++++++++++++++
10 files changed, 314 insertions(+), 16 deletions(-)
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel