• Mark Thompson's avatar
    lavc: Add support for increasing hardware frame pool sizes · 5b145290
    Mark Thompson authored
    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.
    5b145290
avcodec.h 176 KB