summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_blockd.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2013-03-28 10:42:23 -0700
committerDeb Mukherjee <debargha@google.com>2013-04-22 09:27:59 -0700
commit70d9f116fd90f130ec7798b16c2083c9e3853050 (patch)
tree81ca57725ba81035969a4f15ae5ab372032f2b50 /vp9/common/vp9_blockd.h
parentf82c61b8862f258bde802dd2a509a8718a718a6b (diff)
downloadlibvpx-70d9f116fd90f130ec7798b16c2083c9e3853050.tar
libvpx-70d9f116fd90f130ec7798b16c2083c9e3853050.tar.gz
libvpx-70d9f116fd90f130ec7798b16c2083c9e3853050.tar.bz2
libvpx-70d9f116fd90f130ec7798b16c2083c9e3853050.zip
End of orientation zero group experiment
Adds an experiment that codes an end-of-orientation symbol for every eligible zero encountered in scan order. This cleans out various other sub-experiments that were part of the origiinal patch, which will be later included if found useful. Results are slightly positive on all sets (0.1 - 0.2% range). Change-Id: I57765c605fefc7fb9d1b57f1b356843602abefaf
Diffstat (limited to 'vp9/common/vp9_blockd.h')
-rw-r--r--vp9/common/vp9_blockd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/vp9/common/vp9_blockd.h b/vp9/common/vp9_blockd.h
index aa48958b0..b1915d18a 100644
--- a/vp9/common/vp9_blockd.h
+++ b/vp9/common/vp9_blockd.h
@@ -767,7 +767,7 @@ struct plane_block_idx {
// TODO(jkoleszar): returning a struct so it can be used in a const context,
// expect to refactor this further later.
static INLINE struct plane_block_idx plane_block_idx(int y_blocks,
- int b_idx) {
+ int b_idx) {
const int v_offset = y_blocks * 5 / 4;
struct plane_block_idx res;
@@ -939,6 +939,9 @@ static INLINE void foreach_predicted_block_uv(
}
}
-
-
+#if CONFIG_CODE_ZEROGROUP
+static int get_zpc_used(TX_SIZE tx_size) {
+ return (tx_size >= TX_16X16);
+}
+#endif
#endif // VP9_COMMON_VP9_BLOCKD_H_