summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 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
|
* arm: properly mark external symbol callMartin Aumüller2011-05-14
| | | | | | | | Surround memset and ff_vp8_dct_cat_prob by X() in order to fix iOS build Includes patch by Luca Barbato <lu_zero@gentoo.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Add av_clip_uintp2() functionMans Rullgard2011-05-13
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* dfa: fix buffer overflow checks to avoid integer overflows.Reimar Döffinger2011-05-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ac3enc: put the counting of stereo rematrixing bits in the same place toJustin Ruggles2011-05-12
| | | | make the code easier to understand.
* ac3enc: clean up count_frame_bits() and count_frame_bits_fixed()Justin Ruggles2011-05-12
|
* mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of ↵Michael Niedermayer2011-05-12
| | | | | | | | | just via AVFrame. This allows the values to be used without changing C code and is closer to how the other DEBUG flags work. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* srtdec: make sure we don't write past the end of bufferAurelien Jacobs2011-05-12
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* wmaenc: improve channel count and bitrate error handling in encode_init()Tomas Härdin2011-05-12
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* tiff: add support for SamplesPerPixel tag in tiff_decode_tag()Stefano Sabatini2011-05-12
| | | | | | | | | | | | | Format detection and internal frame initialization is moved to a separate init_image() function, which is called when all the tags have been read, and so both BitsPerSample and SamplesPerPixel information has been collected. This fixes decoding of the file 11.tiff from roundup issue #1925. Based on a patch by Kostya Shishkov <kostya.shishkov@gmail.com>. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tiff: Prefer enum TiffCompr over int for TiffContext.compr.Stefano Sabatini2011-05-12
| | | | | | This is safer and helps debugging. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dnxhdenc: add AVClass in private context.Baptiste Coudurier2011-05-12
| | | | | | Fixes private options. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace int_fast integer types with their sized standard posix counterparts.Diego Biurrun2011-05-12
| | | | | The _fast integer types provide no realworld benefits, but may introduce portability issues and are just plain ugly.
* jfdct: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-05-12
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* 10-bit H.264 x86 chroma v loopfilter asmJason Garrett-Glaser2011-05-11
| | | | Also delete some unused deblock asm macros.
* Port SMPTE S302M audio decoder from FFmbc 0.3.Baptiste Coudurier2011-05-11
|
* Fix crash of interlaced MPEG2 decodingAnatoly Nenashev2011-05-11
| | | | | Problem description, preliminary review discussion at http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/127731
* h264pred: fix one more aliasing violation.Ronald S. Bultje2011-05-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* flacenc: use proper initializers for AVOption default values.Anton Khirnov2011-05-11
| | | | | default_val was recently changes from double to a union, current code wasn't updated for that.
* lavc: deprecate named constants for deprecated antialias_algo.Anton Khirnov2011-05-11
|
* aac: workaround for compilation on cygwinReinhard Tartler2011-05-11
| | | | | | | | | On cygwin, math.h needs to be included before float.h because of a bug in the system headers. Including libavutil/libm.h first works around this issue. Longer discussion of the topic: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/128582
* swscale: extend YUV422p support to 10bits depthBaptiste Coudurier2011-05-11
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tiff: add support for inverted FillOrder for uncompressed dataStefano Sabatini2011-05-11
| | | | | | Fix decoding of file b.tif, trac issue #168. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264pred: fix aliasing violations.Ronald S. Bultje2011-05-11
| | | | Tested to fix Haiku H264/10bit fate failures, may also fix others.
* cosmetics: Fix crazy formatting in resample.Alex Converse2011-05-10
|
* Allow resampling with no channel count change for up to 8 channels.Alex Converse2011-05-10
|
* Don't allow unsupported resampling configurations.Alex Converse2011-05-10
|
* Port x86 10-bit H.264 deblock asm from x264Jason Garrett-Glaser2011-05-10
|
* Update x86 H.264 deblock asmJason Garrett-Glaser2011-05-10
| | | | Includes AVX versions from x264.
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | This breaks API and ABI.
* arm/h264pred: add missing argument type.Ronald S. Bultje2011-05-10
|
* h264dsp_mmx: place bracket outside #if/#endif block.Ronald S. Bultje2011-05-10
| | | | Should fix compile on systems missing yasm/nasm.
* h264: do not print "too many references" warning for intra-only.Ronald S. Bultje2011-05-10
| | | | Fixes issue 2679.
* Enable decoding of high bit depth h264.Oskar Arvidsson2011-05-10
| | | | | | This patch completes the high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 ↵Oskar Arvidsson2011-05-10
| | | | | | | | | | | | | | | | | decoder. This patch lets e.g. dsputil_init chose dsp functions with respect to the bit depth to decode. The naming scheme of bit depth dependent functions is <base name>_<bit depth>[_<prefix>] (i.e. the old clear_blocks_c is now named clear_blocks_8_c). Note: Some of the functions for high bit depth is not dependent on the bit depth, but only on the pixel size. This leaves some room for optimizing binary size. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add support for higher QP values in h264.Oskar Arvidsson2011-05-10
| | | | | | | | In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)). Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>