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

Side by Side Diff: source/libvpx/vp9/common/vp9_rtcd_defs.pl

Issue 592203002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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/libvpx/vp9/common/vp9_reconintra.c ('k') | source/libvpx/vp9/common/vp9_scale.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 sub vp9_common_forward_decls() { 1 sub vp9_common_forward_decls() {
2 print <<EOF 2 print <<EOF
3 /* 3 /*
4 * VP9 4 * VP9
5 */ 5 */
6 6
7 #include "vpx/vpx_integer.h" 7 #include "vpx/vpx_integer.h"
8 #include "vp9/common/vp9_enums.h" 8 #include "vp9/common/vp9_enums.h"
9 #include "vp9/common/vp9_idct.h"
9 10
10 struct macroblockd; 11 struct macroblockd;
11 12
12 /* Encoder forward decls */ 13 /* Encoder forward decls */
13 struct macroblock; 14 struct macroblock;
14 struct vp9_variance_vtable; 15 struct vp9_variance_vtable;
15 struct search_site_config; 16 struct search_site_config;
16 struct mv; 17 struct mv;
17 union int_mv; 18 union int_mv;
18 struct yv12_buffer_config; 19 struct yv12_buffer_config;
(...skipping 19 matching lines...) Expand all
38 $mmx_x86_64 = 'mmx'; 39 $mmx_x86_64 = 'mmx';
39 $sse2_x86_64 = 'sse2'; 40 $sse2_x86_64 = 'sse2';
40 $ssse3_x86_64 = 'ssse3'; 41 $ssse3_x86_64 = 'ssse3';
41 $avx_x86_64 = 'avx'; 42 $avx_x86_64 = 'avx';
42 $avx2_x86_64 = 'avx2'; 43 $avx2_x86_64 = 'avx2';
43 } else { 44 } else {
44 $mmx_x86_64 = $sse2_x86_64 = $ssse3_x86_64 = 45 $mmx_x86_64 = $sse2_x86_64 = $ssse3_x86_64 =
45 $avx_x86_64 = $avx2_x86_64 = ''; 46 $avx_x86_64 = $avx2_x86_64 = '';
46 } 47 }
47 48
49 # optimizations which depend on multiple features
50 if ((vpx_config("HAVE_AVX2") eq "yes") && (vpx_config("HAVE_SSSE3") eq "yes")) {
51 $avx2_ssse3 = 'avx2';
52 } else {
53 $avx2_ssse3 = '';
54 }
55
48 # 56 #
49 # RECON 57 # RECON
50 # 58 #
51 add_proto qw/void vp9_d207_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left"; 59 add_proto qw/void vp9_d207_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, co nst uint8_t *above, const uint8_t *left";
52 specialize qw/vp9_d207_predictor_4x4/, "$ssse3_x86inc"; 60 specialize qw/vp9_d207_predictor_4x4/, "$ssse3_x86inc";
53 61
54 add_proto qw/void vp9_d45_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left"; 62 add_proto qw/void vp9_d45_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left";
55 specialize qw/vp9_d45_predictor_4x4/, "$ssse3_x86inc"; 63 specialize qw/vp9_d45_predictor_4x4/, "$ssse3_x86inc";
56 64
57 add_proto qw/void vp9_d63_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left"; 65 add_proto qw/void vp9_d63_predictor_4x4/, "uint8_t *dst, ptrdiff_t y_stride, con st uint8_t *above, const uint8_t *left";
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 # 297 #
290 add_proto qw/void vp9_convolve_copy/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h"; 298 add_proto qw/void vp9_convolve_copy/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h";
291 specialize qw/vp9_convolve_copy neon_asm dspr2/, "$sse2_x86inc"; 299 specialize qw/vp9_convolve_copy neon_asm dspr2/, "$sse2_x86inc";
292 $vp9_convolve_copy_neon_asm=vp9_convolve_copy_neon; 300 $vp9_convolve_copy_neon_asm=vp9_convolve_copy_neon;
293 301
294 add_proto qw/void vp9_convolve_avg/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons t int16_t *filter_y, int y_step_q4, int w, int h"; 302 add_proto qw/void vp9_convolve_avg/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons t int16_t *filter_y, int y_step_q4, int w, int h";
295 specialize qw/vp9_convolve_avg neon_asm dspr2/, "$sse2_x86inc"; 303 specialize qw/vp9_convolve_avg neon_asm dspr2/, "$sse2_x86inc";
296 $vp9_convolve_avg_neon_asm=vp9_convolve_avg_neon; 304 $vp9_convolve_avg_neon_asm=vp9_convolve_avg_neon;
297 305
298 add_proto qw/void vp9_convolve8/, "const uint8_t *src, ptrdiff_t src_stride, uin t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i nt16_t *filter_y, int y_step_q4, int w, int h"; 306 add_proto qw/void vp9_convolve8/, "const uint8_t *src, ptrdiff_t src_stride, uin t8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const i nt16_t *filter_y, int y_step_q4, int w, int h";
299 specialize qw/vp9_convolve8 sse2 ssse3 neon_asm dspr2 avx2/; 307 specialize qw/vp9_convolve8 sse2 ssse3 neon_asm dspr2/, "$avx2_ssse3";
300 $vp9_convolve8_neon_asm=vp9_convolve8_neon; 308 $vp9_convolve8_neon_asm=vp9_convolve8_neon;
301 309
302 add_proto qw/void vp9_convolve8_horiz/, "const uint8_t *src, ptrdiff_t src_strid e, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c onst int16_t *filter_y, int y_step_q4, int w, int h"; 310 add_proto qw/void vp9_convolve8_horiz/, "const uint8_t *src, ptrdiff_t src_strid e, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, c onst int16_t *filter_y, int y_step_q4, int w, int h";
303 specialize qw/vp9_convolve8_horiz sse2 ssse3 neon_asm dspr2 avx2/; 311 specialize qw/vp9_convolve8_horiz sse2 ssse3 neon_asm dspr2/, "$avx2_ssse3";
304 $vp9_convolve8_horiz_neon_asm=vp9_convolve8_horiz_neon; 312 $vp9_convolve8_horiz_neon_asm=vp9_convolve8_horiz_neon;
305 313
306 add_proto qw/void vp9_convolve8_vert/, "const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h"; 314 add_proto qw/void vp9_convolve8_vert/, "const uint8_t *src, ptrdiff_t src_stride , uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co nst int16_t *filter_y, int y_step_q4, int w, int h";
307 specialize qw/vp9_convolve8_vert sse2 ssse3 neon_asm dspr2 avx2/; 315 specialize qw/vp9_convolve8_vert sse2 ssse3 neon_asm dspr2/, "$avx2_ssse3";
308 $vp9_convolve8_vert_neon_asm=vp9_convolve8_vert_neon; 316 $vp9_convolve8_vert_neon_asm=vp9_convolve8_vert_neon;
309 317
310 add_proto qw/void vp9_convolve8_avg/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h"; 318 add_proto qw/void vp9_convolve8_avg/, "const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, con st int16_t *filter_y, int y_step_q4, int w, int h";
311 specialize qw/vp9_convolve8_avg sse2 ssse3 neon_asm dspr2/; 319 specialize qw/vp9_convolve8_avg sse2 ssse3 neon_asm dspr2/;
312 $vp9_convolve8_avg_neon_asm=vp9_convolve8_avg_neon; 320 $vp9_convolve8_avg_neon_asm=vp9_convolve8_avg_neon;
313 321
314 add_proto qw/void vp9_convolve8_avg_horiz/, "const uint8_t *src, ptrdiff_t src_s tride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q 4, const int16_t *filter_y, int y_step_q4, int w, int h"; 322 add_proto qw/void vp9_convolve8_avg_horiz/, "const uint8_t *src, ptrdiff_t src_s tride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q 4, const int16_t *filter_y, int y_step_q4, int w, int h";
315 specialize qw/vp9_convolve8_avg_horiz sse2 ssse3 neon_asm dspr2/; 323 specialize qw/vp9_convolve8_avg_horiz sse2 ssse3 neon_asm dspr2/;
316 $vp9_convolve8_avg_horiz_neon_asm=vp9_convolve8_avg_horiz_neon; 324 $vp9_convolve8_avg_horiz_neon_asm=vp9_convolve8_avg_horiz_neon;
317 325
318 add_proto qw/void vp9_convolve8_avg_vert/, "const uint8_t *src, ptrdiff_t src_st ride, 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"; 326 add_proto qw/void vp9_convolve8_avg_vert/, "const uint8_t *src, ptrdiff_t src_st ride, 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";
319 specialize qw/vp9_convolve8_avg_vert sse2 ssse3 neon_asm dspr2/; 327 specialize qw/vp9_convolve8_avg_vert sse2 ssse3 neon_asm dspr2/;
320 $vp9_convolve8_avg_vert_neon_asm=vp9_convolve8_avg_vert_neon; 328 $vp9_convolve8_avg_vert_neon_asm=vp9_convolve8_avg_vert_neon;
321 329
322 # 330 #
323 # dct 331 # dct
324 # 332 #
325 add_proto qw/void vp9_idct4x4_1_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 333 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
326 specialize qw/vp9_idct4x4_1_add sse2 neon_asm dspr2/; 334 add_proto qw/void vp9_idct4x4_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
327 $vp9_idct4x4_1_add_neon_asm=vp9_idct4x4_1_add_neon; 335 specialize qw/vp9_idct4x4_1_add/;
328 336
329 add_proto qw/void vp9_idct4x4_16_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 337 add_proto qw/void vp9_idct4x4_16_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
330 specialize qw/vp9_idct4x4_16_add sse2 neon_asm dspr2/; 338 specialize qw/vp9_idct4x4_16_add/;
331 $vp9_idct4x4_16_add_neon_asm=vp9_idct4x4_16_add_neon; 339
332 340 add_proto qw/void vp9_idct8x8_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
333 add_proto qw/void vp9_idct8x8_1_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 341 specialize qw/vp9_idct8x8_1_add/;
334 specialize qw/vp9_idct8x8_1_add sse2 neon_asm dspr2/; 342
335 $vp9_idct8x8_1_add_neon_asm=vp9_idct8x8_1_add_neon; 343 add_proto qw/void vp9_idct8x8_64_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
336 344 specialize qw/vp9_idct8x8_64_add/;
337 add_proto qw/void vp9_idct8x8_64_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 345
338 specialize qw/vp9_idct8x8_64_add sse2 neon_asm dspr2/, "$ssse3_x86_64"; 346 add_proto qw/void vp9_idct8x8_12_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
339 $vp9_idct8x8_64_add_neon_asm=vp9_idct8x8_64_add_neon; 347 specialize qw/vp9_idct8x8_12_add/;
340 348
341 add_proto qw/void vp9_idct8x8_12_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 349 add_proto qw/void vp9_idct16x16_1_add/, "const tran_low_t *input, uint8_t *des t, int dest_stride";
342 specialize qw/vp9_idct8x8_12_add sse2 neon_asm dspr2/, "$ssse3_x86_64"; 350 specialize qw/vp9_idct16x16_1_add/;
343 $vp9_idct8x8_12_add_neon_asm=vp9_idct8x8_12_add_neon; 351
344 352 add_proto qw/void vp9_idct16x16_256_add/, "const tran_low_t *input, uint8_t *d est, int dest_stride";
345 add_proto qw/void vp9_idct16x16_1_add/, "const int16_t *input, uint8_t *dest, in t dest_stride"; 353 specialize qw/vp9_idct16x16_256_add/;
346 specialize qw/vp9_idct16x16_1_add sse2 neon_asm dspr2/; 354
347 $vp9_idct16x16_1_add_neon_asm=vp9_idct16x16_1_add_neon; 355 add_proto qw/void vp9_idct16x16_10_add/, "const tran_low_t *input, uint8_t *de st, int dest_stride";
348 356 specialize qw/vp9_idct16x16_10_add/;
349 add_proto qw/void vp9_idct16x16_256_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 357
350 specialize qw/vp9_idct16x16_256_add sse2 ssse3 neon_asm dspr2/; 358 add_proto qw/void vp9_idct32x32_1024_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride";
351 $vp9_idct16x16_256_add_neon_asm=vp9_idct16x16_256_add_neon; 359 specialize qw/vp9_idct32x32_1024_add/;
352 360
353 add_proto qw/void vp9_idct16x16_10_add/, "const int16_t *input, uint8_t *dest, i nt dest_stride"; 361 add_proto qw/void vp9_idct32x32_34_add/, "const tran_low_t *input, uint8_t *de st, int dest_stride";
354 specialize qw/vp9_idct16x16_10_add sse2 ssse3 neon_asm dspr2/; 362 specialize qw/vp9_idct32x32_34_add/;
355 $vp9_idct16x16_10_add_neon_asm=vp9_idct16x16_10_add_neon; 363
356 364 add_proto qw/void vp9_idct32x32_1_add/, "const tran_low_t *input, uint8_t *des t, int dest_stride";
357 add_proto qw/void vp9_idct32x32_1024_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 365 specialize qw/vp9_idct32x32_1_add/;
358 specialize qw/vp9_idct32x32_1024_add sse2 neon_asm dspr2/; 366
359 $vp9_idct32x32_1024_add_neon_asm=vp9_idct32x32_1024_add_neon; 367 add_proto qw/void vp9_iht4x4_16_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type";
360 368 specialize qw/vp9_iht4x4_16_add/;
361 add_proto qw/void vp9_idct32x32_34_add/, "const int16_t *input, uint8_t *dest, i nt dest_stride"; 369
362 specialize qw/vp9_idct32x32_34_add sse2 neon_asm dspr2/; 370 add_proto qw/void vp9_iht8x8_64_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type";
363 $vp9_idct32x32_34_add_neon_asm=vp9_idct32x32_1024_add_neon; 371 specialize qw/vp9_iht8x8_64_add/;
364 372
365 add_proto qw/void vp9_idct32x32_1_add/, "const int16_t *input, uint8_t *dest, in t dest_stride"; 373 add_proto qw/void vp9_iht16x16_256_add/, "const tran_low_t *input, uint8_t *ou tput, int pitch, int tx_type";
366 specialize qw/vp9_idct32x32_1_add sse2 neon_asm dspr2/; 374 specialize qw/vp9_iht16x16_256_add/;
367 $vp9_idct32x32_1_add_neon_asm=vp9_idct32x32_1_add_neon; 375
368 376 # dct and add
369 add_proto qw/void vp9_iht4x4_16_add/, "const int16_t *input, uint8_t *dest, int dest_stride, int tx_type"; 377
370 specialize qw/vp9_iht4x4_16_add sse2 neon_asm dspr2/; 378 add_proto qw/void vp9_iwht4x4_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
371 $vp9_iht4x4_16_add_neon_asm=vp9_iht4x4_16_add_neon; 379 specialize qw/vp9_iwht4x4_1_add/;
372 380
373 add_proto qw/void vp9_iht8x8_64_add/, "const int16_t *input, uint8_t *dest, int dest_stride, int tx_type"; 381 add_proto qw/void vp9_iwht4x4_16_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
374 specialize qw/vp9_iht8x8_64_add sse2 neon_asm dspr2/; 382 specialize qw/vp9_iwht4x4_16_add/;
375 $vp9_iht8x8_64_add_neon_asm=vp9_iht8x8_64_add_neon; 383 } else {
376 384 add_proto qw/void vp9_idct4x4_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
377 add_proto qw/void vp9_iht16x16_256_add/, "const int16_t *input, uint8_t *output, int pitch, int tx_type"; 385 specialize qw/vp9_idct4x4_1_add sse2 neon_asm dspr2/;
378 specialize qw/vp9_iht16x16_256_add sse2 dspr2/; 386 $vp9_idct4x4_1_add_neon_asm=vp9_idct4x4_1_add_neon;
379 387
380 # dct and add 388 add_proto qw/void vp9_idct4x4_16_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
381 389 specialize qw/vp9_idct4x4_16_add sse2 neon_asm dspr2/;
382 add_proto qw/void vp9_iwht4x4_1_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 390 $vp9_idct4x4_16_add_neon_asm=vp9_idct4x4_16_add_neon;
383 specialize qw/vp9_iwht4x4_1_add/; 391
384 392 add_proto qw/void vp9_idct8x8_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
385 add_proto qw/void vp9_iwht4x4_16_add/, "const int16_t *input, uint8_t *dest, int dest_stride"; 393 specialize qw/vp9_idct8x8_1_add sse2 neon_asm dspr2/;
386 specialize qw/vp9_iwht4x4_16_add/; 394 $vp9_idct8x8_1_add_neon_asm=vp9_idct8x8_1_add_neon;
395
396 add_proto qw/void vp9_idct8x8_64_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
397 specialize qw/vp9_idct8x8_64_add sse2 neon_asm dspr2/, "$ssse3_x86_64";
398 $vp9_idct8x8_64_add_neon_asm=vp9_idct8x8_64_add_neon;
399
400 add_proto qw/void vp9_idct8x8_12_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
401 specialize qw/vp9_idct8x8_12_add sse2 neon_asm dspr2/, "$ssse3_x86_64";
402 $vp9_idct8x8_12_add_neon_asm=vp9_idct8x8_12_add_neon;
403
404 add_proto qw/void vp9_idct16x16_1_add/, "const tran_low_t *input, uint8_t *des t, int dest_stride";
405 specialize qw/vp9_idct16x16_1_add sse2 neon_asm dspr2/;
406 $vp9_idct16x16_1_add_neon_asm=vp9_idct16x16_1_add_neon;
407
408 add_proto qw/void vp9_idct16x16_256_add/, "const tran_low_t *input, uint8_t *d est, int dest_stride";
409 specialize qw/vp9_idct16x16_256_add sse2 ssse3 neon_asm dspr2/;
410 $vp9_idct16x16_256_add_neon_asm=vp9_idct16x16_256_add_neon;
411
412 add_proto qw/void vp9_idct16x16_10_add/, "const tran_low_t *input, uint8_t *de st, int dest_stride";
413 specialize qw/vp9_idct16x16_10_add sse2 ssse3 neon_asm dspr2/;
414 $vp9_idct16x16_10_add_neon_asm=vp9_idct16x16_10_add_neon;
415
416 add_proto qw/void vp9_idct32x32_1024_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride";
417 specialize qw/vp9_idct32x32_1024_add sse2 neon_asm dspr2/;
418 $vp9_idct32x32_1024_add_neon_asm=vp9_idct32x32_1024_add_neon;
419
420 add_proto qw/void vp9_idct32x32_34_add/, "const tran_low_t *input, uint8_t *de st, int dest_stride";
421 specialize qw/vp9_idct32x32_34_add sse2 neon_asm dspr2/;
422 $vp9_idct32x32_34_add_neon_asm=vp9_idct32x32_1024_add_neon;
423
424 add_proto qw/void vp9_idct32x32_1_add/, "const tran_low_t *input, uint8_t *des t, int dest_stride";
425 specialize qw/vp9_idct32x32_1_add sse2 neon_asm dspr2/;
426 $vp9_idct32x32_1_add_neon_asm=vp9_idct32x32_1_add_neon;
427
428 add_proto qw/void vp9_iht4x4_16_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type";
429 specialize qw/vp9_iht4x4_16_add sse2 neon_asm dspr2/;
430 $vp9_iht4x4_16_add_neon_asm=vp9_iht4x4_16_add_neon;
431
432 add_proto qw/void vp9_iht8x8_64_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int tx_type";
433 specialize qw/vp9_iht8x8_64_add sse2 neon_asm dspr2/;
434 $vp9_iht8x8_64_add_neon_asm=vp9_iht8x8_64_add_neon;
435
436 add_proto qw/void vp9_iht16x16_256_add/, "const tran_low_t *input, uint8_t *ou tput, int pitch, int tx_type";
437 specialize qw/vp9_iht16x16_256_add sse2 dspr2/;
438
439 # dct and add
440
441 add_proto qw/void vp9_iwht4x4_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride";
442 specialize qw/vp9_iwht4x4_1_add/;
443
444 add_proto qw/void vp9_iwht4x4_16_add/, "const tran_low_t *input, uint8_t *dest , int dest_stride";
445 specialize qw/vp9_iwht4x4_16_add/;
446 }
447
448 # High bitdepth functions
449 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
450 #
451 # Intra prediction
452 #
453 add_proto qw/void vp9_high_d207_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
454 specialize qw/vp9_high_d207_predictor_4x4/;
455
456 add_proto qw/void vp9_high_d45_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
457 specialize qw/vp9_high_d45_predictor_4x4/;
458
459 add_proto qw/void vp9_high_d63_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
460 specialize qw/vp9_high_d63_predictor_4x4/;
461
462 add_proto qw/void vp9_high_h_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_strid e, const uint16_t *above, const uint16_t *left, int bps";
463 specialize qw/vp9_high_h_predictor_4x4/;
464
465 add_proto qw/void vp9_high_d117_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
466 specialize qw/vp9_high_d117_predictor_4x4/;
467
468 add_proto qw/void vp9_high_d135_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
469 specialize qw/vp9_high_d135_predictor_4x4/;
470
471 add_proto qw/void vp9_high_d153_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
472 specialize qw/vp9_high_d153_predictor_4x4/;
473
474 add_proto qw/void vp9_high_v_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_strid e, const uint16_t *above, const uint16_t *left, int bps";
475 specialize qw/vp9_high_v_predictor_4x4 neon/, "$sse_x86inc";
476
477 add_proto qw/void vp9_high_tm_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_stri de, const uint16_t *above, const uint16_t *left, int bps";
478 specialize qw/vp9_high_tm_predictor_4x4/, "$sse_x86inc";
479
480 add_proto qw/void vp9_high_dc_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_stri de, const uint16_t *above, const uint16_t *left, int bps";
481 specialize qw/vp9_high_dc_predictor_4x4/, "$sse_x86inc";
482
483 add_proto qw/void vp9_high_dc_top_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
484 specialize qw/vp9_high_dc_top_predictor_4x4/;
485
486 add_proto qw/void vp9_high_dc_left_predictor_4x4/, "uint16_t *dst, ptrdiff_t y _stride, const uint16_t *above, const uint16_t *left, int bps";
487 specialize qw/vp9_high_dc_left_predictor_4x4/;
488
489 add_proto qw/void vp9_high_dc_128_predictor_4x4/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
490 specialize qw/vp9_high_dc_128_predictor_4x4/;
491
492 add_proto qw/void vp9_high_d207_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
493 specialize qw/vp9_high_d207_predictor_8x8/;
494
495 add_proto qw/void vp9_high_d45_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
496 specialize qw/vp9_high_d45_predictor_8x8/;
497
498 add_proto qw/void vp9_high_d63_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
499 specialize qw/vp9_high_d63_predictor_8x8/;
500
501 add_proto qw/void vp9_high_h_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_strid e, const uint16_t *above, const uint16_t *left, int bps";
502 specialize qw/vp9_high_h_predictor_8x8/;
503
504 add_proto qw/void vp9_high_d117_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
505 specialize qw/vp9_high_d117_predictor_8x8/;
506
507 add_proto qw/void vp9_high_d135_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
508 specialize qw/vp9_high_d135_predictor_8x8/;
509
510 add_proto qw/void vp9_high_d153_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
511 specialize qw/vp9_high_d153_predictor_8x8/;
512
513 add_proto qw/void vp9_high_v_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_strid e, const uint16_t *above, const uint16_t *left, int bps";
514 specialize qw/vp9_high_v_predictor_8x8/, "$sse2_x86inc";
515
516 add_proto qw/void vp9_high_tm_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_stri de, const uint16_t *above, const uint16_t *left, int bps";
517 specialize qw/vp9_high_tm_predictor_8x8/, "$sse2_x86inc";
518
519 add_proto qw/void vp9_high_dc_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_stri de, const uint16_t *above, const uint16_t *left, int bps";
520 specialize qw/vp9_high_dc_predictor_8x8/, "$sse2_x86inc";;
521
522 add_proto qw/void vp9_high_dc_top_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
523 specialize qw/vp9_high_dc_top_predictor_8x8/;
524
525 add_proto qw/void vp9_high_dc_left_predictor_8x8/, "uint16_t *dst, ptrdiff_t y _stride, const uint16_t *above, const uint16_t *left, int bps";
526 specialize qw/vp9_high_dc_left_predictor_8x8/;
527
528 add_proto qw/void vp9_high_dc_128_predictor_8x8/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
529 specialize qw/vp9_high_dc_128_predictor_8x8/;
530
531 add_proto qw/void vp9_high_d207_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
532 specialize qw/vp9_high_d207_predictor_16x16/;
533
534 add_proto qw/void vp9_high_d45_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_s tride, const uint16_t *above, const uint16_t *left, int bps";
535 specialize qw/vp9_high_d45_predictor_16x16/;
536
537 add_proto qw/void vp9_high_d63_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_s tride, const uint16_t *above, const uint16_t *left, int bps";
538 specialize qw/vp9_high_d63_predictor_16x16/;
539
540 add_proto qw/void vp9_high_h_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
541 specialize qw/vp9_high_h_predictor_16x16/;
542
543 add_proto qw/void vp9_high_d117_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
544 specialize qw/vp9_high_d117_predictor_16x16/;
545
546 add_proto qw/void vp9_high_d135_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
547 specialize qw/vp9_high_d135_predictor_16x16/;
548
549 add_proto qw/void vp9_high_d153_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
550 specialize qw/vp9_high_d153_predictor_16x16/;
551
552 add_proto qw/void vp9_high_v_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
553 specialize qw/vp9_high_v_predictor_16x16 neon/, "$sse2_x86inc";
554
555 add_proto qw/void vp9_high_tm_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
556 specialize qw/vp9_high_tm_predictor_16x16/, "$sse2_x86_64";
557
558 add_proto qw/void vp9_high_dc_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
559 specialize qw/vp9_high_dc_predictor_16x16/, "$sse2_x86inc";
560
561 add_proto qw/void vp9_high_dc_top_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
562 specialize qw/vp9_high_dc_top_predictor_16x16/;
563
564 add_proto qw/void vp9_high_dc_left_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
565 specialize qw/vp9_high_dc_left_predictor_16x16/;
566
567 add_proto qw/void vp9_high_dc_128_predictor_16x16/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
568 specialize qw/vp9_high_dc_128_predictor_16x16/;
569
570 add_proto qw/void vp9_high_d207_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
571 specialize qw/vp9_high_d207_predictor_32x32/;
572
573 add_proto qw/void vp9_high_d45_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_s tride, const uint16_t *above, const uint16_t *left, int bps";
574 specialize qw/vp9_high_d45_predictor_32x32/;
575
576 add_proto qw/void vp9_high_d63_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_s tride, const uint16_t *above, const uint16_t *left, int bps";
577 specialize qw/vp9_high_d63_predictor_32x32/;
578
579 add_proto qw/void vp9_high_h_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
580 specialize qw/vp9_high_h_predictor_32x32/;
581
582 add_proto qw/void vp9_high_d117_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
583 specialize qw/vp9_high_d117_predictor_32x32/;
584
585 add_proto qw/void vp9_high_d135_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
586 specialize qw/vp9_high_d135_predictor_32x32/;
587
588 add_proto qw/void vp9_high_d153_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_ stride, const uint16_t *above, const uint16_t *left, int bps";
589 specialize qw/vp9_high_d153_predictor_32x32/;
590
591 add_proto qw/void vp9_high_v_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_str ide, const uint16_t *above, const uint16_t *left, int bps";
592 specialize qw/vp9_high_v_predictor_32x32/, "$sse2_x86inc";
593
594 add_proto qw/void vp9_high_tm_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
595 specialize qw/vp9_high_tm_predictor_32x32/, "$sse2_x86_64";
596
597 add_proto qw/void vp9_high_dc_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_st ride, const uint16_t *above, const uint16_t *left, int bps";
598 specialize qw/vp9_high_dc_predictor_32x32/, "$sse2_x86_64";
599
600 add_proto qw/void vp9_high_dc_top_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
601 specialize qw/vp9_high_dc_top_predictor_32x32/;
602
603 add_proto qw/void vp9_high_dc_left_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
604 specialize qw/vp9_high_dc_left_predictor_32x32/;
605
606 add_proto qw/void vp9_high_dc_128_predictor_32x32/, "uint16_t *dst, ptrdiff_t y_stride, const uint16_t *above, const uint16_t *left, int bps";
607 specialize qw/vp9_high_dc_128_predictor_32x32/;
608
609 #
610 # Sub Pixel Filters
611 #
612 add_proto qw/void vp9_high_convolve_copy/, "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, int bps";
613 specialize qw/vp9_high_convolve_copy/;
614
615 add_proto qw/void vp9_high_convolve_avg/, "const uint8_t *src, ptrdiff_t src_s tride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q 4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps";
616 specialize qw/vp9_high_convolve_avg/;
617
618 add_proto qw/void vp9_high_convolve8/, "const uint8_t *src, ptrdiff_t src_stri de, 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, int bps";
619 specialize qw/vp9_high_convolve8/, "$sse2_x86_64";
620
621 add_proto qw/void vp9_high_convolve8_horiz/, "const uint8_t *src, ptrdiff_t sr c_stride, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_ste p_q4, const int16_t *filter_y, int y_step_q4, int w, int h, int bps";
622 specialize qw/vp9_high_convolve8_horiz/, "$sse2_x86_64";
623
624 add_proto qw/void vp9_high_convolve8_vert/, "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, int bps";
625 specialize qw/vp9_high_convolve8_vert/, "$sse2_x86_64";
626
627 add_proto qw/void vp9_high_convolve8_avg/, "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, int bps";
628 specialize qw/vp9_high_convolve8_avg/, "$sse2_x86_64";
629
630 add_proto qw/void vp9_high_convolve8_avg_horiz/, "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, int bps";
631 specialize qw/vp9_high_convolve8_avg_horiz/, "$sse2_x86_64";
632
633 add_proto qw/void vp9_high_convolve8_avg_vert/, "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, int bps";
634 specialize qw/vp9_high_convolve8_avg_vert/, "$sse2_x86_64";
635
636 #
637 # dct
638 #
639 add_proto qw/void vp9_high_idct4x4_1_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride, int bd";
640 specialize qw/vp9_high_idct4x4_1_add/;
641
642 add_proto qw/void vp9_high_idct4x4_16_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
643 specialize qw/vp9_high_idct4x4_16_add/;
644
645 add_proto qw/void vp9_high_idct8x8_1_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride, int bd";
646 specialize qw/vp9_high_idct8x8_1_add/;
647
648 add_proto qw/void vp9_high_idct8x8_64_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
649 specialize qw/vp9_high_idct8x8_64_add/;
650
651 add_proto qw/void vp9_high_idct8x8_10_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
652 specialize qw/vp9_high_idct8x8_10_add/;
653
654 add_proto qw/void vp9_high_idct16x16_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
655 specialize qw/vp9_high_idct16x16_1_add/;
656
657 add_proto qw/void vp9_high_idct16x16_256_add/, "const tran_low_t *input, uint8 _t *dest, int dest_stride, int bd";
658 specialize qw/vp9_high_idct16x16_256_add/;
659
660 add_proto qw/void vp9_high_idct16x16_10_add/, "const tran_low_t *input, uint8_ t *dest, int dest_stride, int bd";
661 specialize qw/vp9_high_idct16x16_10_add/;
662
663 add_proto qw/void vp9_high_idct32x32_1024_add/, "const tran_low_t *input, uint 8_t *dest, int dest_stride, int bd";
664 specialize qw/vp9_high_idct32x32_1024_add/;
665
666 add_proto qw/void vp9_high_idct32x32_34_add/, "const tran_low_t *input, uint8_ t *dest, int dest_stride, int bd";
667 specialize qw/vp9_high_idct32x32_34_add/;
668
669 add_proto qw/void vp9_high_idct32x32_1_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
670 specialize qw/vp9_high_idct32x32_1_add/;
671
672 add_proto qw/void vp9_high_iht4x4_16_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride, int tx_type, int bd";
673 specialize qw/vp9_high_iht4x4_16_add/;
674
675 add_proto qw/void vp9_high_iht8x8_64_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride, int tx_type, int bd";
676 specialize qw/vp9_high_iht8x8_64_add/;
677
678 add_proto qw/void vp9_high_iht16x16_256_add/, "const tran_low_t *input, uint8_ t *output, int pitch, int tx_type, int bd";
679 specialize qw/vp9_high_iht16x16_256_add/;
680
681 # dct and add
682
683 add_proto qw/void vp9_high_iwht4x4_1_add/, "const tran_low_t *input, uint8_t * dest, int dest_stride, int bd";
684 specialize qw/vp9_high_iwht4x4_1_add/;
685
686 add_proto qw/void vp9_high_iwht4x4_16_add/, "const tran_low_t *input, uint8_t *dest, int dest_stride, int bd";
687 specialize qw/vp9_high_iwht4x4_16_add/;
688 }
387 689
388 # 690 #
389 # Encoder functions below this point. 691 # Encoder functions below this point.
390 # 692 #
391 if (vpx_config("CONFIG_VP9_ENCODER") eq "yes") { 693 if (vpx_config("CONFIG_VP9_ENCODER") eq "yes") {
392 694
393 695
394 # variance 696 # variance
395 add_proto qw/unsigned int vp9_variance32x16/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse"; 697 add_proto qw/unsigned int vp9_variance32x16/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
396 specialize qw/vp9_variance32x16 avx2/, "$sse2_x86inc"; 698 specialize qw/vp9_variance32x16 avx2/, "$sse2_x86inc";
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 add_proto qw/unsigned int vp9_mse16x8/, "const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; 994 add_proto qw/unsigned int vp9_mse16x8/, "const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
693 specialize qw/vp9_mse16x8/, "$sse2_x86inc"; 995 specialize qw/vp9_mse16x8/, "$sse2_x86inc";
694 996
695 add_proto qw/unsigned int vp9_mse8x8/, "const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse"; 997 add_proto qw/unsigned int vp9_mse8x8/, "const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
696 specialize qw/vp9_mse8x8/, "$sse2_x86inc"; 998 specialize qw/vp9_mse8x8/, "$sse2_x86inc";
697 999
698 add_proto qw/unsigned int vp9_get_mb_ss/, "const int16_t *"; 1000 add_proto qw/unsigned int vp9_get_mb_ss/, "const int16_t *";
699 specialize qw/vp9_get_mb_ss/, "$sse2_x86inc"; 1001 specialize qw/vp9_get_mb_ss/, "$sse2_x86inc";
700 # ENCODEMB INVOKE 1002 # ENCODEMB INVOKE
701 1003
702 add_proto qw/int64_t vp9_block_error/, "const int16_t *coeff, const int16_t *dqc oeff, intptr_t block_size, int64_t *ssz";
703 specialize qw/vp9_block_error avx2/, "$sse2_x86inc";
704
705 add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, p trdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_ t *pred_ptr, ptrdiff_t pred_stride"; 1004 add_proto qw/void vp9_subtract_block/, "int rows, int cols, int16_t *diff_ptr, p trdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_ t *pred_ptr, ptrdiff_t pred_stride";
706 specialize qw/vp9_subtract_block neon/, "$sse2_x86inc"; 1005 specialize qw/vp9_subtract_block neon/, "$sse2_x86inc";
707 1006
708 add_proto qw/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 *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"; 1007 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
709 specialize qw/vp9_quantize_fp neon/, "$ssse3_x86_64"; 1008 # the transform coefficients are held in 32-bit
1009 # values, so the assembler code for vp9_block_error can no longer be used.
1010 add_proto qw/int64_t vp9_block_error/, "const tran_low_t *coeff, const tran_lo w_t *dqcoeff, intptr_t block_size, int64_t *ssz";
1011 specialize qw/vp9_block_error/;
710 1012
711 add_proto qw/void vp9_quantize_fp_32x32/, "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"; 1013 add_proto qw/void vp9_quantize_fp/, "const tran_low_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, tran_low_t *qcoeff_ptr, tran _low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eo b_ptr, const int16_t *scan, const int16_t *iscan";
712 specialize qw/vp9_quantize_fp_32x32/, "$ssse3_x86_64"; 1014 specialize qw/vp9_quantize_fp/;
713 1015
714 add_proto qw/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 *dqco eff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan"; 1016 add_proto qw/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, 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";
715 specialize qw/vp9_quantize_b/, "$ssse3_x86_64"; 1017 specialize qw/vp9_quantize_fp_32x32/;
716 1018
717 add_proto qw/void vp9_quantize_b_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"; 1019 add_proto qw/void vp9_quantize_b/, "const tran_low_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, 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";
718 specialize qw/vp9_quantize_b_32x32/, "$ssse3_x86_64"; 1020 specialize qw/vp9_quantize_b/;
1021
1022 add_proto qw/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, c onst 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";
1023 specialize qw/vp9_quantize_b_32x32/;
1024 } else {
1025 add_proto qw/int64_t vp9_block_error/, "const tran_low_t *coeff, const tran_lo w_t *dqcoeff, intptr_t block_size, int64_t *ssz";
1026 specialize qw/vp9_block_error avx2/, "$sse2_x86inc";
1027
1028 add_proto qw/void vp9_quantize_fp/, "const tran_low_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, tran_low_t *qcoeff_ptr, tran _low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eo b_ptr, const int16_t *scan, const int16_t *iscan";
1029 specialize qw/vp9_quantize_fp neon/, "$ssse3_x86_64";
1030
1031 add_proto qw/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, 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";
1032 specialize qw/vp9_quantize_fp_32x32/, "$ssse3_x86_64";
1033
1034 add_proto qw/void vp9_quantize_b/, "const tran_low_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, 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";
1035 specialize qw/vp9_quantize_b/, "$ssse3_x86_64";
1036
1037 add_proto qw/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, c onst 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";
1038 specialize qw/vp9_quantize_b_32x32/, "$ssse3_x86_64";
1039 }
719 1040
720 # 1041 #
721 # Structured Similarity (SSIM) 1042 # Structured Similarity (SSIM)
722 # 1043 #
723 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") { 1044 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") {
724 add_proto qw/void vp9_ssim_parms_8x8/, "uint8_t *s, int sp, uint8_t *r, int rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsigne d long *sum_sq_r, unsigned long *sum_sxr"; 1045 add_proto qw/void vp9_ssim_parms_8x8/, "uint8_t *s, int sp, uint8_t *r, int rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsigne d long *sum_sq_r, unsigned long *sum_sxr";
725 specialize qw/vp9_ssim_parms_8x8/, "$sse2_x86_64"; 1046 specialize qw/vp9_ssim_parms_8x8/, "$sse2_x86_64";
726 1047
727 add_proto qw/void vp9_ssim_parms_16x16/, "uint8_t *s, int sp, uint8_t *r, in t rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsig ned long *sum_sq_r, unsigned long *sum_sxr"; 1048 add_proto qw/void vp9_ssim_parms_16x16/, "uint8_t *s, int sp, uint8_t *r, in t rp, unsigned long *sum_s, unsigned long *sum_r, unsigned long *sum_sq_s, unsig ned long *sum_sq_r, unsigned long *sum_sxr";
728 specialize qw/vp9_ssim_parms_16x16/, "$sse2_x86_64"; 1049 specialize qw/vp9_ssim_parms_16x16/, "$sse2_x86_64";
729 } 1050 }
730 1051
731 # fdct functions 1052 # fdct functions
732 add_proto qw/void vp9_fht4x4/, "const int16_t *input, int16_t *output, int strid e, int tx_type";
733 specialize qw/vp9_fht4x4 sse2/;
734 1053
735 add_proto qw/void vp9_fht8x8/, "const int16_t *input, int16_t *output, int strid e, int tx_type"; 1054 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
736 specialize qw/vp9_fht8x8 sse2/; 1055 add_proto qw/void vp9_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
1056 specialize qw/vp9_fht4x4/;
737 1057
738 add_proto qw/void vp9_fht16x16/, "const int16_t *input, int16_t *output, int str ide, int tx_type"; 1058 add_proto qw/void vp9_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
739 specialize qw/vp9_fht16x16 sse2/; 1059 specialize qw/vp9_fht8x8/;
740 1060
741 add_proto qw/void vp9_fwht4x4/, "const int16_t *input, int16_t *output, int stri de"; 1061 add_proto qw/void vp9_fht16x16/, "const int16_t *input, tran_low_t *output, in t stride, int tx_type";
742 specialize qw/vp9_fwht4x4/, "$mmx_x86inc"; 1062 specialize qw/vp9_fht16x16/;
743 1063
744 add_proto qw/void vp9_fdct4x4_1/, "const int16_t *input, int16_t *output, int st ride"; 1064 add_proto qw/void vp9_fwht4x4/, "const int16_t *input, tran_low_t *output, int stride";
745 specialize qw/vp9_fdct4x4_1 sse2/; 1065 specialize qw/vp9_fwht4x4/;
746 1066
747 add_proto qw/void vp9_fdct4x4/, "const int16_t *input, int16_t *output, int stri de"; 1067 add_proto qw/void vp9_fdct4x4_1/, "const int16_t *input, tran_low_t *output, i nt stride";
748 specialize qw/vp9_fdct4x4 sse2/; 1068 specialize qw/vp9_fdct4x4_1/;
749 1069
750 add_proto qw/void vp9_fdct8x8_1/, "const int16_t *input, int16_t *output, int st ride"; 1070 add_proto qw/void vp9_fdct4x4/, "const int16_t *input, tran_low_t *output, int stride";
751 specialize qw/vp9_fdct8x8_1 sse2 neon/; 1071 specialize qw/vp9_fdct4x4/;
752 1072
753 add_proto qw/void vp9_fdct8x8/, "const int16_t *input, int16_t *output, int stri de"; 1073 add_proto qw/void vp9_fdct8x8_1/, "const int16_t *input, tran_low_t *output, i nt stride";
754 specialize qw/vp9_fdct8x8 sse2 neon/, "$ssse3_x86_64"; 1074 specialize qw/vp9_fdct8x8_1/;
755 1075
756 add_proto qw/void vp9_fdct16x16_1/, "const int16_t *input, int16_t *output, int stride"; 1076 add_proto qw/void vp9_fdct8x8/, "const int16_t *input, tran_low_t *output, int stride";
757 specialize qw/vp9_fdct16x16_1 sse2/; 1077 specialize qw/vp9_fdct8x8/;
758 1078
759 add_proto qw/void vp9_fdct16x16/, "const int16_t *input, int16_t *output, int st ride"; 1079 add_proto qw/void vp9_fdct16x16_1/, "const int16_t *input, tran_low_t *output, int stride";
760 specialize qw/vp9_fdct16x16 sse2/; 1080 specialize qw/vp9_fdct16x16_1/;
761 1081
762 add_proto qw/void vp9_fdct32x32_1/, "const int16_t *input, int16_t *output, int stride"; 1082 add_proto qw/void vp9_fdct16x16/, "const int16_t *input, tran_low_t *output, i nt stride";
763 specialize qw/vp9_fdct32x32_1 sse2/; 1083 specialize qw/vp9_fdct16x16/;
764 1084
765 add_proto qw/void vp9_fdct32x32/, "const int16_t *input, int16_t *output, int st ride"; 1085 add_proto qw/void vp9_fdct32x32_1/, "const int16_t *input, tran_low_t *output, int stride";
766 specialize qw/vp9_fdct32x32 sse2 avx2/; 1086 specialize qw/vp9_fdct32x32_1/;
767 1087
768 add_proto qw/void vp9_fdct32x32_rd/, "const int16_t *input, int16_t *output, int stride"; 1088 add_proto qw/void vp9_fdct32x32/, "const int16_t *input, tran_low_t *output, i nt stride";
769 specialize qw/vp9_fdct32x32_rd sse2 avx2/; 1089 specialize qw/vp9_fdct32x32/;
1090
1091 add_proto qw/void vp9_fdct32x32_rd/, "const int16_t *input, tran_low_t *output , int stride";
1092 specialize qw/vp9_fdct32x32_rd/;
1093 } else {
1094 add_proto qw/void vp9_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
1095 specialize qw/vp9_fht4x4 sse2/;
1096
1097 add_proto qw/void vp9_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
1098 specialize qw/vp9_fht8x8 sse2/;
1099
1100 add_proto qw/void vp9_fht16x16/, "const int16_t *input, tran_low_t *output, in t stride, int tx_type";
1101 specialize qw/vp9_fht16x16 sse2/;
1102
1103 add_proto qw/void vp9_fwht4x4/, "const int16_t *input, tran_low_t *output, int stride";
1104 specialize qw/vp9_fwht4x4/, "$mmx_x86inc";
1105
1106 add_proto qw/void vp9_fdct4x4_1/, "const int16_t *input, tran_low_t *output, i nt stride";
1107 specialize qw/vp9_fdct4x4_1 sse2/;
1108
1109 add_proto qw/void vp9_fdct4x4/, "const int16_t *input, tran_low_t *output, int stride";
1110 specialize qw/vp9_fdct4x4 sse2/;
1111
1112 add_proto qw/void vp9_fdct8x8_1/, "const int16_t *input, tran_low_t *output, i nt stride";
1113 specialize qw/vp9_fdct8x8_1 sse2 neon/;
1114
1115 add_proto qw/void vp9_fdct8x8/, "const int16_t *input, tran_low_t *output, int stride";
1116 specialize qw/vp9_fdct8x8 sse2 neon/, "$ssse3_x86_64";
1117
1118 add_proto qw/void vp9_fdct16x16_1/, "const int16_t *input, tran_low_t *output, int stride";
1119 specialize qw/vp9_fdct16x16_1 sse2/;
1120
1121 add_proto qw/void vp9_fdct16x16/, "const int16_t *input, tran_low_t *output, i nt stride";
1122 specialize qw/vp9_fdct16x16 sse2/;
1123
1124 add_proto qw/void vp9_fdct32x32_1/, "const int16_t *input, tran_low_t *output, int stride";
1125 specialize qw/vp9_fdct32x32_1 sse2/;
1126
1127 add_proto qw/void vp9_fdct32x32/, "const int16_t *input, tran_low_t *output, i nt stride";
1128 specialize qw/vp9_fdct32x32 sse2 avx2/;
1129
1130 add_proto qw/void vp9_fdct32x32_rd/, "const int16_t *input, tran_low_t *output , int stride";
1131 specialize qw/vp9_fdct32x32_rd sse2 avx2/;
1132 }
770 1133
771 # 1134 #
772 # Motion search 1135 # Motion search
773 # 1136 #
774 add_proto qw/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"; 1137 add_proto qw/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";
775 specialize qw/vp9_full_search_sad sse3 sse4_1/; 1138 specialize qw/vp9_full_search_sad sse3 sse4_1/;
776 $vp9_full_search_sad_sse3=vp9_full_search_sadx3; 1139 $vp9_full_search_sad_sse3=vp9_full_search_sadx3;
777 $vp9_full_search_sad_sse4_1=vp9_full_search_sadx8; 1140 $vp9_full_search_sad_sse4_1=vp9_full_search_sadx8;
778 1141
779 add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct m v *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_p tr, const struct mv *center_mv"; 1142 add_proto qw/int vp9_refining_search_sad/, "const struct macroblock *x, struct m v *ref_mv, int sad_per_bit, int distance, const struct vp9_variance_vtable *fn_p tr, const struct mv *center_mv";
780 specialize qw/vp9_refining_search_sad/; 1143 specialize qw/vp9_refining_search_sad/;
781 1144
782 add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const str uct search_site_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, co nst struct mv *center_mv"; 1145 add_proto qw/int vp9_diamond_search_sad/, "const struct macroblock *x, const str uct search_site_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, co nst struct mv *center_mv";
783 specialize qw/vp9_diamond_search_sad/; 1146 specialize qw/vp9_diamond_search_sad/;
784 1147
785 add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, const stru ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_pa ram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, cons t struct mv *center_mv"; 1148 add_proto qw/int vp9_full_range_search/, "const struct macroblock *x, const stru ct search_site_config *cfg, struct mv *ref_mv, struct mv *best_mv, int search_pa ram, int sad_per_bit, int *num00, const struct vp9_variance_vtable *fn_ptr, cons t struct mv *center_mv";
786 specialize qw/vp9_full_range_search/; 1149 specialize qw/vp9_full_range_search/;
787 1150
788 add_proto qw/void vp9_temporal_filter_apply/, "uint8_t *frame1, unsigned int str ide, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int s trength, int filter_weight, unsigned int *accumulator, uint16_t *count"; 1151 add_proto qw/void vp9_temporal_filter_apply/, "uint8_t *frame1, unsigned int str ide, uint8_t *frame2, unsigned int block_width, unsigned int block_height, int s trength, int filter_weight, unsigned int *accumulator, uint16_t *count";
789 specialize qw/vp9_temporal_filter_apply sse2/; 1152 specialize qw/vp9_temporal_filter_apply sse2/;
790 1153
1154 if (vpx_config("CONFIG_VP9_HIGHBITDEPTH") eq "yes") {
1155
1156 # variance
1157 add_proto qw/unsigned int vp9_high_variance32x16/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1158 specialize qw/vp9_high_variance32x16/;
1159
1160 add_proto qw/unsigned int vp9_high_variance16x32/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1161 specialize qw/vp9_high_variance16x32/;
1162
1163 add_proto qw/unsigned int vp9_high_variance64x32/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1164 specialize qw/vp9_high_variance64x32/;
1165
1166 add_proto qw/unsigned int vp9_high_variance32x64/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1167 specialize qw/vp9_high_variance32x64/;
1168
1169 add_proto qw/unsigned int vp9_high_variance32x32/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1170 specialize qw/vp9_high_variance32x32/;
1171
1172 add_proto qw/unsigned int vp9_high_variance64x64/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1173 specialize qw/vp9_high_variance64x64/;
1174
1175 add_proto qw/unsigned int vp9_high_variance16x16/, "const uint8_t *src_ptr, in t source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1176 specialize qw/vp9_high_variance16x16/;
1177
1178 add_proto qw/unsigned int vp9_high_variance16x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1179 specialize qw/vp9_high_variance16x8/;
1180
1181 add_proto qw/unsigned int vp9_high_variance8x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1182 specialize qw/vp9_high_variance8x16/;
1183
1184 add_proto qw/unsigned int vp9_high_variance8x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1185 specialize qw/vp9_high_variance8x8/;
1186
1187 add_proto qw/unsigned int vp9_high_variance8x4/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1188 specialize qw/vp9_high_variance8x4/;
1189
1190 add_proto qw/unsigned int vp9_high_variance4x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1191 specialize qw/vp9_high_variance4x8/;
1192
1193 add_proto qw/unsigned int vp9_high_variance4x4/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1194 specialize qw/vp9_high_variance4x4/;
1195
1196 add_proto qw/void vp9_high_get8x8var/, "const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1197 specialize qw/vp9_high_get8x8var/;
1198
1199 add_proto qw/void vp9_high_get16x16var/, "const uint8_t *src_ptr, int source_s tride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1200 specialize qw/vp9_high_get16x16var/;
1201
1202 add_proto qw/unsigned int vp9_high_10_variance32x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1203 specialize qw/vp9_high_10_variance32x16/;
1204
1205 add_proto qw/unsigned int vp9_high_10_variance16x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1206 specialize qw/vp9_high_10_variance16x32/;
1207
1208 add_proto qw/unsigned int vp9_high_10_variance64x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1209 specialize qw/vp9_high_10_variance64x32/;
1210
1211 add_proto qw/unsigned int vp9_high_10_variance32x64/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1212 specialize qw/vp9_high_10_variance32x64/;
1213
1214 add_proto qw/unsigned int vp9_high_10_variance32x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1215 specialize qw/vp9_high_10_variance32x32/;
1216
1217 add_proto qw/unsigned int vp9_high_10_variance64x64/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1218 specialize qw/vp9_high_10_variance64x64/;
1219
1220 add_proto qw/unsigned int vp9_high_10_variance16x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1221 specialize qw/vp9_high_10_variance16x16/;
1222
1223 add_proto qw/unsigned int vp9_high_10_variance16x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1224 specialize qw/vp9_high_10_variance16x8/;
1225
1226 add_proto qw/unsigned int vp9_high_10_variance8x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1227 specialize qw/vp9_high_10_variance8x16/;
1228
1229 add_proto qw/unsigned int vp9_high_10_variance8x8/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1230 specialize qw/vp9_high_10_variance8x8/;
1231
1232 add_proto qw/unsigned int vp9_high_10_variance8x4/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1233 specialize qw/vp9_high_10_variance8x4/;
1234
1235 add_proto qw/unsigned int vp9_high_10_variance4x8/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1236 specialize qw/vp9_high_10_variance4x8/;
1237
1238 add_proto qw/unsigned int vp9_high_10_variance4x4/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1239 specialize qw/vp9_high_10_variance4x4/;
1240
1241 add_proto qw/void vp9_high_10_get8x8var/, "const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1242 specialize qw/vp9_high_10_get8x8var/;
1243
1244 add_proto qw/void vp9_high_10_get16x16var/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1245 specialize qw/vp9_high_10_get16x16var/;
1246
1247 add_proto qw/unsigned int vp9_high_12_variance32x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1248 specialize qw/vp9_high_12_variance32x16/;
1249
1250 add_proto qw/unsigned int vp9_high_12_variance16x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1251 specialize qw/vp9_high_12_variance16x32/;
1252
1253 add_proto qw/unsigned int vp9_high_12_variance64x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1254 specialize qw/vp9_high_12_variance64x32/;
1255
1256 add_proto qw/unsigned int vp9_high_12_variance32x64/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1257 specialize qw/vp9_high_12_variance32x64/;
1258
1259 add_proto qw/unsigned int vp9_high_12_variance32x32/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1260 specialize qw/vp9_high_12_variance32x32/;
1261
1262 add_proto qw/unsigned int vp9_high_12_variance64x64/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1263 specialize qw/vp9_high_12_variance64x64/;
1264
1265 add_proto qw/unsigned int vp9_high_12_variance16x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1266 specialize qw/vp9_high_12_variance16x16/;
1267
1268 add_proto qw/unsigned int vp9_high_12_variance16x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1269 specialize qw/vp9_high_12_variance16x8/;
1270
1271 add_proto qw/unsigned int vp9_high_12_variance8x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1272 specialize qw/vp9_high_12_variance8x16/;
1273
1274 add_proto qw/unsigned int vp9_high_12_variance8x8/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1275 specialize qw/vp9_high_12_variance8x8/;
1276
1277 add_proto qw/unsigned int vp9_high_12_variance8x4/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1278 specialize qw/vp9_high_12_variance8x4/;
1279
1280 add_proto qw/unsigned int vp9_high_12_variance4x8/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1281 specialize qw/vp9_high_12_variance4x8/;
1282
1283 add_proto qw/unsigned int vp9_high_12_variance4x4/, "const uint8_t *src_ptr, i nt source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1284 specialize qw/vp9_high_12_variance4x4/;
1285
1286 add_proto qw/void vp9_high_12_get8x8var/, "const uint8_t *src_ptr, int source_ stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1287 specialize qw/vp9_high_12_get8x8var/;
1288
1289 add_proto qw/void vp9_high_12_get16x16var/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum";
1290 specialize qw/vp9_high_12_get16x16var/;
1291
1292 add_proto qw/unsigned int vp9_high_sub_pixel_variance64x64/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1293 specialize qw/vp9_high_sub_pixel_variance64x64/;
1294
1295 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance64x64/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1296 specialize qw/vp9_high_sub_pixel_avg_variance64x64/;
1297
1298 add_proto qw/unsigned int vp9_high_sub_pixel_variance32x64/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1299 specialize qw/vp9_high_sub_pixel_variance32x64/;
1300
1301 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance32x64/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1302 specialize qw/vp9_high_sub_pixel_avg_variance32x64/;
1303
1304 add_proto qw/unsigned int vp9_high_sub_pixel_variance64x32/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1305 specialize qw/vp9_high_sub_pixel_variance64x32/;
1306
1307 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance64x32/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1308 specialize qw/vp9_high_sub_pixel_avg_variance64x32/;
1309
1310 add_proto qw/unsigned int vp9_high_sub_pixel_variance32x16/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1311 specialize qw/vp9_high_sub_pixel_variance32x16/;
1312
1313 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance32x16/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1314 specialize qw/vp9_high_sub_pixel_avg_variance32x16/;
1315
1316 add_proto qw/unsigned int vp9_high_sub_pixel_variance16x32/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1317 specialize qw/vp9_high_sub_pixel_variance16x32/;
1318
1319 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance16x32/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1320 specialize qw/vp9_high_sub_pixel_avg_variance16x32/;
1321
1322 add_proto qw/unsigned int vp9_high_sub_pixel_variance32x32/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1323 specialize qw/vp9_high_sub_pixel_variance32x32/;
1324
1325 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance32x32/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1326 specialize qw/vp9_high_sub_pixel_avg_variance32x32/;
1327
1328 add_proto qw/unsigned int vp9_high_sub_pixel_variance16x16/, "const uint8_t *s rc_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1329 specialize qw/vp9_high_sub_pixel_variance16x16/;
1330
1331 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance16x16/, "const uint8_ t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1332 specialize qw/vp9_high_sub_pixel_avg_variance16x16/;
1333
1334 add_proto qw/unsigned int vp9_high_sub_pixel_variance8x16/, "const uint8_t *sr c_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1335 specialize qw/vp9_high_sub_pixel_variance8x16/;
1336
1337 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance8x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1338 specialize qw/vp9_high_sub_pixel_avg_variance8x16/;
1339
1340 add_proto qw/unsigned int vp9_high_sub_pixel_variance16x8/, "const uint8_t *sr c_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1341 specialize qw/vp9_high_sub_pixel_variance16x8/;
1342
1343 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance16x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1344 specialize qw/vp9_high_sub_pixel_avg_variance16x8/;
1345
1346 add_proto qw/unsigned int vp9_high_sub_pixel_variance8x8/, "const uint8_t *src _ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1347 specialize qw/vp9_high_sub_pixel_variance8x8/;
1348
1349 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance8x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1350 specialize qw/vp9_high_sub_pixel_avg_variance8x8/;
1351
1352 add_proto qw/unsigned int vp9_high_sub_pixel_variance8x4/, "const uint8_t *src _ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int r ef_stride, unsigned int *sse";
1353 specialize qw/vp9_high_sub_pixel_variance8x4/;
1354
1355 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance8x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse, const uint8_t *second_pred";
1356 specialize qw/vp9_high_sub_pixel_avg_variance8x4/;
1357
1358 add_proto qw/unsigned int vp9_high_sub_pixel_variance4x8/, "const uint8_t *src _ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int r ef_stride, unsigned int *sse";
1359 specialize qw/vp9_high_sub_pixel_variance4x8/;
1360
1361 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance4x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse, const uint8_t *second_pred";
1362 specialize qw/vp9_high_sub_pixel_avg_variance4x8/;
1363
1364 add_proto qw/unsigned int vp9_high_sub_pixel_variance4x4/, "const uint8_t *src _ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1365 specialize qw/vp9_high_sub_pixel_variance4x4/;
1366
1367 add_proto qw/unsigned int vp9_high_sub_pixel_avg_variance4x4/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1368 specialize qw/vp9_high_sub_pixel_avg_variance4x4/;
1369
1370 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance64x64/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1371 specialize qw/vp9_high_10_sub_pixel_variance64x64/;
1372
1373 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance64x64/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1374 specialize qw/vp9_high_10_sub_pixel_avg_variance64x64/;
1375
1376 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance32x64/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1377 specialize qw/vp9_high_10_sub_pixel_variance32x64/;
1378
1379 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance32x64/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1380 specialize qw/vp9_high_10_sub_pixel_avg_variance32x64/;
1381
1382 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance64x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1383 specialize qw/vp9_high_10_sub_pixel_variance64x32/;
1384
1385 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance64x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1386 specialize qw/vp9_high_10_sub_pixel_avg_variance64x32/;
1387
1388 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance32x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1389 specialize qw/vp9_high_10_sub_pixel_variance32x16/;
1390
1391 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance32x16/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1392 specialize qw/vp9_high_10_sub_pixel_avg_variance32x16/;
1393
1394 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance16x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1395 specialize qw/vp9_high_10_sub_pixel_variance16x32/;
1396
1397 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance16x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1398 specialize qw/vp9_high_10_sub_pixel_avg_variance16x32/;
1399
1400 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance32x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1401 specialize qw/vp9_high_10_sub_pixel_variance32x32/;
1402
1403 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance32x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1404 specialize qw/vp9_high_10_sub_pixel_avg_variance32x32/;
1405
1406 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance16x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1407 specialize qw/vp9_high_10_sub_pixel_variance16x16/;
1408
1409 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance16x16/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1410 specialize qw/vp9_high_10_sub_pixel_avg_variance16x16/;
1411
1412 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance8x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1413 specialize qw/vp9_high_10_sub_pixel_variance8x16/;
1414
1415 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance8x16/, "const uint 8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_p tr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1416 specialize qw/vp9_high_10_sub_pixel_avg_variance8x16/;
1417
1418 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance16x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1419 specialize qw/vp9_high_10_sub_pixel_variance16x8/;
1420
1421 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance16x8/, "const uint 8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_p tr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1422 specialize qw/vp9_high_10_sub_pixel_avg_variance16x8/;
1423
1424 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance8x8/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse";
1425 specialize qw/vp9_high_10_sub_pixel_variance8x8/;
1426
1427 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance8x8/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_pt r, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1428 specialize qw/vp9_high_10_sub_pixel_avg_variance8x8/;
1429
1430 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance8x4/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1431 specialize qw/vp9_high_10_sub_pixel_variance8x4/;
1432
1433 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance8x4/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1434 specialize qw/vp9_high_10_sub_pixel_avg_variance8x4/;
1435
1436 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance4x8/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1437 specialize qw/vp9_high_10_sub_pixel_variance4x8/;
1438
1439 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance4x8/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1440 specialize qw/vp9_high_10_sub_pixel_avg_variance4x8/;
1441
1442 add_proto qw/unsigned int vp9_high_10_sub_pixel_variance4x4/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse";
1443 specialize qw/vp9_high_10_sub_pixel_variance4x4/;
1444
1445 add_proto qw/unsigned int vp9_high_10_sub_pixel_avg_variance4x4/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_pt r, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1446 specialize qw/vp9_high_10_sub_pixel_avg_variance4x4/;
1447
1448 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance64x64/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1449 specialize qw/vp9_high_12_sub_pixel_variance64x64/;
1450
1451 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance64x64/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1452 specialize qw/vp9_high_12_sub_pixel_avg_variance64x64/;
1453
1454 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance32x64/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1455 specialize qw/vp9_high_12_sub_pixel_variance32x64/;
1456
1457 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance32x64/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1458 specialize qw/vp9_high_12_sub_pixel_avg_variance32x64/;
1459
1460 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance64x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1461 specialize qw/vp9_high_12_sub_pixel_variance64x32/;
1462
1463 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance64x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1464 specialize qw/vp9_high_12_sub_pixel_avg_variance64x32/;
1465
1466 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance32x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1467 specialize qw/vp9_high_12_sub_pixel_variance32x16/;
1468
1469 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance32x16/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1470 specialize qw/vp9_high_12_sub_pixel_avg_variance32x16/;
1471
1472 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance16x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1473 specialize qw/vp9_high_12_sub_pixel_variance16x32/;
1474
1475 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance16x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1476 specialize qw/vp9_high_12_sub_pixel_avg_variance16x32/;
1477
1478 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance32x32/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1479 specialize qw/vp9_high_12_sub_pixel_variance32x32/;
1480
1481 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance32x32/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1482 specialize qw/vp9_high_12_sub_pixel_avg_variance32x32/;
1483
1484 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance16x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1485 specialize qw/vp9_high_12_sub_pixel_variance16x16/;
1486
1487 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance16x16/, "const uin t8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1488 specialize qw/vp9_high_12_sub_pixel_avg_variance16x16/;
1489
1490 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance8x16/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1491 specialize qw/vp9_high_12_sub_pixel_variance8x16/;
1492
1493 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance8x16/, "const uint 8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_p tr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1494 specialize qw/vp9_high_12_sub_pixel_avg_variance8x16/;
1495
1496 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance16x8/, "const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse";
1497 specialize qw/vp9_high_12_sub_pixel_variance16x8/;
1498
1499 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance16x8/, "const uint 8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_p tr, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1500 specialize qw/vp9_high_12_sub_pixel_avg_variance16x8/;
1501
1502 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance8x8/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse";
1503 specialize qw/vp9_high_12_sub_pixel_variance8x8/;
1504
1505 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance8x8/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_pt r, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1506 specialize qw/vp9_high_12_sub_pixel_avg_variance8x8/;
1507
1508 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance8x4/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1509 specialize qw/vp9_high_12_sub_pixel_variance8x4/;
1510
1511 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance8x4/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1512 specialize qw/vp9_high_12_sub_pixel_avg_variance8x4/;
1513
1514 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance4x8/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, in t ref_stride, unsigned int *sse";
1515 specialize qw/vp9_high_12_sub_pixel_variance4x8/;
1516
1517 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance4x8/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr , int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1518 specialize qw/vp9_high_12_sub_pixel_avg_variance4x8/;
1519
1520 add_proto qw/unsigned int vp9_high_12_sub_pixel_variance4x4/, "const uint8_t * src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, i nt ref_stride, unsigned int *sse";
1521 specialize qw/vp9_high_12_sub_pixel_variance4x4/;
1522
1523 add_proto qw/unsigned int vp9_high_12_sub_pixel_avg_variance4x4/, "const uint8 _t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_pt r, int ref_stride, unsigned int *sse, const uint8_t *second_pred";
1524 specialize qw/vp9_high_12_sub_pixel_avg_variance4x4/;
1525
1526 add_proto qw/unsigned int vp9_high_sad64x64/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1527 specialize qw/vp9_high_sad64x64/;
1528
1529 add_proto qw/unsigned int vp9_high_sad32x64/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1530 specialize qw/vp9_high_sad32x64/;
1531
1532 add_proto qw/unsigned int vp9_high_sad64x32/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1533 specialize qw/vp9_high_sad64x32/;
1534
1535 add_proto qw/unsigned int vp9_high_sad32x16/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1536 specialize qw/vp9_high_sad32x16/;
1537
1538 add_proto qw/unsigned int vp9_high_sad16x32/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1539 specialize qw/vp9_high_sad16x32/;
1540
1541 add_proto qw/unsigned int vp9_high_sad32x32/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1542 specialize qw/vp9_high_sad32x32/;
1543
1544 add_proto qw/unsigned int vp9_high_sad16x16/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int ref_stride";
1545 specialize qw/vp9_high_sad16x16/;
1546
1547 add_proto qw/unsigned int vp9_high_sad16x8/, "const uint8_t *src_ptr, int sour ce_stride, const uint8_t *ref_ptr, int ref_stride";
1548 specialize qw/vp9_high_sad16x8/;
1549
1550 add_proto qw/unsigned int vp9_high_sad8x16/, "const uint8_t *src_ptr, int sour ce_stride, const uint8_t *ref_ptr, int ref_stride";
1551 specialize qw/vp9_high_sad8x16/;
1552
1553 add_proto qw/unsigned int vp9_high_sad8x8/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride";
1554 specialize qw/vp9_high_sad8x8/;
1555
1556 add_proto qw/unsigned int vp9_high_sad8x4/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride";
1557 specialize qw/vp9_high_sad8x4/;
1558
1559 add_proto qw/unsigned int vp9_high_sad4x8/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride";
1560 specialize qw/vp9_high_sad4x8/;
1561
1562 add_proto qw/unsigned int vp9_high_sad4x4/, "const uint8_t *src_ptr, int sourc e_stride, const uint8_t *ref_ptr, int ref_stride";
1563 specialize qw/vp9_high_sad4x4/;
1564
1565 add_proto qw/unsigned int vp9_high_sad64x64_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_p red";
1566 specialize qw/vp9_high_sad64x64_avg/;
1567
1568 add_proto qw/unsigned int vp9_high_sad32x64_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1569 specialize qw/vp9_high_sad32x64_avg/;
1570
1571 add_proto qw/unsigned int vp9_high_sad64x32_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1572 specialize qw/vp9_high_sad64x32_avg/;
1573
1574 add_proto qw/unsigned int vp9_high_sad32x16_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1575 specialize qw/vp9_high_sad32x16_avg/;
1576
1577 add_proto qw/unsigned int vp9_high_sad16x32_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1578 specialize qw/vp9_high_sad16x32_avg/;
1579
1580 add_proto qw/unsigned int vp9_high_sad32x32_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_p red";
1581 specialize qw/vp9_high_sad32x32_avg/;
1582
1583 add_proto qw/unsigned int vp9_high_sad16x16_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_p red";
1584 specialize qw/vp9_high_sad16x16_avg/;
1585
1586 add_proto qw/unsigned int vp9_high_sad16x8_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1587 specialize qw/vp9_high_sad16x8_avg/;
1588
1589 add_proto qw/unsigned int vp9_high_sad8x16_avg/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pr ed";
1590 specialize qw/vp9_high_sad8x16_avg/;
1591
1592 add_proto qw/unsigned int vp9_high_sad8x8_avg/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pre d";
1593 specialize qw/vp9_high_sad8x8_avg/;
1594
1595 add_proto qw/unsigned int vp9_high_sad8x4_avg/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred ";
1596 specialize qw/vp9_high_sad8x4_avg/;
1597
1598 add_proto qw/unsigned int vp9_high_sad4x8_avg/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred ";
1599 specialize qw/vp9_high_sad4x8_avg/;
1600
1601 add_proto qw/unsigned int vp9_high_sad4x4_avg/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pre d";
1602 specialize qw/vp9_high_sad4x4_avg/;
1603
1604 add_proto qw/void vp9_high_sad64x64x3/, "const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1605 specialize qw/vp9_high_sad64x64x3/;
1606
1607 add_proto qw/void vp9_high_sad32x32x3/, "const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1608 specialize qw/vp9_high_sad32x32x3/;
1609
1610 add_proto qw/void vp9_high_sad16x16x3/, "const uint8_t *src_ptr, int source_st ride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1611 specialize qw/vp9_high_sad16x16x3/;
1612
1613 add_proto qw/void vp9_high_sad16x8x3/, "const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1614 specialize qw/vp9_high_sad16x8x3/;
1615
1616 add_proto qw/void vp9_high_sad8x16x3/, "const uint8_t *src_ptr, int source_str ide, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1617 specialize qw/vp9_high_sad8x16x3/;
1618
1619 add_proto qw/void vp9_high_sad8x8x3/, "const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1620 specialize qw/vp9_high_sad8x8x3/;
1621
1622 add_proto qw/void vp9_high_sad4x4x3/, "const uint8_t *src_ptr, int source_stri de, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array";
1623 specialize qw/vp9_high_sad4x4x3/;
1624
1625 add_proto qw/void vp9_high_sad64x64x8/, "const uint8_t *src_ptr, int src_stri de, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1626 specialize qw/vp9_high_sad64x64x8/;
1627
1628 add_proto qw/void vp9_high_sad32x32x8/, "const uint8_t *src_ptr, int src_stri de, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1629 specialize qw/vp9_high_sad32x32x8/;
1630
1631 add_proto qw/void vp9_high_sad16x16x8/, "const uint8_t *src_ptr, int src_stri de, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1632 specialize qw/vp9_high_sad16x16x8/;
1633
1634 add_proto qw/void vp9_high_sad16x8x8/, "const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1635 specialize qw/vp9_high_sad16x8x8/;
1636
1637 add_proto qw/void vp9_high_sad8x16x8/, "const uint8_t *src_ptr, int src_strid e, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1638 specialize qw/vp9_high_sad8x16x8/;
1639
1640 add_proto qw/void vp9_high_sad8x8x8/, "const uint8_t *src_ptr, int src_stride , const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1641 specialize qw/vp9_high_sad8x8x8/;
1642
1643 add_proto qw/void vp9_high_sad8x4x8/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1644 specialize qw/vp9_high_sad8x4x8/;
1645
1646 add_proto qw/void vp9_high_sad4x8x8/, "const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1647 specialize qw/vp9_high_sad4x8x8/;
1648
1649 add_proto qw/void vp9_high_sad4x4x8/, "const uint8_t *src_ptr, int src_stride , const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array";
1650 specialize qw/vp9_high_sad4x4x8/;
1651
1652 add_proto qw/void vp9_high_sad64x64x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1653 specialize qw/vp9_high_sad64x64x4d/;
1654
1655 add_proto qw/void vp9_high_sad32x64x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1656 specialize qw/vp9_high_sad32x64x4d/;
1657
1658 add_proto qw/void vp9_high_sad64x32x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1659 specialize qw/vp9_high_sad64x32x4d/;
1660
1661 add_proto qw/void vp9_high_sad32x16x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1662 specialize qw/vp9_high_sad32x16x4d/;
1663
1664 add_proto qw/void vp9_high_sad16x32x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1665 specialize qw/vp9_high_sad16x32x4d/;
1666
1667 add_proto qw/void vp9_high_sad32x32x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1668 specialize qw/vp9_high_sad32x32x4d/;
1669
1670 add_proto qw/void vp9_high_sad16x16x4d/, "const uint8_t *src_ptr, int src_str ide, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1671 specialize qw/vp9_high_sad16x16x4d/;
1672
1673 add_proto qw/void vp9_high_sad16x8x4d/, "const uint8_t *src_ptr, int src_stri de, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1674 specialize qw/vp9_high_sad16x8x4d/;
1675
1676 add_proto qw/void vp9_high_sad8x16x4d/, "const uint8_t *src_ptr, int src_stri de, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1677 specialize qw/vp9_high_sad8x16x4d/;
1678
1679 add_proto qw/void vp9_high_sad8x8x4d/, "const uint8_t *src_ptr, int src_strid e, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1680 specialize qw/vp9_high_sad8x8x4d/;
1681
1682 # TODO(jingning): need to convert these 4x8/8x4 functions into sse2 form
1683 add_proto qw/void vp9_high_sad8x4x4d/, "const uint8_t *src_ptr, int src_stride , const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1684 specialize qw/vp9_high_sad8x4x4d/;
1685
1686 add_proto qw/void vp9_high_sad4x8x4d/, "const uint8_t *src_ptr, int src_stride , const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1687 specialize qw/vp9_high_sad4x8x4d/;
1688
1689 add_proto qw/void vp9_high_sad4x4x4d/, "const uint8_t *src_ptr, int src_strid e, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array";
1690 specialize qw/vp9_high_sad4x4x4d/;
1691
1692 add_proto qw/unsigned int vp9_high_mse16x16/, "const uint8_t *src_ptr, int so urce_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1693 specialize qw/vp9_high_mse16x16/;
1694
1695 add_proto qw/unsigned int vp9_high_mse8x16/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1696 specialize qw/vp9_high_mse8x16/;
1697
1698 add_proto qw/unsigned int vp9_high_mse16x8/, "const uint8_t *src_ptr, int sou rce_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1699 specialize qw/vp9_high_mse16x8/;
1700
1701 add_proto qw/unsigned int vp9_high_mse8x8/, "const uint8_t *src_ptr, int sour ce_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1702 specialize qw/vp9_high_mse8x8/;
1703
1704 add_proto qw/unsigned int vp9_high_10_mse16x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1705 specialize qw/vp9_high_10_mse16x16/;
1706
1707 add_proto qw/unsigned int vp9_high_10_mse8x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1708 specialize qw/vp9_high_10_mse8x16/;
1709
1710 add_proto qw/unsigned int vp9_high_10_mse16x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1711 specialize qw/vp9_high_10_mse16x8/;
1712
1713 add_proto qw/unsigned int vp9_high_10_mse8x8/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1714 specialize qw/vp9_high_10_mse8x8/;
1715
1716 add_proto qw/unsigned int vp9_high_12_mse16x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1717 specialize qw/vp9_high_12_mse16x16/;
1718
1719 add_proto qw/unsigned int vp9_high_12_mse8x16/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1720 specialize qw/vp9_high_12_mse8x16/;
1721
1722 add_proto qw/unsigned int vp9_high_12_mse16x8/, "const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1723 specialize qw/vp9_high_12_mse16x8/;
1724
1725 add_proto qw/unsigned int vp9_high_12_mse8x8/, "const uint8_t *src_ptr, int s ource_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse";
1726 specialize qw/vp9_high_12_mse8x8/;
1727
1728 # ENCODEMB INVOKE
1729
1730 add_proto qw/int64_t vp9_high_block_error/, "const tran_low_t *coeff, const tr an_low_t *dqcoeff, intptr_t block_size, int64_t *ssz, int bd";
1731 specialize qw/vp9_high_block_error/;
1732
1733 add_proto qw/void vp9_high_subtract_block/, "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, ptrdiff_t pred_stride, int bd";
1734 specialize qw/vp9_high_subtract_block/;
1735
1736 add_proto qw/void vp9_high_quantize_fp/, "const tran_low_t *coeff_ptr, intptr_ t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, c onst 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";
1737 specialize qw/vp9_high_quantize_fp/;
1738
1739 add_proto qw/void vp9_high_quantize_fp_32x32/, "const tran_low_t *coeff_ptr, i ntptr_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 *qcoef f_ptr, tran_low_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, u int16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
1740 specialize qw/vp9_high_quantize_fp_32x32/;
1741
1742 add_proto qw/void vp9_high_quantize_b/, "const tran_low_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, co nst 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";
1743 specialize qw/vp9_high_quantize_b/;
1744
1745 add_proto qw/void vp9_high_quantize_b_32x32/, "const tran_low_t *coeff_ptr, in tptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_p tr, 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, ui nt16_t *eob_ptr, const int16_t *scan, const int16_t *iscan";
1746 specialize qw/vp9_high_quantize_b_32x32/;
1747
1748 #
1749 # Structured Similarity (SSIM)
1750 #
1751 if (vpx_config("CONFIG_INTERNAL_STATS") eq "yes") {
1752 add_proto qw/void vp9_high_ssim_parms_8x8/, "uint16_t *s, int sp, uint16_t * r, int rp, uint32_t *sum_s, uint32_t *sum_r, uint32_t *sum_sq_s, uint32_t *sum_s q_r, uint32_t *sum_sxr";
1753 specialize qw/vp9_high_ssim_parms_8x8/;
1754
1755 add_proto qw/void vp9_high_ssim_parms_8x8_shift/, "uint16_t *s, int sp, uint 16_t *r, int rp, uint32_t *sum_s, uint32_t *sum_r, uint32_t *sum_sq_s, uint32_t *sum_sq_r, uint32_t *sum_sxr, unsigned int bd, unsigned int shift";
1756 specialize qw/vp9_high_ssim_parms_8x8_shift/;
1757 }
1758
1759 # fdct functions
1760 add_proto qw/void vp9_high_fht4x4/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
1761 specialize qw/vp9_high_fht4x4/;
1762
1763 add_proto qw/void vp9_high_fht8x8/, "const int16_t *input, tran_low_t *output, int stride, int tx_type";
1764 specialize qw/vp9_high_fht8x8/;
1765
1766 add_proto qw/void vp9_high_fht16x16/, "const int16_t *input, tran_low_t *outpu t, int stride, int tx_type";
1767 specialize qw/vp9_high_fht16x16/;
1768
1769 add_proto qw/void vp9_high_fwht4x4/, "const int16_t *input, tran_low_t *output , int stride";
1770 specialize qw/vp9_high_fwht4x4/;
1771
1772 add_proto qw/void vp9_high_fdct4x4/, "const int16_t *input, tran_low_t *output , int stride";
1773 specialize qw/vp9_high_fdct4x4/;
1774
1775 add_proto qw/void vp9_high_fdct8x8_1/, "const int16_t *input, tran_low_t *outp ut, int stride";
1776 specialize qw/vp9_high_fdct8x8_1/;
1777
1778 add_proto qw/void vp9_high_fdct8x8/, "const int16_t *input, tran_low_t *output , int stride";
1779 specialize qw/vp9_high_fdct8x8/;
1780
1781 add_proto qw/void vp9_high_fdct16x16_1/, "const int16_t *input, tran_low_t *ou tput, int stride";
1782 specialize qw/vp9_high_fdct16x16_1/;
1783
1784 add_proto qw/void vp9_high_fdct16x16/, "const int16_t *input, tran_low_t *outp ut, int stride";
1785 specialize qw/vp9_high_fdct16x16/;
1786
1787 add_proto qw/void vp9_high_fdct32x32_1/, "const int16_t *input, tran_low_t *ou tput, int stride";
1788 specialize qw/vp9_high_fdct32x32_1/;
1789
1790 add_proto qw/void vp9_high_fdct32x32/, "const int16_t *input, tran_low_t *outp ut, int stride";
1791 specialize qw/vp9_high_fdct32x32/;
1792
1793 add_proto qw/void vp9_high_fdct32x32_rd/, "const int16_t *input, tran_low_t *o utput, int stride";
1794 specialize qw/vp9_high_fdct32x32_rd/;
1795
1796 add_proto qw/void vp9_high_temporal_filter_apply/, "uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_width, unsigned int block_height , int strength, int filter_weight, unsigned int *accumulator, uint16_t *count";
1797 specialize qw/vp9_high_temporal_filter_apply/;
1798
1799 }
1800 # End vp9_high encoder functions
1801
791 } 1802 }
792 # end encoder functions 1803 # end encoder functions
793 1; 1804 1;
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_reconintra.c ('k') | source/libvpx/vp9/common/vp9_scale.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698