Mark Thompson
5dd9a4b88b
vaapi: Implement device-only setup
...
In this case, the user only supplies a device and the frame context
is allocated internally by lavc.
2017-02-13 21:44:43 +00:00
Anton Khirnov
cfa4eb4fba
vaapi_decode: use the correct logging context
2016-12-19 08:13:28 +01:00
Anton Khirnov
ea8b730d8e
hevcdec: add a VAAPI hwaccel
...
Partially based on a patch by Timo Rothenpieler <timo@rothenpieler.org >.
Additional scaling list handling fix by Jun Zhao <mypopydev@gmail.com >.
2016-12-19 08:13:08 +01:00
Mark Thompson
0aec37e625
vaapi_decode: Remove vestigial unmap code
...
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.
2016-10-24 20:17:47 +01:00
Mark Thompson
5e879b54a3
vaapi_decode: Clear parameter buffers to fix picture reuse
...
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.
2016-10-24 20:17:47 +01:00
Mark Thompson
11c191b52c
vaapi_decode: Ignore the profile when not useful
...
Enables VP8 decoding - the decoder places the the bitstream version
in the profile field, which we want to ignore.
2016-09-08 21:58:22 +01:00
Mark Thompson
851960f6f8
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
2016-08-30 22:16:01 +01:00
Mark Thompson
123ccd07c5
lavc: Rewrite VAAPI decode infrastructure
...
Moves much of the setup logic for VAAPI decoding into lavc; the user
now need only provide the hw_frames_ctx.
2016-08-30 21:45:59 +01:00