Giter VIP home page Giter VIP logo

dcadec's People

Contributors

f2404 avatar foo86 avatar jamrial avatar kasper93 avatar timothygu avatar underground78 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dcadec's Issues

license clarification

Your readme says GPL. However, your download contains both the GPL and LGPL license texts. Is your decoder available as LGPL, too? I'd really like to use it for eac3to, but probably can't do that if it's only available as GPL, correct?

If LGPL is available, I have one more question: Are you planning to create some sort of win32 "libDcaDec.dll"? If you do I'd wait for that. Otherwise I would create one myself.

Thanks!

Undefined behavior in core_decoder.c

GCC 5.3 ubsan detected the following running the test suit.

libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 2 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1714:39: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1501:51: runtime error: index 27 out of bounds for type 'int32_t [2]'
libdcadec/core_decoder.c:1555:51: runtime error: index 27 out of bounds for type 'int32_t [2]'

Change the behavior of the downmix flags

As the subject says, the current behavior of the downmix flags is inconsistent.
Having the 2ch flag output a downmix only if there are custom downmix coefficients and forcing a 5.1 downmix otherwise, the 6ch outputting a 5.1 dowmix regardless of custom coefficients being available or not, and the two flags together being the only way to force a stereo downmix seems an odd decision.
I propose the following to be implemented before the first version is tagged and released, which will allow library users more freedom when requesting a downmix:

DCADEC_FLAG_KEEP_DMIX_2CH and DCADEC_FLAG_KEEP_DMIX_6CH flags when used alone should output the relevant downmix only if there are custom coefficients available, otherwise they should output the stream untouched.
The 2ch and 6ch flags used together should first try a stereo downmix if custom coefficients are available, if not then a 5.1 downmix if custom coefficients are available. If neither is possible then it should output the stream untouched.
A new "force" flag used in conjunction with any one of the above flags should force the output of the relevant downmix, regardless of custom coefficients being present or not.
The two downmix flags used together in conjunction with the force flag should behave the same way as 2ch + force.
The force flag used alone should be ignored.

The reason for this is that library users would rather deal with the downmix themselves in cases where there are no custom coefficients of any kind embedded in the stream, and the current state of the flags simply doesn't allow this.
Suggestions to improve the above are of course welcome, but this definitely needs to be addressed before the first version is released.

Improve build system and introduce version defines

Making a single ticket since it's all more or less related.

Makefile currently builds a static library and two cli applications, but it still needs to build a shared library (See comments on issue #5) and an "install" target.
Additionally, the to-be-installed public header dca_context.h needs version defines (for library versioning) before it can be properly used by other projects.

Offtopic: Excellent work so far :)

Optimizations

What are the plans regarding optimizations ? FFmpeg/Libav already contain optimizations in various forms for dca core. Porting the fixed point transform to libavcodec would make the decoders fairly equivalent so is the target for dcadec more on correctness and features then on speed ?

x64 build

As i see - there is no way to build x64 version.

How to Donate?

Hi,
As nevcairiel and madshi and commented, your contribution is terrific. An Open Source DTS-HD MA decoder has been a key missing piece for years and I'd like to buy you a few beers, do you have a Donate Button?
Thanks
Nathan

DTS-MA channel tests

tebasuna from doom9 was kind enough to do custom encodes to test all those weird DTS-HD speaker configurations. Here's the download:

https://www.sendspace.com/file/mtejw5

According to his tests, dcadec decodes them all bit perfectly. The one thing I'm not sure about is the channel masks. They might be correct, or maybe not. I haven't really checked. Anyway, I thought you might be interested in the samples, so here they are. Maybe if you find the time, you could double check that the WAV channel masks produced by dtsdec are reasonable.

In any case, you can close this issue, if you like. The main purpose of this issue is just to share the samples.

DTS Express

I'm adding support for DTS Express (extension LBR), and I was wondering if anyone has a sample I could test?

unable to compline with MSVC now.

While I compline with Release DLL Win32 it showed this error.

1>dca_context.obj : error LNK2001: 无法解析的外部符号 _lbr_parse
1>dca_context.obj : error LNK2001: 无法解析的外部符号 _lbr_filter
1>dca_context.obj : error LNK2001: 无法解析的外部符号 _lbr_clear

dcacut isn't compiled?

When I CD to the directory, and run make, or make -ofast dcadec is compiled just fine, but dcacut isn't anymore.

Sync error when decoding DTS HD MA

I use dcadec (with eac3to) to convert DTS HD MA tracks from 3D BDs to other formats. I have already encountered several times a problem when decoding some tracks. The dcadec reports a "Synchronisation error". However, I don't think it's really an error in the track, because the track has been extracted from a good commercial BD, eac3to can extract the DTS core without problem, the other DTS decoders I've tested (Libav and ArcSoft) have no problem, all players can play the DTS (core or HDMA) without problem, I can't hear any audible glitch and I've encountered the same problem already 3 times, with totally different commercial BDs. So, I suppose that the problem is caused by a little bug in dcadec (but of course I can't be sure).

Here is a sample: http://download.videohelp.com/r0lZ/tmp/DTS_HD_MAsync_bug_sample.dts

DCACut Help options

I know it's an extremely minor issue, but it'd be nice if you updated the help that's printed by dcacut to reflect the fact that you are expecting packet number, not timestamps or something.

I would do it myself, but I've already got the LBR extension and don't really want to have to make a whole new branch for a few chars.

Integrate with ffmpeg/libav

I wonder if you are planning on submitting this to ffmpeg/libav?
It would certainly be very appreciated there (and for downstream projects like kodi).

several error/warnings on a gcc-ubsan run of the test suite

This was run on an x86_64 linux box, GCC 5.1

CFLAGS="-fsanitize=undefined" LDFLAGS="-fsanitize=undefined" CFLAGS_DEV="-fsanitize=undefined" make check

cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o dcadec.o dcadec.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/bitstream.o libdcadec/bitstream.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/core_decoder.o libdcadec/core_decoder.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/dca_context.o libdcadec/dca_context.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/dmix_tables.o libdcadec/dmix_tables.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/exss_parser.o libdcadec/exss_parser.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/idct_fixed.o libdcadec/idct_fixed.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/idct_float.o libdcadec/idct_float.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/interpolator.o libdcadec/interpolator.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/interpolator_fixed.o libdcadec/interpolator_fixed.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/interpolator_float.o libdcadec/interpolator_float.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/ta.o libdcadec/ta.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/xll_decoder.o libdcadec/xll_decoder.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/dca_frame.o libdcadec/dca_frame.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/dca_stream.o libdcadec/dca_stream.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -fsanitize=undefined -DNDEBUG -c -o libdcadec/dca_waveout.o libdcadec/dca_waveout.c
ar crsu libdcadec/libdcadec.a libdcadec/bitstream.o libdcadec/core_decoder.o libdcadec/dca_context.o libdcadec/dmix_tables.o libdcadec/exss_parser.o libdcadec/idct_fixed.o libdcadec/idct_float.o libdcadec/interpolator.o libdcadec/interpolator_fixed.o libdcadec/interpolator_float.o libdcadec/ta.o libdcadec/xll_decoder.o libdcadec/dca_frame.o libdcadec/dca_stream.o libdcadec/dca_waveout.o
cc -fsanitize=undefined -o dcadec dcadec.o libdcadec/libdcadec.a -lm
cc -fsanitize=undefined -o test/stddev -fsanitize=undefined test/stddev.c -lm
cd test && ./test.sh
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -16848
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -16848
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -16848
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4403
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -9556
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:168:29: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1385663
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -9556
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4403
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -15627
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -15627
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -15627
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -70200
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -295
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -295
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -88
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -295
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -84040
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -18
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -208
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -18
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -147
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -18
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -147
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -253741
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -409
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -409
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -409
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -24344
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -298
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -298
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -209
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -298
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -24343
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -59
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -66
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -59
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -47
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -59
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -47
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -52892
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1016
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1016
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1016
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4403
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -534
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -7
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:168:29: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1896817
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1037534
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1037534
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1037534
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -206383
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -693997
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4070677
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -693997
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -981440
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -693997
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -981440
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -693997
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -2984370
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4070677
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -2984370
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1053207
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -2984370
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1488873
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1452
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -2984370
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -54821
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -911625
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -54821
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -77526
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -54821
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -77526
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -54821
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -12868
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -12868
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -12868
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -12868
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -6
libdcadec/idct_fixed.c:325:38: runtime error: left shift of negative value -1
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -12868
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -97893
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -4070677
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -97893
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -195785
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -97893
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -195785
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -1871
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -1
libdcadec/xll_decoder.c:668:38: runtime error: left shift of negative value -97893
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -25736
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -13645
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -2143
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -13645
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1515
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/idct_fixed.c:194:38: runtime error: left shift of negative value -13645
libdcadec/idct_fixed.c:87:41: runtime error: left shift of negative value -2
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -1515
libdcadec/core_decoder.c:910:32: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_context.c:85:31: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:233:47: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
libdcadec/dca_waveout.c:163:20: runtime error: left shift of negative value -8605
decoded/dmix_0/core_51_24_48_768_0.wav: OK
decoded/dmix_0/core_51_24_48_768_1.wav: OK
decoded/dmix_0/x96_51_24_96_1509.wav: OK
decoded/dmix_0/x96_xch_61_24_96_3840.wav: OK
decoded/dmix_0/x96_xxch_71_24_96_3840.wav: OK
decoded/dmix_0/xbr_51_24_48_3840.wav: OK
decoded/dmix_0/xbr_xch_61_24_48_3840.wav: OK
decoded/dmix_0/xbr_xxch_71_24_48_3840.wav: OK
decoded/dmix_0/xch_61_24_48_768.wav: OK
decoded/dmix_0/xll_51_16_192_768_0.wav: OK
decoded/dmix_0/xll_51_16_192_768_1.wav: OK
decoded/dmix_0/xll_51_24_48_768.wav: OK
decoded/dmix_0/xll_51_24_48_none.wav: OK
decoded/dmix_0/xll_71_24_48_768_0.wav: OK
decoded/dmix_0/xll_71_24_48_768_1.wav: OK
decoded/dmix_0/xll_71_24_96_768.wav: OK
decoded/dmix_0/xll_x96_51_24_96_1509.wav: OK
decoded/dmix_0/xll_xch_61_24_48_768.wav: OK
decoded/dmix_0/xxch_71_24_48_2046.wav: OK
decoded/dmix_2/core_51_24_48_768_0.wav: OK
decoded/dmix_2/core_51_24_48_768_1.wav: OK
decoded/dmix_2/x96_51_24_96_1509.wav: OK
decoded/dmix_2/x96_xch_61_24_96_3840.wav: OK
decoded/dmix_2/x96_xxch_71_24_96_3840.wav: OK
decoded/dmix_2/xbr_51_24_48_3840.wav: OK
decoded/dmix_2/xbr_xch_61_24_48_3840.wav: OK
decoded/dmix_2/xbr_xxch_71_24_48_3840.wav: OK
decoded/dmix_2/xch_61_24_48_768.wav: OK
decoded/dmix_2/xll_51_16_192_768_0.wav: OK
decoded/dmix_2/xll_51_16_192_768_1.wav: OK
decoded/dmix_2/xll_51_24_48_768.wav: OK
decoded/dmix_2/xll_51_24_48_none.wav: OK
decoded/dmix_2/xll_71_24_48_768_0.wav: OK
decoded/dmix_2/xll_71_24_48_768_1.wav: OK
decoded/dmix_2/xll_71_24_96_768.wav: OK
decoded/dmix_2/xll_x96_51_24_96_1509.wav: OK
decoded/dmix_2/xll_xch_61_24_48_768.wav: OK
decoded/dmix_2/xxch_71_24_48_2046.wav: OK
decoded/dmix_6/core_51_24_48_768_0.wav: OK
decoded/dmix_6/core_51_24_48_768_1.wav: OK
decoded/dmix_6/x96_51_24_96_1509.wav: OK
decoded/dmix_6/x96_xch_61_24_96_3840.wav: OK
decoded/dmix_6/x96_xxch_71_24_96_3840.wav: OK
decoded/dmix_6/xbr_51_24_48_3840.wav: OK
decoded/dmix_6/xbr_xch_61_24_48_3840.wav: OK
decoded/dmix_6/xbr_xxch_71_24_48_3840.wav: OK
decoded/dmix_6/xch_61_24_48_768.wav: OK
decoded/dmix_6/xll_51_16_192_768_0.wav: OK
decoded/dmix_6/xll_51_16_192_768_1.wav: OK
decoded/dmix_6/xll_51_24_48_768.wav: OK
decoded/dmix_6/xll_51_24_48_none.wav: OK
decoded/dmix_6/xll_71_24_48_768_0.wav: OK
decoded/dmix_6/xll_71_24_48_768_1.wav: OK
decoded/dmix_6/xll_71_24_96_768.wav: OK
decoded/dmix_6/xll_x96_51_24_96_1509.wav: OK
decoded/dmix_6/xll_xch_61_24_48_768.wav: OK
decoded/dmix_6/xxch_71_24_48_2046.wav: OK
decoded/mono/xll_51_16_192_768_0_C.wav: OK
decoded/mono/xll_51_16_192_768_0_L.wav: OK
decoded/mono/xll_51_16_192_768_0_LFE.wav: OK
decoded/mono/xll_51_16_192_768_0_Ls.wav: OK
decoded/mono/xll_51_16_192_768_0_R.wav: OK
decoded/mono/xll_51_16_192_768_0_Rs.wav: OK
decoded/mono/xll_51_16_192_768_1_C.wav: OK
decoded/mono/xll_51_16_192_768_1_L.wav: OK
decoded/mono/xll_51_16_192_768_1_LFE.wav: OK
decoded/mono/xll_51_16_192_768_1_Ls.wav: OK
decoded/mono/xll_51_16_192_768_1_R.wav: OK
decoded/mono/xll_51_16_192_768_1_Rs.wav: OK
decoded/mono/xll_51_24_48_768_C.wav: OK
decoded/mono/xll_51_24_48_768_L.wav: OK
decoded/mono/xll_51_24_48_768_LFE.wav: OK
decoded/mono/xll_51_24_48_768_Ls.wav: OK
decoded/mono/xll_51_24_48_768_R.wav: OK
decoded/mono/xll_51_24_48_768_Rs.wav: OK
decoded/mono/xll_51_24_48_none_C.wav: OK
decoded/mono/xll_51_24_48_none_L.wav: OK
decoded/mono/xll_51_24_48_none_LFE.wav: OK
decoded/mono/xll_51_24_48_none_Ls.wav: OK
decoded/mono/xll_51_24_48_none_R.wav: OK
decoded/mono/xll_51_24_48_none_Rs.wav: OK
decoded/mono/xll_71_24_48_768_0_C.wav: OK
decoded/mono/xll_71_24_48_768_0_L.wav: OK
decoded/mono/xll_71_24_48_768_0_LFE.wav: OK
decoded/mono/xll_71_24_48_768_0_Lsr.wav: OK
decoded/mono/xll_71_24_48_768_0_Lss.wav: OK
decoded/mono/xll_71_24_48_768_0_R.wav: OK
decoded/mono/xll_71_24_48_768_0_Rsr.wav: OK
decoded/mono/xll_71_24_48_768_0_Rss.wav: OK
decoded/mono/xll_71_24_48_768_1_C.wav: OK
decoded/mono/xll_71_24_48_768_1_L.wav: OK
decoded/mono/xll_71_24_48_768_1_LFE.wav: OK
decoded/mono/xll_71_24_48_768_1_Lsr.wav: OK
decoded/mono/xll_71_24_48_768_1_Lss.wav: OK
decoded/mono/xll_71_24_48_768_1_R.wav: OK
decoded/mono/xll_71_24_48_768_1_Rsr.wav: OK
decoded/mono/xll_71_24_48_768_1_Rss.wav: OK
decoded/mono/xll_71_24_96_768_C.wav: OK
decoded/mono/xll_71_24_96_768_L.wav: OK
decoded/mono/xll_71_24_96_768_LFE.wav: OK
decoded/mono/xll_71_24_96_768_Lsr.wav: OK
decoded/mono/xll_71_24_96_768_Lss.wav: OK
decoded/mono/xll_71_24_96_768_R.wav: OK
decoded/mono/xll_71_24_96_768_Rsr.wav: OK
decoded/mono/xll_71_24_96_768_Rss.wav: OK
decoded/mono/xll_x96_51_24_96_1509_C.wav: OK
decoded/mono/xll_x96_51_24_96_1509_L.wav: OK
decoded/mono/xll_x96_51_24_96_1509_LFE.wav: OK
decoded/mono/xll_x96_51_24_96_1509_Ls.wav: OK
decoded/mono/xll_x96_51_24_96_1509_R.wav: OK
decoded/mono/xll_x96_51_24_96_1509_Rs.wav: OK
decoded/mono/xll_xch_61_24_48_768_C.wav: OK
decoded/mono/xll_xch_61_24_48_768_Cs.wav: OK
decoded/mono/xll_xch_61_24_48_768_L.wav: OK
decoded/mono/xll_xch_61_24_48_768_LFE.wav: OK
decoded/mono/xll_xch_61_24_48_768_Ls.wav: OK
decoded/mono/xll_xch_61_24_48_768_R.wav: OK
decoded/mono/xll_xch_61_24_48_768_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_0_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/core_51_24_48_768_1_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 254 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 254 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_51_24_96_1509_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 241 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 241 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_Cs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 254 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 254 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 251 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xch_61_24_96_3840_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 244 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 244 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_Lsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_Lss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 244 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 244 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_Rsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_Rss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/x96_xxch_71_24_96_3840_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_51_24_48_3840_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 241 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 241 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_Cs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xch_61_24_48_3840_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_Lsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 228 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 228 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_Lss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_Rsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 228 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 228 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_Rss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xbr_xxch_71_24_48_3840_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 242 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_Cs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_Ls.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 252 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_Rs.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xch_61_24_48_768_R.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_C.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_LFE.wav: OK
test/stddev.c:78:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_Lsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 250 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_Lss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_L.wav: OK
test/stddev.c:78:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 186 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_Rsr.wav: OK
test/stddev.c:78:69: runtime error: left shift of 249 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 249 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_Rss.wav: OK
test/stddev.c:78:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
test/stddev.c:79:69: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
decoded/mono/xxch_71_24_48_2046_R.wav: OK

Oddly enough, compiling with the ubsan flags removes some compile-time warnings i get on a normal compilation:

cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/bitstream.o libdcadec/bitstream.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/core_decoder.o libdcadec/core_decoder.c
libdcadec/core_decoder.c: In function ‘parse_frame_data’:
libdcadec/core_decoder.c:710:39: warning: array subscript is above array bounds [-Warray-bounds]
samples[n] = clip23((audio[n] * step_scale) >> 4);
^
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/dca_context.o libdcadec/dca_context.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/dmix_tables.o libdcadec/dmix_tables.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/exss_parser.o libdcadec/exss_parser.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/idct_fixed.o libdcadec/idct_fixed.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/idct_float.o libdcadec/idct_float.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/interpolator.o libdcadec/interpolator.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/interpolator_fixed.o libdcadec/interpolator_fixed.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/interpolator_float.o libdcadec/interpolator_float.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/ta.o libdcadec/ta.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/xll_decoder.o libdcadec/xll_decoder.c
libdcadec/xll_decoder.c: In function ‘parse_frame’:
libdcadec/xll_decoder.c:365:34: warning: array subscript is above array bounds [-Warray-bounds]
if (chs->lsb_section_size[band])
^
libdcadec/xll_decoder.c:378:34: warning: array subscript is above array bounds [-Warray-bounds]
if (chs->lsb_section_size[band]) {
^
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
chs->lsb_sample_buffer[band][i] = NULL;
^
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:385:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
chs->lsb_sample_buffer[band][i] = ptr;
^
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
libdcadec/xll_decoder.c:380:39: warning: array subscript is above array bounds [-Warray-bounds]
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/dca_frame.o libdcadec/dca_frame.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/dca_stream.o libdcadec/dca_stream.c
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o libdcadec/dca_waveout.o libdcadec/dca_waveout.c
ar crsu libdcadec/libdcadec.a libdcadec/bitstream.o libdcadec/core_decoder.o libdcadec/dca_context.o libdcadec/dmix_tables.o libdcadec/exss_parser.o libdcadec/idct_fixed.o libdcadec/idct_float.o libdcadec/interpolator.o libdcadec/interpolator_fixed.o libdcadec/interpolator_float.o libdcadec/ta.o libdcadec/xll_decoder.o libdcadec/dca_frame.o libdcadec/dca_stream.o libdcadec/dca_waveout.o
cc -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -ffast-math -g -MMD -DNDEBUG -c -o dcadec.o dcadec.c
cc -o dcadec dcadec.o libdcadec/libdcadec.a -lm

proper handling of clipping

dcadec reports "Clipping detected in XLL output" with the following sample:

http://madshi.net/clipping.dtshd

So I've checked the upper byte in the 32bit samples returned by dcadec, but it's empty. How do you handle clipping? Do you really hard clip it? Wouldn't it make more sense to actually store it into the 32bit sample buffer? I mean the buffer is already 32bit, anyway, so why not make use of that? Then eac3to could detect the clipping and run a 2nd pass to lower overall volume. Maybe it would make sense to add a new flag/option to allow this behaviour?

CSA reports 4 "bugs"

The clang static analyzer reports 4 issues. 2 of them are dead storage. The other 2 are possibly just noise but it could be worth to take a look. I just ran:

scan-build make

under Ubuntu 14.10 with llvm and clang installed.

Test files are not in release tarballs

Running make check in the source tree extracted from the 0.2.0 release tarball yields this:

mkdir -p libdcadec
gcc  -o test/stddev -O2 -Wall -Wextra test/stddev.c -lm
cd test && ./test.sh
ERROR: Run 'git submodule update --init test/samples' first.
Makefile:161: recipe for target 'check' failed

It would be great if the release tarballs included the missing files from the Git submodule so that users can run the test suite before installing. Thanks!

XLL decoding issues

Testing your decoder, I've started with simple channel order tests, using conventional DTS files (no HD), testing all possible speaker/channel configurations: All tests passed with flying colors.

Then I've run XLL decoding tests, using my XLL sample collection with various format combinations. I'd say about 60-70% of them decoded identical to the ArcSoft DTS Decoder. However, several of them failed to decode properly. I've identified 5 different problems:

  1. dcadec.exe reports "Failed to decode block code + invalid bitstream format".
  2. dcadec.exe reports "PCM output parameters changed". libdcadec.dll's dcadec_context_filter() function suddenly changes bits_per_sample from 16 to 14 with one of the samples, when this happens. And decoded data is not correct, anymore.
  3. dcadec.exe reports "PCM output overflow".
  4. Decoding runs through without any errors, but the final result doesn't match the ArcSoft decoder.
  5. Everything is fine, but dcadec.exe stops at "Progress: -95%". Just a cosmetical issue.

I'm uploading samples right now. Contained are the original DTS files and ArcSoft decoded WAV files, so you have a reference to compare to. Upload will take about 1,5 hours, so wait a little before you download:

http://madshi.net/dcaDecBugs.zip (413MB)

BTW, does the XLL extension have some sort of CRC check so that dcadec can check if the final decoded result is really bit perfect? I know that TrueHD has such a CRC. Not sure about XLL, though. I could imagine that XLL itself can be checked, but maybe not the final core+XLL combined data? Having some way to check that for lossless-ness would be very helpful, of course, so that users can know if lossless decoding succeeded or not. This might not be crucial for realtime playback, but for reencoding purposes (e.g. conversion to FLAC), having some sort of indication whether decoding was perfectly lossless or not would be very helpful.

Great job, in any case! The dcadec interface is easy to use, and decoding generally looks promising.

Hmmmm... One question: The "samples" buffer always seems to be 32bit? For lossless decoding I suppose I can simply extract the lower 16/24 bit and ignore the other 8/16 bit, correct? That's what I'm currently doing and it seems to match what dcadec.exe produces. However, what should I do for lossy decoding? Is the full 32bit data always filled? In that case I should probably always treat the dcadec lossy decoding results as 32bit PCM, so that eac3to later dithers the data down to the final output bitdepth, correct?

Test suite?

Is it time to add a test suite that tests all the features dcadec supports?

FIR filter for DTS Core?

Does this affect the lossless-ness of the output file (for streams with the XLL extension I mean)? does it degrade sound quality? It'd be nice if the help page went into more detail on what exactly this is.

LGPL relicense

Hi would it be possible to re-license the source code to LGPL v2.1+? Or at least parts of the code so that it could be added to FFmpeg/Libav and making the dca decoder there feature complete.

How to downmix 5.1 into stereo properly? I got overflow even with the -3DB Matrix by Summing the individual output channels.

Hey!
1st if all, Thanks for your work on this.
I tried to got a stereo downmix of dts files.
However, I found the option -2 will not work if the dts file doesn't contain the downmix coffs.
So I tried to sum the individual audio tracks with the following formula:
Lo = FL + 0.707_(C+SL);
Ro = FR + 0.707_(C+SR);
This will cause the final stereo file distorted.
I compared with ffmpeg. It seems that its downmix will cause the volume became very low (about -9 dB).

So how should I do the downmix properly on the dts files that are not containing coff infos?

Looking forward to your reply.
Thanks!

CONFIG_NDEBUG not working

"make CONFIG_NDEBUG=1" is not adding the -DNDEBUG define, apparently because of the override directive for CFLAGS in Makefile.
"CFLAGS := -std=gnu99 -D_FILE_OFFSET_BITS=64 -Wall -Wextra -O3 -g -MMD $(CFLAGS)" should suffice, but better double check to make sure.

Also, "LDFLAGS =" is clearing the environment variable in question, so something like "LDFLAGS=-L/opt/lib make" will be ignored.
You can probably remove the line.

dcadec.exe adds extra samples to end of file when decoding to stdout

Hello!
It seems dcadec.exe adds extra samples to end of output when decoding to stdout.
For example, when I try to reencode dtshd to wavpack using command
dcadec.exe input.dtshd -|wavpack.exe" -i - output.wv
resulted file is few samples longer, than file produced by decoding to wav file (dcadec.exe input.dtshd output.wav) and also longer than original wav file from what dtshd was produced.
Sample: sampledtshd.zip

Profiling report

I tested a few samples while profiling and this is what I get on a few samples.

Master audio (XLL):

time seconds seconds calls us/call us/call name
24.42 0.21 0.21 37680 5.57 8.49 interpolate_sub32_fixed
17.44 0.36 0.15 7536 19.91 32.65 parse_frame_data
13.95 0.48 0.12 dcadec_waveout_write
12.79 0.59 0.11 602880 0.18 0.18 inverse_dct32_fixed
11.63 0.69 0.10 23145408 0.00 0.00 bits_get_signed_rice
6.98 0.75 0.06 8790544 0.01 0.01 bits_get_signed
3.49 0.78 0.03 5968286 0.01 0.01 bits_get
2.33 0.80 0.02 7536 2.65 2.65 interpolate_lfe_fixed_fir
2.33 0.82 0.02 7536 2.65 16.28 parse_frame
2.33 0.84 0.02 bits_get_unsigned_rice
1.16 0.85 0.01 1055040 0.01 0.01 bits_get_unsigned_vlc
1.16 0.86 0.01 7536 1.33 46.45 filter_hd_ma_frame
0.00 0.86 0.00 1521769 0.00 0.00 bits_get1
0.00 0.86 0.00 135648 0.00 0.00 xll_map_ch_to_spkr
0.00 0.86 0.00 120576 0.00 0.00 bits_skip
0.00 0.86 0.00 90434 0.00 0.00 ta_get_size
0.00 0.86 0.00 60900 0.00 0.00 bits_seek
0.00 0.86 0.00 45216 0.00 0.00 xll_get_lsb_width
0.00 0.86 0.00 37681 0.00 0.00 bits_init
0.00 0.86 0.00 30144 0.00 0.00 bits_check_crc
0.00 0.86 0.00 22609 0.00 0.00 bits_skip1
0.00 0.86 0.00 15073 0.00 0.01 read_frame
0.00 0.86 0.00 10528 0.00 0.00 bits_get_signed_linear
0.00 0.86 0.00 7536 0.00 0.00 bits_align1
0.00 0.86 0.00 7536 0.00 45.12 core_filter
0.00 0.86 0.00 7536 0.00 32.70 core_parse
0.00 0.86 0.00 7536 0.00 0.11 exss_parse
0.00 0.86 0.00 7536 0.00 0.00 reorder_samples
0.00 0.86 0.00 7536 0.00 0.00 xll_assemble_msbs_lsbs
0.00 0.86 0.00 7536 0.00 0.00 xll_filter_band_data
0.00 0.86 0.00 7536 0.00 16.28 xll_parse
0.00 0.86 0.00 22 0.00 0.00 ta_zalloc_size
0.00 0.86 0.00 17 0.00 0.00 ta_free
0.00 0.86 0.00 6 0.00 0.00 ta_alloc_size
0.00 0.86 0.00 5 0.00 0.00 interpolator_create

Core 96kHz:

time seconds seconds calls us/call us/call name
84.91 10.91 10.91 138360 78.86 78.86 interpolate_sub64_float
4.75 11.52 0.61 27672 22.05 28.27 parse_frame_data
4.20 12.06 0.54 dcadec_waveout_write
2.33 12.36 0.30 27672 10.84 20.08 parse_x96_frame_data
1.87 12.60 0.24 19098423 0.01 0.01 bits_get_signed_vlc
0.78 12.70 0.10 26956937 0.00 0.00 bits_get
0.31 12.74 0.04 19174096 0.00 0.00 bits_get_signed
0.23 12.77 0.03 4427520 0.01 0.01 bits_get_unsigned_vlc
0.16 12.79 0.02 8135577 0.00 0.00 bits_get1
0.16 12.81 0.02 27672 0.72 0.72 reorder_samples
0.08 12.82 0.01 166032 0.06 0.06 ta_get_size
0.08 12.83 0.01 27672 0.36 394.72 core_filter
0.08 12.84 0.01 27672 0.36 48.90 core_parse
0.04 12.85 0.01 dcadec_context_filter
0.04 12.85 0.01 dcadec_context_free_exss_info
0.00 12.85 0.00 138360 0.00 0.00 bits_skip
0.00 12.85 0.00 83016 0.00 0.00 bits_skip1
0.00 12.85 0.00 55345 0.00 0.07 read_frame
0.00 12.85 0.00 55344 0.00 0.00 bits_init
0.00 12.85 0.00 55344 0.00 0.00 bits_seek
0.00 12.85 0.00 27672 0.00 0.06 alloc_x96_sample_buffer
0.00 12.85 0.00 16 0.00 0.00 ta_zalloc_size
0.00 12.85 0.00 12 0.00 0.00 ta_free
0.00 12.85 0.00 6 0.00 0.00 ta_alloc_size
0.00 12.85 0.00 5 0.00 0.00 interpolate_sub64_float_init
0.00 12.85 0.00 5 0.00 0.00 interpolator_create

Core 48kHz:

time seconds seconds calls us/call us/call name
69.77 0.60 0.60 28884 20.77 20.77 interpolate_sub32_float
10.47 0.69 0.09 7221 12.46 21.97 parse_frame_data
9.30 0.77 0.08 dcadec_waveout_write
4.65 0.81 0.04 9415936 0.00 0.00 bits_get_signed
2.33 0.83 0.02 3399280 0.01 0.01 bits_get
1.16 0.84 0.01 1010940 0.01 0.01 bits_get1
1.16 0.85 0.01 7221 1.38 1.38 reorder_samples
1.16 0.86 0.01 dcadec_stream_read
0.00 0.86 0.00 808752 0.00 0.00 bits_get_unsigned_vlc
0.00 0.86 0.00 36105 0.00 0.00 bits_skip
0.00 0.86 0.00 36105 0.00 0.00 ta_get_size
0.00 0.86 0.00 21663 0.00 0.00 bits_skip1
0.00 0.86 0.00 14443 0.00 0.01 read_frame
0.00 0.86 0.00 14442 0.00 0.00 bits_init
0.00 0.86 0.00 7221 0.00 0.00 bits_seek
0.00 0.86 0.00 7221 0.00 83.10 core_filter
0.00 0.86 0.00 7221 0.00 22.13 core_parse
0.00 0.86 0.00 12 0.00 0.00 ta_zalloc_size
0.00 0.86 0.00 5 0.00 0.00 ta_alloc_size
0.00 0.86 0.00 4 0.00 0.00 interpolate_sub32_float_init
0.00 0.86 0.00 4 0.00 0.00 interpolator_create
0.00 0.86 0.00 4 0.00 0.00 ta_free

Not surprising the transform takes most of the time and frame parsing is next.

Default CFLAGS fail with gcc-4.9

gcc-4.9 does not use c99 by default, so the compilation fails with

cc -c -specs=/void-packages/common/environment/configure/gccspecs/hardened-cc1  -fstack-protector-strong -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe    -DDCADEC_SHARED -DDCADEC_INTERNAL -fPIC -fvisibility=hidden -o libdcadec/interpolator_fixed.o libdcadec/interpolator_fixed.c
In file included from libdcadec/idct_fixed.c:21:0:
libdcadec/idct.h:67:64: error: expected ';', ',' or ')' before 'idct'
 void idct_perform32_float(const struct idct_context * restrict idct,
                                                                ^
...

adding -std=gnu99 to the CFLAGS fixes this issue.

EDIT: replaced c99 with gnu99 as c99 neither defines __USE_MISC or __USE_XOPEN nor __USE_GNU which is needed to define M_PI when including math.h.

Why did you integrate it into FFmpeg and drop the standalone decoder?

You're tying your wagon to a less-than-healthy horse for no real benefit that I can see?

Also, FFmpeg in general clashes with the unix philosophy, and makes it harder to get what you need done.

If it was a standalone decoder, I could pipe the output PCM into any encoder I wanted, but now I either have to deal with what ffmpeg provides, OR output to a wave file on disk.

But hey, whateve. I've learned a TON about programming my projects, BitIO, etc, so it's not a huge deal.

DTS:X

Hi there,

this is supposed to be a DTS:X sample:

http://madshi.net/DTS-X.dts

But I can't see anything special about it. Looks like a normal DTS-MA file to me. Can you see anything out of the ordinary?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.