mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavc: Add support for increasing hardware frame pool sizes
AVCodecContext.extra_hw_frames is added to the size of hardware frame pools created by libavcodec for APIs which require fixed-size pools. This allows the user to keep references to a greater number of frames after decode, which may be necessary for some use-cases. It is also added to the initial_pool_size value returned by avcodec_get_hw_frames_parameters() if a fixed-size pool is required.
This commit is contained in:
@@ -13,6 +13,9 @@ libavutil: 2017-03-23
|
||||
|
||||
API changes, most recent first:
|
||||
|
||||
2018-02-xx - xxxxxxx - lavc 58.9.0 - avcodec.h
|
||||
Add AVCodecContext.extra_hw_frames.
|
||||
|
||||
2017-xx-xx - xxxxxxx - lavc 58.8.0 - avcodec.h
|
||||
Add const to AVCodecContext.hwaccel.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user