ref: 039f9e08f04bc7919c7db4fe4be93a7ac3cc1f84
parent: dc5618f3bb56a420976f03ccfb62097b9792e3ca
author: Yaowu Xu <[email protected]>
date: Tue Aug 2 07:01:39 EDT 2016
change HBD pixel value from uint8_t to uint16_t This fixes a regression in 10/12 bit encoding results. Change-Id: I438877352a41aae0a864a8d9979afe4aa2061d81
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -643,7 +643,7 @@
uint8_t *tmp_ptr;
uint16_t *tmp_ptr16;
uint8_t *kernal_ptr;
- uint8_t dn_val;
+ uint16_t dn_val;
uint16_t centre_val = *CONVERT_TO_SHORTPTR(src_ptr);
kernal_ptr = fp_dn_kernal_3;