Commit 35e8fa14 authored by Deb Mukherjee's avatar Deb Mukherjee
Browse files

rdmult data type change to fix high bit-depth

Fixes an intermittent assert failure for highbitdepth.

Change-Id: If8cad0209a94f1184b69c7b3f1d587934f857d9b
parent 439bd095
...@@ -136,7 +136,7 @@ static const int rd_frame_type_factor[FRAME_UPDATE_TYPES] = { ...@@ -136,7 +136,7 @@ static const int rd_frame_type_factor[FRAME_UPDATE_TYPES] = {
}; };
int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) {
const int q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); const int64_t q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth);
#if CONFIG_VP9_HIGHBITDEPTH #if CONFIG_VP9_HIGHBITDEPTH
int rdmult = 0; int rdmult = 0;
switch (cpi->common.bit_depth) { switch (cpi->common.bit_depth) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment