summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* svq3: Do initialization after parsing the extradataRonald S. Bultje2011-05-21
| | | | | | | | If done before, some parameters aren't known yet. With svq3/rtp, initializing before some parameters are known can lead to calling av_malloc(0), which on OS X currently returns broken pointers.
* mp3lame: add #include required for AV_RB32 macro.Ronald S. Bultje2011-05-20
| | | | Fixes compilation with mp3lame enabled.
* LATM/AAC: Free previously initialized context on reinit.Ronald S. Bultje2011-05-20
| | | | | | | | Fixes memory leaks which are the result of overwriting already-initialized MDCT contexts during context reinitialization, e.g. in valgrind fate-aac-latm_000000001180bc60. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add support for a.out object format to assembler macros.Dave Yeo2011-05-20
| | | | | | This format is still used by e.g. OS/2. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpegaudio: clean up #includesMans Rullgard2011-05-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: move all header parsing to mpegaudiodecheader.[ch]Mans Rullgard2011-05-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: Use floating point synthesis filter.Vitor Sessak2011-05-19
| | | | | | This avoid needlessly convertion from floating point to fixed point and back. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: correct border check.Ronald S. Bultje2011-05-19
| | | | | | | | | When backing up the top-left border, check that the top-left (rather than left) MB indeed does belong to our slice. If it doesn't, backing up has no positive effect but may accidentally interfere with other threads writing in the same space. Fixes occasional one-off effects when enabling slice-MT.
* h264: fix loopfilter with threading at slice boundaries.Ronald S. Bultje2011-05-19
|
* Fix ff_mpa_synth_filter_fixed() prototypeMans Rullgard2011-05-20
| | | | | | | The prototype should use the same typedefs as the definition, or it will fail where int32_t is not int (DOS apparently). Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rename costablegen.c ---> cos_tablegen.c.Diego Biurrun2011-05-19
| | | | | | This is consistent with how all other table generation programs are named. Moreover this ensures that the cos table generation program is correctly deleted when cleaning the tree.
* Collapse tableprint.c into tableprint.h.Diego Biurrun2011-05-19
| | | | | tableprint.c serves little purpose on its own and removing it allows building the table generator programs with the normal HOSTPROGS Makefile rules.
* Simplify trig table rulesMans Rullgard2011-05-19
| | | | | | | | This collapses the make rules for the trig tables into a pattern rule. Based on a patch by Diego, modified to avoid using fragile make constructs and allow future addition of fixed-point sin tables. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove potentially unstable filenames from comments in generated files.Diego Biurrun2011-05-19
|
* Simplify CLEANFILES make variable by using wildcards.Diego Biurrun2011-05-19
| | | | Also ensures that generated file cos_fixed_tables.c is deleted on 'make clean'.
* mpegaudiodsp: fix x86 and ppc makefilesMans Rullgard2011-05-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove unused version of SAME_HEADER_MASKMans Rullgard2011-05-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove useless #undef at end of fileMans Rullgard2011-05-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: merge two #if CONFIG_FLOAT blocksMans Rullgard2011-05-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: move some struct definitions from mpegaudio.hMans Rullgard2011-05-19
| | | | | | | These structs are only used in mpegaudiodec.c, so move them there and remove no longer needed #include lines from mpegaudio.h. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move some mpegaudio functions to new mpegaudiodsp subsystemMans Rullgard2011-05-19
| | | | | | | | This separation allows these functions to be used in a cleaner fashion from other codecs (e.g. qdm2) and simplifies creating optimised versions of them. Signed-off-by: Mans Rullgard <mans@mansr.com>
* g729: Merge g729.h into g729dec.c.Diego Biurrun2011-05-19
| | | | The header contains just a single define that is only used in g729dec.c.
* 10l: wrap float_interleave functions in HAVE_YASM.Justin Ruggles2011-05-18
| | | | fixes compilation with --disable-yasm
* Add floating-point sample format support to the ac3, eac3, dca, aac, and vorbisJustin Ruggles2011-05-18
| | | | | | decoders. Based on patches by clsid2 in ffdshow-tryout.
* Add request_sample_fmt field to AVCodecContext.Justin Ruggles2011-05-18
| | | | | This will allow audio decoders to support output of different sample formats as a runtime option.
* Add float_interleave() to FmtConvertContext with x86-optimized versions.Justin Ruggles2011-05-18
| | | | | Partially based on patches by clsid2 in ffdshow-tryout. ff_float_interleave6() x86 improvements by Loren Merrit.
* mpegaudiodec: remove decode_end() functionMans Rullgard2011-05-18
| | | | | | | This function is not needed since 721d6f2dc5 removed the DCT table allocations for the configuration used here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: sanitise compute_antialias_* namesMans Rullgard2011-05-18
| | | | | | | This makes the compute_antialias functions use the same naming convention as everything else. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpeg12: add slice-threading checks to slice-threading initializers.Ronald S. Bultje2011-05-18
| | | | Fixes "make THREADS=2 THREAD_TYPE=1 fate-mpeg2-field-enc".
* h264: copy pixel_shift between slice threading contexts.Ronald S. Bultje2011-05-18
| | | | | Fixes "make THREADS=2 THREAD_TYPE=2 fate-h264-conformance-frext-pph10i3_panasonic_a".
* mdec: enable frame-level multithreading.Alexander Strange2011-05-18
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mdec.c: fix overread.Ronald S. Bultje2011-05-18
|
* Fix compilation of iirfilter-test.Justin Ruggles2011-05-17
|
* libx264: handle closed GOP codec flagJindrich Makovicka2011-05-17
| | | | | | | Also update libx264 presets to keep closed gop as default. Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegaudio: add _fixed suffix to some namesMans Rullgard2011-05-17
| | | | | | | | This adds a _fixed suffix to the fixed-point versions of things with both float and fixed-point variants. This makes it more consistent with other dual-implementation things, e.g. fft. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Modify x86util.asm to ease transitioning to 10-bit H.264 assembly.Daniel Kang2011-05-17
| | | | | | | Arguments for variable size instructions are added to many macros, along with other various changes. The x86util.asm code was ported from x264. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dct: build dct32 as separate object filesMans Rullgard2011-05-17
| | | | | | | This builds the float and fixed-point versions of dct32 separately instead of #including the file in dct.c and mpegaudiodec.c. Signed-off-by: Mans Rullgard <mans@mansr.com>
* qdm2: include correct header for rdftMans Rullgard2011-05-17
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mathops: remove ancient confusing commentMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: move OUT_FMT macro to mpegaudiodec.cMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegaudio: remove OUT_MIN/MAX macrosMans Rullgard2011-05-16
| | | | | | | | These macros are no longer needed after the s32 output was removed. Change the relevant code to use av_clip_int16() instead of using explicit limits. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add missing #includes to mp3_header_(de)compress bsfMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct: fix indentationMans Rullgard2011-05-16
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dct: bypass table allocation for DCT_II of size 32Mans Rullgard2011-05-16
| | | | | | | | The size-32 DCT_II has a special implementation which doesn't use the normal tables. Skipping allocation of these in this case saves some memory. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264dsp_mmx: Add #ifdefs around some mmxext functions on x86_64.Gil Pedersen2011-05-16
| | | | | | This fixes linking errors due to undefined symbols on x86_64 OS X. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove unused header mpegaudio3.h.Diego Biurrun2011-05-16
| | | | The header is a part of an MP3 encoder that never saw the light of day.
* aacdec: Use float instead of int16_t for ltp_state to avoid needless rounding.Justin Ruggles2011-05-15
|
* acelp: Remove unused gray_decode table.Diego Biurrun2011-05-15
|
* dfa: Remove unused variable.Diego Biurrun2011-05-15
| | | | | This fixes the warning: libavcodec/dfa.c:189: warning: unused variable ‘frame_end’
* Fix FSF address copy paste error in some license headers.Diego Biurrun2011-05-14
|