Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | /* |
michael@0 | 2 | * Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
michael@0 | 3 | * |
michael@0 | 4 | * Use of this source code is governed by a BSD-style license |
michael@0 | 5 | * that can be found in the LICENSE file in the root of the source |
michael@0 | 6 | * tree. An additional intellectual property rights grant can be found |
michael@0 | 7 | * in the file PATENTS. All contributing project authors may |
michael@0 | 8 | * be found in the AUTHORS file in the root of the source tree. |
michael@0 | 9 | */ |
michael@0 | 10 | |
michael@0 | 11 | #ifndef VP9_COMMON_VP9_COMMON_DATA_H_ |
michael@0 | 12 | #define VP9_COMMON_VP9_COMMON_DATA_H_ |
michael@0 | 13 | |
michael@0 | 14 | #include "vp9/common/vp9_enums.h" |
michael@0 | 15 | |
michael@0 | 16 | extern const int b_width_log2_lookup[BLOCK_SIZES]; |
michael@0 | 17 | extern const int b_height_log2_lookup[BLOCK_SIZES]; |
michael@0 | 18 | extern const int mi_width_log2_lookup[BLOCK_SIZES]; |
michael@0 | 19 | extern const int mi_height_log2_lookup[BLOCK_SIZES]; |
michael@0 | 20 | extern const int num_8x8_blocks_wide_lookup[BLOCK_SIZES]; |
michael@0 | 21 | extern const int num_8x8_blocks_high_lookup[BLOCK_SIZES]; |
michael@0 | 22 | extern const int num_4x4_blocks_high_lookup[BLOCK_SIZES]; |
michael@0 | 23 | extern const int num_4x4_blocks_wide_lookup[BLOCK_SIZES]; |
michael@0 | 24 | extern const int size_group_lookup[BLOCK_SIZES]; |
michael@0 | 25 | extern const int num_pels_log2_lookup[BLOCK_SIZES]; |
michael@0 | 26 | extern const PARTITION_TYPE partition_lookup[][BLOCK_SIZES]; |
michael@0 | 27 | extern const BLOCK_SIZE subsize_lookup[PARTITION_TYPES][BLOCK_SIZES]; |
michael@0 | 28 | extern const TX_SIZE max_txsize_lookup[BLOCK_SIZES]; |
michael@0 | 29 | extern const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZES]; |
michael@0 | 30 | extern const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES]; |
michael@0 | 31 | extern const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2]; |
michael@0 | 32 | |
michael@0 | 33 | #endif // VP9_COMMON_VP9_COMMON_DATA_H |