summaryrefslogtreecommitdiff
path: root/libavcodec/wma.c
Commit message (Collapse)AuthorAge
...
| * cosmetics: Remove extra newlines at EOFAlex Converse2012-01-27
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-01-26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) wma: Clip WMA1 and WMA2 frame length to 11 bits. movenc: Don't require frame_size to be set for modes other than mov doc: Update APIchanges with info on muxer flushing movenc: Reindent a block tools: Remove some unnecessary #undefs. rv20: prevent calling ff_h263_decode_mba() with unset height/width tools: K&R reformatting cosmetics Ignore generated aviocat and ismindex tools. build: Automatically include architecture-specific library Makefile snippets. indeo5: prevent null pointer dereference on broken files pktdumper: Use usleep instead of sleep cosmetics: Remove some unnecessary block braces. Drop unnecessary prefix from *sink* variable and struct names. Add a tool for creating smooth streaming manifests movdec: Calculate an average bit rate for fragmented streams, too movenc: Write the sample rate instead of time scale in the stsd atom movenc: Add a separate ismv/isma (smooth streaming) muxer movenc: Allow the caller to decide on fragmentation libavformat: Add a flag for muxers that support write_packet(NULL) for flushing movenc: Add support for writing fragmented mov files ... Conflicts: Changelog cmdutils.c cmdutils.h doc/APIchanges ffmpeg.c ffplay.c libavfilter/Makefile libavformat/Makefile libavformat/avformat.h libavformat/movenc.c libavformat/movenc.h libavformat/version.h tools/graph2dot.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-11-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (22 commits) aacdec: Fix PS in ADTS. avconv: Consistently use PIX_FMT_NONE. dsputil: use cpuflags in x86 emu_edge_core dsputil: use movups instead of movdqu in ff_emu_edge_core_sse() wma: initialize prev_block_len_bits, next_block_len_bits, and block_len_bits. mov: Remove some redundant and obsolete comments. Add libavutil/mathematics.h #includes for INFINITY doxy: structure libavformat groups doxy: introduce an empty structure in libavcodec doxy: provide a start page and document libavutil doxy: cleanup pixfmt.h regtest: split video encode/decode tests into individual targets ARM: add explicit .arch and .fpu directives to asm.S pthread: do not touch has_b_frames avconv: cleanup the transcoding loop in output_packet(). avconv: split subtitle transcoding out of output_packet(). avconv: split video transcoding out of output_packet(). avconv: split audio transcoding out of output_packet(). avconv: reindent. avconv: move streamcopy-only code out of decoding loop. ... Conflicts: avconv.c libavcodec/aaccoder.c libavcodec/pthread.c libavcodec/version.h libavutil/audioconvert.h libavutil/avutil.h libavutil/mem.h tests/ref/vsynth1/dv tests/ref/vsynth1/mpeg2thread tests/ref/vsynth2/dv tests/ref/vsynth2/mpeg2thread Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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.
* | Merge remote-tracking branch 'newdev/master'Michael Niedermayer2011-03-21
|\| | | | | | | Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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
* | Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-04
| | | | | | | | | | | | | | | | 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> (cherry picked from commit c73d99e672329c8f2df290736ffc474c360ac4ae)
* | Replace dprintf with av_dlogLuca Barbato2011-01-30
|/ | | | | dprintf clashes with POSIX.1-2008 (cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
* 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
* Give context to dprintfMichel Bardiaux2007-03-12
| | | | Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Corrections so that builds with DEBUG workMichel Bardiaux2007-03-08
| | | | Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename WMADecodeContext to WMACodecContextMichel Bardiaux2007-02-27
| | | | Originally committed as revision 8143 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Supply context to tprintfMichel Bardiaux2007-02-27
| | | | Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix another common typo, dependAnt --> dependEnt.Diego Biurrun2007-02-24
| | | | Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* wma encoderMichael Niedermayer2007-02-06
Originally committed as revision 7855 to svn://svn.ffmpeg.org/ffmpeg/trunk