mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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>
This commit is contained in:
@@ -13,6 +13,9 @@ libavutil: 2017-03-23
|
||||
|
||||
API changes, most recent first:
|
||||
|
||||
2017-xx-xx - xxxxxxx - lavc 58.5.0 - avcodec.h
|
||||
Add avcodec_get_hw_frames_parameters().
|
||||
|
||||
2017-xx-xx - xxxxxxx - lavu 56.6.0 - pixdesc.h
|
||||
Add av_color_range_from_name(), av_color_primaries_from_name(),
|
||||
av_color_transfer_from_name(), av_color_space_from_name(), and
|
||||
|
||||
Reference in New Issue
Block a user