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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 void vp9_initialize_me_consts(struct VP9_COMP *cpi, int qindex); | 135 void vp9_initialize_me_consts(struct VP9_COMP *cpi, int qindex); |
136 | 136 |
137 void vp9_model_rd_from_var_lapndz(unsigned int var, unsigned int n, | 137 void vp9_model_rd_from_var_lapndz(unsigned int var, unsigned int n, |
138 unsigned int qstep, int *rate, | 138 unsigned int qstep, int *rate, |
139 int64_t *dist); | 139 int64_t *dist); |
140 | 140 |
141 int vp9_get_switchable_rate(const struct VP9_COMP *cpi, | 141 int vp9_get_switchable_rate(const struct VP9_COMP *cpi, |
142 const MACROBLOCKD *const xd); | 142 const MACROBLOCKD *const xd); |
143 | 143 |
| 144 int vp9_raster_block_offset(BLOCK_SIZE plane_bsize, |
| 145 int raster_block, int stride); |
| 146 |
| 147 int16_t* vp9_raster_block_offset_int16(BLOCK_SIZE plane_bsize, |
| 148 int raster_block, int16_t *base); |
| 149 |
144 const YV12_BUFFER_CONFIG *vp9_get_scaled_ref_frame(const struct VP9_COMP *cpi, | 150 const YV12_BUFFER_CONFIG *vp9_get_scaled_ref_frame(const struct VP9_COMP *cpi, |
145 int ref_frame); | 151 int ref_frame); |
146 | 152 |
147 void vp9_init_me_luts(); | 153 void vp9_init_me_luts(); |
148 | 154 |
149 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size, | 155 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size, |
150 const struct macroblockd_plane *pd, | 156 const struct macroblockd_plane *pd, |
151 ENTROPY_CONTEXT t_above[16], | 157 ENTROPY_CONTEXT t_above[16], |
152 ENTROPY_CONTEXT t_left[16]); | 158 ENTROPY_CONTEXT t_left[16]); |
153 | 159 |
(...skipping 21 matching lines...) Expand all Loading... |
175 const struct scale_factors *scale_uv); | 181 const struct scale_factors *scale_uv); |
176 | 182 |
177 int vp9_get_intra_cost_penalty(int qindex, int qdelta, | 183 int vp9_get_intra_cost_penalty(int qindex, int qdelta, |
178 vpx_bit_depth_t bit_depth); | 184 vpx_bit_depth_t bit_depth); |
179 | 185 |
180 #ifdef __cplusplus | 186 #ifdef __cplusplus |
181 } // extern "C" | 187 } // extern "C" |
182 #endif | 188 #endif |
183 | 189 |
184 #endif // VP9_ENCODER_VP9_RD_H_ | 190 #endif // VP9_ENCODER_VP9_RD_H_ |
OLD | NEW |