• Mark Thompson's avatar
    vaapi_encode: Maintain a pool of bitstream output buffers · 8a62d2c2
    Mark Thompson authored
    Previously we would allocate a new one for every frame.  This instead
    maintains an AVBufferPool of them to use as-needed.
    
    Also makes the maximum size of an output buffer adapt to the frame
    size - the fixed upper bound was a bit too easy to hit when encoding
    large pictures at high quality.
    8a62d2c2
vaapi_encode.h 7.03 KB