summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 8svx: Return proper error codesGabriel Dume2014-09-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg4videodec: Fix low_delay error messageGabriel Dume2014-09-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* aac_adtstoasc_bsf: Return proper error codeGabriel Dume2014-09-01
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dxva2: Clean up definition of _WIN32_WINNTDiego Biurrun2014-09-01
| | | | | | Only set a value if _WIN32_WINNT is undefined or smaller than 0x0600. This is cleaner than unconditional definition and avoids a number of redefinition warnings. Also only define a value in one of the two dxva2 headers.
* dxva2: Pass variable of correct type to IDirectXVideoDecoder_GetBuffer()Diego Biurrun2014-09-01
| | | | This avoids related incompatible pointer type warnings.
* avcodec: fix missing doxygen comment markerMichael Niedermayer2014-09-01
|
* avcodec: add stream-level stereo3d side dataVittorio Giovara2014-08-28
|
* x86: xvid: K&R formatting cosmeticsDiego Biurrun2014-08-27
|
* cosmetics: Make naming scheme of Xvid IDCT consistent with other IDCTsDiego Biurrun2014-08-27
|
* x86: xvid_idct: Drop unused definitionsDiego Biurrun2014-08-27
|
* vc1: Initialize start_code_found to 0Luca Barbato2014-08-27
| | | | Leftover of a4d3c20035946cbc1509aec2dc28d51c2a2f9a8e.
* h264: fully check cropping amount from spsVittorio Giovara2014-08-26
| | | | | Even if sps.crop is true, the cropping amount may be zero. Fixes a sample with a valid but broken container cropping.
* libxvid: K&R formatting cosmeticsGabriel Dume2014-08-26
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vc1: Fix the skip conditionLuca Barbato2014-08-26
| | | | | As written in the comment above, skip must be added only if a start code is found.
* rv34: use ff_mpeg_update_thread_context only when decoder is fully initializedJanne Grunau2014-08-22
| | | | | | | | | | | | | MpegEncContext based decoders are only fully initialized after the first ff_thread_get_buffer() call. The RV30/40 decoders may fail before a frame buffer was requested. ff_mpeg_update_thread_context() fails on half initialized MpegEncContexts. Since this can only happen before a the first frame was decoded there is no need to call ff_mpeg_update_thread_context(). Based on patches by John Stebbins and tested by John Stebbins. CC: libav-stable@libav.org
* mpeg12enc: Add missing #include for PICT_FRAMEDiego Biurrun2014-08-21
|
* error_resilience: Drop asserts from guess_mv()Diego Biurrun2014-08-21
| | | | | The asserts check struct members that are not referenced in guess_mv() and one of them fails to compile.
* pcm: Drop av_unused attribute from variable that is always usedDiego Biurrun2014-08-19
|
* pcm: Drop unused variable from DECODE_PLANAR macroDiego Biurrun2014-08-19
|
* vc1: Add missing parentheses to conditions in vc1_decode_b_mb_intfr()Diego Biurrun2014-08-19
|
* proresenc: Properly account for alpha planeChristophe Gisquet2014-08-18
| | | | | | | | | | The packet buffer allocation considers the alpha channel as DCT-coded, while it is actually run-coded and thus requires a larger buffer. CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* proresenc: Realloc if buffer is too smallChristophe Gisquet2014-08-18
| | | | | | | | | | | | | | The buffer allocation may be incorrect (e.g. with an alpha plane), and currently causes the buffer to be set to NULL by init_put_bits, causing a crash later on. So, detect that situation, and if detected, reallocate the buffer and ask for a sample that shows the problem. CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* proresenc: Report buffer overflowChristophe Gisquet2014-08-18
| | | | | | | | | | If the allocated size, despite best efforts, is too small, exit with the appropriate error. CC: libav-stable@libav.org Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* proresenc: Remove unneeded parameters from encode_alpha_plane()Christophe Gisquet2014-08-18
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* tiff: Return proper error for missing LZMA compressionDiego Elio Pettenò2014-08-18
| | | | | | | | The LZMA support is a semi-official extension supported by libtiff 4.0.0 and later. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* cosmetics: Write NULL pointer inequality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* cosmetics: Write NULL pointer equality checks more compactlyGabriel Dume2014-08-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: Add explanatory comments to (optimization) blocks in the MakefilesDiego Biurrun2014-08-15
|
* mpegvideo: cosmetics: Lowercase ugly uppercase MPV_ function name prefixesDiego Biurrun2014-08-15
|
* h261dec: Fix order of initializationJohn Stebbins2014-08-14
| | | | | ff_MPV_common_init requires the frame dimensions which get parsed in h261_decode_picture_header.
* h263dec: Fix order of initializationJohn Stebbins2014-08-14
| | | | | ff_MPV_common_init requires the frame dimensions which get parsed in *_decode_picture_header.
* idct: remove call to ff_idctdsp_init from ff_MPV_common_initJohn Stebbins2014-08-14
| | | | | One step in untangling the mpegvideo code and fixing some problems in the order that initialization is being done in h263dec and h261dec.
* mpeg4video: Fix doxygen comment syntax to document correct struct memberNidhi Makhijani2014-08-14
| | | | | | Also fix some comment typos. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* vaapi: set the scaling list correctly.Edgar Hucek2014-08-14
| | | | | | | | Fixes VAAPI decoding artefacts. CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffv1dec: check that global parameters do not change in version 0/1Michael Niedermayer2014-08-12
| | | | | | | | | Such changes are neither allowed nor supported Found-by: ami_stuff Bug-Id: CVE-2013-7020 CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc_mvs: avoid deriving tmvp in amvpChristophe Gisquet2014-08-12
| | | | | | | | Reduces the number of calls to tmvp derivation from 933685 to 586271 on a sequence. Reviewed-by: Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: wait proper position for tmvpChristophe Gisquet2014-08-12
| | | | | | | | | The position is either rounded or not checked, so delay the wait to check the proper value. Reviewed-by: Mickaël Raulet <mraulet@insa-rennes.fr> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: use intreadwriteChristophe Gisquet2014-08-12
| | | | | | When dealing with MVs, both components may be processed at a time. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: derive partial merge listChristophe Gisquet2014-08-12
| | | | | | The merge list only needs to be derived up to the merge index. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: derive partially amvp listChristophe Gisquet2014-08-12
| | | | | | When the candidate has been found, no need to derive others. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: simplify roundingChristophe Gisquet2014-08-12
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hevc: reorder loopsChristophe Gisquet2014-08-12
| | | | | | iterate over memory in a more continuous order Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Postpone FF_IDCT_XVIDMMX removal until the next version bumpDiego Biurrun2014-08-10
|
* lavc: drop the av_fast_{re,m}alloc compatibility wrappersAnton Khirnov2014-08-10
| | | | They were only needed until the bump.
* tiff: Improve grayscale supportDiego Elio Pettenò2014-08-10
| | | | | | | | | | Only use PAL8 if palette is present, else use GRAY8 for pixfmt. Instead of simulating a grayscale palette, use real grayscale pixels, if no palette is actually defined. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavc: remove obsolete and disabled avpriv functionsAnton Khirnov2014-08-09
|
* Remove obsolete FF_API_AVFRAME_COLORSPACE cruft.Anton Khirnov2014-08-09
|
* Bump major versions of all libraries.Anton Khirnov2014-08-09
|
* Postpone API-incompatible changes until the next bump.Anton Khirnov2014-08-09
|
* hevc_filter: avoid excessive calls to ff_hevc_get_ref_list()Anton Khirnov2014-08-09
| | | | | | | | 1) each of the loops run within a single CTB, so the relevant reference list is constant 2) when that CTB is, or lies on the same slice as, the current one, we can use a simple access instead of a relatively expensive call to ff_hevc_get_ref_list()