Commit 1cd6795 causes quality drop for U/V plane.

Reported-by: Wang, Fei W <[email protected]>
Signed-off-by: Xiang, Haihao <[email protected]>
Tested-by: Wang, Fei W <[email protected]>
---
 src/gen6_mfc_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen6_mfc_common.c b/src/gen6_mfc_common.c
index b0342da..9f041d8 100644
--- a/src/gen6_mfc_common.c
+++ b/src/gen6_mfc_common.c
@@ -776,7 +776,7 @@ void intel_h264_calc_mbmvcost_qp(int qp,
     lambda = intel_lambda_qp(qp);
 
     m_cost = lambda;
-    vme_state_message[MODE_CHROMA_INTRA] = intel_format_lutvalue(m_cost, 0x8f);
+    vme_state_message[MODE_CHROMA_INTRA] = 0;
     vme_state_message[MODE_REFID_COST] = intel_format_lutvalue(m_cost, 0x8f);
 
     if (slice_type == SLICE_TYPE_I) {
-- 
1.9.1

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

Reply via email to