summaryrefslogtreecommitdiffstats
path: root/libavcodec/hwaccel.h
Commit message (Collapse)AuthorAgeFilesLines
* lavc: Add hardware config metadata for decoders supporting hardware outputMark Thompson2017-12-191-0/+38
| | | | | | | | | This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time.
* lavc: Add codec metadata to indicate hardware supportMark Thompson2017-12-191-0/+18
|
* pthread_frame: do not run hwaccel decoding asynchronously unless it's safeAnton Khirnov2016-12-191-0/+24
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).
OpenPOWER on IntegriCloud