From c31a76e4ef116fa9aac28578cd3d92a035b3aafd Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 2 May 2007 20:33:32 +0000 Subject: use downmixing coefficients in dca decoder. reference: Subject: [Ffmpeg-devel] [PATCH] DTS multichannel Date: Wed, 25 Apr 2007 16:25:18 -0400 Originally committed as revision 8875 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dcadata.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libavcodec/dcadata.h') diff --git a/libavcodec/dcadata.h b/libavcodec/dcadata.h index c9f2ca747b..5466b37b89 100644 --- a/libavcodec/dcadata.h +++ b/libavcodec/dcadata.h @@ -8361,6 +8361,19 @@ static const float dca_downmix_coeffs[65] = { 0.001412537544623, 0.001000000000000, 0.000501187233627, 0.000251188643151, 0.000000000000000, }; +static const uint8_t dca_default_coeffs[16][5][2] = { + { { 13, 13 }, }, + { { 0, 64 }, { 64, 0 }, }, + { { 0, 64 }, { 64, 0 }, }, + { { 0, 64 }, { 64, 0 }, }, + { { 0, 64 }, { 64, 0 }, }, + { { 6, 6 }, { 0, 25 }, { 25, 0 }, }, + { { 0, 25 }, { 25, 0 }, { 13, 13 }, }, + { { 6, 6 }, { 0, 25 }, { 25, 0 }, { 13, 13 }, }, + { { 0, 25 }, { 25, 0 }, { 0, 13 }, { 13, 0 }, }, + { { 6, 6 }, { 0, 25 }, { 25, 0 }, { 0, 13 }, { 13, 0 }, }, +}; + /* downmix coeffs TABLE 9 -- cgit v1.2.3