summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorYury Gitman <yuryg@google.com>2016-07-18 11:24:23 -0700
committerYury Gitman <yuryg@google.com>2016-07-19 10:39:00 -0700
commite4ac8820073179f1899bacebc6b8d576fc54432e (patch)
tree4be1c35fc6d26e9dea5c8b4610d7fa8142a67436 /vp9
parentbdfdd7d993fd217c45b13ed1ab6239bcb9c5025f (diff)
downloadlibvpx-e4ac8820073179f1899bacebc6b8d576fc54432e.tar
libvpx-e4ac8820073179f1899bacebc6b8d576fc54432e.tar.gz
libvpx-e4ac8820073179f1899bacebc6b8d576fc54432e.tar.bz2
libvpx-e4ac8820073179f1899bacebc6b8d576fc54432e.zip
cosmetics: Add a few explanatory comments
Change-Id: Ia6004c08e6f5fd269a1bbd4df51ce9b76345150d
Diffstat (limited to 'vp9')
-rw-r--r--vp9/common/vp9_blockd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index 85b99c4bc..bc094101d 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -78,6 +78,9 @@ typedef struct MODE_INFO {
// Only for INTER blocks
INTERP_FILTER interp_filter;
+
+ // if ref_frame[idx] is equal to ALTREF_FRAME then
+ // MACROBLOCKD::block_ref[idx] is an altref
MV_REFERENCE_FRAME ref_frame[2];
// TODO(slavarnway): Delete and use bmi[3].as_mv[] instead.
@@ -154,6 +157,9 @@ typedef struct macroblockd {
int mi_stride;
+ // Grid of 8x8 cells is placed over the block.
+ // If some of them belong to the same mbtree-block
+ // they will just have same mi[i][j] value
MODE_INFO **mi;
MODE_INFO *left_mi;
MODE_INFO *above_mi;