Commit b573fef7 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Use correct bsize for uv

Change-Id: I9c897d32af6c3a956bb6f424a74c12737727038a
parent 42eb97eb
......@@ -743,7 +743,11 @@ static void choose_partitioning(VP9_COMP *cpi,
for (i = 1; i <= 2; ++i) {
struct macroblock_plane *p = &x->plane[i];
struct macroblockd_plane *pd = &xd->plane[i];
#if GLOBAL_MOTION
const BLOCK_SIZE bs = get_plane_block_size(bsize, pd);
#else
const BLOCK_SIZE bs = get_plane_block_size(BLOCK_64X64, pd);
#endif
uv_sad = cpi->fn_ptr[bs].sdf(p->src.buf, p->src.stride,
pd->dst.buf, pd->dst.stride);
......
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