Corrected highbitdepth aq variance
Change-Id: Idfa10a8f92e2a4bd4c75cda68f3b800f119a4b1e
This commit is contained in:
@@ -134,8 +134,8 @@ static unsigned int block_variance(VP9_COMP *cpi, MACROBLOCK *x,
|
||||
high_variance(x->plane[0].src.buf, x->plane[0].src.stride,
|
||||
CONVERT_TO_BYTEPTR(vp9_high_64_zeros), 0, bw, bh, &sse,
|
||||
&avg);
|
||||
sse >>= 2 * (8 - xd->bps);
|
||||
avg >>= (8 - xd->bps);
|
||||
sse >>= 2 * (xd->bps - 8);
|
||||
avg >>= (xd->bps - 8);
|
||||
} else {
|
||||
variance(x->plane[0].src.buf, x->plane[0].src.stride,
|
||||
vp9_64_zeros, 0, bw, bh, &sse, &avg);
|
||||
|
||||
Reference in New Issue
Block a user