summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* mpegvideo: Move 8x8 in a separate functionLuca Barbato2013-10-15
|
* mpegvideo: Move obmc in a separate functionLuca Barbato2013-10-15
|
* ffv1: Assume bitdepth 0 means 8bitLuca Barbato2013-10-15
| | | | | CC: libav-stable@libav.org Reported-by: debian/726189
* mpegvideo: K&R formatting cosmeticsLuca Barbato2013-10-15
|
* lavc: Convert some remaining strides to ptrdiff_tRonald S. Bultje2013-10-15
|
* h264_parser: Fix POC parsing for the case where MMCO_RESET is present.Yusuke Nakamura2013-10-15
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_parser: Fix POC parsing for the case where MMCO_RESET is absent.Yusuke Nakamura2013-10-15
| | | | | | | The prev_ values were not set after parsing POC. Increase length of the buffer decoded to parse enough safely. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* bitstream: Check the result of av_malloc()Diego Biurrun2013-10-15
|
* cavs: more K&R formatting cosmeticsDiego Biurrun2013-10-15
|
* mpegaudio_tablegen: Don't use llrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cos_tablegen: Don't use lrintDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on it being present on all systems, and you cannot include libm.h in a host tool, so just hard code a baseline implementation. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tablegen: Don't use cbrtf in host toolsDerek Buitenhuis2013-10-15
| | | | | | | | You cannot count on them being present on all systems, and you cannot include libm.h in a host tool, so just hard code baseline implementations. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* tableprint: Fix use of a size_t print with MSVCDerek Buitenhuis2013-10-15
| | | | | | | %zu was introduced in C99, so MSVC has its own way to handle it, namely %Iu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cavs: Check for negative cbpLuca Barbato2013-10-13
| | | | | | Sample-Id: 00000647-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* cavs: Return meaningful error valuesLuca Barbato2013-10-13
|
* cavs: K&R formatting cosmeticsLuca Barbato2013-10-13
|
* pthread: Fix deadlock during thread initializationDerek Buitenhuis2013-10-13
| | | | | | | | | | Sometimes, if pthread_create() failed, then pthread_cond_wait() could accidentally be called in the worker threads after the uninit function had already called pthread_cond_broadcast(), leading to a deadlock. Don't call pthread_cond_wait() if c->done is set. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* indeo4: Check the inherited quant_matLuca Barbato2013-10-13
| | | | | | | | Invalidate it if not supported. Sample-Id: 00000262-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* indeo4: Check the block size if reusing the band configurationLuca Barbato2013-10-13
| | | | | | | Sample-Id: 00000287-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* lavc doxy: extend/clarify avcodec_decode_audio4() doxyAnton Khirnov2013-10-12
| | | | Elaborate on flushing the decoder.
* lavc doxy: remove false statements about alignment requirements.Anton Khirnov2013-10-12
| | | | The packet data does not need to be aligned.
* prores: Reject negative run and level valuesLuca Barbato2013-10-10
| | | | | | | Sample-Id: 00000611-google Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* shorten: Fix out-of-array readTim Walker2013-10-10
| | | | | | pred_order == FF_ARRAY_ELEMS(fixed_coeffs) is invalid too. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* atrac3: Better name for IMDCT window initializationMaxim Poliakovski2013-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Remove unused gain compensation tablesMaxim Poliakovski2013-10-10
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* prores: Error out only on surely incomplete ac_coeffsLuca Barbato2013-10-10
|
* prores: Add a codepath for decoding errorsLuca Barbato2013-10-10
|
* vp6: Support cropping to AVCodecContext.width/heightMartin Storsjö2013-10-10
| | | | | | | | | | | | In these cases, there is no extradata but only the properly set width/height values by the demuxer. This makes sure VP6 in F4V files is cropped properly. This is similar to what is done for H264 for letting the container width/height override what's in the bitstream, since 30f515091. Signed-off-by: Martin Storsjö <martin@martin.st>
* jpeg2000: Check block lengthLuca Barbato2013-10-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vmnc: Use meaningful return valuesLuca Barbato2013-10-09
|
* vmnc: Check the cursor dimensionsLuca Barbato2013-10-09
| | | | | | | And manage the reallocation failure path. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vmnc: Port to bytestream2Luca Barbato2013-10-09
| | | | | | | Fix some buffer overreads. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* vmnc: K&R formatting cosmeticsLuca Barbato2013-10-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* shorten: Extend fixed_coeffs to properly support pred_order 0Luca Barbato2013-10-09
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* x86: h264_idct: Update comments to match 8/10-bit depth optimization splitDiego Biurrun2013-10-07
|
* x86inc: Utilize the shadow space on 64-bit WindowsHenrik Gramner2013-10-07
| | | | | | | | | Store XMM6 and XMM7 in the shadow space in functions that clobbers them. This way we don't have to adjust the stack pointer as often, reducing the number of instructions as well as code size. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* x86: fdct: Employ more specific ifdefsDiego Biurrun2013-10-06
| | | | This avoids building mmxext and sse2 code when disabled by configure.
* x86: dsputil: Separate ff_add_hfyu_median_prediction_cmov from dsputil_mmxDiego Biurrun2013-10-05
| | | | | The function does not depend on MMX and compilation without MMX enabled fails if the function is compiled conditional on MMX availability.
* x86: fdct: Initialize optimized fdct implementations in the standard wayDiego Biurrun2013-10-05
|
* x86: xviddct: Employ more specific ifdefsDiego Biurrun2013-10-05
| | | | This avoids building mmxext and sse2 code when disabled by configure.
* x86: fdct: Only build fdct code if encoders have been enabledDiego Biurrun2013-10-04
| | | | fdct is only initialized if encoders are enabled.
* cosmetics: Group .name and .long_name together in codec/format declarationsDiego Biurrun2013-10-03
|
* atrac: Add missing av_coldMaxim Poliakovski2013-10-03
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Generalize gain compensation codeMaxim Poliakovski2013-10-03
| | | | | | Move it to the ATRAC common code, to reuse in the upcoming ATRAC3+ decoder. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use correct Doxygen syntaxDiego Biurrun2013-10-03
|
* atrac: Move doxygen comments to the headerMaxim Poliakovski2013-10-03
| | | | | | Also update copyright info and file description. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* atrac3: Replace a silly counter variable name with plain 'j'Diego Biurrun2013-10-03
|
* lavc: mark deprecated AVCodec.max_lowres for removal on next bumpAnton Khirnov2013-10-02
|
* pcx: Return an error on broken palette if err_detect is set to 'explode'Martin Storsjö2013-09-29
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* pcx: Check the packet size before assuming it fits a paletteMartin Storsjö2013-09-29
| | | | | | | | This fixes reads out of bounds. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>