foo86
f6b86b62f7
avcodec/dca: move some enumeration typedefs into headers
These values will be used by the parser. Prefix them with DCA_
appropriately.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Daniil Cherednik
b8c2b9c392
avcodec/dcaenc: Initial implementation of ADPCM encoding for DCA encoder
9 years ago
Daniil Cherednik
c2500d62c6
dcaenc: Implementation of Huffman codes for DCA encoder
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
9 years ago
foo86
b5cda23039
avcodec/dca: remove useless debug message
Most DTS-in-WAV streams trigger this, making debug output hard to read.
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
b7d267399b
avcodec/dca: convert to AVCRC
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
ce2f9fdb0a
avcodec/dca: fix sync word search error condition
This didn't actually check if sync word was found and always errored out
with "-err_detect explode" option enabled.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
foo86
2df7d4fa45
avcodec/dca: move huffman data into separate object file
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
foo86
db44b59980
avcodec/dca: clear X96 channels if nothing was decoded
The first X96 channel set can have more channels than core, causing X96
decoding to be skipped. Clear the number of decoded X96 channels to zero
in this rudimentary case.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Hendrik Leppkes
5fc310f7ca
dca: add emms_c after usage of AV_COPY128
Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
10 years ago
Hendrik Leppkes
0b1972d409
dca: add emms_c after AV_ZERO128 macros
AV_ZERO64/128 can use MMX on x86.
Reviewed-By: James Almer <jamrial@gmail.com>
10 years ago
James Almer
77b5b95247
avcodec/dca_core: rename get_vlc function
Fixes compilation with TRACE enabled
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
foo86
ae5b2c5250
avcodec/dca: add new decoder based on libdcadec
10 years ago