- 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 3 commits
-
-
Sean McGovern authored
Accidentally left out of 95ce02b3.
-
Huang, Zhengxu authored
The current qsv deinterlace module does not work at all because MSDK needs user to pass extra parameters to enable hint functions,such as denoise,deinterlace,composition and so on. Usage:-hwaccel qsv -r 25 -c:v h264_qsv -i in -vf deinterlace_qsv=bob -b 2M -maxrate 3M -c:v h264_qsv -y out.h264 Signed-off-by: ChaoX A Liu <chaox.a.liu@gmail.com> Signed-off-by: Zhengxu Huang <zhengxu.maxwell@gmail.com> Signed-off-by: Andrew Zhang <huazh407@gmail.com> Change-Id: I9e7ddcf884f2788c2820f6c98affacfb9d8f3287 Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-
Huang, Zhengxu authored
usage: -hwaccel qsv -c:v h264_qsv -i in -c:v mjpeg_qsv -global_quality 80 -f mjpeg out Signed-off-by: ChaoX A Liu <chaox.a.liu@gmail.com> Signed-off-by: Zhengxu Huang <zhengxu.maxwell@gmail.com> Signed-off-by: Andrew Zhang <huazh407@gmail.com Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-
- 22 Jul, 2017 3 commits
-
-
wm4 authored
This is consistent with how other destructors behave. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
This mode apparently does not support decoding of HEVC Main (8 bit). With D3D11 and Intel drivers on Windows 10 I get green corruption, while using DXVA2_ModeHEVC_VLD_Main works. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Anton Khirnov authored
CC: libav-stable@libav.org
-
- 21 Jul, 2017 1 commit
-
-
Vittorio Giovara authored
Otherwise the first decoded frame will still be tagged with the original transfer instead of the alternative one. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 17 Jul, 2017 1 commit
-
-
Sean McGovern authored
-
- 10 Jul, 2017 1 commit
-
-
Diego Biurrun authored
glibc introduced _DEFAULT_SOURCE in version 2.19 to replace _BSD_SOURCE and _SVID_SOURCE, which were deprecated in version 2.20. Add _DEFAULT_SOURCE where the latter two are used to be forwards-compatible and avoid warnings about the use of deprecated definitions.
-
- 09 Jul, 2017 4 commits
-
-
Luca Barbato authored
About an additional 4% speedup. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
About 2% speedup on gcc-6.3. Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Alexandra Hájková authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Luca Barbato authored
Do not use skip_remaining() to fully wipe the cache, as this could do a 64-bit shift of a 64-bit variable which is undefined behavior in C. Instead set the related variables to zero directly. Thanks to Uoti for pointing out the problem. CC: libav-stable@libav.org
-
- 05 Jul, 2017 4 commits
-
-
Diego Biurrun authored
This works around type aliasing violations and related warnings. Also add some missing error checking.
-
Diego Biurrun authored
-
Diego Biurrun authored
Avoid anonymously typedeffed structs and enums, drop an unused context member, fix a small wording mishap, sizeof(type) ---> sizeof(*variable), drop a needlessly verbose log message, use av_malloc_array() where appropriate.
-
Diego Biurrun authored
-