summaryrefslogtreecommitdiff
path: root/src/gen6_mfc_common.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2015-06-08 12:42:21 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-06-12 08:15:46 +0800
commite797089446c1f5b71b239b9046d76e054dfcba59 (patch)
tree973c22469c9cbfdc974b42e47c6c93989be104c0 /src/gen6_mfc_common.c
parentd0c22df7094788a58d3282a2c25483d26a3cca54 (diff)
downloadlibva-intel-driver-e797089446c1f5b71b239b9046d76e054dfcba59.tar.gz
VP8 HWEnc: Modify qp threshold value for mode cost calculatation
The patch is helpful to improve quality when qp is lower than the threshold value. Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'src/gen6_mfc_common.c')
-rw-r--r--src/gen6_mfc_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen6_mfc_common.c b/src/gen6_mfc_common.c
index 6823fb67..53e31de6 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;