summaryrefslogtreecommitdiff
path: root/vp9/decoder/detokenize.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2012-10-09 13:19:15 -0700
committerDeb Mukherjee <debargha@google.com>2012-11-10 07:12:30 -0800
commitd01357bbad6fb495f16c763add16dcc351a6f8b3 (patch)
tree2713ae531f9110d60255a97bbdb82a1a86a8cdad /vp9/decoder/detokenize.h
parent3f7182cb0d880109a79b4ea86bb7563254642307 (diff)
downloadlibvpx-d01357bbad6fb495f16c763add16dcc351a6f8b3.tar
libvpx-d01357bbad6fb495f16c763add16dcc351a6f8b3.tar.gz
libvpx-d01357bbad6fb495f16c763add16dcc351a6f8b3.tar.bz2
libvpx-d01357bbad6fb495f16c763add16dcc351a6f8b3.zip
New b-intra mode where direction is contextual
Preliminary patch on a new 4x4 intra mode B_CONTEXT_PRED where the dominant direction from the context is used to encode. Various decoder changes are needed to support decoding of B_CONTEXT_PRED in conjunction with hybrid transforms since the scan order and tokenization depends on the actual direction of prediction obtained from the context. Currently the traditional directional modes are used in conjunction with the B_CONTEXT_PRED, which also seems to provide the best results. The gains are small - in the 0.1% range. Change-Id: I5a7ea80b5218f42a9c0dfb42d3f79a68c7f0cdc2
Diffstat (limited to 'vp9/decoder/detokenize.h')
-rw-r--r--vp9/decoder/detokenize.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/decoder/detokenize.h b/vp9/decoder/detokenize.h
index aa36402c1..674850382 100644
--- a/vp9/decoder/detokenize.h
+++ b/vp9/decoder/detokenize.h
@@ -21,5 +21,7 @@ int vp9_decode_mb_tokens_8x8(VP9D_COMP* const, MACROBLOCKD* const,
BOOL_DECODER* const);
int vp9_decode_mb_tokens_16x16(VP9D_COMP* const, MACROBLOCKD* const,
BOOL_DECODER* const);
+int vp9_decode_coefs_4x4(VP9D_COMP *dx, MACROBLOCKD *xd, BOOL_DECODER* const bc,
+ int type, int i);
#endif /* DETOKENIZE_H */