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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 typedef struct block | 31 typedef struct block |
32 { | 32 { |
33 /* 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries */ | 33 /* 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries */ |
34 short *src_diff; | 34 short *src_diff; |
35 short *coeff; | 35 short *coeff; |
36 | 36 |
37 /* 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries */ | 37 /* 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries */ |
38 short *quant; | 38 short *quant; |
39 short *quant_fast; | 39 short *quant_fast; |
40 unsigned char *quant_shift; | 40 short *quant_shift; |
41 short *zbin; | 41 short *zbin; |
42 short *zrun_zbin_boost; | 42 short *zrun_zbin_boost; |
43 short *round; | 43 short *round; |
44 | 44 |
45 /* Zbin Over Quant value */ | 45 /* Zbin Over Quant value */ |
46 short zbin_extra; | 46 short zbin_extra; |
47 | 47 |
48 unsigned char **base_src; | 48 unsigned char **base_src; |
49 int src; | 49 int src; |
50 int src_stride; | 50 int src_stride; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 void (*short_fdct4x4)(short *input, short *output, int pitch); | 154 void (*short_fdct4x4)(short *input, short *output, int pitch); |
155 void (*short_fdct8x4)(short *input, short *output, int pitch); | 155 void (*short_fdct8x4)(short *input, short *output, int pitch); |
156 void (*short_walsh4x4)(short *input, short *output, int pitch); | 156 void (*short_walsh4x4)(short *input, short *output, int pitch); |
157 void (*quantize_b)(BLOCK *b, BLOCKD *d); | 157 void (*quantize_b)(BLOCK *b, BLOCKD *d); |
158 void (*quantize_b_pair)(BLOCK *b1, BLOCK *b2, BLOCKD *d0, BLOCKD *d1); | 158 void (*quantize_b_pair)(BLOCK *b1, BLOCK *b2, BLOCKD *d0, BLOCKD *d1); |
159 | 159 |
160 } MACROBLOCK; | 160 } MACROBLOCK; |
161 | 161 |
162 | 162 |
163 #endif | 163 #endif |
OLD | NEW |