summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* pcmenc: set correct bitrate valueMans Rullgard2012-05-17
| | | | | | | This fixes a bogus bitrate value in the header of WAV files with alaw/ulaw audio. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.Michael Kostylev2012-05-15
|
* ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16Justin Ruggles2012-05-15
| | | | | | Simplifies the code by using cpuflags and a new macro. Also fixes the invalid use of the MMX2 pshufw operation in the MMX-only function.
* tta: Fix comment about channel number; TTA supports >2 channels.Aneesh Dogra2012-05-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo3: validate new frame size before resetting decoderKostya Shishkov2012-05-15
|
* indeo3: when freeing buffers, set pointers referencing them to NULL as wellKostya Shishkov2012-05-15
|
* indeo3: initialise pixel planes on allocationKostya Shishkov2012-05-15
| | | | This prevents decoder from reading garbage from it in case of errors later.
* indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoderKostya Shishkov2012-05-15
|
* libmp3lame: set supported channel layouts.Anton Khirnov2012-05-14
|
* vcr1: Add vcr1_ prefixes to all static functions with generic names.Diego Biurrun2012-05-14
|
* vcr1: Fix return type of common_init to match the function pointer signature.Diego Biurrun2012-05-14
| | | | libavcodec/vcr1.c:182: warning: initialization from incompatible pointer type
* vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.Diego Biurrun2012-05-14
|
* motion-test: remove disabled codeDiego Biurrun2012-05-14
|
* x86: use more standard construct for setting ASM functions in FFT codeVitor Sessak2012-05-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.Michael Kostylev2012-05-12
|
* arm/neon: dsputil: use correct size specifiers on vld1/vst1Mans Rullgard2012-05-10
| | | | | | | | | | Change the size specifiers to match the actual element sizes of the data. This makes no practical difference with strict alignment checking disabled (the default) other than somewhat documenting the code. With strict alignment checking on, it avoids trapping the unaligned loads. Signed-off-by: Mans Rullgard <mans@mansr.com>
* arm: dsputil: prettify some conditional instructions in put_pixels macrosMans Rullgard2012-05-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vqavideo: change x/y loop counters to the usual patternMans Rullgard2012-05-10
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* rv40dsp x86: MMX/MMX2/3DNow/SSE2/SSSE3 implementations of MCChristophe Gisquet2012-05-10
| | | | | | | | | | | | | | | | | | | | Code mostly inspired by vp8's MC, however: - its MMX2 horizontal filter is worse because it can't take advantage of the coefficient redundancy - that same coefficient redundancy allows better code for non-SSSE3 versions Benchmark (rounded to tens of unit): V8x8 H8x8 2D8x8 V16x16 H16x16 2D16x16 C 445 358 985 1785 1559 3280 MMX* 219 271 478 714 929 1443 SSE2 131 158 294 425 515 892 SSSE3 120 122 248 387 390 763 End result is overall around a 15% speedup for SSSE3 version (on 6 sequences); all loop filter functions now take around 55% of decoding time, while luma MC dsp functions are around 6%, chroma ones are 1.3% and biweight around 2.3%. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* ape: Use unsigned integer mathsChristophe Gisquet2012-05-10
| | | | | | This involves a division that should be a shift. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* arm: dsputil: fix overreads in put/avg_pixels functionsMans Rullgard2012-05-10
| | | | | | | | | The vertically interpolating variants of these functions read ahead one line to optimise the loop. On the last line processed, this might be outside the buffer. Fix these invalid reads by processing the last line outside the loop. Signed-off-by: Mans Rullgard <mans@mansr.com>
* h264: K&R formatting cosmetics for header files (part II/II)Diego Biurrun2012-05-10
|
* h264: K&R formatting cosmetics for header files (part I/II)Diego Biurrun2012-05-10
|
* vcr1enc: drop pointless empty encode_init() wrapper functionDiego Biurrun2012-05-09
|
* vcr1: drop pointless write-only AVCodecContext member from VCR1ContextDiego Biurrun2012-05-09
|
* vcr1: group encoder code together to save #ifdefsDiego Biurrun2012-05-09
|
* vcr1: cosmetics: K&R prettyprinting, typos, parentheses, dead code, commentsDiego Biurrun2012-05-09
|
* libxvid: Give more suitable names to libxvid-related files.Diego Biurrun2012-05-09
|
* libxvid: Separate libxvid encoder from libxvid rate control code.Diego Biurrun2012-05-09
| | | | This allows compiling the Xvid rate control code without the encoder.
* jpeglsdec: Remove write-only variable in ff_jpegls_decode_lse().Diego Biurrun2012-05-09
| | | | libavcodec/jpeglsdec.c:54:9: warning: variable ‘len’ set but not used
* lavc: check that extended_data is properly set in avcodec_encode_audio2().Anton Khirnov2012-05-09
|
* lavc: pad last audio frame with silence when needed.Anton Khirnov2012-05-09
|
* libschroedingerdec: Change AVPicture to AVFrame and use SchroTag to store ptsJordi Ortiz2012-05-08
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* options_table: Add some missing #includes to fix "make checkheaders".Alex Converse2012-05-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lagarith: add YUY2 decoding supportKostya Shishkov2012-05-08
| | | | | | | Unlike other variants, for YUY2 we need to use different prediction: * on line 0 for luma we should left predict starting from the second pixel * on line 1 we should left predict first 4 pixels for luma and 2 for chroma * median prediction employed here is taken directly from HuffYUV
* Support decoding unaligned rgb24 lagarith.Carl Eugen Hoyos2012-05-08
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* dv: Split profile handling code into a separate file.Diego Biurrun2012-05-07
|
* qdm2: clip array indices returned by qdm2_get_vlc().Ronald S. Bultje2012-05-07
| | | | | | | | | | Prevents subsequent overreads when these numbers are used as indices in arrays. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avcodec: do not needlessly set packet size to 0 in avcodec_encode_audio2()Justin Ruggles2012-05-07
| | | | It is already set to 0 by av_free_packet()
* avcodec: for audio encoding, reset output packet when it is not validJustin Ruggles2012-05-07
|
* avcodec: refactor avcodec_encode_audio2() to merge common branchesJustin Ruggles2012-05-07
|
* avcodec: remove fallbacks for AVCodec.encode() in avcodec_encode_audio2()Justin Ruggles2012-05-07
| | | | We no longer have any audio encoders using AVCodec.encode().
* libschroedinger: Switch to function names more in line with Libav style.Diego Biurrun2012-05-07
|
* Move code shared between libdirac and libschroedinger to libschroedinger.Diego Biurrun2012-05-07
| | | | | This also involves making some function static and changing the name prefixes of some functions and structures.
* h264: Remove a commented-out function pointer typedef.Diego Biurrun2012-05-07
|
* txd: Remove write-only variable in txd_decode_frame().Diego Biurrun2012-05-07
| | | | libavcodec/txd.c:49:60: warning: variable ‘mipmap_count’ set but not used
* mmvideo.c: Remove unused variable in mm_decode_pal().Diego Biurrun2012-05-07
| | | | libavcodec/mmvideo.c:87:9: warning: variable ‘i’ set but not used
* build: cosmetics: Add missing end-of-line backslashes to item lists.Diego Biurrun2012-05-07
|
* build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.Diego Biurrun2012-05-07
|
* libschroedinger: Move a function to avoid a forward declaration.Diego Biurrun2012-05-07
|