OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 #ifdef __cplusplus | |
11 extern "C" { | |
12 #endif | |
13 | |
14 /* | 10 /* |
15 * VP9 | 11 * VP9 |
16 */ | 12 */ |
17 | 13 |
18 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
19 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 #include "vp9/common/vp9_idct.h" |
20 | 17 |
21 struct macroblockd; | 18 struct macroblockd; |
22 | 19 |
23 /* Encoder forward decls */ | 20 /* Encoder forward decls */ |
24 struct macroblock; | 21 struct macroblock; |
25 struct vp9_variance_vtable; | 22 struct vp9_variance_vtable; |
26 struct search_site_config; | 23 struct search_site_config; |
27 struct mv; | 24 struct mv; |
28 union int_mv; | 25 union int_mv; |
29 struct yv12_buffer_config; | 26 struct yv12_buffer_config; |
30 | 27 |
31 int64_t vp9_block_error_c(const int16_t *coeff, const int16_t *dqcoeff, intptr_t
block_size, int64_t *ssz); | 28 #ifdef __cplusplus |
32 int64_t vp9_block_error_sse2(const int16_t *coeff, const int16_t *dqcoeff, intpt
r_t block_size, int64_t *ssz); | 29 extern "C" { |
| 30 #endif |
| 31 |
| 32 int64_t vp9_block_error_c(const tran_low_t *coeff, const tran_low_t *dqcoeff, in
tptr_t block_size, int64_t *ssz); |
| 33 int64_t vp9_block_error_sse2(const tran_low_t *coeff, const tran_low_t *dqcoeff,
intptr_t block_size, int64_t *ssz); |
33 #define vp9_block_error vp9_block_error_sse2 | 34 #define vp9_block_error vp9_block_error_sse2 |
34 | 35 |
35 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 36 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
36 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 37 void vp9_convolve8_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
37 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 38 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
38 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | 39 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); |
39 | 40 |
40 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 41 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
41 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 42 void vp9_convolve8_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
42 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); | 43 void vp9_convolve8_avg_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *
dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t
*filter_y, int y_step_q4, int w, int h); |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 206 |
206 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 207 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
207 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 208 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
208 | 209 |
209 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); | 210 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
210 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 211 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
211 | 212 |
212 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); | 213 int vp9_diamond_search_sad_c(const struct macroblock *x, const struct search_sit
e_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad
_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv
*center_mv); |
213 #define vp9_diamond_search_sad vp9_diamond_search_sad_c | 214 #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
214 | 215 |
215 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); | 216 void vp9_fdct16x16_c(const int16_t *input, tran_low_t *output, int stride); |
216 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); | 217 void vp9_fdct16x16_sse2(const int16_t *input, tran_low_t *output, int stride); |
217 #define vp9_fdct16x16 vp9_fdct16x16_sse2 | 218 #define vp9_fdct16x16 vp9_fdct16x16_sse2 |
218 | 219 |
219 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride); | 220 void vp9_fdct16x16_1_c(const int16_t *input, tran_low_t *output, int stride); |
220 void vp9_fdct16x16_1_sse2(const int16_t *input, int16_t *output, int stride); | 221 void vp9_fdct16x16_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
221 #define vp9_fdct16x16_1 vp9_fdct16x16_1_sse2 | 222 #define vp9_fdct16x16_1 vp9_fdct16x16_1_sse2 |
222 | 223 |
223 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); | 224 void vp9_fdct32x32_c(const int16_t *input, tran_low_t *output, int stride); |
224 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); | 225 void vp9_fdct32x32_sse2(const int16_t *input, tran_low_t *output, int stride); |
225 #define vp9_fdct32x32 vp9_fdct32x32_sse2 | 226 #define vp9_fdct32x32 vp9_fdct32x32_sse2 |
226 | 227 |
227 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride); | 228 void vp9_fdct32x32_1_c(const int16_t *input, tran_low_t *output, int stride); |
228 void vp9_fdct32x32_1_sse2(const int16_t *input, int16_t *output, int stride); | 229 void vp9_fdct32x32_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
229 #define vp9_fdct32x32_1 vp9_fdct32x32_1_sse2 | 230 #define vp9_fdct32x32_1 vp9_fdct32x32_1_sse2 |
230 | 231 |
231 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); | 232 void vp9_fdct32x32_rd_c(const int16_t *input, tran_low_t *output, int stride); |
232 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); | 233 void vp9_fdct32x32_rd_sse2(const int16_t *input, tran_low_t *output, int stride)
; |
233 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2 | 234 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2 |
234 | 235 |
235 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); | 236 void vp9_fdct4x4_c(const int16_t *input, tran_low_t *output, int stride); |
236 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); | 237 void vp9_fdct4x4_sse2(const int16_t *input, tran_low_t *output, int stride); |
237 #define vp9_fdct4x4 vp9_fdct4x4_sse2 | 238 #define vp9_fdct4x4 vp9_fdct4x4_sse2 |
238 | 239 |
239 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride); | 240 void vp9_fdct4x4_1_c(const int16_t *input, tran_low_t *output, int stride); |
240 void vp9_fdct4x4_1_sse2(const int16_t *input, int16_t *output, int stride); | 241 void vp9_fdct4x4_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
241 #define vp9_fdct4x4_1 vp9_fdct4x4_1_sse2 | 242 #define vp9_fdct4x4_1 vp9_fdct4x4_1_sse2 |
242 | 243 |
243 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); | 244 void vp9_fdct8x8_c(const int16_t *input, tran_low_t *output, int stride); |
244 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); | 245 void vp9_fdct8x8_sse2(const int16_t *input, tran_low_t *output, int stride); |
245 void vp9_fdct8x8_ssse3(const int16_t *input, int16_t *output, int stride); | 246 void vp9_fdct8x8_ssse3(const int16_t *input, tran_low_t *output, int stride); |
246 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid
e); | 247 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, tran_low_t *output, int st
ride); |
247 | 248 |
248 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride); | 249 void vp9_fdct8x8_1_c(const int16_t *input, tran_low_t *output, int stride); |
249 void vp9_fdct8x8_1_sse2(const int16_t *input, int16_t *output, int stride); | 250 void vp9_fdct8x8_1_sse2(const int16_t *input, tran_low_t *output, int stride); |
250 #define vp9_fdct8x8_1 vp9_fdct8x8_1_sse2 | 251 #define vp9_fdct8x8_1 vp9_fdct8x8_1_sse2 |
251 | 252 |
252 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty
pe); | 253 void vp9_fht16x16_c(const int16_t *input, tran_low_t *output, int stride, int tx
_type); |
253 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx
_type); | 254 void vp9_fht16x16_sse2(const int16_t *input, tran_low_t *output, int stride, int
tx_type); |
254 #define vp9_fht16x16 vp9_fht16x16_sse2 | 255 #define vp9_fht16x16 vp9_fht16x16_sse2 |
255 | 256 |
256 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 257 void vp9_fht4x4_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
257 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 258 void vp9_fht4x4_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
258 #define vp9_fht4x4 vp9_fht4x4_sse2 | 259 #define vp9_fht4x4 vp9_fht4x4_sse2 |
259 | 260 |
260 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type
); | 261 void vp9_fht8x8_c(const int16_t *input, tran_low_t *output, int stride, int tx_t
ype); |
261 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t
ype); | 262 void vp9_fht8x8_sse2(const int16_t *input, tran_low_t *output, int stride, int t
x_type); |
262 #define vp9_fht8x8 vp9_fht8x8_sse2 | 263 #define vp9_fht8x8 vp9_fht8x8_sse2 |
263 | 264 |
264 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); | 265 int vp9_full_range_search_c(const struct macroblock *x, const struct search_site
_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_param, int sad_p
er_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, const struct mv *c
enter_mv); |
265 #define vp9_full_range_search vp9_full_range_search_c | 266 #define vp9_full_range_search vp9_full_range_search_c |
266 | 267 |
267 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 268 int vp9_full_search_sad_c(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
268 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 269 int vp9_full_search_sadx3(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
269 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); | 270 int vp9_full_search_sadx8(const struct macroblock *x, const struct mv *ref_mv, i
nt sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const st
ruct mv *center_mv, struct mv *best_mv); |
270 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); | 271 RTCD_EXTERN int (*vp9_full_search_sad)(const struct macroblock *x, const struct
mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_
ptr, const struct mv *center_mv, struct mv *best_mv); |
271 | 272 |
272 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); | 273 void vp9_fwht4x4_c(const int16_t *input, tran_low_t *output, int stride); |
273 void vp9_fwht4x4_mmx(const int16_t *input, int16_t *output, int stride); | 274 void vp9_fwht4x4_mmx(const int16_t *input, tran_low_t *output, int stride); |
274 #define vp9_fwht4x4 vp9_fwht4x4_mmx | 275 #define vp9_fwht4x4 vp9_fwht4x4_mmx |
275 | 276 |
276 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 277 void vp9_get16x16var_c(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
277 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 278 void vp9_get16x16var_sse2(const uint8_t *src_ptr, int source_stride, const uint8
_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
278 #define vp9_get16x16var vp9_get16x16var_sse2 | 279 #define vp9_get16x16var vp9_get16x16var_sse2 |
279 | 280 |
280 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); | 281 void vp9_get8x8var_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r
ef_ptr, int ref_stride, unsigned int *sse, int *sum); |
281 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); | 282 void vp9_get8x8var_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t
*ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
282 #define vp9_get8x8var vp9_get8x8var_sse2 | 283 #define vp9_get8x8var vp9_get8x8var_sse2 |
283 | 284 |
(...skipping 10 matching lines...) Expand all Loading... |
294 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); | 295 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
295 | 296 |
296 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 297 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
297 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 298 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
298 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 299 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
299 | 300 |
300 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); | 301 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
301 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); | 302 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
302 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); | 303 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
303 | 304 |
304 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 305 void vp9_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
305 void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_str
ide); | 306 void vp9_idct16x16_10_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
306 void vp9_idct16x16_10_add_ssse3(const int16_t *input, uint8_t *dest, int dest_st
ride); | 307 void vp9_idct16x16_10_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
307 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, in
t dest_stride); | 308 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const tran_low_t *input, uint8_t *dest,
int dest_stride); |
308 | 309 |
309 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 310 void vp9_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
310 void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri
de); | 311 void vp9_idct16x16_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
311 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2 | 312 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2 |
312 | 313 |
313 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid
e); | 314 void vp9_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
314 void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_st
ride); | 315 void vp9_idct16x16_256_add_sse2(const tran_low_t *input, uint8_t *dest, int dest
_stride); |
315 void vp9_idct16x16_256_add_ssse3(const int16_t *input, uint8_t *dest, int dest_s
tride); | 316 void vp9_idct16x16_256_add_ssse3(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
316 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, i
nt dest_stride); | 317 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const tran_low_t *input, uint8_t *dest
, int dest_stride); |
317 | 318 |
318 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri
de); | 319 void vp9_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
319 void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_s
tride); | 320 void vp9_idct32x32_1024_add_sse2(const tran_low_t *input, uint8_t *dest, int des
t_stride); |
320 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2 | 321 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2 |
321 | 322 |
322 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride)
; | 323 void vp9_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stri
de); |
323 void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri
de); | 324 void vp9_idct32x32_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
324 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2 | 325 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2 |
325 | 326 |
326 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride
); | 327 void vp9_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
327 void vp9_idct32x32_34_add_sse2(const int16_t *input, uint8_t *dest, int dest_str
ide); | 328 void vp9_idct32x32_34_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_
stride); |
328 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_sse2 | 329 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_sse2 |
329 | 330 |
330 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 331 void vp9_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
331 void vp9_idct4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 332 void vp9_idct4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
332 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_sse2 | 333 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_sse2 |
333 | 334 |
334 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 335 void vp9_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
335 void vp9_idct4x4_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
); | 336 void vp9_idct4x4_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
336 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_sse2 | 337 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_sse2 |
337 | 338 |
338 void vp9_idct8x8_12_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 339 void vp9_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
339 void vp9_idct8x8_12_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 340 void vp9_idct8x8_12_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
340 void vp9_idct8x8_12_add_ssse3(const int16_t *input, uint8_t *dest, int dest_stri
de); | 341 void vp9_idct8x8_12_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
341 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 342 RTCD_EXTERN void (*vp9_idct8x8_12_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
342 | 343 |
343 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 344 void vp9_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
344 void vp9_idct8x8_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
); | 345 void vp9_idct8x8_1_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide); |
345 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_sse2 | 346 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_sse2 |
346 | 347 |
347 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 348 void vp9_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
348 void vp9_idct8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_strid
e); | 349 void vp9_idct8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_st
ride); |
349 void vp9_idct8x8_64_add_ssse3(const int16_t *input, uint8_t *dest, int dest_stri
de); | 350 void vp9_idct8x8_64_add_ssse3(const tran_low_t *input, uint8_t *dest, int dest_s
tride); |
350 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const int16_t *input, uint8_t *dest, int
dest_stride); | 351 RTCD_EXTERN void (*vp9_idct8x8_64_add)(const tran_low_t *input, uint8_t *dest, i
nt dest_stride); |
351 | 352 |
352 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, in
t tx_type); | 353 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *output, int pitch,
int tx_type); |
353 void vp9_iht16x16_256_add_sse2(const int16_t *input, uint8_t *output, int pitch,
int tx_type); | 354 void vp9_iht16x16_256_add_sse2(const tran_low_t *input, uint8_t *output, int pit
ch, int tx_type); |
354 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 | 355 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_sse2 |
355 | 356 |
356 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 357 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
357 void vp9_iht4x4_16_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 358 void vp9_iht4x4_16_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
358 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2 | 359 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_sse2 |
359 | 360 |
360 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 361 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
, int tx_type); |
361 void vp9_iht8x8_64_add_sse2(const int16_t *input, uint8_t *dest, int dest_stride
, int tx_type); | 362 void vp9_iht8x8_64_add_sse2(const tran_low_t *input, uint8_t *dest, int dest_str
ide, int tx_type); |
362 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2 | 363 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_sse2 |
363 | 364 |
364 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 365 void vp9_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_strid
e); |
365 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c | 366 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
366 | 367 |
367 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); | 368 void vp9_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride
); |
368 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c | 369 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
369 | 370 |
370 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 371 void vp9_lpf_horizontal_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
371 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); | 372 void vp9_lpf_horizontal_16_sse2(uint8_t *s, int pitch, const uint8_t *blimit, co
nst uint8_t *limit, const uint8_t *thresh, int count); |
372 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_sse2 | 373 #define vp9_lpf_horizontal_16 vp9_lpf_horizontal_16_sse2 |
373 | 374 |
374 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); | 375 void vp9_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const
uint8_t *limit, const uint8_t *thresh, int count); |
375 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); | 376 void vp9_lpf_horizontal_4_mmx(uint8_t *s, int pitch, const uint8_t *blimit, cons
t uint8_t *limit, const uint8_t *thresh, int count); |
376 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_mmx | 377 #define vp9_lpf_horizontal_4 vp9_lpf_horizontal_4_mmx |
377 | 378 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 #define vp9_mse16x8 vp9_mse16x8_sse2 | 421 #define vp9_mse16x8 vp9_mse16x8_sse2 |
421 | 422 |
422 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); | 423 unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int recon_stride, unsigned int *sse); |
423 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); | 424 unsigned int vp9_mse8x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
424 #define vp9_mse8x16 vp9_mse8x16_sse2 | 425 #define vp9_mse8x16 vp9_mse8x16_sse2 |
425 | 426 |
426 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); | 427 unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint
8_t *ref_ptr, int recon_stride, unsigned int *sse); |
427 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); | 428 unsigned int vp9_mse8x8_sse2(const uint8_t *src_ptr, int source_stride, const u
int8_t *ref_ptr, int recon_stride, unsigned int *sse); |
428 #define vp9_mse8x8 vp9_mse8x8_sse2 | 429 #define vp9_mse8x8 vp9_mse8x8_sse2 |
429 | 430 |
430 void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_bloc
k, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const
int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan
, const int16_t *iscan); | 431 void vp9_quantize_b_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_b
lock, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_pt
r, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_p
tr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int1
6_t *scan, const int16_t *iscan); |
431 void vp9_quantize_b_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, c
onst int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *
scan, const int16_t *iscan); | 432 void vp9_quantize_b_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
432 RTCD_EXTERN void (*vp9_quantize_b)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t
*quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoe
ff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 433 RTCD_EXTERN void (*vp9_quantize_b)(const tran_low_t *coeff_ptr, intptr_t n_coeff
s, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int1
6_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low
_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_pt
r, const int16_t *scan, const int16_t *iscan); |
433 | 434 |
434 void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int ski
p_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant
_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 435 void vp9_quantize_b_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qu
ant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqc
oeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, cons
t int16_t *scan, const int16_t *iscan); |
435 void vp9_quantize_b_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_
ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); | 436 void vp9_quantize_b_32x32_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t
*quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); |
436 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const int16_t *coeff_ptr, intptr_t n_co
effs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const i
nt16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); | 437 RTCD_EXTERN void (*vp9_quantize_b_32x32)(const tran_low_t *coeff_ptr, intptr_t n
_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, cons
t int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tr
an_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *
eob_ptr, const int16_t *scan, const int16_t *iscan); |
437 | 438 |
438 void vp9_quantize_fp_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_blo
ck, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr,
const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, cons
t int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *sca
n, const int16_t *iscan); | 439 void vp9_quantize_fp_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_
block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_p
tr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqcoeff_
ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int
16_t *scan, const int16_t *iscan); |
439 void vp9_quantize_fp_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip
_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_
ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr,
const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t
*scan, const int16_t *iscan); | 440 void vp9_quantize_fp_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int s
kip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *qua
nt_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); |
440 RTCD_EXTERN void (*vp9_quantize_fp)(const int16_t *coeff_ptr, intptr_t n_coeffs,
int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_
t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqco
eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const
int16_t *scan, const int16_t *iscan); | 441 RTCD_EXTERN void (*vp9_quantize_fp)(const tran_low_t *coeff_ptr, intptr_t n_coef
fs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int
16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_lo
w_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_p
tr, const int16_t *scan, const int16_t *iscan); |
441 | 442 |
442 void vp9_quantize_fp_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int sk
ip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quan
t_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr
, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_
t *scan, const int16_t *iscan); | 443 void vp9_quantize_fp_32x32_c(const tran_low_t *coeff_ptr, intptr_t n_coeffs, int
skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *q
uant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t *dq
coeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, con
st int16_t *scan, const int16_t *iscan); |
443 void vp9_quantize_fp_32x32_ssse3(const int16_t *coeff_ptr, intptr_t n_coeffs, in
t skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *
quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff
_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const in
t16_t *scan, const int16_t *iscan); | 444 void vp9_quantize_fp_32x32_ssse3(const tran_low_t *coeff_ptr, intptr_t n_coeffs,
int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_
t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, tran_low_t
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); |
444 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const int16_t *coeff_ptr, intptr_t n_c
oeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const
int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t
*dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr,
const int16_t *scan, const int16_t *iscan); | 445 RTCD_EXTERN void (*vp9_quantize_fp_32x32)(const tran_low_t *coeff_ptr, intptr_t
n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, con
st int16_t *quant_ptr, const int16_t *quant_shift_ptr, tran_low_t *qcoeff_ptr, t
ran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t
*eob_ptr, const int16_t *scan, const int16_t *iscan); |
445 | 446 |
446 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); | 447 int vp9_refining_search_sad_c(const struct macroblock *x, struct mv *ref_mv, int
sad_per_bit, int distance, const struct vp9_variance_vtable *fn_ptr, const stru
ct mv *center_mv); |
447 #define vp9_refining_search_sad vp9_refining_search_sad_c | 448 #define vp9_refining_search_sad vp9_refining_search_sad_c |
448 | 449 |
449 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); | 450 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin
t8_t *ref_ptr, int ref_stride); |
450 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); | 451 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride); |
451 #define vp9_sad16x16 vp9_sad16x16_sse2 | 452 #define vp9_sad16x16 vp9_sad16x16_sse2 |
452 | 453 |
453 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 454 unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const
uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
454 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); | 455 unsigned int vp9_sad16x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co
nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred); |
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1025 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; | 1026 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; |
1026 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; | 1027 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8
_ssse3; |
1027 } | 1028 } |
1028 #endif | 1029 #endif |
1029 | 1030 |
1030 #ifdef __cplusplus | 1031 #ifdef __cplusplus |
1031 } // extern "C" | 1032 } // extern "C" |
1032 #endif | 1033 #endif |
1033 | 1034 |
1034 #endif | 1035 #endif |
OLD | NEW |