summaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.c
Commit message (Collapse)AuthorAgeFilesLines
* wma: Convert to the new bitstream readerAlexandra Hájková2017-02-061-20/+21
|
* wma: Kill non-compiling disabled cruftDiego Biurrun2016-08-171-10/+0
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-041-1/+1
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-031-3/+0
|
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-271-1/+1
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Replace av_dlog and tprintf with internal macrosVittorio Giovara2015-04-191-10/+11
|
* lavc: remove unused traces of fmtconvert usageAnton Khirnov2015-02-281-1/+0
| | | | | Those decoders have been switched to float output and so do not use fmtconvert anymore.
* wma: check memory allocations and propagate errorsVittorio Giovara2014-12-181-9/+19
|
* build: Split WMA frequencies into a separate object fileDiego Biurrun2014-09-041-0/+1
| | | | | These are the only WMA bits shared with binkaudio. Splitting them off reduces the binnkaudio dependency on general WMA code.
* wma: K&R formatting cosmeticsGabriel Dume2014-09-031-117/+108
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* miscellaneous typo fixesDiego Biurrun2013-07-251-1/+1
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-041-4/+5
|
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-091-5/+0
|
* wmaenc: alloc/free coded_frame instead of keeping it in the WMACodecContextJustin Ruggles2013-02-121-0/+5
|
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-221-1/+0
| | | | | This makes wmadec/enc, twinvq and mpegaudiodec (i.e. mp2/mp3) independent of dsputil.
* wma: do not keep private copies of some AVCodecContext fieldsJustin Ruggles2012-11-011-20/+16
| | | | | channels, sample_rate, bit_rate, and block_align can be used directly from the AVCodecContext
* wmaenc: use float planar sample formatJustin Ruggles2012-10-061-0/+1
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-1/+1
|
* wma: Lower the maximum number of channels to 2Martin Storsjö2012-07-011-1/+1
| | | | | | | | | | | ff_wma_init is used only by wmadec and wmaenc, and neither of them can handle more than 2 channels. This fixes crashes with invalid files. Based on patch by Piotr Bandurski and Michael Niedermayer. Signed-off-by: Martin Storsjö <martin@martin.st>
* wma: Refactor common code to fix standalone compilation of WMA lossless decoder.Diego Biurrun2012-03-071-40/+1
|
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-151-3/+3
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-271-1/+0
|
* wma: Clip WMA1 and WMA2 frame length to 11 bits.Alex Converse2012-01-251-1/+1
| | | | | | | | | | | | The MDCT buffers in the decoder are only sized for up to 11 bits. The reverse engineered documentation for WMA1/2 headers say that that for all samplerates above 32kHz 11 bits are used. 12 and 13 bit support were added for WMAPro. I was unable to make any Microsoft tools generate a test file at a samplerate above 48kHz. Discovered by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits.Justin Ruggles2011-11-221-0/+3
| | | | | | | | The initial values are not checked against the number of block sizes. Initializing them to frame_len_bits will result in a block size index of 0 in these cases instead of something that might be out-of-range. Fixes Bug 81.
* Move sine windows to a separate fileMans Rullgard2011-03-201-0/+1
| | | | | | | These windows do not really belong in fft/mdct files and were easily confused with the similarly named tables used by rdft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-5/+5
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-021-0/+1
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-291-4/+4
| | | | dprintf clashes with POSIX.1-2008
* Fix Doxygen documentation of gb parameter in ff_wma_get_large_val().Diego Biurrun2010-07-021-1/+1
| | | | Originally committed as revision 23984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export wma_critical_freqs as ff_wma_critical_freqsDaniel Verkamp2010-01-231-2/+2
| | | | Originally committed as revision 21391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for hard-coded MDCT-related ff_sine_windows tables.Reimar Döffinger2010-01-091-3/+1
| | | | Originally committed as revision 21108 to svn://svn.ffmpeg.org/ffmpeg/trunk
* WMA: store level_table as floats, use type punning for sign flip in decodeMåns Rullgård2009-09-291-6/+13
| | | | Originally committed as revision 20078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add two more sizes to ff_sine_windows[] and also pad it with NULLs soVitor Sessak2009-09-151-2/+2
| | | | | | | | that FF_ELEMS(ff_sine_windows[x]) == 1 << x. Fix issue 1384. Originally committed as revision 19862 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make remaining run level decode comments doxygen commentsSascha Sommer2009-06-201-4/+4
| | | | Originally committed as revision 19235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify run level decoding:Sascha Sommer2009-06-201-30/+21
| | | | | | | | | | - remove unneeded vlc code < 0 check - reorder vlc code handling so that the unlikely escape decoding part comes last - move overflow check out of the decode loop - branchless sign conversion Originally committed as revision 19234 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentation after the previous commitSascha Sommer2009-06-201-4/+4
| | | | Originally committed as revision 19233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for escape coded wmapro run level coefficientsSascha Sommer2009-06-201-0/+40
| | | | Originally committed as revision 19232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce WMACoef typedef for decoded coefficientsSascha Sommer2009-06-201-2/+2
| | | | | | | and change default type to float so that the run level decoding functionality can be shared with wmapro Originally committed as revision 19231 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move run level decode functionality to ff_wma_run_level_decodeSascha Sommer2009-06-121-0/+61
| | | | | | so that it can be reused for wmapro Originally committed as revision 19171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Add brackets between if/elseSascha Sommer2009-06-121-23/+30
| | | | Originally committed as revision 19170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add additional sample rates to the frame len bits calculation codeSascha Sommer2009-06-121-1/+17
| | | | Originally committed as revision 19169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move frame len bits calculation to ff_wma_get_frame_len_bitsSascha Sommer2009-06-121-8/+26
| | | | | | so that it can be reused for wmapro Originally committed as revision 19167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Prettyprint and reformat wma.c closer to K&R style.Diego Biurrun2009-06-121-43/+44
| | | | Originally committed as revision 19165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix index to ff_sine_windows[]. Previously the index was usually in reverseRobert Swain2008-08-241-2/+2
| | | | | | order. Originally committed as revision 14940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't try to free shared ff_sine_* tables pointed to by s->windows[]Robert Swain2008-08-151-2/+0
| | | | Originally committed as revision 14775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add declarations for the sine tables used in wma.c (half window sizes: 128,Robert Swain2008-08-141-4/+2
| | | | | | | 256, 512, 1024 and 2048) to mdct.c. Make them accessible via dsputil.h. Make wma.c use these shared tables. Originally committed as revision 14758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change wma.c to use the ff_sine_window_init() from mdct.cRobert Swain2008-08-141-6/+2
| | | | Originally committed as revision 14757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mem leakZdenek Kabelac2007-07-181-0/+1
| | | | | | patch by Zdenek Kabelac: [zdenek kabelac gmail com] Originally committed as revision 9740 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud