summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* alac: use sizeof() instead of hardcoded data sizesJustin Ruggles2012-07-19
|
* alac: make block_size signedJustin Ruggles2012-07-19
| | | | It does not need to be unsigned.
* alac: remove a duplicate local variableJustin Ruggles2012-07-19
|
* alac: conditionally set sign_modifier to 1Justin Ruggles2012-07-19
| | | | | It is already unconditionally set to 0 prior to this, so we can modify it only when needed.
* alac: eliminate 2 unneeded local variables in bastardized_rice_decompress()Justin Ruggles2012-07-19
| | | | | x_modified is just unnecessary, and final_val can be removed by simplifying the unsigned-to-signed conversion.
* alac: adjust conditions for updating entropy decoder historyJustin Ruggles2012-07-19
| | | | avoids some unnecessary arithmetic in certain situations
* alac: cosmetics: reindent after last commitJustin Ruggles2012-07-19
|
* alac: limit the rice param before passing to decode_scalar()Justin Ruggles2012-07-19
| | | | | reduces the number of parameters to decode_scalar() and slightly simplifies the code
* alac: reduce the number of parameters to bastardized_rice_decompress()Justin Ruggles2012-07-19
| | | | Use the ALACContext fields directly instead.
* alac: cosmetics: rename some ALACContext parametersJustin Ruggles2012-07-19
|
* alac: clean up and update comments leftover from reverse-engineeringJustin Ruggles2012-07-19
|
* flacdec: reverse lpc coeff order, simplify filterMans Rullgard2012-07-19
| | | | | | | Reversing the lpc coefficient order simplifies indexing in the filter. Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: dsputil: drop some unused CPU flag debug codeDiego Biurrun2012-07-19
|
* ppc: fix build with altivec disabledMans Rullgard2012-07-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* vp3: move idct and loop filter pointers to new vp3dsp contextMans Rullgard2012-07-18
| | | | | | | | This moves all VP3-specific function pointers from dsputil to a new vp3dsp context. There is no reason to ever use the VP3 IDCT where an MPEG2 IDCT is expected or vice versa. Signed-off-by: Mans Rullgard <mans@mansr.com>
* build: add CONFIG_VP3DSP, reduce repetition in OBJS listsMans Rullgard2012-07-18
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* tscc2: do not add/subtract 128 bias during DCTKostya Shishkov2012-07-18
| | | | | | | It turns out that the reference decoder subtracts 128 from DC during block decode but adds it back during reordering block with zigzag pattern. Transforming block with incorrect DC caused heavy visual artifacts for many quantisers.
* tscc2: fix typo in DCTKostya Shishkov2012-07-18
|
* libopenjpeg: introduce encoding supportMichael Bradshaw2012-07-17
| | | | | | | Based on FFmpeg version from commit 713a7854e06964abc8f7d015b94acbed27769d24 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* libopenjpeg: rename decoder source file.Michael Bradshaw2012-07-17
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* tscc2: DCT output should not be clippedKostya Shishkov2012-07-17
| | | | This fixes decoding some TSCC2 files with large quantisers.
* libfdk-aac: Check if cutoff value is validMohammad Alsaleh2012-07-15
| | | | | | | | Passing a cutoff value < sample_rate/256 will cause a crash. Also, values >20000 will have no effect and 20000 will be used anyway. Signed-off-by: Mohammad Alsaleh <msal@tormail.org> Signed-off-by: Martin Storsjö <martin@martin.st>
* vc1dec: Do not use random pred_flag if motion vector data is skippedMashiat Sarker Shakkhar2012-07-15
| | | | | | | This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts from videolan streams archive. Signed-off-by: Martin Storsjö <martin@martin.st>
* vp8: Enclose pthread function calls in ifdefsMartin Storsjö2012-07-15
| | | | | | This fixes building with threads disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
* snow: refactor code to work around a compiler bug in MSVC.Ronald S. Bultje2012-07-14
| | | | | This fixes the compiler error "cannot convert from 'BlockNode' to 'int16_t'".
* vp8: Include the thread headers before using the pthread typesMartin Storsjö2012-07-14
| | | | | | | This was unnoticed on linux, since stdlib.h apparently includes files declaring the pthread_mutex_t and pthread_cond_t types. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8: implement sliced threadingDaniel Kang2012-07-14
| | | | | | | | | | | | Testing gives 25-30% gain on HD clips with two threads and up to 50% gain with eight threads. Sliced threading uses more memory than single or frame threading. Frame threading and single threading keep the previous memory layout. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vp8: move data from VP8Context->VP8MacroblockDaniel Kang2012-07-14
| | | | | | In preparation for sliced threading. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* vp8: refactor decoding a single mb_rowDaniel Kang2012-07-14
| | | | | | This is in preperation for sliced threading. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* imgconvert: deprecate avcodec_find_best_pix_fmt()Janne Grunau2012-07-13
|
* imgconvert: add avcodec_find_best_pix_fmt2()Janne Grunau2012-07-13
| | | | | | | The number of pixel formats outgrew the number of available bits in the bitmask used in avcodec_find_best_pix_fmt(). avcodec_find_best_pix_fmt2() uses a PIX_FMT_NONE terminated list of pixel formats instead.
* imgconvert: avoid undefined left shift in avcodec_find_best_pix_fmtJanne Grunau2012-07-13
| | | | CC: libav-stable@libav.org
* MS Expression Encoder Screen decoderKostya Shishkov2012-07-13
|
* libfdk-aac: Allow setting the encoder bandwidth/cutoff frequencyMartin Storsjö2012-07-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* build: Fix Ogg demuxer dependenciesDiego Biurrun2012-07-12
|
* build: Fix FLAC demuxer dependenciesDiego Biurrun2012-07-12
|
* flac: Move flac functions shared between libraries to flac common codeDiego Biurrun2012-07-12
| | | | This fixes a number of flac-related build dependencies.
* build: Fix CAF demuxer dependenciesDiego Biurrun2012-07-12
|
* build: Fix MP2 muxer dependenciesDiego Biurrun2012-07-12
|
* build: Add missing build rules for the ISMV muxerDiego Biurrun2012-07-12
|
* Support AAC encoding via the external library fdk-aacMartin Storsjö2012-07-12
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add more AAC profilesMartin Storsjö2012-07-12
| | | | | | | The numerical values of the profiles are the MPEG4 Audio Object Type values, minus one. Signed-off-by: Martin Storsjö <martin@martin.st>
* dct/fft-test: use a replacement getopt() if the system has none present.Ronald S. Bultje2012-07-11
| | | | | | | This allows compiling and running these tests on systems lacking a built- in version of getopt(), such as MSVC. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* TechSmith Screen Codec 2 decoderKostya Shishkov2012-07-11
|
* mss1: fix decoding masked regions in interframesKostya Shishkov2012-07-10
| | | | Spotted by Alberto Delmás
* mss3: use standard zigzag tableKostya Shishkov2012-07-09
|
* mss3: split DSP functions that are used in MTS2(MSS4) into separate fileKostya Shishkov2012-07-09
|
* motion-test: do not use getopt()Anton Khirnov2012-07-09
| | | | | | | It is not available on all systems and using argc/argv directly actually makes the code simpler. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* libx264: support aspect ratio switchingJULIAN GARDNER2012-07-09
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: h264_intrapred: Don't add the 'd' suffix to the SPLATB_REG macroMartin Storsjö2012-07-06
| | | | | | | | | | | | | The SPLATB_REG macro already adds the 'd' suffix internally. This fixes building on Win64, which has been broken since 878e66902. This worked for unix, where r2 happened to be rdx in this case, which with the first suffix rdxd was mapped to eax, and eaxd is defined back to eax. On win64 however, r2 happened to be R8 in this case, and R8d mapps to R8D just fine, but there's no mapping for R8Dd to anything. Signed-off-by: Martin Storsjö <martin@martin.st>