summaryrefslogtreecommitdiffstats
path: root/libavcodec/vdpau_hevc.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).
* hevcdec: split ff_hevc_diag_scan* declarations into a separate headerAnton Khirnov2016-10-161-0/+1
| | | | This will be useful in the following commits.
* hevc: rename hevc.[ch] to hevcdec.[ch]Anton Khirnov2016-10-161-1/+1
| | | | | This is more consistent with the rest of libav and frees up the hevc.h name for decoder-independent shared declarations.
* vdpau: Support for VDPAU accelerated HEVC decodingPhilip Langdale2016-02-131-0/+426
Signed-off-by: RĂ©mi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
OpenPOWER on IntegriCloud