Change to use proper type in vp10_token_state
"qc" in vp10_token_state is used to save quantized coefficients, this commit changes the type from short to tran_low_t to properly reflect the value range for highbitdepth build. This fixes an out-of-range bug when optimize_b is used in highbitdepth build. Change-Id: I914c6fd3d3f4b9d061f9ed7cc5f08a883ab59dcd
This commit is contained in:
@@ -61,7 +61,7 @@ typedef struct vp10_token_state {
|
|||||||
int error;
|
int error;
|
||||||
int next;
|
int next;
|
||||||
int16_t token;
|
int16_t token;
|
||||||
short qc;
|
tran_low_t qc;
|
||||||
} vp10_token_state;
|
} vp10_token_state;
|
||||||
|
|
||||||
// TODO(jimbankoski): experiment to find optimal RD numbers.
|
// TODO(jimbankoski): experiment to find optimal RD numbers.
|
||||||
|
|||||||
Reference in New Issue
Block a user