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

Side by Side Diff: libvpx/source/libvpx/vp8/common/x86/postproc_sse2.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 ;void vp8_post_proc_down_and_across_xmm 14 ;void vp8_post_proc_down_and_across_xmm
15 ;( 15 ;(
16 ; unsigned char *src_ptr, 16 ; unsigned char *src_ptr,
17 ; unsigned char *dst_ptr, 17 ; unsigned char *dst_ptr,
18 ; int src_pixels_per_line, 18 ; int src_pixels_per_line,
19 ; int dst_pixels_per_line, 19 ; int dst_pixels_per_line,
20 ; int rows, 20 ; int rows,
21 ; int cols, 21 ; int cols,
22 ; int flimit 22 ; int flimit
23 ;) 23 ;)
24 global sym(vp8_post_proc_down_and_across_xmm) 24 global sym(vp8_post_proc_down_and_across_xmm) PRIVATE
25 sym(vp8_post_proc_down_and_across_xmm): 25 sym(vp8_post_proc_down_and_across_xmm):
26 push rbp 26 push rbp
27 mov rbp, rsp 27 mov rbp, rsp
28 SHADOW_ARGS_TO_STACK 7 28 SHADOW_ARGS_TO_STACK 7
29 SAVE_XMM 29 SAVE_XMM
30 GET_GOT rbx 30 GET_GOT rbx
31 push rsi 31 push rsi
32 push rdi 32 push rdi
33 ; end prolog 33 ; end prolog
34 34
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 RESTORE_XMM 244 RESTORE_XMM
245 UNSHADOW_ARGS 245 UNSHADOW_ARGS
246 pop rbp 246 pop rbp
247 ret 247 ret
248 %undef RD42 248 %undef RD42
249 249
250 250
251 ;void vp8_mbpost_proc_down_xmm(unsigned char *dst, 251 ;void vp8_mbpost_proc_down_xmm(unsigned char *dst,
252 ; int pitch, int rows, int cols,int flimit) 252 ; int pitch, int rows, int cols,int flimit)
253 extern sym(vp8_rv) 253 extern sym(vp8_rv)
254 global sym(vp8_mbpost_proc_down_xmm) 254 global sym(vp8_mbpost_proc_down_xmm) PRIVATE
255 sym(vp8_mbpost_proc_down_xmm): 255 sym(vp8_mbpost_proc_down_xmm):
256 push rbp 256 push rbp
257 mov rbp, rsp 257 mov rbp, rsp
258 SHADOW_ARGS_TO_STACK 5 258 SHADOW_ARGS_TO_STACK 5
259 SAVE_XMM 259 SAVE_XMM
260 GET_GOT rbx 260 GET_GOT rbx
261 push rsi 261 push rsi
262 push rdi 262 push rdi
263 ; end prolog 263 ; end prolog
264 264
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 RESTORE_GOT 444 RESTORE_GOT
445 RESTORE_XMM 445 RESTORE_XMM
446 UNSHADOW_ARGS 446 UNSHADOW_ARGS
447 pop rbp 447 pop rbp
448 ret 448 ret
449 %undef flimit4 449 %undef flimit4
450 450
451 451
452 ;void vp8_mbpost_proc_across_ip_xmm(unsigned char *src, 452 ;void vp8_mbpost_proc_across_ip_xmm(unsigned char *src,
453 ; int pitch, int rows, int cols,int flimit) 453 ; int pitch, int rows, int cols,int flimit)
454 global sym(vp8_mbpost_proc_across_ip_xmm) 454 global sym(vp8_mbpost_proc_across_ip_xmm) PRIVATE
455 sym(vp8_mbpost_proc_across_ip_xmm): 455 sym(vp8_mbpost_proc_across_ip_xmm):
456 push rbp 456 push rbp
457 mov rbp, rsp 457 mov rbp, rsp
458 SHADOW_ARGS_TO_STACK 5 458 SHADOW_ARGS_TO_STACK 5
459 SAVE_XMM 459 SAVE_XMM
460 GET_GOT rbx 460 GET_GOT rbx
461 push rsi 461 push rsi
462 push rdi 462 push rdi
463 ; end prolog 463 ; end prolog
464 464
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 ret 623 ret
624 %undef flimit4 624 %undef flimit4
625 625
626 626
627 ;void vp8_plane_add_noise_wmt (unsigned char *Start, unsigned char *noise, 627 ;void vp8_plane_add_noise_wmt (unsigned char *Start, unsigned char *noise,
628 ; unsigned char blackclamp[16], 628 ; unsigned char blackclamp[16],
629 ; unsigned char whiteclamp[16], 629 ; unsigned char whiteclamp[16],
630 ; unsigned char bothclamp[16], 630 ; unsigned char bothclamp[16],
631 ; unsigned int Width, unsigned int Height, int Pitch) 631 ; unsigned int Width, unsigned int Height, int Pitch)
632 extern sym(rand) 632 extern sym(rand)
633 global sym(vp8_plane_add_noise_wmt) 633 global sym(vp8_plane_add_noise_wmt) PRIVATE
634 sym(vp8_plane_add_noise_wmt): 634 sym(vp8_plane_add_noise_wmt):
635 push rbp 635 push rbp
636 mov rbp, rsp 636 mov rbp, rsp
637 SHADOW_ARGS_TO_STACK 8 637 SHADOW_ARGS_TO_STACK 8
638 GET_GOT rbx 638 GET_GOT rbx
639 push rsi 639 push rsi
640 push rdi 640 push rdi
641 ; end prolog 641 ; end prolog
642 642
643 addnoise_loop: 643 addnoise_loop:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 pop rbp 686 pop rbp
687 ret 687 ret
688 688
689 689
690 SECTION_RODATA 690 SECTION_RODATA
691 align 16 691 align 16
692 rd42: 692 rd42:
693 times 8 dw 0x04 693 times 8 dw 0x04
694 four8s: 694 four8s:
695 times 4 dd 8 695 times 4 dd 8
OLDNEW
« no previous file with comments | « libvpx/source/libvpx/vp8/common/x86/postproc_mmx.asm ('k') | libvpx/source/libvpx/vp8/common/x86/recon_mmx.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698