summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_decode.h
Commit message (Collapse)AuthorAgeFilesLines
* vaapi_decode: Make the frames context format selection more generalMark Thompson2018-02-211-0/+2
| | | | | Examine the supported fourcc list manually and make the best choice, then use the external attribute on the frames context to force that fourcc.
* Merge commit 'b46a77f19ddc4b2b5fa3187835ceb602a5244e24'James Almer2017-11-111-2/+3
|\ | | | | | | | | | | | | | | | | * commit 'b46a77f19ddc4b2b5fa3187835ceb602a5244e24': lavc: external hardware frame pool initialization Includes the fix from e724bdfffbd3c27aac53d1f32f20f105f37caef0 Merged-by: James Almer <jamrial@gmail.com>
| * lavc: external hardware frame pool initializationwm42017-10-191-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * vaapi: Implement device-only setupMark Thompson2017-02-131-0/+3
| | | | | | | | | | In this case, the user only supplies a device and the frame context is allocated internally by lavc.
| * lavc: Remove old vaapi decode infrastructureMark Thompson2016-08-301-0/+6
| | | | | | | | | | Deprecates struct vaapi_context and the installed header vaapi.h, to be removed at the next version bump.
| * lavc: Rewrite VAAPI decode infrastructureMark Thompson2016-08-301-0/+90
| | | | | Moves much of the setup logic for VAAPI decoding into lavc; the user now need only provide the hw_frames_ctx.
* vaapi: Disable deprecation warnings around use of old struct vaapi_contextMark Thompson2017-09-191-0/+2
|
* vaapi: Implement device-only setupMark Thompson2017-03-221-0/+3
| | | | | | | In this case, the user only supplies a device and the frame context is allocated internally by lavc. (cherry picked from commit 5dd9a4b88b287bf8c93520afda7becb1ad0d1894)
* lavc: Remove old vaapi decode infrastructureMark Thompson2017-01-171-0/+6
| | | | | | | Deprecates struct vaapi_context and the installed header vaapi.h, to be removed at the next version bump. (cherry picked from commit 851960f6f8cf1f946fe42fa36cf6598fac68072c)
* lavc: Rewrite VAAPI decode infrastructureMark Thompson2017-01-171-0/+90
Moves much of the setup logic for VAAPI decoding into lavc; the user now need only provide the hw_frames_ctx. (cherry picked from commit 123ccd07c55ccf075cc5daf5581237fbccb86bdb) (cherry picked from commit 5e879b54a3a46817ea6c8a95a9aecab1176418b9) (cherry picked from commit 0aec37e625821040c103641eec9c1e7a1efa2952) (cherry picked from commit cfa4eb4fba782f3f37a33be997b27a91a07053c9)