summaryrefslogtreecommitdiffstats
path: root/vp8/common/entropymode.c
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-09-15 15:12:42 -0700
committerAndreas Huber <andih@google.com>2010-09-15 15:12:42 -0700
commitf71323e297a928af368937089d3ed71239786f86 (patch)
treedad338caad00af21fd81f0975335c343a91be085 /vp8/common/entropymode.c
parent8aa17fc40a750935d80b115d89ca9403f42ab211 (diff)
downloadandroid_external_libvpx-f71323e297a928af368937089d3ed71239786f86.tar.gz
android_external_libvpx-f71323e297a928af368937089d3ed71239786f86.tar.bz2
android_external_libvpx-f71323e297a928af368937089d3ed71239786f86.zip
Upgrade to the latest .webm project code.
Change-Id: I33907e0c9ded667e54d31e2f9226c77501731c6c
Diffstat (limited to 'vp8/common/entropymode.c')
-rw-r--r--vp8/common/entropymode.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/vp8/common/entropymode.c b/vp8/common/entropymode.c
index 7dc1acd..e9dc668 100644
--- a/vp8/common/entropymode.c
+++ b/vp8/common/entropymode.c
@@ -1,10 +1,11 @@
/*
- * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
+ * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
*
- * Use of this source code is governed by a BSD-style license and patent
- * grant that can be found in the LICENSE file in the root of the source
- * tree. All contributing project authors may be found in the AUTHORS
- * file in the root of the source tree.
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
*/
@@ -263,8 +264,10 @@ void vp8_entropy_mode_init()
vp8_tokens_from_tree(vp8_uv_mode_encodings, vp8_uv_mode_tree);
vp8_tokens_from_tree(vp8_mbsplit_encodings, vp8_mbsplit_tree);
- vp8_tokens_from_tree(VP8_MVREFENCODINGS, vp8_mv_ref_tree);
- vp8_tokens_from_tree(VP8_SUBMVREFENCODINGS, vp8_sub_mv_ref_tree);
+ vp8_tokens_from_tree_offset(vp8_mv_ref_encoding_array,
+ vp8_mv_ref_tree, NEARESTMV);
+ vp8_tokens_from_tree_offset(vp8_sub_mv_ref_encoding_array,
+ vp8_sub_mv_ref_tree, LEFT4X4);
vp8_tokens_from_tree(vp8_small_mvencodings, vp8_small_mvtree);
}