summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 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>
* hevc: Split the sei parsing in 3 functionsLuca Barbato2015-08-01
|
* hevc: Use switch instead of if-nests in decode_nal_sei_messageLuca Barbato2015-08-01
| | | | | | Makes simpler to add support for more SEI types. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Use a proper enum for the SEI valuesLuca Barbato2015-08-01
| | | | | | And use the correct value for decoded_picture_hash. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avcodec: h264: Extract decoder methodsDavid Holm2015-08-01
| | | | | | | | | | | Extract two methods from decode_registered_user_data in order to improve code readability. Also make the constant holding the allocation size a 64-bit unsigned integer so that the size comparison against INT_MAX makes sense. Bug-Id: CID1312090 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600Martin Storsjö2015-07-28
| | | | | | | | | | | | | | | If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause errors (which technically are bugs in the headers). Raising this value here shouldn't hurt; the alternative would be to not touch it at all if WINAPI_FAMILY is set to phone/app, or to force setting it to 0x0602 in configure if unset (for phone/app). Signed-off-by: Martin Storsjö <martin@martin.st>
* h264: fix AVDISCARD_NONKEY for some interlaced contentJohn Högberg2015-07-27
| | | | | | | | | When skip_frame is set to _NONKEY the decoder skips everything except intra slices, which breaks frames that consist of an intra field together with any other field type; half the frame becomes garbage. This patch fixes the issue by letting non-intra slices through if they're part of a keyframe. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* qsvdec_mpeg2: drop an incorrect commentAnton Khirnov2015-07-27
| | | | It got copypasted from the h264 decoder, but it does not apply to mpeg2.
* hap: Add utility functions fileVittorio Giovara2015-07-27
| | | | Missing from the push of 3ee217853a6741b829a2683f49c590618891b1ab.
* Support the Hap chunked frame formatTom Butterworth2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* hap: Move some per-stream setup into decoder init rather than per-frameTom Butterworth2015-07-27
| | | | | | | This change will reject frames with a texture type which does not match the stream description. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Update version and APIchangesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-27
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-27
| | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: AV-prefix all codec flagsVittorio Giovara2015-07-27
| | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>