summaryrefslogtreecommitdiffstats
path: root/libavcodec/dca_core.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/dca_core: always limit frame size to data sizefoo862017-10-091-1/+1
| | | | | Silences pointless error message when decoding DTS-in-WAV stream with excessive frame size stored in header.
* avcodec/dca: remove GetBitContext usage from ↵James Almer2017-07-211-1/+1
| | | | | | | | | avpriv_dca_parse_core_frame_header() This prevents potential ABI issues with GetBitContext. Reviewed-by: foo86 <foobaz86@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: avoid using bitstream reader in a non-standard wayfoo862017-07-181-5/+7
| | | | | | Use proper get_bits.h functions instead of directly accessing index. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_core: probe extension headers directlyfoo862017-07-181-15/+16
| | | | | | | Avoid using bitstream reader in a non-standard way by directly accessing index. Use bit shifting/masking operations instead. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca_core: switch to common frame header parsing functionfoo862017-07-181-98/+51
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: move some enumeration typedefs into headersfoo862017-07-181-48/+20
| | | | | | | These values will be used by the parser. Prefix them with DCA_ appropriately. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dcaenc: Initial implementation of ADPCM encoding for DCA encoderDaniil Cherednik2017-05-081-35/+11
|
* dcaenc: Implementation of Huffman codes for DCA encoderDaniil Cherednik2017-01-151-12/+4
| | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avcodec/dca: remove useless debug messagefoo862016-05-201-3/+1
| | | | | | Most DTS-in-WAV streams trigger this, making debug output hard to read. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: convert to AVCRCfoo862016-05-031-15/+10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: fix sync word search error conditionfoo862016-05-021-6/+9
| | | | | | | 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>
* avcodec/dca: move huffman data into separate object filefoo862016-05-011-64/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: clear X96 channels if nothing was decodedfoo862016-03-061-0/+1
| | | | | | | | 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>
* dca: add emms_c after usage of AV_COPY128Hendrik Leppkes2016-02-021-0/+4
| | | | Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86
* dca: add emms_c after AV_ZERO128 macrosHendrik Leppkes2016-02-021-0/+4
| | | | | | AV_ZERO64/128 can use MMX on x86. Reviewed-By: James Almer <jamrial@gmail.com>
* avcodec/dca_core: rename get_vlc functionJames Almer2016-02-011-7/+7
| | | | | | | Fixes compilation with TRACE enabled Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/dca: add new decoder based on libdcadecfoo862016-01-311-0/+2603
OpenPOWER on IntegriCloud