summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_seg_common.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2013-04-30 14:06:49 -0700
committerDmitry Kovalev <dkovalev@google.com>2013-04-30 14:06:49 -0700
commitb5364d4f3b606bcdbd4280067de99a95fd2f0b7e (patch)
tree5d3c10e652652330da9f2276a01a47c564d4f5fc /vp9/common/vp9_seg_common.c
parent70d12c3a75bbd5d25ad70e9d1872fc9d4f6cc1c5 (diff)
downloadlibvpx-b5364d4f3b606bcdbd4280067de99a95fd2f0b7e.tar
libvpx-b5364d4f3b606bcdbd4280067de99a95fd2f0b7e.tar.gz
libvpx-b5364d4f3b606bcdbd4280067de99a95fd2f0b7e.tar.bz2
libvpx-b5364d4f3b606bcdbd4280067de99a95fd2f0b7e.zip
Using treed_read/treed_write functions for segment ids.
Changing the order of probabilities inside mb_segment_tree_probs in order to use treed_read/treed_write function instead of custom code. Change-Id: I843487d5057913b9358db73da270893eefecc6c8
Diffstat (limited to 'vp9/common/vp9_seg_common.c')
-rw-r--r--vp9/common/vp9_seg_common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp9/common/vp9_seg_common.c b/vp9/common/vp9_seg_common.c
index 9ed3e2d5b..02b7053fe 100644
--- a/vp9/common/vp9_seg_common.c
+++ b/vp9/common/vp9_seg_common.c
@@ -107,4 +107,10 @@ void vp9_implicit_segment_map_update(VP9_COMMON * cm) {
}
#endif
+const vp9_tree_index vp9_segment_tree[14] = {
+ 2, 4, 6, 8, 10, 12,
+ 0, -1, -2, -3, -4, -5, -6, -7
+};
+
+
// TBD? Functions to read and write segment data with range / validity checking