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

Side by Side Diff: source/libvpx/vp9/common/vp9_blockd.h

Issue 415333002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 4 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/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp9/common/vp9_blockd.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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const MODE_INFO *left_mi, int b); 161 const MODE_INFO *left_mi, int b);
162 162
163 PREDICTION_MODE vp9_above_block_mode(const MODE_INFO *cur_mi, 163 PREDICTION_MODE vp9_above_block_mode(const MODE_INFO *cur_mi,
164 const MODE_INFO *above_mi, int b); 164 const MODE_INFO *above_mi, int b);
165 165
166 enum mv_precision { 166 enum mv_precision {
167 MV_PRECISION_Q3, 167 MV_PRECISION_Q3,
168 MV_PRECISION_Q4 168 MV_PRECISION_Q4
169 }; 169 };
170 170
171 #if CONFIG_ALPHA
172 enum { MAX_MB_PLANE = 4 };
173 #else
174 enum { MAX_MB_PLANE = 3 }; 171 enum { MAX_MB_PLANE = 3 };
175 #endif
176 172
177 struct buf_2d { 173 struct buf_2d {
178 uint8_t *buf; 174 uint8_t *buf;
179 int stride; 175 int stride;
180 }; 176 };
181 177
182 struct macroblockd_plane { 178 struct macroblockd_plane {
183 int16_t *dqcoeff; 179 int16_t *dqcoeff;
184 PLANE_TYPE plane_type; 180 PLANE_TYPE plane_type;
185 int subsampling_x; 181 int subsampling_x;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 312
317 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, 313 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd,
318 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob, 314 BLOCK_SIZE plane_bsize, TX_SIZE tx_size, int has_eob,
319 int aoff, int loff); 315 int aoff, int loff);
320 316
321 #ifdef __cplusplus 317 #ifdef __cplusplus
322 } // extern "C" 318 } // extern "C"
323 #endif 319 #endif
324 320
325 #endif // VP9_COMMON_VP9_BLOCKD_H_ 321 #endif // VP9_COMMON_VP9_BLOCKD_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp8/vp8_cx_iface.c ('k') | source/libvpx/vp9/common/vp9_blockd.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698