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

Side by Side Diff: source/config/mac/x64/vp9_rtcd.h

Issue 341293003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 6 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/config/mac/x64/vp8_rtcd.h ('k') | source/config/mac/x64/vpx_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 10 #ifdef __cplusplus
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c 219 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
220 220
221 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); 221 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);
222 int vp9_diamond_search_sadx4(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); 222 int vp9_diamond_search_sadx4(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);
223 RTCD_EXTERN int (*vp9_diamond_search_sad)(const struct macroblock *x, const stru ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_p aram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, con st struct mv *center_mv); 223 RTCD_EXTERN int (*vp9_diamond_search_sad)(const struct macroblock *x, const stru ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_p aram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, con st struct mv *center_mv);
224 224
225 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); 225 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
226 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride); 226 void vp9_fdct16x16_sse2(const int16_t *input, int16_t *output, int stride);
227 #define vp9_fdct16x16 vp9_fdct16x16_sse2 227 #define vp9_fdct16x16 vp9_fdct16x16_sse2
228 228
229 void vp9_fdct16x16_1_c(const int16_t *input, int16_t *output, int stride);
230 void vp9_fdct16x16_1_sse2(const int16_t *input, int16_t *output, int stride);
231 #define vp9_fdct16x16_1 vp9_fdct16x16_1_sse2
232
229 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); 233 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
230 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride); 234 void vp9_fdct32x32_sse2(const int16_t *input, int16_t *output, int stride);
231 #define vp9_fdct32x32 vp9_fdct32x32_sse2 235 #define vp9_fdct32x32 vp9_fdct32x32_sse2
232 236
237 void vp9_fdct32x32_1_c(const int16_t *input, int16_t *output, int stride);
238 void vp9_fdct32x32_1_sse2(const int16_t *input, int16_t *output, int stride);
239 #define vp9_fdct32x32_1 vp9_fdct32x32_1_sse2
240
233 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); 241 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
234 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride); 242 void vp9_fdct32x32_rd_sse2(const int16_t *input, int16_t *output, int stride);
235 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2 243 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_sse2
236 244
237 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); 245 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
238 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride); 246 void vp9_fdct4x4_sse2(const int16_t *input, int16_t *output, int stride);
239 #define vp9_fdct4x4 vp9_fdct4x4_sse2 247 #define vp9_fdct4x4 vp9_fdct4x4_sse2
240 248
249 void vp9_fdct4x4_1_c(const int16_t *input, int16_t *output, int stride);
250 void vp9_fdct4x4_1_sse2(const int16_t *input, int16_t *output, int stride);
251 #define vp9_fdct4x4_1 vp9_fdct4x4_1_sse2
252
241 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); 253 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
242 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride); 254 void vp9_fdct8x8_sse2(const int16_t *input, int16_t *output, int stride);
243 void vp9_fdct8x8_ssse3(const int16_t *input, int16_t *output, int stride); 255 void vp9_fdct8x8_ssse3(const int16_t *input, int16_t *output, int stride);
244 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid e); 256 RTCD_EXTERN void (*vp9_fdct8x8)(const int16_t *input, int16_t *output, int strid e);
245 257
258 void vp9_fdct8x8_1_c(const int16_t *input, int16_t *output, int stride);
259 void vp9_fdct8x8_1_sse2(const int16_t *input, int16_t *output, int stride);
260 #define vp9_fdct8x8_1 vp9_fdct8x8_1_sse2
261
246 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe); 262 void vp9_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_ty pe);
247 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx _type); 263 void vp9_fht16x16_sse2(const int16_t *input, int16_t *output, int stride, int tx _type);
248 #define vp9_fht16x16 vp9_fht16x16_sse2 264 #define vp9_fht16x16 vp9_fht16x16_sse2
249 265
250 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 266 void vp9_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type );
251 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t ype); 267 void vp9_fht4x4_sse2(const int16_t *input, int16_t *output, int stride, int tx_t ype);
252 #define vp9_fht4x4 vp9_fht4x4_sse2 268 #define vp9_fht4x4 vp9_fht4x4_sse2
253 269
254 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type ); 270 void vp9_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type );
255 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t ype); 271 void vp9_fht8x8_sse2(const int16_t *input, int16_t *output, int stride, int tx_t ype);
256 #define vp9_fht8x8 vp9_fht8x8_sse2 272 #define vp9_fht8x8 vp9_fht8x8_sse2
257 273
258 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); 274 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);
259 #define vp9_full_range_search vp9_full_range_search_c 275 #define vp9_full_range_search vp9_full_range_search_c
260 276
261 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); 277 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);
262 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); 278 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);
263 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); 279 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);
264 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); 280 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);
265 281
266 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); 282 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
267 void vp9_fwht4x4_mmx(const int16_t *input, int16_t *output, int stride); 283 void vp9_fwht4x4_mmx(const int16_t *input, int16_t *output, int stride);
268 #define vp9_fwht4x4 vp9_fwht4x4_mmx 284 #define vp9_fwht4x4 vp9_fwht4x4_mmx
269 285
286 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);
287 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);
288 #define vp9_get16x16var vp9_get16x16var_sse2
289
290 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);
291 void vp9_get8x8var_mmx(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum);
292 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);
293 #define vp9_get8x8var vp9_get8x8var_sse2
294
270 unsigned int vp9_get_mb_ss_c(const int16_t *); 295 unsigned int vp9_get_mb_ss_c(const int16_t *);
271 unsigned int vp9_get_mb_ss_mmx(const int16_t *); 296 unsigned int vp9_get_mb_ss_mmx(const int16_t *);
272 unsigned int vp9_get_mb_ss_sse2(const int16_t *); 297 unsigned int vp9_get_mb_ss_sse2(const int16_t *);
273 #define vp9_get_mb_ss vp9_get_mb_ss_sse2 298 #define vp9_get_mb_ss vp9_get_mb_ss_sse2
274 299
275 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 300 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
276 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 301 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
277 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 302 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
278 303
279 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left); 304 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab ove, const uint8_t *left);
280 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 305 void vp9_h_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
281 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left); 306 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons t uint8_t *above, const uint8_t *left);
282 307
283 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 308 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
284 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 309 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
285 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 310 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
286 311
287 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left); 312 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov e, const uint8_t *left);
288 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left); 313 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t * above, const uint8_t *left);
289 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 314 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
290 315
291 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride ); 316 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride );
292 void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_str ide); 317 void vp9_idct16x16_10_add_sse2(const int16_t *input, uint8_t *dest, int dest_str ide);
293 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_sse2 318 void vp9_idct16x16_10_add_ssse3(const int16_t *input, uint8_t *dest, int dest_st ride);
319 RTCD_EXTERN void (*vp9_idct16x16_10_add)(const int16_t *input, uint8_t *dest, in t dest_stride);
294 320
295 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride) ; 321 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride) ;
296 void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri de); 322 void vp9_idct16x16_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri de);
297 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2 323 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_sse2
298 324
299 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid e); 325 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_strid e);
300 void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_st ride); 326 void vp9_idct16x16_256_add_sse2(const int16_t *input, uint8_t *dest, int dest_st ride);
301 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_sse2 327 void vp9_idct16x16_256_add_ssse3(const int16_t *input, uint8_t *dest, int dest_s tride);
328 RTCD_EXTERN void (*vp9_idct16x16_256_add)(const int16_t *input, uint8_t *dest, i nt dest_stride);
302 329
303 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri de); 330 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stri de);
304 void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_s tride); 331 void vp9_idct32x32_1024_add_sse2(const int16_t *input, uint8_t *dest, int dest_s tride);
305 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2 332 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_sse2
306 333
307 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride) ; 334 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride) ;
308 void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri de); 335 void vp9_idct32x32_1_add_sse2(const int16_t *input, uint8_t *dest, int dest_stri de);
309 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2 336 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_sse2
310 337
311 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride ); 338 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride );
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 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); 442 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);
416 443
417 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); 444 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);
418 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); 445 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);
419 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); 446 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);
420 447
421 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); 448 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);
422 int vp9_refining_search_sadx4(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); 449 int vp9_refining_search_sadx4(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);
423 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt r, const struct mv *center_mv); 450 RTCD_EXTERN int (*vp9_refining_search_sad)(const struct macroblock *x, struct mv *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_pt r, const struct mv *center_mv);
424 451
425 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 452 unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
426 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, unsigned int max_sad); 453 unsigned int vp9_sad16x16_mmx(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
427 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 454 unsigned int vp9_sad16x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
428 #define vp9_sad16x16 vp9_sad16x16_sse2 455 #define vp9_sad16x16 vp9_sad16x16_sse2
429 456
430 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, unsigned int max _sad); 457 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);
431 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, unsigned int max_sad); 458 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);
432 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2 459 #define vp9_sad16x16_avg vp9_sad16x16_avg_sse2
433 460
434 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 461 void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
435 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 462 void vp9_sad16x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
436 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array); 463 void vp9_sad16x16x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int *sad_array);
437 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 464 RTCD_EXTERN void (*vp9_sad16x16x3)(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
438 465
439 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 466 void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
440 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 467 void vp9_sad16x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
441 #define vp9_sad16x16x4d vp9_sad16x16x4d_sse2 468 #define vp9_sad16x16x4d vp9_sad16x16x4d_sse2
442 469
443 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 470 void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
444 #define vp9_sad16x16x8 vp9_sad16x16x8_c 471 #define vp9_sad16x16x8 vp9_sad16x16x8_c
445 472
446 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 473 unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
447 unsigned int vp9_sad16x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 474 unsigned int vp9_sad16x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
448 #define vp9_sad16x32 vp9_sad16x32_sse2 475 #define vp9_sad16x32 vp9_sad16x32_sse2
449 476
450 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 477 unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
451 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 478 unsigned int vp9_sad16x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
452 #define vp9_sad16x32_avg vp9_sad16x32_avg_sse2 479 #define vp9_sad16x32_avg vp9_sad16x32_avg_sse2
453 480
454 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 481 void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
455 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 482 void vp9_sad16x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
456 #define vp9_sad16x32x4d vp9_sad16x32x4d_sse2 483 #define vp9_sad16x32x4d vp9_sad16x32x4d_sse2
457 484
458 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride, unsigned int max_sad); 485 unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
459 unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); 486 unsigned int vp9_sad16x8_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
460 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, unsigned int max_sad); 487 unsigned int vp9_sad16x8_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
461 #define vp9_sad16x8 vp9_sad16x8_sse2 488 #define vp9_sad16x8 vp9_sad16x8_sse2
462 489
463 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 490 unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
464 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 491 unsigned int vp9_sad16x8_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
465 #define vp9_sad16x8_avg vp9_sad16x8_avg_sse2 492 #define vp9_sad16x8_avg vp9_sad16x8_avg_sse2
466 493
467 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 494 void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
468 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 495 void vp9_sad16x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
469 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array); 496 void vp9_sad16x8x3_ssse3(const uint8_t *src_ptr, int source_stride, const uint8_ t *ref_ptr, int ref_stride, unsigned int *sad_array);
470 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 497 RTCD_EXTERN void (*vp9_sad16x8x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
471 498
472 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 499 void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
473 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 500 void vp9_sad16x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
474 #define vp9_sad16x8x4d vp9_sad16x8x4d_sse2 501 #define vp9_sad16x8x4d vp9_sad16x8x4d_sse2
475 502
476 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 503 void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
477 #define vp9_sad16x8x8 vp9_sad16x8x8_c 504 #define vp9_sad16x8x8 vp9_sad16x8x8_c
478 505
479 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 506 unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
480 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 507 unsigned int vp9_sad32x16_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
481 #define vp9_sad32x16 vp9_sad32x16_sse2 508 #define vp9_sad32x16 vp9_sad32x16_sse2
482 509
483 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 510 unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
484 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 511 unsigned int vp9_sad32x16_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
485 #define vp9_sad32x16_avg vp9_sad32x16_avg_sse2 512 #define vp9_sad32x16_avg vp9_sad32x16_avg_sse2
486 513
487 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 514 void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
488 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 515 void vp9_sad32x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
489 #define vp9_sad32x16x4d vp9_sad32x16x4d_sse2 516 #define vp9_sad32x16x4d vp9_sad32x16x4d_sse2
490 517
491 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 518 unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
492 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 519 unsigned int vp9_sad32x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
493 #define vp9_sad32x32 vp9_sad32x32_sse2 520 #define vp9_sad32x32 vp9_sad32x32_sse2
494 521
495 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max _sad); 522 unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
496 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); 523 unsigned int vp9_sad32x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
497 #define vp9_sad32x32_avg vp9_sad32x32_avg_sse2 524 #define vp9_sad32x32_avg vp9_sad32x32_avg_sse2
498 525
499 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 526 void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
500 #define vp9_sad32x32x3 vp9_sad32x32x3_c 527 #define vp9_sad32x32x3 vp9_sad32x32x3_c
501 528
502 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 529 void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
503 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 530 void vp9_sad32x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
504 #define vp9_sad32x32x4d vp9_sad32x32x4d_sse2 531 #define vp9_sad32x32x4d vp9_sad32x32x4d_sse2
505 532
506 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 533 void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
507 #define vp9_sad32x32x8 vp9_sad32x32x8_c 534 #define vp9_sad32x32x8 vp9_sad32x32x8_c
508 535
509 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 536 unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
510 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 537 unsigned int vp9_sad32x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
511 #define vp9_sad32x64 vp9_sad32x64_sse2 538 #define vp9_sad32x64 vp9_sad32x64_sse2
512 539
513 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 540 unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
514 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 541 unsigned int vp9_sad32x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
515 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2 542 #define vp9_sad32x64_avg vp9_sad32x64_avg_sse2
516 543
517 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 544 void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
518 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 545 void vp9_sad32x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
519 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2 546 #define vp9_sad32x64x4d vp9_sad32x64x4d_sse2
520 547
521 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int max_sad); 548 unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
522 unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 549 unsigned int vp9_sad4x4_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
523 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 550 unsigned int vp9_sad4x4_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
524 #define vp9_sad4x4 vp9_sad4x4_sse 551 #define vp9_sad4x4 vp9_sad4x4_sse
525 552
526 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_s ad); 553 unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
527 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max _sad); 554 unsigned int vp9_sad4x4_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
528 #define vp9_sad4x4_avg vp9_sad4x4_avg_sse 555 #define vp9_sad4x4_avg vp9_sad4x4_avg_sse
529 556
530 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 557 void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
531 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 558 void vp9_sad4x4x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
532 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 559 RTCD_EXTERN void (*vp9_sad4x4x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
533 560
534 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 561 void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
535 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 562 void vp9_sad4x4x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
536 #define vp9_sad4x4x4d vp9_sad4x4x4d_sse 563 #define vp9_sad4x4x4d vp9_sad4x4x4d_sse
537 564
538 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array); 565 void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ ptr, int ref_stride, uint32_t *sad_array);
539 #define vp9_sad4x4x8 vp9_sad4x4x8_c 566 #define vp9_sad4x4x8 vp9_sad4x4x8_c
540 567
541 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int max_sad); 568 unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
542 unsigned int vp9_sad4x8_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 569 unsigned int vp9_sad4x8_sse(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
543 #define vp9_sad4x8 vp9_sad4x8_sse 570 #define vp9_sad4x8 vp9_sad4x8_sse
544 571
545 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sa d); 572 unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
546 unsigned int vp9_sad4x8_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 573 unsigned int vp9_sad4x8_avg_sse(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
547 #define vp9_sad4x8_avg vp9_sad4x8_avg_sse 574 #define vp9_sad4x8_avg vp9_sad4x8_avg_sse
548 575
549 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 576 void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
550 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 577 void vp9_sad4x8x4d_sse(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
551 #define vp9_sad4x8x4d vp9_sad4x8x4d_sse 578 #define vp9_sad4x8x4d vp9_sad4x8x4d_sse
552 579
553 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 580 void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
554 #define vp9_sad4x8x8 vp9_sad4x8x8_c 581 #define vp9_sad4x8x8 vp9_sad4x8x8_c
555 582
556 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 583 unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
557 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 584 unsigned int vp9_sad64x32_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
558 #define vp9_sad64x32 vp9_sad64x32_sse2 585 #define vp9_sad64x32 vp9_sad64x32_sse2
559 586
560 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 587 unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
561 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 588 unsigned int vp9_sad64x32_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
562 #define vp9_sad64x32_avg vp9_sad64x32_avg_sse2 589 #define vp9_sad64x32_avg vp9_sad64x32_avg_sse2
563 590
564 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 591 void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
565 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 592 void vp9_sad64x32x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
566 #define vp9_sad64x32x4d vp9_sad64x32x4d_sse2 593 #define vp9_sad64x32x4d vp9_sad64x32x4d_sse2
567 594
568 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 595 unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
569 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); 596 unsigned int vp9_sad64x64_sse2(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride);
570 #define vp9_sad64x64 vp9_sad64x64_sse2 597 #define vp9_sad64x64 vp9_sad64x64_sse2
571 598
572 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max _sad); 599 unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
573 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); 600 unsigned int vp9_sad64x64_avg_sse2(const uint8_t *src_ptr, int source_stride, co nst uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
574 #define vp9_sad64x64_avg vp9_sad64x64_avg_sse2 601 #define vp9_sad64x64_avg vp9_sad64x64_avg_sse2
575 602
576 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array); 603 void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t * ref_ptr, int ref_stride, unsigned int *sad_array);
577 #define vp9_sad64x64x3 vp9_sad64x64x3_c 604 #define vp9_sad64x64x3 vp9_sad64x64x3_c
578 605
579 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 606 void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
580 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array); 607 void vp9_sad64x64x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t * const ref_ptr[], int ref_stride, unsigned int *sad_array);
581 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2 608 #define vp9_sad64x64x4d vp9_sad64x64x4d_sse2
582 609
583 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array); 610 void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *re f_ptr, int ref_stride, uint32_t *sad_array);
584 #define vp9_sad64x64x8 vp9_sad64x64x8_c 611 #define vp9_sad64x64x8 vp9_sad64x64x8_c
585 612
586 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride, unsigned int max_sad); 613 unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint 8_t *ref_ptr, int ref_stride);
587 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); 614 unsigned int vp9_sad8x16_mmx(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
588 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, unsigned int max_sad); 615 unsigned int vp9_sad8x16_sse2(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride);
589 #define vp9_sad8x16 vp9_sad8x16_sse2 616 #define vp9_sad8x16 vp9_sad8x16_sse2
590 617
591 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_ sad); 618 unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
592 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int m ax_sad); 619 unsigned int vp9_sad8x16_avg_sse2(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
593 #define vp9_sad8x16_avg vp9_sad8x16_avg_sse2 620 #define vp9_sad8x16_avg vp9_sad8x16_avg_sse2
594 621
595 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array); 622 void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *r ef_ptr, int ref_stride, unsigned int *sad_array);
596 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 623 void vp9_sad8x16x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
597 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 624 RTCD_EXTERN void (*vp9_sad8x16x3)(const uint8_t *src_ptr, int source_stride, con st uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
598 625
599 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array); 626 void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* co nst ref_ptr[], int ref_stride, unsigned int *sad_array);
600 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 627 void vp9_sad8x16x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
601 #define vp9_sad8x16x4d vp9_sad8x16x4d_sse2 628 #define vp9_sad8x16x4d vp9_sad8x16x4d_sse2
602 629
603 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array); 630 void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref _ptr, int ref_stride, uint32_t *sad_array);
604 #define vp9_sad8x16x8 vp9_sad8x16x8_c 631 #define vp9_sad8x16x8 vp9_sad8x16x8_c
605 632
606 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int max_sad); 633 unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
607 unsigned int vp9_sad8x4_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); 634 unsigned int vp9_sad8x4_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
608 #define vp9_sad8x4 vp9_sad8x4_sse2 635 #define vp9_sad8x4 vp9_sad8x4_sse2
609 636
610 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sa d); 637 unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
611 unsigned int vp9_sad8x4_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max _sad); 638 unsigned int vp9_sad8x4_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
612 #define vp9_sad8x4_avg vp9_sad8x4_avg_sse2 639 #define vp9_sad8x4_avg vp9_sad8x4_avg_sse2
613 640
614 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array); 641 void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* cons t ref_ptr[], int ref_stride, unsigned int *sad_array);
615 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array); 642 void vp9_sad8x4x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* c onst ref_ptr[], int ref_stride, unsigned int *sad_array);
616 #define vp9_sad8x4x4d vp9_sad8x4x4d_sse2 643 #define vp9_sad8x4x4d vp9_sad8x4x4d_sse2
617 644
618 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array); 645 void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_p tr, int ref_stride, uint32_t *sad_array);
619 #define vp9_sad8x4x8 vp9_sad8x4x8_c 646 #define vp9_sad8x4x8 vp9_sad8x4x8_c
620 647
621 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride, unsigned int max_sad); 648 unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8 _t *ref_ptr, int ref_stride);
622 unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride, unsigned int max_sad); 649 unsigned int vp9_sad8x8_mmx(const uint8_t *src_ptr, int source_stride, const uin t8_t *ref_ptr, int ref_stride);
623 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride, unsigned int max_sad); 650 unsigned int vp9_sad8x8_sse2(const uint8_t *src_ptr, int source_stride, const ui nt8_t *ref_ptr, int ref_stride);
624 #define vp9_sad8x8 vp9_sad8x8_sse2 651 #define vp9_sad8x8 vp9_sad8x8_sse2
625 652
626 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_s ad); 653 unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const u int8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
627 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int ma x_sad); 654 unsigned int vp9_sad8x8_avg_sse2(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred);
628 #define vp9_sad8x8_avg vp9_sad8x8_avg_sse2 655 #define vp9_sad8x8_avg vp9_sad8x8_avg_sse2
629 656
630 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array); 657 void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *re f_ptr, int ref_stride, unsigned int *sad_array);
631 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 658 void vp9_sad8x8x3_sse3(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
632 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); 659 RTCD_EXTERN void (*vp9_sad8x8x3)(const uint8_t *src_ptr, int source_stride, cons t uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array);
633 660
634 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array); 661 void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* con st ref_ptr[], int ref_stride, unsigned int *sad_array);
635 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); 662 void vp9_sad8x8x4d_sse2(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array);
636 #define vp9_sad8x8x4d vp9_sad8x8x4d_sse2 663 #define vp9_sad8x8x4d vp9_sad8x8x4d_sse2
637 664
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 792
766 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); 793 unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stri de, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse);
767 unsigned int vp9_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse); 794 unsigned int vp9_sub_pixel_variance8x8_sse2(const uint8_t *src_ptr, int source_s tride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsign ed int *sse);
768 unsigned int vp9_sub_pixel_variance8x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse); 795 unsigned int vp9_sub_pixel_variance8x8_ssse3(const uint8_t *src_ptr, int source_ stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsig ned int *sse);
769 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse); 796 RTCD_EXTERN unsigned int (*vp9_sub_pixel_variance8x8)(const uint8_t *src_ptr, in t source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stri de, unsigned int *sse);
770 797
771 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride); 798 void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_ stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, p trdiff_t pred_stride);
772 void vp9_subtract_block_sse2(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride); 799 void vp9_subtract_block_sse2(int rows, int cols, int16_t *diff_ptr, ptrdiff_t di ff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr , ptrdiff_t pred_stride);
773 #define vp9_subtract_block vp9_subtract_block_sse2 800 #define vp9_subtract_block vp9_subtract_block_sse2
774 801
775 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_size, int strength, int filter_weight, unsigned int * accumulator, uint16_t *count); 802 void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t * frame2, unsigned int block_width, unsigned int block_height, int strength, int f ilter_weight, unsigned int *accumulator, uint16_t *count);
776 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned in t *accumulator, uint16_t *count); 803 void vp9_temporal_filter_apply_sse2(uint8_t *frame1, unsigned int stride, uint8_ t *frame2, unsigned int block_width, unsigned int block_height, int strength, in t filter_weight, unsigned int *accumulator, uint16_t *count);
777 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_sse2 804 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_sse2
778 805
779 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 806 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
780 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 807 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
781 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_sse2 808 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_sse2
782 809
783 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left); 810 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a bove, const uint8_t *left);
784 void vp9_tm_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); 811 void vp9_tm_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
785 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_sse2 812 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_sse2
786 813
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3; 952 if (flags & HAS_SSE3) vp9_full_search_sad = vp9_full_search_sadx3;
926 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8; 953 if (flags & HAS_SSE4_1) vp9_full_search_sad = vp9_full_search_sadx8;
927 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; 954 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c;
928 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; 955 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3;
929 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; 956 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c;
930 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; 957 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3;
931 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; 958 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c;
932 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; 959 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3;
933 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; 960 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c;
934 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; 961 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3;
962 vp9_idct16x16_10_add = vp9_idct16x16_10_add_sse2;
963 if (flags & HAS_SSSE3) vp9_idct16x16_10_add = vp9_idct16x16_10_add_ssse3;
964 vp9_idct16x16_256_add = vp9_idct16x16_256_add_sse2;
965 if (flags & HAS_SSSE3) vp9_idct16x16_256_add = vp9_idct16x16_256_add_ssse3;
935 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2; 966 vp9_idct8x8_12_add = vp9_idct8x8_12_add_sse2;
936 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3; 967 if (flags & HAS_SSSE3) vp9_idct8x8_12_add = vp9_idct8x8_12_add_ssse3;
937 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2; 968 vp9_idct8x8_64_add = vp9_idct8x8_64_add_sse2;
938 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3; 969 if (flags & HAS_SSSE3) vp9_idct8x8_64_add = vp9_idct8x8_64_add_ssse3;
939 vp9_quantize_b = vp9_quantize_b_c; 970 vp9_quantize_b = vp9_quantize_b_c;
940 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3; 971 if (flags & HAS_SSSE3) vp9_quantize_b = vp9_quantize_b_ssse3;
941 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c; 972 vp9_quantize_b_32x32 = vp9_quantize_b_32x32_c;
942 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3; 973 if (flags & HAS_SSSE3) vp9_quantize_b_32x32 = vp9_quantize_b_32x32_ssse3;
943 vp9_refining_search_sad = vp9_refining_search_sad_c; 974 vp9_refining_search_sad = vp9_refining_search_sad_c;
944 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4; 975 if (flags & HAS_SSE3) vp9_refining_search_sad = vp9_refining_search_sadx4;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2; 1038 vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8_sse2;
1008 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3; 1039 if (flags & HAS_SSSE3) vp9_sub_pixel_variance8x8 = vp9_sub_pixel_variance8x8 _ssse3;
1009 } 1040 }
1010 #endif 1041 #endif
1011 1042
1012 #ifdef __cplusplus 1043 #ifdef __cplusplus
1013 } // extern "C" 1044 } // extern "C"
1014 #endif 1045 #endif
1015 1046
1016 #endif 1047 #endif
OLDNEW
« no previous file with comments | « source/config/mac/x64/vp8_rtcd.h ('k') | source/config/mac/x64/vpx_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698