| Index: source/libvpx/vp9/encoder/vp9_aq_variance.c
|
| diff --git a/source/libvpx/vp9/encoder/vp9_aq_variance.c b/source/libvpx/vp9/encoder/vp9_aq_variance.c
|
| index be6f7e4ee535760f323bc070f90fdab9a7469c99..9e5d9ee6a0b4af2dfcc2def74f7073206898ba11 100644
|
| --- a/source/libvpx/vp9/encoder/vp9_aq_variance.c
|
| +++ b/source/libvpx/vp9/encoder/vp9_aq_variance.c
|
| @@ -10,6 +10,8 @@
|
|
|
| #include <math.h>
|
|
|
| +#include "vpx_ports/mem.h"
|
| +
|
| #include "vp9/encoder/vp9_aq_variance.h"
|
|
|
| #include "vp9/common/vp9_seg_common.h"
|
| @@ -96,9 +98,9 @@ static unsigned int block_variance(VP9_COMP *cpi, MACROBLOCK *x,
|
| int avg;
|
| #if CONFIG_VP9_HIGHBITDEPTH
|
| if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
|
| - highbd_variance(x->plane[0].src.buf, x->plane[0].src.stride,
|
| - CONVERT_TO_BYTEPTR(vp9_highbd_64_zeros), 0, bw, bh,
|
| - &sse, &avg);
|
| + highbd_8_variance(x->plane[0].src.buf, x->plane[0].src.stride,
|
| + CONVERT_TO_BYTEPTR(vp9_highbd_64_zeros), 0, bw, bh,
|
| + &sse, &avg);
|
| sse >>= 2 * (xd->bd - 8);
|
| avg >>= (xd->bd - 8);
|
| } else {
|
|
|