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

Side by Side Diff: libvpx/source/libvpx/vp8/decoder/x86/dequantize_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 14
15 ;void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q) 15 ;void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q)
16 global sym(vp8_dequantize_b_impl_mmx) 16 global sym(vp8_dequantize_b_impl_mmx) PRIVATE
17 sym(vp8_dequantize_b_impl_mmx): 17 sym(vp8_dequantize_b_impl_mmx):
18 push rbp 18 push rbp
19 mov rbp, rsp 19 mov rbp, rsp
20 SHADOW_ARGS_TO_STACK 3 20 SHADOW_ARGS_TO_STACK 3
21 push rsi 21 push rsi
22 push rdi 22 push rdi
23 ; end prolog 23 ; end prolog
24 24
25 mov rsi, arg(0) ;sq 25 mov rsi, arg(0) ;sq
26 mov rdi, arg(1) ;dq 26 mov rdi, arg(1) ;dq
(...skipping 17 matching lines...) Expand all
44 44
45 ; begin epilog 45 ; begin epilog
46 pop rdi 46 pop rdi
47 pop rsi 47 pop rsi
48 UNSHADOW_ARGS 48 UNSHADOW_ARGS
49 pop rbp 49 pop rbp
50 ret 50 ret
51 51
52 52
53 ;void dequant_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigne d char *dest, int pitch, int stride) 53 ;void dequant_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigne d char *dest, int pitch, int stride)
54 global sym(vp8_dequant_idct_add_mmx) 54 global sym(vp8_dequant_idct_add_mmx) PRIVATE
55 sym(vp8_dequant_idct_add_mmx): 55 sym(vp8_dequant_idct_add_mmx):
56 push rbp 56 push rbp
57 mov rbp, rsp 57 mov rbp, rsp
58 SHADOW_ARGS_TO_STACK 6 58 SHADOW_ARGS_TO_STACK 6
59 GET_GOT rbx 59 GET_GOT rbx
60 push rsi 60 push rsi
61 push rdi 61 push rdi
62 ; end prolog 62 ; end prolog
63 63
64 mov rax, arg(0) ;input 64 mov rax, arg(0) ;input
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 ; begin epilog 241 ; begin epilog
242 pop rdi 242 pop rdi
243 pop rsi 243 pop rsi
244 RESTORE_GOT 244 RESTORE_GOT
245 UNSHADOW_ARGS 245 UNSHADOW_ARGS
246 pop rbp 246 pop rbp
247 ret 247 ret
248 248
249 249
250 ;void dequant_dc_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsi gned char *dest, int pitch, int stride, int Dc) 250 ;void dequant_dc_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsi gned char *dest, int pitch, int stride, int Dc)
251 global sym(vp8_dequant_dc_idct_add_mmx) 251 global sym(vp8_dequant_dc_idct_add_mmx) PRIVATE
252 sym(vp8_dequant_dc_idct_add_mmx): 252 sym(vp8_dequant_dc_idct_add_mmx):
253 push rbp 253 push rbp
254 mov rbp, rsp 254 mov rbp, rsp
255 SHADOW_ARGS_TO_STACK 7 255 SHADOW_ARGS_TO_STACK 7
256 GET_GOT rbx 256 GET_GOT rbx
257 push rsi 257 push rsi
258 push rdi 258 push rdi
259 ; end prolog 259 ; end prolog
260 260
261 mov rax, arg(0) ;input 261 mov rax, arg(0) ;input
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 SECTION_RODATA 452 SECTION_RODATA
453 align 16 453 align 16
454 x_s1sqr2: 454 x_s1sqr2:
455 times 4 dw 0x8A8C 455 times 4 dw 0x8A8C
456 align 16 456 align 16
457 x_c1sqr2less1: 457 x_c1sqr2less1:
458 times 4 dw 0x4E7B 458 times 4 dw 0x4E7B
459 align 16 459 align 16
460 fours: 460 fours:
461 times 4 dw 0x0004 461 times 4 dw 0x0004
OLDNEW
« no previous file with comments | « libvpx/source/libvpx/vp8/common/x86/subpixel_ssse3.asm ('k') | libvpx/source/libvpx/vp8/encoder/x86/dct_mmx.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698