This patch set does some restructuring and clean up for the AC-3 encoder channel coupling. It also adds channel coupling support to the fixed-point AC-3 encoder. I was finally able to make the quality better than without coupling.
stereo: http://justinruggles.github.com/Libav/ac3enc_fixed_coupling_stereo.png 5.1: http://justinruggles.github.com/Libav/ac3enc_fixed_coupling_5.1.png Justin Ruggles (10): ac3enc: allow new coupling coordinates to be sent independently for each channel. ac3enc: restructure coupling coordinate reuse calculation ac3enc: remove unneeded #include ac3enc: clip coupling coordinates during calculation ac3enc: fix 'channel_coupling' option to actually allow 'auto' ac3enc: make a working fixed-point path for apply_channel_coupling() ac3enc: scale floating-point coupling channel coefficients in scale_coefficients() rather than in apply_channel_coupling() ac3enc: split calc_cpl_coord() to ac3enc_fixed.c and ac3enc_float.c ac3enc: implement channel-weighted coupling coordinates in the fixed-point ac3 encoder. ac3enc: enable channel coupling for the fixed-point ac3 encoder. libavcodec/ac3enc.c | 12 ++-- libavcodec/ac3enc.h | 4 +- libavcodec/ac3enc_fixed.c | 57 +++++++++++++++++ libavcodec/ac3enc_float.c | 19 +++++- libavcodec/ac3enc_opts_template.c | 4 +- libavcodec/ac3enc_template.c | 123 ++++++++++++++++--------------------- libavcodec/eac3enc.c | 2 +- tests/ref/acodec/ac3_fixed | 2 +- tests/ref/seek/ac3_rm | 35 ++++++----- 9 files changed, 158 insertions(+), 100 deletions(-) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
