summaryrefslogtreecommitdiff
path: root/libavcodec/wma.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Drop pointless assert.h #includesDiego Biurrun2016-05-03
|
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | 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-19
|
* lavc: remove unused traces of fmtconvert usageAnton Khirnov2015-02-28
| | | | | Those decoders have been switched to float output and so do not use fmtconvert anymore.
* wma: check memory allocations and propagate errorsVittorio Giovara2014-12-18
|
* build: Split WMA frequencies into a separate object fileDiego Biurrun2014-09-04
| | | | | 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-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* lavc: remove disabled FF_API_OLD_ENCODE_AUDIO cruftAnton Khirnov2013-03-09
|
* wmaenc: alloc/free coded_frame instead of keeping it in the WMACodecContextJustin Ruggles2013-02-12
|
* floatdsp: move butterflies_float from dsputil to avfloatdsp.Ronald S. Bultje2013-01-22
| | | | | 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-01
| | | | | channels, sample_rate, bit_rate, and block_align can be used directly from the AVCodecContext
* wmaenc: use float planar sample formatJustin Ruggles2012-10-06
|
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* wma: Lower the maximum number of channels to 2Martin Storsjö2012-07-01
| | | | | | | | | | | 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-07
|
* dsputil: Add ff_ prefix to the dsputil*_init* functionsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vlc/rl: Add ff_ prefix to the nonstatic symbolsMartin Storsjö2012-02-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
|
* wma: Clip WMA1 and WMA2 frame length to 11 bits.Alex Converse2012-01-25
| | | | | | | | | | | | 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-22
| | | | | | | | 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-20
| | | | | | | 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-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | 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-29
| | | | dprintf clashes with POSIX.1-2008
* Fix Doxygen documentation of gb parameter in ff_wma_get_large_val().Diego Biurrun2010-07-02
| | | | Originally committed as revision 23984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export wma_critical_freqs as ff_wma_critical_freqsDaniel Verkamp2010-01-23
| | | | 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-09
| | | | 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-29
| | | | 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-15
| | | | | | | | 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-20
| | | | Originally committed as revision 19235 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify run level decoding:Sascha Sommer2009-06-20
| | | | | | | | | | - 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-20
| | | | Originally committed as revision 19233 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for escape coded wmapro run level coefficientsSascha Sommer2009-06-20
| | | | Originally committed as revision 19232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Introduce WMACoef typedef for decoded coefficientsSascha Sommer2009-06-20
| | | | | | | 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-12
| | | | | | 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-12
| | | | 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-12
| | | | 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-12
| | | | | | 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-12
| | | | Originally committed as revision 19165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | 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-24
| | | | | | 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-15
| | | | 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-14
| | | | | | | 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-14
| | | | Originally committed as revision 14757 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mem leakZdenek Kabelac2007-07-18
| | | | | | patch by Zdenek Kabelac: [zdenek kabelac gmail com] Originally committed as revision 9740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sanity checks (should prevent hypothetical div by zero issue)Michael Niedermayer2007-05-30
| | | | | | should fix sf bug #1547313 Originally committed as revision 9164 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize by building the mdct window and multipying/adding at the same time.Ian Braithwaite2007-03-26
| | | | | | | | Patch by Ian Braithwaite ian .. braithwaite . dk [Ffmpeg-devel] WMA decoder speedup 2007-03-22 22:56 Originally committed as revision 8526 to svn://svn.ffmpeg.org/ffmpeg/trunk