mirror of https://gitlab.freedesktop.org/mesa/mesa
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>
(cherry picked from commit 31c4087cb3
)
This commit is contained in:
parent
d99aa64f07
commit
94b61fd83a
|
@ -3864,7 +3864,7 @@
|
|||
"description": "frontends/va: disable skip_frame_enable in vaapi interface.",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
@ -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…
Reference in New Issue