summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorZoe Liu <zoeliu@google.com>2018-06-22 19:33:38 -0700
committerZoe Liu <zoeliu@google.com>2018-07-02 14:53:12 -0700
commita6874985e2e7449a85cc0ad04930e41169e961e4 (patch)
tree31d30c4c665538c62cec63f6ee86dc4070310a51 /vp9/common
parent03abd2c8f358549a445dce452e26aa72d3853e55 (diff)
downloadlibvpx-a6874985e2e7449a85cc0ad04930e41169e961e4.tar
libvpx-a6874985e2e7449a85cc0ad04930e41169e961e4.tar.gz
libvpx-a6874985e2e7449a85cc0ad04930e41169e961e4.tar.bz2
libvpx-a6874985e2e7449a85cc0ad04930e41169e961e4.zip
Add hierarchical structure based ref frame update
Change-Id: I23559110bae8fa2328fe9bdb6672c7b1da84e17f
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_blockd.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index 780b29208..147380650 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -60,6 +60,13 @@ typedef struct {
#define GOLDEN_FRAME 2
#define ALTREF_FRAME 3
#define MAX_REF_FRAMES 4
+
+#define LAST2_FRAME 4
+#define LAST3_FRAME 5
+#define BWDREF_FRAME 6
+#define ALTREF2_FRAME 7
+#define LAST_REF_FRAMES 3
+
typedef int8_t MV_REFERENCE_FRAME;
// This structure now relates to 8x8 block regions.