diff options
author | hkuang <hkuang@google.com> | 2013-07-25 11:11:39 -0700 |
---|---|---|
committer | hkuang <hkuang@google.com> | 2013-07-25 12:03:12 -0700 |
commit | 91037db265ecdd914a26e056cf69207b4f50924e (patch) | |
tree | c78c618cf6d0ffb187e2734d524bca19698b3c0d /libvpx/vp9/common/vp9_common_data.h | |
parent | ba164dffc5a6795bce97fae02b51ccf3330e15e4 (diff) | |
download | android_external_libvpx-91037db265ecdd914a26e056cf69207b4f50924e.tar.gz android_external_libvpx-91037db265ecdd914a26e056cf69207b4f50924e.tar.bz2 android_external_libvpx-91037db265ecdd914a26e056cf69207b4f50924e.zip |
Roll latest libvpx into Android.
Make the VP9 decoding 2X faster than the old one.
Checkout is from master branch(hash:242157c756314827ad9244952c7253e8900b9626).
Change-Id: Ibe67b3ee19f82b87df2416826b63a67f7f79b63a
Diffstat (limited to 'libvpx/vp9/common/vp9_common_data.h')
-rw-r--r-- | libvpx/vp9/common/vp9_common_data.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libvpx/vp9/common/vp9_common_data.h b/libvpx/vp9/common/vp9_common_data.h new file mode 100644 index 0000000..8b0f8a5 --- /dev/null +++ b/libvpx/vp9/common/vp9_common_data.h @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. + * + * 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. + */ + +#ifndef VP9_COMMON_VP9_COMMON_DATA_H_ +#define VP9_COMMON_VP9_COMMON_DATA_H_ + +#include "vp9/common/vp9_enums.h" + +extern const int b_width_log2_lookup[BLOCK_SIZE_TYPES]; +extern const int b_height_log2_lookup[BLOCK_SIZE_TYPES]; +extern const int mi_width_log2_lookup[BLOCK_SIZE_TYPES]; +extern const int mi_height_log2_lookup[BLOCK_SIZE_TYPES]; +extern const int num_8x8_blocks_wide_lookup[BLOCK_SIZE_TYPES]; +extern const int num_8x8_blocks_high_lookup[BLOCK_SIZE_TYPES]; +extern const int num_4x4_blocks_high_lookup[BLOCK_SIZE_TYPES]; +extern const int num_4x4_blocks_wide_lookup[BLOCK_SIZE_TYPES]; +extern const PARTITION_TYPE + partition_lookup[][BLOCK_SIZE_TYPES]; + + +extern const BLOCK_SIZE_TYPE subsize_lookup[PARTITION_TYPES][BLOCK_SIZE_TYPES]; +extern const TX_SIZE max_txsize_lookup[BLOCK_SIZE_TYPES]; +extern const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZE_TYPES]; +extern const BLOCK_SIZE_TYPE bsize_from_dim_lookup[5][5]; + +#endif // VP9_COMMON_VP9_COMMON_DATA_H |