Andreas Rheinhardt
e3d993fab0
avcodec/vaapi: Remove old and deprecated VAAPI context and header
...
Deprecated in 851960f6f8 .
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27 10:43:06 -03:00
Mark Thompson
99ab0a13dc
vaapi_decode: Make the frames context format selection more general
...
Examine the supported fourcc list manually and make the best choice, then
use the external attribute on the frames context to force that fourcc.
2018-02-21 23:38:10 +00:00
James Almer
48e4eda11d
Merge commit ' b46a77f19d'
...
* commit 'b46a77f19d ':
lavc: external hardware frame pool initialization
Includes the fix from e724bdfffb
Merged-by: James Almer <jamrial@gmail.com>
2017-11-11 20:33:26 -03:00
wm4
b46a77f19d
lavc: external hardware frame pool initialization
...
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>
2017-10-19 17:10:59 +02:00
Mark Thompson
375cf55fe9
vaapi: Disable deprecation warnings around use of old struct vaapi_context
2017-09-19 22:46:55 +01:00
Mark Thompson
81b7deab82
vaapi: Implement device-only setup
...
In this case, the user only supplies a device and the frame context
is allocated internally by lavc.
(cherry picked from commit 5dd9a4b88b )
2017-03-22 19:07:32 +00:00
Mark Thompson
5dd9a4b88b
vaapi: Implement device-only setup
...
In this case, the user only supplies a device and the frame context
is allocated internally by lavc.
2017-02-13 21:44:43 +00:00
Mark Thompson
2a4a8653b6
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
(cherry picked from commit 851960f6f8 )
2017-01-17 23:06:46 +00:00
Mark Thompson
79307ae563
lavc: Rewrite VAAPI decode infrastructure
...
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 123ccd07c5 )
(cherry picked from commit 5e879b54a3 )
(cherry picked from commit 0aec37e625 )
(cherry picked from commit cfa4eb4fba )
2017-01-17 23:06:45 +00:00
Mark Thompson
851960f6f8
lavc: Remove old vaapi decode infrastructure
...
Deprecates struct vaapi_context and the installed header vaapi.h,
to be removed at the next version bump.
2016-08-30 22:16:01 +01:00
Mark Thompson
123ccd07c5
lavc: Rewrite VAAPI decode infrastructure
...
Moves much of the setup logic for VAAPI decoding into lavc; the user
now need only provide the hw_frames_ctx.
2016-08-30 21:45:59 +01:00