- 13 Aug, 2017 10 commits
-
-
Diego Biurrun authored
DDS1 chunks are decoded in 2x2 blocks, odd chunk width or height is not allowed in that case. Also ensure that the decode buffer is big enough for all blocks being processed. Bug-Id: CVE-2017-9992 CC: libav-stable@libav.org
-
Mark Thompson authored
It is not necessary to pad to the CTU size. The CB size of 8x8 should be sufficient, but due to constraints in the Intel driver (the one usable implementation of this) it has to be padded to 16x16 like in H.264.
-
Mark Thompson authored
Matching the H.264 encoder.
-
Mark Thompson authored
Also improves the metadata and generally makes the configuration a bit cleaner.
-
Mark Thompson authored
Included by default with non-IDR intra frames.
-
Mark Thompson authored
Adds a new private option to enable them (off by default).
-
Mark Thompson authored
-
Mark Thompson authored
This is able to modify some header metadata found in the VPS/SPS/VUI, and can also add/remove AUDs.
-
Mark Thompson authored
This applies a specific fixup to some Bluray streams which contain redundant PPSs modifying irrelevant parameters of the stream which confuse other transformations which require correct extradata. A new single global PPS is created, and all of the redundant PPSs within the stream are removed.
-
Mark Thompson authored
This is able to modify some header metadata found in the SPS/VUI, and can also add/remove AUDs and insert user data in SEI NAL units.
-
- 12 Aug, 2017 4 commits
-
-
Mark Thompson authored
Supports all streams that the coded bitstream infrastructure does (currently H.264 and H.265).
-
Mark Thompson authored
-
Mark Thompson authored
-
Mark Thompson authored
-
- 10 Aug, 2017 2 commits
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
Vittorio Giovara authored
The use of this SEI is for backward compatibility in HLG HDR systems: older devices that cannot interpret the "arib-std-b67" transfer will get the compatible transfer (usually bt709 or bt2020) from the VUI, while newer devices that can interpret HDR will read the SEI and use its value instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 06 Aug, 2017 1 commit
-
-
Mark Thompson authored
Use AVCodecContext.compression_level rather than a private option, replacing the H.264-specific quality option (which stays only for compatibility). This now works with the H.265 encoder in the i965 driver, as well as the existing cases with the H.264 encoder.
-
- 05 Aug, 2017 3 commits
-
-
Mark Thompson authored
This would overflow if the stream contained a value greater than the maximum allowed by the standard (32).
-
Mark Thompson authored
Add comments to describe the sources of the constraint values expressed here, and add some more related values which will be used in following patches. Fix the incorrect values for SPS and PPS count (they are not the same as those used for H.264), and remove HEVC_MAX_CU_SIZE because it is not used anywhere.
-
Mark Thompson authored
With comments describing the derivation of each value.
-
- 31 Jul, 2017 2 commits
-
-
Sean McGovern authored
mov_finalize_stsd_codec() parses stream information from the ALAC extradata, so run it after the extradata processing is completed in mov_read_stsd(). Fixes playback of 96kHz ALAC streams muxed by qaac or the reference alac encoder. Adapted from an FFmpeg patch by Hendrik Leppkes <h.leppkes@gmail.com> Bug-Id: 1072
-
Sean McGovern authored
Based on an FFmpeg patch by Michael Niedermayer <michael@niedermayer.cc>
-
- 30 Jul, 2017 1 commit
-
-
Sean McGovern authored
Based on an FFmpeg patch by Michael Niedermayer <michael@niedermayer.cc>
-
- 28 Jul, 2017 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
This allows running those tests with hwaccel.
-
Anton Khirnov authored
This way the SPS is available to the hwaccel init code.
-
Peter Große authored
Fixes an infinite loop when a demuxer fails to seek to the start of the input. Signed-off-by: Peter Große <pegro@friiks.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 27 Jul, 2017 1 commit
-
-
Anton Khirnov authored
-
- 26 Jul, 2017 11 commits
-
-
Anton Khirnov authored
Some parts of the code are based on a patch by Timo Rothenpieler <timo@rothenpieler.org>
-
Anton Khirnov authored
This will be useful in the CUVID hwaccel. It should also eventually replace current decoder-specific mechanisms used by various other hwaccels.
-
Anton Khirnov authored
This will be useful in the CUVID hwaccel.
-
Anton Khirnov authored
Use the AVFrame.opaque_ref field. The original user's opaque_ref is wrapped in the lavc struct and then unwrapped before the frame is returned to the caller. This new struct will be useful in the following commits.
-
Anton Khirnov authored
If the get_buffer() call fails, the frame might have some side data already set. Make sure it gets freed. CC: libav-stable@libav.org
-
Anton Mitrofanov authored
CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Mitrofanov authored
Use the correct ctxIdxInc calculation for coded_block_flag. Keep old behavior for old versions of x264 for backward compatibility. CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Yogender Kumar Gupta authored
CC: libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
Do not use the one in the SEI directly as that is reset at certain points. Inspired by patches from Michael Niedermayer <michaelni@gmx.at> and Anton Mitrofanov <BugMaster@narod.ru>. CC: libav-stable@libav.org
-
wm4 authored
Black isn't always just memset(ptr, 0, size). Limited YUV in particular requires relatively non-obvious values, and filling a frame with repeating 0 bytes is disallowed in some contexts. With component sizes larger than 8 or packed YUV, this can become relatively complicated. So having a generic function for this seems helpful. In order to handle the complex cases in a generic way without destroying performance, this code attempts to compute a black pixel, and then uses that value to clear the image data quickly by using a function like memset. Common cases like yuv410p10 or rgba can't be handled with a simple memset, so there is some code to fill memory with 2/4/8 byte patterns. For the remaining cases, a generic slow fallback is used. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 25 Jul, 2017 1 commit
-
-
Sean McGovern authored
Accidentally left out of 95ce02b3.
-