- 20 Feb, 2018 10 commits
-
-
Mark Thompson authored
This makes it easier for users of the CBS API to get alloc/free right - all subelements use the buffer API so that it's clear how to free them. It also allows eliding some redundant copies: the packet -> fragment copy disappears after this change if the input packet is refcounted, and more codec-specific cases are now possible (but not included in this patch).
-
Mark Thompson authored
If there is exactly one possible SPS but it is not yet active then just assume that it should be the active one.
-
Mark Thompson authored
-
Mark Thompson authored
This is harmless and should not be a warning - unknown units are passed through to the write functions unchanged, and no other code will interact with them.
-
Mark Thompson authored
The iHD driver looks at entries beyond num_ref_idx_l[01]_active_minus1 for unknown reasons.
-
Mark Thompson authored
The buffers are created associated with the context, so they should be destroyed before the context is. This is enforced by the iHD driver.
-
Jun Zhao authored
This removes the arbitrary limit on the allowed number of slices and parameter buffers. From ffmpeg commit e4a6eb70. Signed-off-by: Mark Thompson <sw@jkqxz.net>
-
Mark Thompson authored
-
Mark Thompson authored
Also fix conversion specifiers used for the unit type.
-
Mark Thompson authored
... instead of making callers allocate it themselves. This is more consistent with other APIs in libav.
-
- 19 Feb, 2018 2 commits
-
-
Martin Storsjö authored
These are supported by llvm-dlltool. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This reverts commit 67c72f08. While the linker produced import libraries might work with MSVC in simple test cases, they don't if e.g. linking to multiple GNU ld produced import libraries at the same time. (They end up importing functions from the wrong libraries.) The ones produced by dlltool work fine though. This issue was pointed out by Hendrik Leppkes. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 12 Feb, 2018 2 commits
-
-
Diego Biurrun authored
-
Michael Niedermayer authored
Bug-Id: 1100 Bug-Id: ffmpeg/Ticket2531 Cc: libav-stable@libav.org
-
- 11 Feb, 2018 10 commits
-
-
Ruiling Song authored
MFX_LOOKAHEAD_DS_UNKNOWN means auto. -1 is not a valid value. Signed-off-by: Ruiling Song <ruiling.song@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-
Zhong Li authored
AVBR is supported from API 1.3 but only available for Windows Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
-
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 1 commit
-
-
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>
-