OLD | NEW |
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 vpx_codec_frame_buffer_t raw_frame_buffer; | 69 vpx_codec_frame_buffer_t raw_frame_buffer; |
70 YV12_BUFFER_CONFIG buf; | 70 YV12_BUFFER_CONFIG buf; |
71 } RefCntBuffer; | 71 } RefCntBuffer; |
72 | 72 |
73 typedef struct VP9Common { | 73 typedef struct VP9Common { |
74 struct vpx_internal_error_info error; | 74 struct vpx_internal_error_info error; |
75 | 75 |
76 DECLARE_ALIGNED(16, int16_t, y_dequant[QINDEX_RANGE][8]); | 76 DECLARE_ALIGNED(16, int16_t, y_dequant[QINDEX_RANGE][8]); |
77 DECLARE_ALIGNED(16, int16_t, uv_dequant[QINDEX_RANGE][8]); | 77 DECLARE_ALIGNED(16, int16_t, uv_dequant[QINDEX_RANGE][8]); |
78 | 78 |
79 COLOR_SPACE color_space; | 79 vpx_color_space_t color_space; |
80 | 80 |
81 int width; | 81 int width; |
82 int height; | 82 int height; |
83 int display_width; | 83 int display_width; |
84 int display_height; | 84 int display_height; |
85 int last_width; | 85 int last_width; |
86 int last_height; | 86 int last_height; |
87 | 87 |
88 // TODO(jkoleszar): this implies chroma ss right now, but could vary per | 88 // TODO(jkoleszar): this implies chroma ss right now, but could vary per |
89 // plane. Revisit as part of the future change to YV12_BUFFER_CONFIG to | 89 // plane. Revisit as part of the future change to YV12_BUFFER_CONFIG to |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 left = (left & bs) > 0; | 368 left = (left & bs) > 0; |
369 | 369 |
370 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; | 370 return (left * 2 + above) + bsl * PARTITION_PLOFFSET; |
371 } | 371 } |
372 | 372 |
373 #ifdef __cplusplus | 373 #ifdef __cplusplus |
374 } // extern "C" | 374 } // extern "C" |
375 #endif | 375 #endif |
376 | 376 |
377 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ | 377 #endif // VP9_COMMON_VP9_ONYXC_INT_H_ |
OLD | NEW |