summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Use av_fast_malloc instead of av_realloc.Reimar Döffinger2011-01-24
| | | | | | This should be faster, is less code and fixes issue 2524 (allocation error would lead to crash). (cherry picked from commit e7b95918fca1c3d057d35f77ba58ee2d00d03151)
* reindent after last commitKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Extend WavPack demuxer and decoder to support >2 channel audioKostya2011-01-24
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ARM: NEON: fix overflow in h264 16x16 planar predMans Rullgard2011-01-24
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* MIPS: use inline asm only when supported by compilerMans Rullgard2011-01-23
|
* aacenc: fix typo in sync extension constant in 8ae0fa2Janne Grunau2011-01-23
|
* Remove redundant checks against MIN_CACHE_BITSMans Rullgard2011-01-23
| | | | | | | With the removal of the libmpeg2 bitstream reader, MIN_CACHE_BITS is always >= 25, so tests against smaller values can be removed. Signed-off-by: Mans Rullgard <mans@mansr.com>
* get_bits: move tracing macros to end of fileMans Rullgard2011-01-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 2Mans Rullgard2011-01-23
| | | | | | | These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Sanitise get_bits macros, part 1Mans Rullgard2011-01-23
| | | | | | | | | Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove "libmpeg2" bitstream readerMans Rullgard2011-01-23
| | | | | | | | | | Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ac3enc: use dsputil functions in apply_window()Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Change DSPContext.vector_fmul() from dst=dst*src to dest=src0*src1.Justin Ruggles2011-01-22
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Reindent.Ronald S. Bultje2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Fix crash on resolution change (issue 2393).Ronald S. Bultje2011-01-22
| | | | | | | | Don't free RBSP tables (containing decoded NAL units) on resolution change, because we actually need this data to decode the frame after reiniting (with new resolution). Fixed issue 2393. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Make LOCAL_ALIGNED macro fully C99 compatibleMans Rullgard2011-01-22
| | | | | | | | | C99 variadic macros require more arguments than there are named parameters in the definition. This means we must use an extra indirection to avoid having two different macros for arrays with one resp more than one dimension. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove H.264 encoder fragmentsAlex Converse2011-01-22
| | | | | | | It's incomplete, no one is working on it, and when someone asks about working on it we advise them not to. Signed-off-by: Mans Rullgard <mans@mansr.com>
* aacenc: mark SBR absentAlex Converse2011-01-22
| | | | | | | Use backwards compatible explicit signalling to denote the absence of SBR. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* 10l: reverse the biquad coefficients.Justin Ruggles2011-01-22
| | | | | | I did not notice that the filter implementation uses a reversed history state. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* libfaac: add recognized profiles arrayAnssi Hannula2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Move ID3v1 skip from decoder to demuxerClément Bœsch2011-01-22
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* dca: add profile namesAnssi Hannula2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* iir: Change dst param to float* in ff_iir_filter_flt().Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: consider a stream with XXCh/X96 in ExSS as DTS-HD HRAAnssi Hannula2011-01-21
| | | | | | | | | | | DTS-HD HRA streams do not always have an XBR extension in the extension substream. Instead they can have only XXCh and X96 extensions in there and still be considered DTS-HD HRA. This is also confirmed with Onkyo TX-SR607 receiver which recognizes such a stream as HiRes Audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics related to LPC changes.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate window function from autocorrelation.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move lpc_compute_autocorr() from DSPContext to a new struct LPCContext.Justin Ruggles2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dca: pretty-print some tablesMans Rullgard2011-01-21
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* iir: change filter type if/else to a switch.Justin Ruggles2011-01-20
| | | | | | Simplifies error handling and makes it easier to add additional filter types. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add biquad high-pass and low-pass IIR filters.Justin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Revert 2a1f431d38ea9c05abb215d70c7dc09cdb6888ab, it broke H264 lossless.Ronald S. Bultje2011-01-20
|
* Set gray (128) U/V planes for chroma-less samples. Fixes two fate samplesRonald S. Bultje2011-01-20
| | | | when played with -flags emu_edge.
* Split out Butterworth filter coeff init to a separate function.Justin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: vertical alignment and line wrapJustin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add memory allocation failure checks to ff_iir_filter_init_coeffs().Justin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cosmetics: wrap long lineJustin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add function ff_iir_filter_flt() to accept floating-point input and output.Justin Ruggles2011-01-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix horizontal/horizontal_up 8x8l intra prediction x86/simd functions.Ronald S. Bultje2011-01-19
| | | | | | | | The original functions did not work correctly for edge pixels, e.g. when CODEC_FLAG_EMU_EDGE is set, leading to corrupt output in e.g. VLC. Based on a patch by Daniel Kang <daniel d kang gmail com>. Signed-off-by: Ronald S. Bultje <rsbultje gmail com>
* Fix use of sstep/dstep in ff_iir_filter().Justin Ruggles2011-01-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* a64enc: make PixelFormat arrays constMans Rullgard2011-01-18
|
* Replace ASMALIGN() with .p2alignMans Rullgard2011-01-18
| | | | | This macro has unconditionally used .p2align for a long time and serves no useful purpose.
* x86: remove VLA in ac3_downmix_sseMans Rullgard2011-01-18
|
* consolidate .gitignore patters into a single fileJanne Grunau2011-01-18
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* cosmetics: reindentJustin Ruggles2011-01-18
|
* Add check for changing number of channels in DCA.Daniel Kang2011-01-18
| | | | Fixes issue 2505.
* update av_log_missing_feature() to gitJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* convert svn:ignore properties to .gitignore filesJanne Grunau2011-01-17
| | | | Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* VP3: remove an unnecessary static variableAlexander Strange2011-01-17
| | | | Originally committed as revision 26398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate last picture for 4xm pfrm if its not allocated.Michael Niedermayer2011-01-16
| | | | | | Fixes segfault and issue2527 Originally committed as revision 26397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support decoding of files that contain the numberSascha Sommer2011-01-16
| | | | | | | of vector coded coefficients in their bitstream fixes issue 2536 Originally committed as revision 26388 to svn://svn.ffmpeg.org/ffmpeg/trunk