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

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

Issue 54923004: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 1 month 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_convolve.h » ('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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 TX_16X16, TX_16X16, TX_16X16, 108 TX_16X16, TX_16X16, TX_16X16,
109 TX_32X32, TX_32X32, TX_32X32, TX_32X32 109 TX_32X32, TX_32X32, TX_32X32, TX_32X32
110 }; 110 };
111 const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZES] = { 111 const TX_SIZE max_uv_txsize_lookup[BLOCK_SIZES] = {
112 TX_4X4, TX_4X4, TX_4X4, 112 TX_4X4, TX_4X4, TX_4X4,
113 TX_4X4, TX_4X4, TX_4X4, 113 TX_4X4, TX_4X4, TX_4X4,
114 TX_8X8, TX_8X8, TX_8X8, 114 TX_8X8, TX_8X8, TX_8X8,
115 TX_16X16, TX_16X16, TX_16X16, TX_32X32 115 TX_16X16, TX_16X16, TX_16X16, TX_32X32
116 }; 116 };
117 117
118 const TX_SIZE tx_mode_to_biggest_tx_size[TX_MODES] = {
119 TX_4X4, // ONLY_4X4
120 TX_8X8, // ALLOW_8X8
121 TX_16X16, // ALLOW_16X16
122 TX_32X32, // ALLOW_32X32
123 TX_32X32, // TX_MODE_SELECT
124 };
125
126
127
118 const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2] = { 128 const BLOCK_SIZE ss_size_lookup[BLOCK_SIZES][2][2] = {
119 // ss_x == 0 ss_x == 0 ss_x == 1 ss_x == 1 129 // ss_x == 0 ss_x == 0 ss_x == 1 ss_x == 1
120 // ss_y == 0 ss_y == 1 ss_y == 0 ss_y == 1 130 // ss_y == 0 ss_y == 1 ss_y == 0 ss_y == 1
121 {{BLOCK_4X4, BLOCK_INVALID}, {BLOCK_INVALID, BLOCK_INVALID}}, 131 {{BLOCK_4X4, BLOCK_INVALID}, {BLOCK_INVALID, BLOCK_INVALID}},
122 {{BLOCK_4X8, BLOCK_4X4}, {BLOCK_INVALID, BLOCK_INVALID}}, 132 {{BLOCK_4X8, BLOCK_4X4}, {BLOCK_INVALID, BLOCK_INVALID}},
123 {{BLOCK_8X4, BLOCK_INVALID}, {BLOCK_4X4, BLOCK_INVALID}}, 133 {{BLOCK_8X4, BLOCK_INVALID}, {BLOCK_4X4, BLOCK_INVALID}},
124 {{BLOCK_8X8, BLOCK_8X4}, {BLOCK_4X8, BLOCK_4X4}}, 134 {{BLOCK_8X8, BLOCK_8X4}, {BLOCK_4X8, BLOCK_4X4}},
125 {{BLOCK_8X16, BLOCK_8X8}, {BLOCK_INVALID, BLOCK_4X8}}, 135 {{BLOCK_8X16, BLOCK_8X8}, {BLOCK_INVALID, BLOCK_4X8}},
126 {{BLOCK_16X8, BLOCK_INVALID}, {BLOCK_8X8, BLOCK_8X4}}, 136 {{BLOCK_16X8, BLOCK_INVALID}, {BLOCK_8X8, BLOCK_8X4}},
127 {{BLOCK_16X16, BLOCK_16X8}, {BLOCK_8X16, BLOCK_8X8}}, 137 {{BLOCK_16X16, BLOCK_16X8}, {BLOCK_8X16, BLOCK_8X8}},
128 {{BLOCK_16X32, BLOCK_16X16}, {BLOCK_INVALID, BLOCK_8X16}}, 138 {{BLOCK_16X32, BLOCK_16X16}, {BLOCK_INVALID, BLOCK_8X16}},
129 {{BLOCK_32X16, BLOCK_INVALID}, {BLOCK_16X16, BLOCK_16X8}}, 139 {{BLOCK_32X16, BLOCK_INVALID}, {BLOCK_16X16, BLOCK_16X8}},
130 {{BLOCK_32X32, BLOCK_32X16}, {BLOCK_16X32, BLOCK_16X16}}, 140 {{BLOCK_32X32, BLOCK_32X16}, {BLOCK_16X32, BLOCK_16X16}},
131 {{BLOCK_32X64, BLOCK_32X32}, {BLOCK_INVALID, BLOCK_16X32}}, 141 {{BLOCK_32X64, BLOCK_32X32}, {BLOCK_INVALID, BLOCK_16X32}},
132 {{BLOCK_64X32, BLOCK_INVALID}, {BLOCK_32X32, BLOCK_32X16}}, 142 {{BLOCK_64X32, BLOCK_INVALID}, {BLOCK_32X32, BLOCK_32X16}},
133 {{BLOCK_64X64, BLOCK_64X32}, {BLOCK_32X64, BLOCK_32X32}}, 143 {{BLOCK_64X64, BLOCK_64X32}, {BLOCK_32X64, BLOCK_32X32}},
134 }; 144 };
135 145
146
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_common_data.h ('k') | source/libvpx/vp9/common/vp9_convolve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698