summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_segmentation.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2013-12-16 12:09:34 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2013-12-16 17:27:48 -0800
commit50ec6311e6376086e771bdad736888a486ca871b (patch)
treebdc0ca22c5aab5d215da0015d3be9a5c86fc0736 /vp9/encoder/vp9_segmentation.h
parente71985632eee91a2ec694494122a89cb56b4000c (diff)
downloadlibvpx-50ec6311e6376086e771bdad736888a486ca871b.tar
libvpx-50ec6311e6376086e771bdad736888a486ca871b.tar.gz
libvpx-50ec6311e6376086e771bdad736888a486ca871b.tar.bz2
libvpx-50ec6311e6376086e771bdad736888a486ca871b.zip
Move two functions to encoder
As they are used by encoder only. Change-Id: I7b1e6955b218aba66fe156523521a8121c9a84a4
Diffstat (limited to 'vp9/encoder/vp9_segmentation.h')
-rw-r--r--vp9/encoder/vp9_segmentation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_segmentation.h b/vp9/encoder/vp9_segmentation.h
index 2183771c4..03f14ea06 100644
--- a/vp9/encoder/vp9_segmentation.h
+++ b/vp9/encoder/vp9_segmentation.h
@@ -18,6 +18,12 @@
void vp9_enable_segmentation(VP9_PTR ptr);
void vp9_disable_segmentation(VP9_PTR ptr);
+void vp9_disable_segfeature(struct segmentation *seg,
+ int segment_id,
+ SEG_LVL_FEATURES feature_id);
+void vp9_clear_segdata(struct segmentation *seg,
+ int segment_id,
+ SEG_LVL_FEATURES feature_id);
// Valid values for a segment are 0 to 3
// Segmentation map is arrange as [Rows][Columns]
void vp9_set_segmentation_map(VP9_PTR ptr, unsigned char *segmentation_map);