summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* dxtory: Unify and rework the decoding routinesLuca Barbato2015-09-06
| | | | | | | Do not make many assumption on the dimension of the slices and just try to decode additional lines if there is enough data left. Decodes all the samples kindly provided by ultramage.
* checkasm: add unit tests for v210encHenrik Gramner2015-09-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxtory: Factorize the buffer loadingLuca Barbato2015-09-04
| | | | And the checks nearby it.
* dxtory: Factorize slice size checksLuca Barbato2015-09-04
| | | | They are always the same.
* fraps: increase vlc nb_bitsMichael Niedermayer2015-09-03
| | | | | Sample-Id: fraps_bug_huff.avi Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* huffman: allow specifying nb_bits to ff_huff_build_tree()Michael Niedermayer2015-09-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* huffman: increase bits constantMichael Niedermayer2015-09-03
| | | | | | Bug-ID: ffmpeg ticket 2593 Signed-off-by: Anton Khirnov <anton@khirnov.net>
* huffman: use a named identifer for the bits constantMichael Niedermayer2015-09-03
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegvideo: Drop a stray error messageLuca Barbato2015-09-03
| | | | The condition is not a failure.
* DXV decoderVittorio Giovara2015-09-02
| | | | Support all DXDI and DXD3 normal quality videos.
* lavc: Add a lzf decompressorLuca Barbato2015-09-02
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Skip libvpx.h if libvpx is not enabledLuca Barbato2015-08-31
|
* dnxhddata: Double frame_size for cid 1260Michael Niedermayer2015-08-31
| | | | | | | | Despite '417792' being reported in the binary decoder, the buffer at encoding time needs to be bigger to avoid running out of space due to interlace handling. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libfdk-aacdec: Remove unused variableVittorio Giovara2015-08-31
|
* Bump major versions of all librariesVittorio Giovara2015-08-28
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* Postpone API-incompatible changes until the next bumpVittorio Giovara2015-08-28
|
* lavu: Drop deprecated duplicated AVFrame/AVCodecContext parametersVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavc: Drop deprecated deinterlace moduleVittorio Giovara2015-08-28
| | | | Deprecated in 03/2013.
* lavc: Drop deprecated thread opaque and codec pktVittorio Giovara2015-08-28
| | | | These fields were never part of the public API.
* lavc: Drop deprecated get_buffer related functionsVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* lavc: Drop deprecated destruct_packet related functionsVittorio Giovara2015-08-28
| | | | Deprecated in 10/2012.
* lavc: Drop deprecated request_channels related functionsVittorio Giovara2015-08-28
| | | | Deprecated in 04/2011.
* nvenc: Properly free the fifosLuca Barbato2015-08-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dnxhddata: Add tables for missing DNx100 profilesVittorio Giovara2015-08-24
| | | | | | 1440x1080@8 progressive (1259) and interlaced (1260). Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* dnxhddata: Merge a few duplicated RUN tablesVittorio Giovara2015-08-24
|
* dnxhddata: Group together RUN-related tablesVittorio Giovara2015-08-24
| | | | This helps in finding duplicates.
* dnxhddata: Merge a few duplicated DC tablesVittorio Giovara2015-08-24
|
* dnxhddata: Group together DC-related tablesVittorio Giovara2015-08-24
| | | | This helps in finding duplicates.
* dnxhddata: List the reused tables in a commentVittorio Giovara2015-08-24
|
* dnxhddata: Keep a single CID in the table namesVittorio Giovara2015-08-24
| | | | | | Use a comment to list the reused tables, since it's more flexible than a table name to keep information like this. The list will expand in later commits.
* aac: Make sure to set err on the failure pathLuca Barbato2015-08-23
| | | | Bug-Id: CID 1308153
* xavs: Do not try to set the bitrate tolerance without a bitrateLuca Barbato2015-08-23
| | | | | | Avoid a division by zero. Bug-Id: CID 1257655
* h264: Fix faulty call to avpriv_request_sampleLuca Barbato2015-08-22
| | | | Broken in f9ab4fe1f7c1e9d410ca5ee2c9ff8d2892aad068
* h264: Discard currently unsupported registered seiJohn Högberg2015-08-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* imgutils: Fix a typo in avcodec_get_pix_fmt_lossLuca Barbato2015-08-21
| | | | | | | If the candidate does not have alpha and the source does have alpha report the loss of alpha. CC: libav-stable@libav.org
* hevcdsp: fix a function nameAnton Khirnov2015-08-21
| | | | | put_weighted_pred_avg should be put_unweighted_pred_avg, there is no weighting there.
* hevc: avoid invalid shifts of negative valuesAnton Khirnov2015-08-21
|
* vp7: bound checking in vp7_decode_frame_headerFederico Tomassetti2015-08-16
| | | | CC: libav-stable@libav.org
* libfdk-aacdec: Clean up properly if the init failsMartin Storsjö2015-08-16
| | | | | | | | | Previously most of the error paths leaked. Also add FF_CODEC_CAP_INIT_THREADSAFE while adding caps_internal; this decoder wrapper doesn't have any static data that is initialized. Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Always decode into an intermediate bufferMartin Storsjö2015-08-16
| | | | | | | | | | | | | | | | | | | | For ADTS streams, the output format (number of channels, frame size) can change at any point (with the latest version of fdk-aac, the decoder seems to change format after a handful of frames, not outputting the right format immediately, for cases that worked fine with the earlier version of the lib). Previously, the decoder decoded straight into the output frame once the number of channels and frame size was known. This obviously does not work if the number of channels or frame size changes. The alternative would be to allocate the AVFrame with the maximum number of channels and frame size, and change them afterward decoding into it, but that may cause confusion to users e.g. of the get_buffer callback. This solution should be more robust. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* libfdk-aacdec: Bump the max number of channels to 8Martin Storsjö2015-08-16
| | | | | | | | | In the latest version of fdk-aac, the decoder can output up to 8 channels; take this into account when preallocating buffers that need to fit the output from any packet. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-11
| | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Support arbitrary stack alignmentsHenrik Gramner2015-08-11
| | | | | | | | Change ALLOC_STACK to always align the stack before allocating stack space for consistency. Previously alignment would occur either before or after allocating stack space depending on whether manual alignment was required or not. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: dcadsp: Avoid SSE2 instructions in SSE functionsHenrik Gramner2015-08-11
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* cosmetics: Drop spurious spaces from if clausesPaolo Bizzarri2015-08-08
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* h264: Do not print an error when the buffer has to be refilledLuca Barbato2015-08-06
| | | | Partially amends 9469370fb32679352e66826daf77bdd2e6f067b5
* h264: Use AVERROR return codes instead of -1Jake Sebastian-Jones2015-08-05
| | | | | | And report why it fails. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* png: Be more informative regarding signature errorsLuca Barbato2015-08-02
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* opusdec: properly handle mismatching configurations in multichannel streamsAnton Khirnov2015-08-02
| | | | | | | The substreams can have different resampling delays, so an additional level of buffering is needed to synchronize them. Bug-Id: 876
* x86: dct: Disable dct32_float_sse on x86-64Henrik Gramner2015-08-02
| | | | | | | There is an SSE2 implementation so the SSE version is never used. The "SSE" version also happens to contain SSE2 instructions on x86-64. Signed-off-by: Anton Khirnov <anton@khirnov.net>