summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* avcodec/avcodec: Define CODEC_CAP_* based on AV_CODEC_CAP_*Michael Niedermayer2015-08-05
| | | | | | | Avoid duplicating the literal numeric values Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/avcodec: Replace AV_CODEC_FLAG* values by 1 << C style for consistencyMichael Niedermayer2015-08-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/hapenc: Remove use of deprecated ff_alloc_packet()Michael Niedermayer2015-08-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '4fee11ab05fc8569ef35c0ce86a60375c903eefb'Hendrik Leppkes2015-08-05
|\ | | | | | | | | | | | | | | | | | | * commit '4fee11ab05fc8569ef35c0ce86a60375c903eefb': png: Be more informative regarding signature errors Conflicts: libavcodec/pngdec.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * png: Be more informative regarding signature errorsLuca Barbato2015-08-02
| | | | | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | avcodec/dvbsubdec: Do not stop decoding at a invalid depthMichael Niedermayer2015-08-05
| | | | | | | | | | | | | | | | This corrects parsing the later elements Fixes Ticket4754 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/nvenc: Add support for 2pass rc in vbr modeTimo Rothenpieler2015-08-04
| | | | | | | | | | | | Thanks to WereCatf for pointing out this now exists. Github: Closes #143
* | avcodec/nvenc: Only set h264 parameter when encoding h264Timo Rothenpieler2015-08-04
| |
* | avcodec/nvenc: Fix indentationTimo Rothenpieler2015-08-04
| |
* | wmv2enc: remove duplicate priv_class in codec definitionHendrik Leppkes2015-08-04
| |
* | x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-04
| | | | | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
* | x86inc: Support arbitrary stack alignmentsHenrik Gramner2015-08-04
| | | | | | | | | | | | 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.
* | avcodec/vdpau_hevc: Properly signal the num_delta_pocs from the SPS RPSPhilip Langdale2015-08-04
| | | | | | | | | | | | This is the same fix that Hendrik made to dxva2_hevc. It should be equally required here, although I don't see any visual difference. Nevertheless, best to stay consistent.
* | avcodec/vdpau_hevc: Remove experimental flagPhilip Langdale2015-08-04
| | | | | | | | | | | | | | The latest nvidia 355.06 drivers fixes the interleaving bug when video surfaces are rendered. It still seems to be broken for read-back with getBits but that's sufficiently uninteresting that I don't think we need to wait for it to remove the flag.
* | avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for VP8 functionsShivraj Patil2015-08-04
| | | | | | | | Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com>
* | lavc/dvbsub: Do not fail on clut depth 0.Carl Eugen Hoyos2015-08-04
| | | | | | | | Fixes ticket #4752.
* | avcodec/dvbsubdec: Allow selecting the substream, or all substreamsMichael Niedermayer2015-08-04
| | | | | | | | | | | | Fixes Ticket 2161 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dcaenc: clear bitstream endMichael Niedermayer2015-08-04
| | | | | | | | | | | | This avoids leaving uninitialized bits in the output Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/internal: improve min_size documentation for ff_alloc_packet2()Michael Niedermayer2015-08-04
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86: move XOP emulation code back to x86incJames Almer2015-08-03
| | | | | | | | | | | | | | | | | | | | Only two functions that use xop multiply-accumulate instructions where the first operand is the same as the fourth actually took advantage of the macros. This further reduces differences with x264's x86inc. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | dxva2_hevc: properly signal the num_delta_pocs from the SPS RPSHendrik Leppkes2015-08-03
| | | | | | | | | | | | | | | | ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS, and not the final computed value from the slice header RPS, as this calculation is done internally by the driver again. Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi
* | avcodec/videotoolbox: Add missing AV_ prefix to CODEC_ID in commentMichael Niedermayer2015-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/videotoolbox: Fix bistream typoMichael Niedermayer2015-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/pcm: Better min_size for ff_alloc_packet2()Michael Niedermayer2015-08-03
| | | | | | | | | | | | 33318 -> 30601 decicycles Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/libwebpenc_animencoder: Use ff_alloc_packet2()Michael Niedermayer2015-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/rawenc: Use ff_alloc_packet2()Michael Niedermayer2015-08-03
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec: add new Videotoolbox hwaccel.Sebastien Zwickert2015-08-03
| |
* | avcodec/aacdec: Fix integer overflow in argument to ↵Michael Niedermayer2015-08-03
| | | | | | | | | | | | decode_audio_specific_config() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/aacdec_template: Use init_get_bits8() in aac_decode_frame()Emanuel Czirai2015-08-03
| | | | | | | | | | | | related to ticket4749 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/cngenc: Use ff_alloc_packet2()Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/libwebpenc: Use ff_alloc_packet2()Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/v210enc: Use ff_alloc_packet2()Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/aliaspixenc: Use ff_alloc_packet2()Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/avuienc: Use ff_alloc_packet2()Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libshine: Fix faulty ff_alloc_packet2 usageRico Tzschichholz2015-08-02
| |
* | avcodec/xfaceenc: remove coded_frame usagePaul B Mahol2015-08-02
| |
* | avcodec/libutvideoenc: Remove coded_frame usageMichael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '14e558024642638085ae2bbeffc6087612e6a3f9'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | * commit '14e558024642638085ae2bbeffc6087612e6a3f9': opusdec: properly handle mismatching configurations in multichannel streams Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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
* | Merge commit 'ebaf571aca2dd6ce3caeeeec4210a3fccd47e7db'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | | | | | | | | | * commit 'ebaf571aca2dd6ce3caeeeec4210a3fccd47e7db': x86: dct: Disable dct32_float_sse on x86-64 Conflicts: libavcodec/x86/dct32.asm libavcodec/x86/dct_init.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
* | Merge commit '979cb55103fa8e8274806e496901203742c686d1'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | | | | | | | * commit '979cb55103fa8e8274806e496901203742c686d1': hevc: Split the sei parsing in 3 functions Conflicts: libavcodec/hevc_sei.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * hevc: Split the sei parsing in 3 functionsLuca Barbato2015-08-01
| |
* | Merge commit '043f46f5741e1a5caedf55d788e1a72aae3b7605'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | | | | | | | * commit '043f46f5741e1a5caedf55d788e1a72aae3b7605': hevc: Use switch instead of if-nests in decode_nal_sei_message Conflicts: libavcodec/hevc_sei.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
* | Merge commit '2cd841c0776535be56e4db67485fdd9509c9b9f4'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | | | | | | | * commit '2cd841c0776535be56e4db67485fdd9509c9b9f4': hevc: Use a proper enum for the SEI values Conflicts: libavcodec/hevc_sei.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
* | Merge commit '80ea66112817c719b476de8f7d8d3b325f4c7dd1'Hendrik Leppkes2015-08-02
|\| | | | | | | | | | | | | | | | | | | * commit '80ea66112817c719b476de8f7d8d3b325f4c7dd1': avcodec: h264: Extract decoder methods Conflicts: libavcodec/h264_sei.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * 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>
* | avcodec/hevc_mp4toannexb_bsf: Remove ;;Michael Niedermayer2015-08-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>