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

Side by Side Diff: libvpx/source/libvpx/vp8/encoder/x86/variance_impl_mmx.asm

Issue 7655050: Define PRIVATE and add it to all global symbols so we don't export assembly functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: added patch Created 9 years, 4 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
OLDNEW
1 ; 1 ;
2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ; 3 ;
4 ; Use of this source code is governed by a BSD-style license 4 ; Use of this source code is governed by a BSD-style license
5 ; that can be found in the LICENSE file in the root of the source 5 ; that can be found in the LICENSE file in the root of the source
6 ; tree. An additional intellectual property rights grant can be found 6 ; tree. An additional intellectual property rights grant can be found
7 ; in the file PATENTS. All contributing project authors may 7 ; in the file PATENTS. All contributing project authors may
8 ; be found in the AUTHORS file in the root of the source tree. 8 ; be found in the AUTHORS file in the root of the source tree.
9 ; 9 ;
10 10
11 11
12 %include "vpx_ports/x86_abi_support.asm" 12 %include "vpx_ports/x86_abi_support.asm"
13 13
14 ;unsigned int vp8_get_mb_ss_mmx( short *src_ptr ) 14 ;unsigned int vp8_get_mb_ss_mmx( short *src_ptr )
15 global sym(vp8_get_mb_ss_mmx) 15 global sym(vp8_get_mb_ss_mmx) PRIVATE
16 sym(vp8_get_mb_ss_mmx): 16 sym(vp8_get_mb_ss_mmx):
17 push rbp 17 push rbp
18 mov rbp, rsp 18 mov rbp, rsp
19 SHADOW_ARGS_TO_STACK 7 19 SHADOW_ARGS_TO_STACK 7
20 GET_GOT rbx 20 GET_GOT rbx
21 push rsi 21 push rsi
22 push rdi 22 push rdi
23 sub rsp, 8 23 sub rsp, 8
24 ; end prolog 24 ; end prolog
25 25
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 ;unsigned int vp8_get8x8var_mmx 66 ;unsigned int vp8_get8x8var_mmx
67 ;( 67 ;(
68 ; unsigned char *src_ptr, 68 ; unsigned char *src_ptr,
69 ; int source_stride, 69 ; int source_stride,
70 ; unsigned char *ref_ptr, 70 ; unsigned char *ref_ptr,
71 ; int recon_stride, 71 ; int recon_stride,
72 ; unsigned int *SSE, 72 ; unsigned int *SSE,
73 ; int *Sum 73 ; int *Sum
74 ;) 74 ;)
75 global sym(vp8_get8x8var_mmx) 75 global sym(vp8_get8x8var_mmx) PRIVATE
76 sym(vp8_get8x8var_mmx): 76 sym(vp8_get8x8var_mmx):
77 push rbp 77 push rbp
78 mov rbp, rsp 78 mov rbp, rsp
79 SHADOW_ARGS_TO_STACK 6 79 SHADOW_ARGS_TO_STACK 6
80 push rsi 80 push rsi
81 push rdi 81 push rdi
82 push rbx 82 push rbx
83 sub rsp, 16 83 sub rsp, 16
84 ; end prolog 84 ; end prolog
85 85
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 ;unsigned int 313 ;unsigned int
314 ;vp8_get4x4var_mmx 314 ;vp8_get4x4var_mmx
315 ;( 315 ;(
316 ; unsigned char *src_ptr, 316 ; unsigned char *src_ptr,
317 ; int source_stride, 317 ; int source_stride,
318 ; unsigned char *ref_ptr, 318 ; unsigned char *ref_ptr,
319 ; int recon_stride, 319 ; int recon_stride,
320 ; unsigned int *SSE, 320 ; unsigned int *SSE,
321 ; int *Sum 321 ; int *Sum
322 ;) 322 ;)
323 global sym(vp8_get4x4var_mmx) 323 global sym(vp8_get4x4var_mmx) PRIVATE
324 sym(vp8_get4x4var_mmx): 324 sym(vp8_get4x4var_mmx):
325 push rbp 325 push rbp
326 mov rbp, rsp 326 mov rbp, rsp
327 SHADOW_ARGS_TO_STACK 6 327 SHADOW_ARGS_TO_STACK 6
328 push rsi 328 push rsi
329 push rdi 329 push rdi
330 push rbx 330 push rbx
331 sub rsp, 16 331 sub rsp, 16
332 ; end prolog 332 ; end prolog
333 333
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 426
427 427
428 ;unsigned int 428 ;unsigned int
429 ;vp8_get4x4sse_cs_mmx 429 ;vp8_get4x4sse_cs_mmx
430 ;( 430 ;(
431 ; unsigned char *src_ptr, 431 ; unsigned char *src_ptr,
432 ; int source_stride, 432 ; int source_stride,
433 ; unsigned char *ref_ptr, 433 ; unsigned char *ref_ptr,
434 ; int recon_stride 434 ; int recon_stride
435 ;) 435 ;)
436 global sym(vp8_get4x4sse_cs_mmx) 436 global sym(vp8_get4x4sse_cs_mmx) PRIVATE
437 sym(vp8_get4x4sse_cs_mmx): 437 sym(vp8_get4x4sse_cs_mmx):
438 push rbp 438 push rbp
439 mov rbp, rsp 439 mov rbp, rsp
440 SHADOW_ARGS_TO_STACK 4 440 SHADOW_ARGS_TO_STACK 4
441 push rsi 441 push rsi
442 push rdi 442 push rdi
443 push rbx 443 push rbx
444 ; end prolog 444 ; end prolog
445 445
446 446
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 ;( 515 ;(
516 ; unsigned char *ref_ptr, 516 ; unsigned char *ref_ptr,
517 ; int ref_pixels_per_line, 517 ; int ref_pixels_per_line,
518 ; unsigned char *src_ptr, 518 ; unsigned char *src_ptr,
519 ; int src_pixels_per_line, 519 ; int src_pixels_per_line,
520 ; unsigned short *HFilter, 520 ; unsigned short *HFilter,
521 ; unsigned short *VFilter, 521 ; unsigned short *VFilter,
522 ; int *sum, 522 ; int *sum,
523 ; unsigned int *sumsquared 523 ; unsigned int *sumsquared
524 ;) 524 ;)
525 global sym(vp8_filter_block2d_bil4x4_var_mmx) 525 global sym(vp8_filter_block2d_bil4x4_var_mmx) PRIVATE
526 sym(vp8_filter_block2d_bil4x4_var_mmx): 526 sym(vp8_filter_block2d_bil4x4_var_mmx):
527 push rbp 527 push rbp
528 mov rbp, rsp 528 mov rbp, rsp
529 SHADOW_ARGS_TO_STACK 8 529 SHADOW_ARGS_TO_STACK 8
530 GET_GOT rbx 530 GET_GOT rbx
531 push rsi 531 push rsi
532 push rdi 532 push rdi
533 sub rsp, 16 533 sub rsp, 16
534 ; end prolog 534 ; end prolog
535 535
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 ; unsigned char *ref_ptr, 660 ; unsigned char *ref_ptr,
661 ; int ref_pixels_per_line, 661 ; int ref_pixels_per_line,
662 ; unsigned char *src_ptr, 662 ; unsigned char *src_ptr,
663 ; int src_pixels_per_line, 663 ; int src_pixels_per_line,
664 ; unsigned int Height, 664 ; unsigned int Height,
665 ; unsigned short *HFilter, 665 ; unsigned short *HFilter,
666 ; unsigned short *VFilter, 666 ; unsigned short *VFilter,
667 ; int *sum, 667 ; int *sum,
668 ; unsigned int *sumsquared 668 ; unsigned int *sumsquared
669 ;) 669 ;)
670 global sym(vp8_filter_block2d_bil_var_mmx) 670 global sym(vp8_filter_block2d_bil_var_mmx) PRIVATE
671 sym(vp8_filter_block2d_bil_var_mmx): 671 sym(vp8_filter_block2d_bil_var_mmx):
672 push rbp 672 push rbp
673 mov rbp, rsp 673 mov rbp, rsp
674 SHADOW_ARGS_TO_STACK 9 674 SHADOW_ARGS_TO_STACK 9
675 GET_GOT rbx 675 GET_GOT rbx
676 push rsi 676 push rsi
677 push rdi 677 push rdi
678 sub rsp, 16 678 sub rsp, 16
679 ; end prolog 679 ; end prolog
680 680
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 pop rbp 843 pop rbp
844 ret 844 ret
845 845
846 ;unsigned int vp8_get16x16pred_error_mmx 846 ;unsigned int vp8_get16x16pred_error_mmx
847 ;( 847 ;(
848 ; unsigned char *src_ptr, 848 ; unsigned char *src_ptr,
849 ; int src_stride, 849 ; int src_stride,
850 ; unsigned char *ref_ptr, 850 ; unsigned char *ref_ptr,
851 ; int ref_stride 851 ; int ref_stride
852 ;) 852 ;)
853 global sym(vp8_get16x16pred_error_mmx) 853 global sym(vp8_get16x16pred_error_mmx) PRIVATE
854 sym(vp8_get16x16pred_error_mmx): 854 sym(vp8_get16x16pred_error_mmx):
855 push rbp 855 push rbp
856 mov rbp, rsp 856 mov rbp, rsp
857 SHADOW_ARGS_TO_STACK 4 857 SHADOW_ARGS_TO_STACK 4
858 GET_GOT rbx 858 GET_GOT rbx
859 push rsi 859 push rsi
860 push rdi 860 push rdi
861 sub rsp, 16 861 sub rsp, 16
862 ; end prolog 862 ; end prolog
863 863
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 pop rbp 972 pop rbp
973 ret 973 ret
974 974
975 975
976 976
977 SECTION_RODATA 977 SECTION_RODATA
978 ;short mmx_bi_rd[4] = { 64, 64, 64, 64}; 978 ;short mmx_bi_rd[4] = { 64, 64, 64, 64};
979 align 16 979 align 16
980 mmx_bi_rd: 980 mmx_bi_rd:
981 times 4 dw 64 981 times 4 dw 64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698