Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: source/libvpx/vp9/common/vp9_common_data.c

Issue 390713002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: libvpx: Pull from upstream Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp9/common/vp9_common_data.h ('k') | source/libvpx/vp9/common/vp9_loopfilter.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 } 100 }
101 }; 101 };
102 102
103 const TX_SIZE max_txsize_lookup[BLOCK_SIZES] = { 103 const TX_SIZE max_txsize_lookup[BLOCK_SIZES] = {
104 TX_4X4, TX_4X4, TX_4X4, 104 TX_4X4, TX_4X4, TX_4X4,
105 TX_8X8, TX_8X8, TX_8X8, 105 TX_8X8, TX_8X8, TX_8X8,
106 TX_16X16, TX_16X16, TX_16X16, 106 TX_16X16, TX_16X16, TX_16X16,
107 TX_32X32, TX_32X32, TX_32X32, TX_32X32 107 TX_32X32, TX_32X32, TX_32X32, TX_32X32
108 }; 108 };
109 109
110 const BLOCK_SIZE txsize_to_bsize[TX_SIZES] = {
111 BLOCK_4X4, // TX_4X4
112 BLOCK_8X8, // TX_8X8
113 BLOCK_16X16, // TX_16X16
114 BLOCK_32X32, // TX_32X32
115 };
116
110 const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES] = { 117 const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES] = {
111 TX_4X4, // ONLY_4X4 118 TX_4X4, // ONLY_4X4
112 TX_8X8, // ALLOW_8X8 119 TX_8X8, // ALLOW_8X8
113 TX_16X16, // ALLOW_16X16 120 TX_16X16, // ALLOW_16X16
114 TX_32X32, // ALLOW_32X32 121 TX_32X32, // ALLOW_32X32
115 TX_32X32, // TX_MODE_SELECT 122 TX_32X32, // TX_MODE_SELECT
116 }; 123 };
117 124
118 const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2] = { 125 const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2] = {
119 // ss_x == 0 ss_x == 0 ss_x == 1 ss_x == 1 126 // ss_x == 0 ss_x == 0 ss_x == 1 ss_x == 1
(...skipping 27 matching lines...) Expand all
147 {14, 12}, // 8X16 - {0b1110, 0b1100} 154 {14, 12}, // 8X16 - {0b1110, 0b1100}
148 {12, 14}, // 16X8 - {0b1100, 0b1110} 155 {12, 14}, // 16X8 - {0b1100, 0b1110}
149 {12, 12}, // 16X16 - {0b1100, 0b1100} 156 {12, 12}, // 16X16 - {0b1100, 0b1100}
150 {12, 8 }, // 16X32 - {0b1100, 0b1000} 157 {12, 8 }, // 16X32 - {0b1100, 0b1000}
151 {8, 12}, // 32X16 - {0b1000, 0b1100} 158 {8, 12}, // 32X16 - {0b1000, 0b1100}
152 {8, 8 }, // 32X32 - {0b1000, 0b1000} 159 {8, 8 }, // 32X32 - {0b1000, 0b1000}
153 {8, 0 }, // 32X64 - {0b1000, 0b0000} 160 {8, 0 }, // 32X64 - {0b1000, 0b0000}
154 {0, 8 }, // 64X32 - {0b0000, 0b1000} 161 {0, 8 }, // 64X32 - {0b0000, 0b1000}
155 {0, 0 }, // 64X64 - {0b0000, 0b0000} 162 {0, 0 }, // 64X64 - {0b0000, 0b0000}
156 }; 163 };
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_common_data.h ('k') | source/libvpx/vp9/common/vp9_loopfilter.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698