summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* | lavc/Makefile: Fix standalone compilation of the svq3 decoder.Carl Eugen Hoyos2016-07-24
| | | | | | | | Regression since 0bf5fd2e
* | lavc: always build dnxhddataMatthieu Bouron2016-07-24
| | | | | | | | | | | | | | | | lavc/movenc rely on avpriv_dnxhd_parse_header_prefix declared by dnxhddata.h since e47981dab7fb7c9499b959cb0125b7281301969a. Fixes a missing symbol error in lavc/movenc if the dnxhd encoder is not enabled.
* | lavc/h264_ps: Be more verbose when truncating likely oversized PPS.Carl Eugen Hoyos2016-07-24
| |
* | Revert "Merge commit '3c53627ac17fc6bdea5029be57da1e03b32d265d'"Ivan Uskov2016-07-24
| | | | | | | | | | | | | | | | | | This reverts commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e, reversing changes made to acc155ac55baa95d1c16c0364b02244bc04d83a8. The commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e provided irrelevant code complexity and decoding slowdown. But the main disadvantage of this commit is a decoder crash. So it should be reverted. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/dnxhdenc: add support for dnxhr encodingMark Reid2016-07-23
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/dnxhdenc: add support for variable mircoblock countsMark Reid2016-07-23
| | | | | | | | | | | | dnxhr has variable resolution, 8160 is the mb num for 1920x1080 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/intrax8: Use correct printf specifier for size_t on Windows.Carl Eugen Hoyos2016-07-22
| |
* | avcodec/mpeg4_unpack_bframes_bsf: Check av_packet_from_data() return valueJan Sebechlebsky2016-07-22
| | | | | | | | | | Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/mpeg4_unpack_bframes_bsf: Copy packet propsJan Sebechlebsky2016-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mpeg4_unpack_bframes_bsf bitstream filters constructs resulting packet using av_packet_from_data() function. This function however modifies only buffer (data) and leaves other fields untouched, so the content of other fields of the output packet is undefined. It is working with old BSF API, since old API filters just data and the packet fields are copied in av_apply_bitstream_filters from input packet. This change fixes the behaviour for the new BSF API. Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libx264: Increase x264 opts character limit to 4096Sasi Inguva2016-07-22
| | | | | | | | | | Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libvpxenc,cosmetics: rename common fns vp8 -> vpxJames Zern2016-07-21
| | | | | | | | | | | | | | + the context struct Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Zern <jzern@google.com>
* | libvpxdec,cosmetics: rename common fns vp8 -> vpxJames Zern2016-07-21
| | | | | | | | | | | | | | + the context struct Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Zern <jzern@google.com>
* | avcodec/huffman: beautify: add space between #include and filename.Yong Lei2016-07-22
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ffv1dec: Test extradata_size instead of extradata for better robustnessMichael Niedermayer2016-07-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | x86/diracdsp: make ff_put_signed_rect_clamped_10_sse4 work on x86_32James Almer2016-07-20
| | | | | | | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | libavcodec/dnxhd: add dnxhr profilesMark Reid2016-07-20
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/libvpx: Add VPx alpha decode supportVignesh Venkatasubramanian2016-07-19
| | | | | | | | | | | | | | VPx (VP8/VP9) alpha encoding has been part of FFmpeg. Now, add the ability to decode such files with alpha channel. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
* | avcodec/h264_slice: Move h264_init_ps() call into h264_field_start()Michael Niedermayer2016-07-20
| | | | | | | | | | | | This was missing from f512e4a39037ef798ec78170f734c7733abe3231 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/h264: remove list_count and ref_count clearingMichael Niedermayer2016-07-20
| | | | | | | | | | | | | | | | | | | | The code conflicts with moving the h264_init_ps() call point Without this, ff_h264_parse_ref_count() fills ref and list count and h264_init_ps() subsequently wipes them out on a "success" path. Subsequently things crash as the wiped fields are used. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add test for avfftPetru Rares Sincraian2016-07-19
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | lavc/h264: fix spacing before commentClément Bœsch2016-07-19
| |
* | avcodec/ccaption_dec: default rollup to row 10Aman Gupta2016-07-18
| | | | | | | | | | | | | | | | | | This ensures that captions are written towards the bottom of the screen when tuning into mid-stream. The row will be reset on the receipt of the next PAC command. Row 10 was chosen as it corresponds to the value of "0" in a PAC (see row_map in handle_pac()). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ccaption_dec: implement positioning for closed captionsAman Gupta2016-07-18
| | | | | | | | | | | | Positioning math is based on the guidelines in https://dvcs.w3.org/hg/text-tracks/raw-file/default/608toVTT/608toVTT.html#positioning-in-cea-608 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/ccaption_dec: change write_char() to void as return value is unusedAman Gupta2016-07-17
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | cosmetics: fix some misspelled wordsJames Almer2016-07-17
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/dnxhddata: replace % by &Michael Niedermayer2016-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libavcodec/dnxhd: add support more dnxhr header prefixesMark Reid2016-07-16
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Restore compatibility with powerpc-apple-darwin9-gcc-4.2.1Pavel Koshevoy2016-07-15
| | | | | | | | | | | | | | | | ... and attempt to preserve compatibility with clang that was introduced in 311a953c76081fca99b872629d248f9d69ebc0c3 (untested) Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'b25cd7540e7cba9868edc13817c0ce1ddef90ffc'Clément Bœsch2016-07-14
|\| | | | | | | | | | | | | * commit 'b25cd7540e7cba9868edc13817c0ce1ddef90ffc': h264: pass a H2645NAL to slice header decoding Merged-by: Clément Bœsch <u@pkh.me>
| * h264: pass a H2645NAL to slice header decodingAnton Khirnov2016-06-21
| | | | | | | | | | | | Replace the decoder-global nal_unit_type/nal_ref_idc variables with the per-NAL ones. The decoder-global ones still cannot be removed because they are used by hwaccels.
* | lavc/truemotion2rt: mark AVPacket* as constClément Bœsch2016-07-14
| |
* | Merge commit '470cd0c5fe6337b6cb5276b3f84400999450fc1b'Clément Bœsch2016-07-14
|\| | | | | | | | | | | | | * commit '470cd0c5fe6337b6cb5276b3f84400999450fc1b': Add TrueMotion 2.0 Real Time decoder Merged-by: Clément Bœsch <u@pkh.me>
| * Add TrueMotion 2.0 Real Time decoderPaul B Mahol2016-06-20
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lavc/codec_desc: move a few codecs out of the image codecs listClément Bœsch2016-07-14
| | | | | | | | Also shuffle them a little to simplify next Libav merge.
* | Merge commit 'd78fd2fa21cde28465e40dd0be4446b1387d22a6'Clément Bœsch2016-07-14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd78fd2fa21cde28465e40dd0be4446b1387d22a6': Add MagicYUV decoder Changes observed from Libav: - many cosmetics (function renames/move, spacing, line breaks) - MagicYUVContext.slices_size is now unsigned - use of pixdesc (include fixed in FFmpeg) - mention of "Lossless" in the long name dropped (also removed from general.texi in FFmpeg) - addition of the FF_CODEC_CAP_INIT_THREADSAFE caps - use of qsort() instead of AV_QSORT() (NOT MERGED) - use of AVCodecContext.{width,height} instead of AVCodecContext.coded_{width,height} (NOT MERGED) See also 77f9c4b7aa9eb793b3019025e177245896821816 Merged-by: Clément Bœsch <u@pkh.me>
| * Add MagicYUV decoderPaul B Mahol2016-06-20
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * ffv1: Error out on unsupported formatJerome Martinez2016-06-18
| | | | | | | | Transparency is supported only by YUV and within specific bit depths.
* | dirac_vlc: prevent shifting a 0 by 64 bits when zeroing residueRostislav Pehlivanov2016-07-14
| | | | | | | | | | | | | | Adding a check for bits == 0 would still make Coverity misdetect this, so just revert to the normal way of setting the residue to 0. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | dirac_vlc: add a SET_RESIDUE macro and fix recent regressionRostislav Pehlivanov2016-07-14
| | | | | | | | | | | | | | Can also be used in future cleanups since 99% of the time the leftover appending will just append to an already empty residue. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | diracdec: fix unchecked byte lengthRostislav Pehlivanov2016-07-13
| | | | | | | | | | | | | | Also drops the start variable since it's redundant. Found by Coverity, fixes CID1363964 Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | diracdec: fix maximum quantization index checksRostislav Pehlivanov2016-07-13
| | | | | | | | | | | | Found by Coverity, fixes CID1363961 and CID1363962 Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | dirac_vlc: remove redundant macro declarationRostislav Pehlivanov2016-07-13
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | dirac_vlc: fix undefined shiftsRostislav Pehlivanov2016-07-13
| | | | | | | | | | | | | | | | | | Shifting by more than 63 bits is undefined behavior, athough any compiler not returning 0 after shifting by any amount would be insane. Found by Coverity, fixes CID1363959 and CID1363960 Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | libavcodec/exr : cosmetics, rename variable in b44_uncompress funcMartin Vignali2016-07-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libvpx: Enable vp9 alpha encodingVignesh Venkatasubramanian2016-07-12
| | | | | | | | | | | | | | | | | | | | Chrome canary now supports decoding of VP9 streams with alpha channel [1]. Add support to ffmpeg for creating such files. [1] https://codereview.chromium.org/2096813002/ Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
* | avcodec/dirac_vlc: Fix avutil.h includeMichael Niedermayer2016-07-12
| | | | | | | | | | Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/dirac_vlc: Fix mixed declaration and statementsMichael Niedermayer2016-07-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | diracdec: fix #coeffs -> byte conversionRostislav Pehlivanov2016-07-12
| | | | | | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | diracdsp_init: add missing ARCH_X86_64 checkRostislav Pehlivanov2016-07-12
| | | | | | | | | | | | That SIMD is still x86_64 only for now. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* | diracdec: do not memset the entire coefficient buffer for HQ picturesRostislav Pehlivanov2016-07-11
| | | | | | | | | | | | This is now handled by the slice decoding function. Signed-off-by: Rostislav Pehlivanov <rpehlivanov@obe.tv>