hardware/intel/intel-driver
Revision | 53a524de216f498c1377a9cc3311f81fa64770ef (tree) |
---|---|
Time | 2015-06-24 14:33:28 |
Author | Zhong Li <zhong.li@inte...> |
Commiter | Xiang, Haihao |
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>
(cherry picked from commit e797089446c1f5b71b239b9046d76e054dfcba59)
@@ -970,7 +970,7 @@ void intel_vme_vp8_update_mbmv_cost(VADriverContextP ctx, | ||
970 | 970 | mv_count++; |
971 | 971 | } |
972 | 972 | |
973 | - if (qp < 32 ) { | |
973 | + if (qp < 92 ) { | |
974 | 974 | vme_state_message[MODE_INTRA_16X16] = 0x4a; |
975 | 975 | vme_state_message[MODE_INTRA_4X4] = 0x4a; |
976 | 976 | vme_state_message[MODE_INTRA_NONPRED] = 0x4a; |