summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_int.h
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2011-11-11 10:10:06 +0000
committerPaul Wilkins <paulwilkins@google.com>2011-11-11 18:31:21 +0000
commitbf25d4ad7f5f9c7b11894be140783da8ee640494 (patch)
tree187c1337db487b987bf9dd6ad8e81fadab4fdd8f /vp8/encoder/onyx_int.h
parente01b39254b7289f124b2ba2b0fcdfb1e64aadd0c (diff)
downloadlibvpx-bf25d4ad7f5f9c7b11894be140783da8ee640494.tar
libvpx-bf25d4ad7f5f9c7b11894be140783da8ee640494.tar.gz
libvpx-bf25d4ad7f5f9c7b11894be140783da8ee640494.tar.bz2
libvpx-bf25d4ad7f5f9c7b11894be140783da8ee640494.zip
SEGMENTATION experiment:
Some initial cleanup to aid testing and debug. Pull code to choose temporal or spatial encoding out of encodeframe.c into a dedicated function in segmentation.c. For now disable broken temporal mode. Move the coding of "temporal_update" flag and only transmit if segment map update is indicated. Rename the functions read_mb_features() and write_mb_features() to read_mb_segid() and read_mb_segid() as they only read and write the macroblock segment id not any of the features. Change-Id: Ib75118520b1144c24d35fdfc6ce46106803cabcf
Diffstat (limited to 'vp8/encoder/onyx_int.h')
-rw-r--r--vp8/encoder/onyx_int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index f2bff98c5..817aaafea 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -56,6 +56,12 @@
#define VP8_TEMPORAL_ALT_REF 1
#endif
+#if CONFIG_SEGMENTATION
+#define SEEK_SEGID 12
+#define SEEK_SAMEID 4
+#define SEEK_DIFFID 7
+#endif
+
typedef struct
{
int kf_indicated;