summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_scan.c
diff options
context:
space:
mode:
authorhui su <huisu@google.com>2016-04-07 11:04:40 -0700
committerhui su <huisu@google.com>2016-04-07 11:07:21 -0700
commit69c7ad340721e9ca3659af054808c10aa91980df (patch)
treec65dfd4f19f48ae6ecc79e47e367c57735347705 /vp9/common/vp9_scan.c
parent31b975713cf69879bcfd66bc653791112a8c3644 (diff)
downloadlibvpx-69c7ad340721e9ca3659af054808c10aa91980df.tar
libvpx-69c7ad340721e9ca3659af054808c10aa91980df.tar.gz
libvpx-69c7ad340721e9ca3659af054808c10aa91980df.tar.bz2
libvpx-69c7ad340721e9ca3659af054808c10aa91980df.zip
Correct comments for scan order neighbors
Change-Id: I5e2dc39bf0ee8e501e4dd358be2e92ae50934593
Diffstat (limited to 'vp9/common/vp9_scan.c')
-rw-r--r--vp9/common/vp9_scan.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp9/common/vp9_scan.c b/vp9/common/vp9_scan.c
index d6fb8b2d7..8b8b09f4a 100644
--- a/vp9/common/vp9_scan.c
+++ b/vp9/common/vp9_scan.c
@@ -229,10 +229,8 @@ DECLARE_ALIGNED(16, static const int16_t, default_scan_32x32[1024]) = {
990, 959, 1022, 991, 1023,
};
-// Neighborhood 5-tuples for various scans and blocksizes,
-// in {top, left, topleft, topright, bottomleft} order
-// for each position in raster scan order.
-// -1 indicates the neighbor does not exist.
+// Neighborhood 2-tuples for various scans and blocksizes,
+// in {top, left} order for each position in corresponding scan order.
DECLARE_ALIGNED(16, static const int16_t,
default_scan_4x4_neighbors[17 * MAX_NEIGHBORS]) = {
0, 0, 0, 0, 0, 0, 1, 4, 4, 4, 1, 1, 8, 8, 5, 8, 2, 2, 2, 5, 9, 12, 6, 9,