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

Side by Side Diff: source/libvpx/vp9/common/vp9_onyxc_int.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, 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_enums.h ('k') | source/libvpx/vp9/common/vp9_postproc.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 int ref_count; 61 int ref_count;
62 vpx_codec_frame_buffer_t raw_frame_buffer; 62 vpx_codec_frame_buffer_t raw_frame_buffer;
63 YV12_BUFFER_CONFIG buf; 63 YV12_BUFFER_CONFIG buf;
64 } RefCntBuffer; 64 } RefCntBuffer;
65 65
66 typedef struct VP9Common { 66 typedef struct VP9Common {
67 struct vpx_internal_error_info error; 67 struct vpx_internal_error_info error;
68 68
69 DECLARE_ALIGNED(16, int16_t, y_dequant[QINDEX_RANGE][8]); 69 DECLARE_ALIGNED(16, int16_t, y_dequant[QINDEX_RANGE][8]);
70 DECLARE_ALIGNED(16, int16_t, uv_dequant[QINDEX_RANGE][8]); 70 DECLARE_ALIGNED(16, int16_t, uv_dequant[QINDEX_RANGE][8]);
71 #if CONFIG_ALPHA
72 DECLARE_ALIGNED(16, int16_t, a_dequant[QINDEX_RANGE][8]);
73 #endif
74 71
75 COLOR_SPACE color_space; 72 COLOR_SPACE color_space;
76 73
77 int width; 74 int width;
78 int height; 75 int height;
79 int display_width; 76 int display_width;
80 int display_height; 77 int display_height;
81 int last_width; 78 int last_width;
82 int last_height; 79 int last_height;
83 80
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 int mb_cols, mi_cols; 124 int mb_cols, mi_cols;
128 int mi_stride; 125 int mi_stride;
129 126
130 /* profile settings */ 127 /* profile settings */
131 TX_MODE tx_mode; 128 TX_MODE tx_mode;
132 129
133 int base_qindex; 130 int base_qindex;
134 int y_dc_delta_q; 131 int y_dc_delta_q;
135 int uv_dc_delta_q; 132 int uv_dc_delta_q;
136 int uv_ac_delta_q; 133 int uv_ac_delta_q;
137 #if CONFIG_ALPHA
138 int a_dc_delta_q;
139 int a_ac_delta_q;
140 #endif
141 134
142 /* We allocate a MODE_INFO struct for each macroblock, together with 135 /* We allocate a MODE_INFO struct for each macroblock, together with
143 an extra row on top and column on the left to simplify prediction. */ 136 an extra row on top and column on the left to simplify prediction. */
144 137
145 int mi_idx; 138 int mi_idx;
146 int prev_mi_idx; 139 int prev_mi_idx;
147 MODE_INFO *mip_array[2]; 140 MODE_INFO *mip_array[2];
148 MODE_INFO **mi_grid_base_array[2]; 141 MODE_INFO **mi_grid_base_array[2];
149 142
150 MODE_INFO *mip; /* Base of allocated array */ 143 MODE_INFO *mip; /* Base of allocated array */
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 left = (left & bs) > 0; 334 left = (left & bs) > 0;
342 335
343 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; 336 return (left * 2 + above) + bsl * PARTITION_PLOFFSET;
344 } 337 }
345 338
346 #ifdef __cplusplus 339 #ifdef __cplusplus
347 } // extern "C" 340 } // extern "C"
348 #endif 341 #endif
349 342
350 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ 343 #endif // VP9_COMMON_VP9_ONYXC_INT_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_enums.h ('k') | source/libvpx/vp9/common/vp9_postproc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698