- 11 Feb, 2018 8 commits
-
-
Mark Thompson authored
-
Mark Thompson authored
The initialisation should be common. For libmfx, it was previously happening in the derivation function and this moves it out.
-
Mark Thompson authored
These filters do not directly know whether the API they are using will support dynamic frame pools, so this is somewhat tricky. If the user sets extra_hw_frames, we assume that they are aware of the problem and set a fixed size based on that. If not, most cases use dynamic sizing just like they did previously. The hardware-reverse-mapping case for hwmap previously had a large fixed size (64) here, primarily as a hack for QSV use - this is removed and extra_hw_frames will need to be set for QSV to work since it requires fixed-size pools (as the other cases do, and which didn't work before).
-
Mark Thompson authored
The deinterlacer does not change, because it does not allocate any new frames (for output it uses the same pool as the input).
-
Mark Thompson authored
Defaults to 10 frames to preserve compatibility, but can allocate fewer if extra_hw_frames is set explicitly.
-
Mark Thompson authored
AVFilterContext.extra_hw_frames functions identically to the field of the same name in AVCodecContext.
-
Mark Thompson authored
This number is definitely required when frame threading is enabled, so add it here rather than forcing all users to handle it themselves. DXVA2 contained this addition in specific code as well (therefore being added twice in the internal case) - just remove it from there.
-
Mark Thompson authored
AVCodecContext.extra_hw_frames is added to the size of hardware frame pools created by libavcodec for APIs which require fixed-size pools. This allows the user to keep references to a greater number of frames after decode, which may be necessary for some use-cases. It is also added to the initial_pool_size value returned by avcodec_get_hw_frames_parameters() if a fixed-size pool is required.
-
- 06 Feb, 2018 4 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
Skip a variable indirection and only redefine restrict if necessary.
-
Diego Biurrun authored
-
Diego Biurrun authored
This also moves the setting of the licensing string out of a block that is skipped when quiet operation is requested.
-
- 04 Feb, 2018 2 commits
-
-
Mark Thompson authored
-
Jun Zhao authored
From ffmpeg commit 9365dfcb. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
- 01 Feb, 2018 1 commit
-
-
Martin Storsjö authored
This makes sure that consumers of the side data actually can rely on the padding as intended, without having the callers of av_packet_new_side_data to explicitly zero initialize it. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 31 Jan, 2018 1 commit
-
-
Sean McGovern authored
Bug-Id: 1101 Cc: libav-stable@libav.org
-
- 26 Jan, 2018 1 commit
-
-
Zhong Li authored
Fix a common vp8 decoding failure. Many vp8 clips cannot decode if hw_frames_ctx is enabled, reporting "Error during QSV decoding.: incompatible video parameters (-14)". It is due to mfx.FrameInfo.Width/Height not matching coded_w/coded_h. See: avconv -hwaccel qsv -init_hw_device qsv -c:v vp8_qsv -i vp8-test-vectors-r1/vp80-00-comprehensive-001.ivf -vf "hwdownload,format=nv12" -pix_fmt yuv420p -f md5 - Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 25 Jan, 2018 1 commit
-
-
Ruiling, Song authored
MediaSDK may fail to decode some frame, just skip it. Otherwise, it will keep decoding the failure packet repeatedly without processing any packet afterwards. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 24 Jan, 2018 1 commit
-
-
Josh Allmann authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 16 Jan, 2018 1 commit
-
-
Martin Storsjö authored
This attribute is supported for this architecture in MSVC as well (but produces errors if used for 32 bit x86). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 08 Jan, 2018 1 commit
-
-
Maxym Dmytrychenko authored
-
- 04 Jan, 2018 1 commit
-
-
Michael Wootton authored
Requires AMF headers for at least version 1.4.4.1. Signed-off-by: Mikhail Mironov <mikhail.mironov@amd.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 01 Jan, 2018 1 commit
-
-
Sean McGovern authored
-
- 29 Dec, 2017 2 commits
-
-
Zhong Li authored
It is used by the deprecated API avcodec_decode_video2 and ignored by the new decode APIs (avcodec_send_packet/avcodec_receive_frame). Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Zhong Li authored
It is benefit to diagnose issues related to different libmfx version. Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 27 Dec, 2017 1 commit
-
-
Luca Barbato authored
It has native simultaneus 8 and 10 bit support.
-
- 20 Dec, 2017 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 19 Dec, 2017 9 commits
-
-
Mark Thompson authored
Removes specific support for all hwaccels supported by the generic code (CUVID, DXVA2, D3D11VA, VAAPI and VDPAU).
-
Mark Thompson authored
-
Mark Thompson authored
They are now unused.
-
Mark Thompson authored
There is no longer any need for a list of them at runtime, because decoders now carry the pointers to their associated hwaccels internally. The file containing external declarations is now used to make the list of hwaccels for configure.
-
Mark Thompson authored
-
Mark Thompson authored
This removes the dependency that hardware pixel formats previously had on AVHWAccel instances, meaning only those which actually do something need exist after this patch. Also updates avcodec_default_get_format() to be able to choose hardware formats if either a matching device has been supplied or no additional external configuration is required, and avcodec_get_hw_frames_parameters() to use the hardware config rather than searching the old hwaccel list.
-
Mark Thompson authored
ff_get_format() in the next patch will reject formats which aren't in the offered list, so the hack in 7cb9296d is no longer valid. Change the hack by adding a new field in the VP8 decoder context to indicate that it's actually WebP and don't call ff_get_format() at all in that case.
-
Mark Thompson authored
This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time.
-
Mark Thompson authored
-
- 14 Dec, 2017 1 commit
-
-
wm4 authored
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 12 Dec, 2017 3 commits
-
-
Luca Barbato authored
-
Li, Zhong authored
Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-
Li, Zhong authored
Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-