Signed-off-by: Pengfei Qu <[email protected]>
---
 src/gen9_mfc_hevc.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gen9_mfc_hevc.c b/src/gen9_mfc_hevc.c
index 90b14bf..2995b30 100644
--- a/src/gen9_mfc_hevc.c
+++ b/src/gen9_mfc_hevc.c
@@ -2337,9 +2337,9 @@ static void intel_hcpe_brc_init(struct encode_state 
*encode_state,
     mfc_context->bit_rate_control_context[HEVC_SLICE_I].QpPrimeY = 
mfc_context->bit_rate_control_context[HEVC_SLICE_P].QpPrimeY;
     mfc_context->bit_rate_control_context[HEVC_SLICE_B].QpPrimeY = 
mfc_context->bit_rate_control_context[HEVC_SLICE_I].QpPrimeY;
 
-    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_I].QpPrimeY, 1, 
51);
-    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_P].QpPrimeY, 1, 
51);
-    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_B].QpPrimeY, 1, 
51);
+    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_I].QpPrimeY, 1, 
36);
+    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_P].QpPrimeY, 1, 
40);
+    BRC_CLIP(mfc_context->bit_rate_control_context[HEVC_SLICE_B].QpPrimeY, 1, 
45);
 }
 
 int intel_hcpe_update_hrd(struct encode_state *encode_state,
-- 
2.7.4

_______________________________________________
Libva mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to