[Libva] [PATCH] VP8 HWEnc: Modify qp threshold value for mode cost calculatation
Zhong Li
zhong.li at intel.com
Sun Jun 7 21:42:21 PDT 2015
The patch is helpful to improve quality when qp is lower than the
threshold value.
Signed-off-by: Zhong Li <zhong.li at intel.com>
---
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 6823fb6..53e31de 100644
--- a/src/gen6_mfc_common.c
+++ b/src/gen6_mfc_common.c
@@ -970,7 +970,7 @@ void intel_vme_vp8_update_mbmv_cost(VADriverContextP ctx,
mv_count++;
}
- if (qp < 32 ) {
+ if (qp < 92 ) {
vme_state_message[MODE_INTRA_16X16] = 0x4a;
vme_state_message[MODE_INTRA_4X4] = 0x4a;
vme_state_message[MODE_INTRA_NONPRED] = 0x4a;
--
1.9.1
More information about the Libva
mailing list