OLD | NEW |
1 sub vp8_common_forward_decls() { | 1 sub vp8_common_forward_decls() { |
2 print <<EOF | 2 print <<EOF |
3 /* | 3 /* |
4 * VP8 | 4 * VP8 |
5 */ | 5 */ |
6 | 6 |
7 struct blockd; | 7 struct blockd; |
8 struct macroblockd; | 8 struct macroblockd; |
9 struct loop_filter_info; | 9 struct loop_filter_info; |
10 | 10 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 specialize qw/vp8_variance_halfpixvar16x16_v mmx sse2 media neon/; | 297 specialize qw/vp8_variance_halfpixvar16x16_v mmx sse2 media neon/; |
298 $vp8_variance_halfpixvar16x16_v_sse2=vp8_variance_halfpixvar16x16_v_wmt; | 298 $vp8_variance_halfpixvar16x16_v_sse2=vp8_variance_halfpixvar16x16_v_wmt; |
299 $vp8_variance_halfpixvar16x16_v_media=vp8_variance_halfpixvar16x16_v_armv6; | 299 $vp8_variance_halfpixvar16x16_v_media=vp8_variance_halfpixvar16x16_v_armv6; |
300 | 300 |
301 add_proto qw/unsigned int vp8_variance_halfpixvar16x16_hv/, "const unsigned char
*src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uns
igned int *sse"; | 301 add_proto qw/unsigned int vp8_variance_halfpixvar16x16_hv/, "const unsigned char
*src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, uns
igned int *sse"; |
302 specialize qw/vp8_variance_halfpixvar16x16_hv mmx sse2 media neon/; | 302 specialize qw/vp8_variance_halfpixvar16x16_hv mmx sse2 media neon/; |
303 $vp8_variance_halfpixvar16x16_hv_sse2=vp8_variance_halfpixvar16x16_hv_wmt; | 303 $vp8_variance_halfpixvar16x16_hv_sse2=vp8_variance_halfpixvar16x16_hv_wmt; |
304 $vp8_variance_halfpixvar16x16_hv_media=vp8_variance_halfpixvar16x16_hv_armv6; | 304 $vp8_variance_halfpixvar16x16_hv_media=vp8_variance_halfpixvar16x16_hv_armv6; |
305 | 305 |
306 # | 306 # |
307 # Single block SAD | |
308 # | |
309 add_proto qw/unsigned int vp8_sad4x4/, "const unsigned char *src_ptr, int src_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad"; | |
310 specialize qw/vp8_sad4x4 mmx sse2 neon/; | |
311 $vp8_sad4x4_sse2=vp8_sad4x4_wmt; | |
312 | |
313 add_proto qw/unsigned int vp8_sad8x8/, "const unsigned char *src_ptr, int src_st
ride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad"; | |
314 specialize qw/vp8_sad8x8 mmx sse2 neon/; | |
315 $vp8_sad8x8_sse2=vp8_sad8x8_wmt; | |
316 | |
317 add_proto qw/unsigned int vp8_sad8x16/, "const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad"; | |
318 specialize qw/vp8_sad8x16 mmx sse2 neon/; | |
319 $vp8_sad8x16_sse2=vp8_sad8x16_wmt; | |
320 | |
321 add_proto qw/unsigned int vp8_sad16x8/, "const unsigned char *src_ptr, int src_s
tride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad"; | |
322 specialize qw/vp8_sad16x8 mmx sse2 neon/; | |
323 $vp8_sad16x8_sse2=vp8_sad16x8_wmt; | |
324 | |
325 add_proto qw/unsigned int vp8_sad16x16/, "const unsigned char *src_ptr, int src_
stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad"; | |
326 specialize qw/vp8_sad16x16 mmx sse2 sse3 media neon/; | |
327 $vp8_sad16x16_sse2=vp8_sad16x16_wmt; | |
328 $vp8_sad16x16_media=vp8_sad16x16_armv6; | |
329 | |
330 # | |
331 # Multi-block SAD, comparing a reference to N blocks 1 pixel apart horizontally | |
332 # | |
333 add_proto qw/void vp8_sad4x4x3/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array"; | |
334 specialize qw/vp8_sad4x4x3 sse3/; | |
335 | |
336 add_proto qw/void vp8_sad8x8x3/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array"; | |
337 specialize qw/vp8_sad8x8x3 sse3/; | |
338 | |
339 add_proto qw/void vp8_sad8x16x3/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array"; | |
340 specialize qw/vp8_sad8x16x3 sse3/; | |
341 | |
342 add_proto qw/void vp8_sad16x8x3/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array"; | |
343 specialize qw/vp8_sad16x8x3 sse3 ssse3/; | |
344 | |
345 add_proto qw/void vp8_sad16x16x3/, "const unsigned char *src_ptr, int src_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array"; | |
346 specialize qw/vp8_sad16x16x3 sse3 ssse3/; | |
347 | |
348 # Note the only difference in the following prototypes is that they return into | |
349 # an array of short | |
350 add_proto qw/void vp8_sad4x4x8/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array"; | |
351 specialize qw/vp8_sad4x4x8 sse4_1/; | |
352 $vp8_sad4x4x8_sse4_1=vp8_sad4x4x8_sse4; | |
353 | |
354 add_proto qw/void vp8_sad8x8x8/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array"; | |
355 specialize qw/vp8_sad8x8x8 sse4_1/; | |
356 $vp8_sad8x8x8_sse4_1=vp8_sad8x8x8_sse4; | |
357 | |
358 add_proto qw/void vp8_sad8x16x8/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array"; | |
359 specialize qw/vp8_sad8x16x8 sse4_1/; | |
360 $vp8_sad8x16x8_sse4_1=vp8_sad8x16x8_sse4; | |
361 | |
362 add_proto qw/void vp8_sad16x8x8/, "const unsigned char *src_ptr, int src_stride,
const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array"; | |
363 specialize qw/vp8_sad16x8x8 sse4_1/; | |
364 $vp8_sad16x8x8_sse4_1=vp8_sad16x8x8_sse4; | |
365 | |
366 add_proto qw/void vp8_sad16x16x8/, "const unsigned char *src_ptr, int src_stride
, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array"; | |
367 specialize qw/vp8_sad16x16x8 sse4_1/; | |
368 $vp8_sad16x16x8_sse4_1=vp8_sad16x16x8_sse4; | |
369 | |
370 # | |
371 # Multi-block SAD, comparing a reference to N independent blocks | |
372 # | |
373 add_proto qw/void vp8_sad4x4x4d/, "const unsigned char *src_ptr, int src_stride,
const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array
"; | |
374 specialize qw/vp8_sad4x4x4d sse3/; | |
375 | |
376 add_proto qw/void vp8_sad8x8x4d/, "const unsigned char *src_ptr, int src_stride,
const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array
"; | |
377 specialize qw/vp8_sad8x8x4d sse3/; | |
378 | |
379 add_proto qw/void vp8_sad8x16x4d/, "const unsigned char *src_ptr, int src_stride
, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_arra
y"; | |
380 specialize qw/vp8_sad8x16x4d sse3/; | |
381 | |
382 add_proto qw/void vp8_sad16x8x4d/, "const unsigned char *src_ptr, int src_stride
, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_arra
y"; | |
383 specialize qw/vp8_sad16x8x4d sse3/; | |
384 | |
385 add_proto qw/void vp8_sad16x16x4d/, "const unsigned char *src_ptr, int src_strid
e, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_arr
ay"; | |
386 specialize qw/vp8_sad16x16x4d sse3/; | |
387 | |
388 # | |
389 # Encoder functions below this point. | 307 # Encoder functions below this point. |
390 # | 308 # |
391 if (vpx_config("CONFIG_VP8_ENCODER") eq "yes") { | 309 if (vpx_config("CONFIG_VP8_ENCODER") eq "yes") { |
392 | 310 |
393 # | 311 # |
394 # Sum of squares (vector) | 312 # Sum of squares (vector) |
395 # | 313 # |
396 add_proto qw/unsigned int vp8_get_mb_ss/, "const short *"; | 314 add_proto qw/unsigned int vp8_get_mb_ss/, "const short *"; |
397 specialize qw/vp8_get_mb_ss mmx sse2/; | 315 specialize qw/vp8_get_mb_ss mmx sse2/; |
398 | 316 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
509 if (vpx_config("CONFIG_TEMPORAL_DENOISING") eq "yes") { | 427 if (vpx_config("CONFIG_TEMPORAL_DENOISING") eq "yes") { |
510 add_proto qw/int vp8_denoiser_filter/, "unsigned char *mc_running_avg_y, int
mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char
*sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising"; | 428 add_proto qw/int vp8_denoiser_filter/, "unsigned char *mc_running_avg_y, int
mc_avg_y_stride, unsigned char *running_avg_y, int avg_y_stride, unsigned char
*sig, int sig_stride, unsigned int motion_magnitude, int increase_denoising"; |
511 specialize qw/vp8_denoiser_filter sse2 neon/; | 429 specialize qw/vp8_denoiser_filter sse2 neon/; |
512 add_proto qw/int vp8_denoiser_filter_uv/, "unsigned char *mc_running_avg, in
t mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig,
int sig_stride, unsigned int motion_magnitude, int increase_denoising"; | 430 add_proto qw/int vp8_denoiser_filter_uv/, "unsigned char *mc_running_avg, in
t mc_avg_stride, unsigned char *running_avg, int avg_stride, unsigned char *sig,
int sig_stride, unsigned int motion_magnitude, int increase_denoising"; |
513 specialize qw/vp8_denoiser_filter_uv sse2 neon/; | 431 specialize qw/vp8_denoiser_filter_uv sse2 neon/; |
514 } | 432 } |
515 | 433 |
516 # End of encoder only functions | 434 # End of encoder only functions |
517 } | 435 } |
518 1; | 436 1; |
OLD | NEW |