summaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_vp8.c
Commit message (Collapse)AuthorAgeFilesLines
* lavc: Mark all AVHWAccel structures as constMark Thompson2017-12-191-1/+1
|
* lavc: external hardware frame pool initializationwm42017-10-191-0/+1
| | | | | | | | | | | | 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>
* pthread_frame: do not run hwaccel decoding asynchronously unless it's safeAnton Khirnov2016-12-191-0/+2
| | | | | | | | | | Certain hardware decoding APIs are not guaranteed to be thread-safe, so having the user access decoded hardware surfaces while the decoder is running in another thread can cause failures (this is mainly known to happen with DXVA2). For such hwaccels, only allow the decoding thread to run while the user is inside a lavc decode call (avcodec_send_packet/receive_frame).
* vaapi_vp8: Explicitly include libva vp8 decode headerMark Thompson2016-09-091-0/+3
| | | | | | With some old libva versions <va/va.h> does not automatically include the per-codec subsidiary headers, so we need to include the right one explicitly ourselves.
* lavc/vaapi: Add VP8 decode hwaccelMark Thompson2016-09-081-0/+231
OpenPOWER on IntegriCloud