summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2013-11-06 11:34:06 -0800
committerJingning Han <jingning@google.com>2013-11-07 08:59:14 -0800
commite91d7705111cbb2a9a8c0e85a9bbc3bc60ef9d43 (patch)
tree3411930109fcc555d62b805da36f72dc38ac24c5 /vp9/encoder
parent103c4603d2aa366bb8064da29da490b3eb79f307 (diff)
downloadlibvpx-e91d7705111cbb2a9a8c0e85a9bbc3bc60ef9d43.tar
libvpx-e91d7705111cbb2a9a8c0e85a9bbc3bc60ef9d43.tar.gz
libvpx-e91d7705111cbb2a9a8c0e85a9bbc3bc60ef9d43.tar.bz2
libvpx-e91d7705111cbb2a9a8c0e85a9bbc3bc60ef9d43.zip
Fix the variable naming in encode_block
The term x represents macroblock pointer across encode_block. Change the two local variable names to avoid confusion. Change-Id: Ic732e73023525d673c0a678ed2708ac1edf5a3f9
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_encodemb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c
index e52e8ec1e..75ed8eab7 100644
--- a/vp9/encoder/vp9_encodemb.c
+++ b/vp9/encoder/vp9_encodemb.c
@@ -430,11 +430,11 @@ static void encode_block(int plane, int block, BLOCK_SIZE plane_bsize,
// TODO(jingning): per transformed block zero forcing only enabled for
// luma component. will integrate chroma components as well.
if (x->zcoeff_blk[tx_size][block] && plane == 0) {
- int x, y;
+ int i, j;
pd->eobs[block] = 0;
- txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &x, &y);
- ctx->ta[plane][x] = 0;
- ctx->tl[plane][y] = 0;
+ txfrm_block_to_raster_xy(plane_bsize, tx_size, block, &i, &j);
+ ctx->ta[plane][i] = 0;
+ ctx->tl[plane][j] = 0;
return;
}