mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
frontends/va: disable skip_frame_enable in vaapi interface.
skip_frame_enable is for preventing overshooting in some cases, however the tests in FW were broken, and the output result shows the functionality has not completed yet, which is the reason this should be disabled at the moment until it has been fully verified. Cc: mesa-stable Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8178 Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Signed-off-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22428>
This commit is contained in:
parent
8976d8280f
commit
31c4087cb3
2 changed files with 4 additions and 2 deletions
|
|
@ -251,7 +251,8 @@ vlVaHandleVAEncMiscParameterTypeRateControlH264(vlVaContext *context, VAEncMiscP
|
|||
return VA_STATUS_ERROR_INVALID_PARAMETER;
|
||||
|
||||
context->desc.h264enc.rate_ctrl[temporal_id].fill_data_enable = !(rc->rc_flags.bits.disable_bit_stuffing);
|
||||
context->desc.h264enc.rate_ctrl[temporal_id].skip_frame_enable = !(rc->rc_flags.bits.disable_frame_skip);
|
||||
/* context->desc.h264enc.rate_ctrl[temporal_id].skip_frame_enable = !(rc->rc_flags.bits.disable_frame_skip); */
|
||||
context->desc.h264enc.rate_ctrl[temporal_id].skip_frame_enable = 0;
|
||||
context->desc.h264enc.rate_ctrl[temporal_id].peak_bitrate = rc->bits_per_second;
|
||||
|
||||
if ((context->desc.h264enc.rate_ctrl[0].rate_ctrl_method == PIPE_H2645_ENC_RATE_CONTROL_METHOD_CONSTANT) ||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,8 @@ vlVaHandleVAEncMiscParameterTypeRateControlHEVC(vlVaContext *context, VAEncMiscP
|
|||
context->desc.h265enc.rc.vbv_buffer_size = context->desc.h265enc.rc.target_bitrate;
|
||||
|
||||
context->desc.h265enc.rc.fill_data_enable = !(rc->rc_flags.bits.disable_bit_stuffing);
|
||||
context->desc.h265enc.rc.skip_frame_enable = !(rc->rc_flags.bits.disable_frame_skip);
|
||||
/* context->desc.h265enc.rc.skip_frame_enable = !(rc->rc_flags.bits.disable_frame_skip); */
|
||||
context->desc.h265enc.rc.skip_frame_enable = 0;
|
||||
context->desc.h265enc.rc.max_qp = rc->max_qp;
|
||||
context->desc.h265enc.rc.min_qp = rc->min_qp;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue