intel / intel-vaapi-driver

VA-API user mode driver for Intel GEN Graphics family
https://01.org/linuxmedia
Other
303 stars 126 forks source link

gen9_vp9_encoder: Ensure brc-reset irrespective of the frame type #486

Closed sreerenjb closed 4 years ago

sreerenjb commented 4 years ago

If bitrate control is enabled (CBR & VBR), it is legal to have a bitrate change/reset even for non-key frame. Currently the bitrate change is not submitting to the gpu if it is an inter-prediction frame. This patch ensures that all internal structures are getting the updated bitrate values whenever user request. This patch is expected to fix the issue #473

sreerenjb commented 4 years ago

@xhaihao ping for review!