summaryrefslogtreecommitdiffstats
path: root/video/decode/hw_vaapi_old.c
Commit message (Collapse)AuthorAgeFilesLines
* video: drop vaapi/vdpau hw decoding support with FFmpeg 3.2wm42017-04-231-424/+0
| | | | | | | | | | This drops support for the old libavcodec APIs. Now FFmpeg 3.3 or FFmpeg git is required. Libav has no release with the new APIs yet, so for Libav git as of a few weeks or months ago or so is required if you want to use Libav. Not much actually changes in hwdec_vaegl.c - some code is removed, but the reindentation inflates the diff.
* decode: fix extra surface countwm42017-02-271-1/+1
| | | | | | | | | | | | FFmpeg could crash with vaapi (new) and --vo=opengl + interpolation. It seems the actual surface count the old vaapi code uses (and which usually never exceeded the preallocated amount) was higher than what was used for the new vaapi code, so just correct that. The d3d helpers also had weird code that bumped the real pool size, fix them as well. Why this would result in an assertion failure instead of a proper error, who knows.
* vd_lavc, vaapi: move hw device creation to generic codewm42017-02-201-4/+6
| | | | | | | | hw_vaapi.c didn't do much interesting anymore. Other than the function to create a device for decoding with vaapi-copy, everything can be done by generic code. Other libavcodec hwaccels are planned to provide the same API as vaapi. It will be possible to drop the other hw_ files in the future. They will use this generic code instead.
* vaapi: remove central lock around vaapi API callswm42017-01-281-21/+0
| | | | | | | | The lock was disabled recently. This commit gets rid of the dummied out calls. The main reason for removing it is that there is no apparent need for it anymore, and the new FFmpeg vaapi code does not use or provide such a lock (there are some places which we cannot control and which do vaapi API calls, like frame destructors).
* build: prefix hwaccel decoder wrapper filenames with hw_wm42017-01-171-0/+443
Should have done this a long time ago. d3d.c remains as it is, because it's just a bunch of helper functions.