| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Also fixes a bug where it could attempt to decode with an unsupported
codec if allow-profile-mismatch was set.
|
|
|
|
|
|
| |
This is an ABI change in libva2: previously the Intel driver had this
behaviour and it was implemented as a driver quirk, but now it is part
of the specification so all drivers must do it.
|
|
|
|
|
|
| |
This has been deprecated in libva2 because hardware does not and will not
support it. Therefore never consider it for decode, and for encode assume
the user meant constrained baseline profile instead.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new API, which allows the API user to query the required
AVHWFramesContext parameters. This also reduces code duplication across
the hwaccels by introducing ff_decode_get_hw_frames_ctx(), which uses
the new API function. It takes care of initializing the hw_frames_ctx
if needed, and does additional error handling and API usage checking.
Support for VDA and Cuvid missing.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
Uses the just-added ALLOW_PROFILE_MISMATCH flag.
|
|
|
|
|
| |
In this case, the user only supplies a device and the frame context
is allocated internally by lavc.
|
| |
|
|
|
|
|
| |
Partially based on a patch by Timo Rothenpieler <timo@rothenpieler.org>.
Additional scaling list handling fix by Jun Zhao <mypopydev@gmail.com>.
|
|
|
|
|
|
|
| |
The buffer map/unmap code was in an early version of this before it
was committed, but the unmap was never removed. While wrong, this
was harmless (and therefore unnoticed) because the buffers can't be
mapped at this point - all drivers just did nothing with the call.
|
|
|
|
|
|
| |
When decoding interlaced pictures, the structure is reused to render
to the same surface twice. The parameter buffers were not being
cleared, which caused the i965 driver to error out.
|
|
|
|
|
| |
Enables VP8 decoding - the decoder places the the bitstream version
in the profile field, which we want to ignore.
|
|
|
|
|
| |
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
|
|
Moves much of the setup logic for VAAPI decoding into lavc; the user
now need only provide the hw_frames_ctx.
|