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

Side by Side Diff: libvpx/source/libvpx/vp8/encoder/x86/quantize_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 and patent 4 ; Use of this source code is governed by a BSD-style license and patent
5 ; grant that can be found in the LICENSE file in the root of the source 5 ; grant that can be found in the LICENSE file in the root of the source
6 ; tree. All contributing project authors may be found in the AUTHORS 6 ; tree. All contributing project authors may be found in the AUTHORS
7 ; file in the root of the source tree. 7 ; file in the root of the source tree.
8 ; 8 ;
9 9
10 10
11 %include "vpx_ports/x86_abi_support.asm" 11 %include "vpx_ports/x86_abi_support.asm"
12 %include "asm_enc_offsets.asm" 12 %include "asm_enc_offsets.asm"
13 13
14 14
15 ; void vp8_regular_quantize_b_sse2 | arg 15 ; void vp8_regular_quantize_b_sse2 | arg
16 ; (BLOCK *b, | 0 16 ; (BLOCK *b, | 0
17 ; BLOCKD *d) | 1 17 ; BLOCKD *d) | 1
18 18
19 global sym(vp8_regular_quantize_b_sse2) 19 global sym(vp8_regular_quantize_b_sse2) PRIVATE
20 sym(vp8_regular_quantize_b_sse2): 20 sym(vp8_regular_quantize_b_sse2):
21 push rbp 21 push rbp
22 mov rbp, rsp 22 mov rbp, rsp
23 SAVE_XMM 23 SAVE_XMM
24 GET_GOT rbx 24 GET_GOT rbx
25 push rsi 25 push rsi
26 26
27 %if ABI_IS_32BIT 27 %if ABI_IS_32BIT
28 push rdi 28 push rdi
29 %else 29 %else
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 ; int vp8_fast_quantize_b_impl_sse2 | arg 241 ; int vp8_fast_quantize_b_impl_sse2 | arg
242 ; (short *coeff_ptr, | 0 242 ; (short *coeff_ptr, | 0
243 ; short *qcoeff_ptr, | 1 243 ; short *qcoeff_ptr, | 1
244 ; short *dequant_ptr, | 2 244 ; short *dequant_ptr, | 2
245 ; short *inv_scan_order, | 3 245 ; short *inv_scan_order, | 3
246 ; short *round_ptr, | 4 246 ; short *round_ptr, | 4
247 ; short *quant_ptr, | 5 247 ; short *quant_ptr, | 5
248 ; short *dqcoeff_ptr) | 6 248 ; short *dqcoeff_ptr) | 6
249 249
250 global sym(vp8_fast_quantize_b_impl_sse2) 250 global sym(vp8_fast_quantize_b_impl_sse2) PRIVATE
251 sym(vp8_fast_quantize_b_impl_sse2): 251 sym(vp8_fast_quantize_b_impl_sse2):
252 push rbp 252 push rbp
253 mov rbp, rsp 253 mov rbp, rsp
254 SHADOW_ARGS_TO_STACK 7 254 SHADOW_ARGS_TO_STACK 7
255 push rsi 255 push rsi
256 push rdi 256 push rdi
257 ; end prolog 257 ; end prolog
258 258
259 mov rdx, arg(0) ;coeff_ptr 259 mov rdx, arg(0) ;coeff_ptr
260 mov rcx, arg(2) ;dequant_ptr 260 mov rcx, arg(2) ;dequant_ptr
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 zig_zag: 350 zig_zag:
351 dw 0x0000, 0x0001, 0x0004, 0x0008 351 dw 0x0000, 0x0001, 0x0004, 0x0008
352 dw 0x0005, 0x0002, 0x0003, 0x0006 352 dw 0x0005, 0x0002, 0x0003, 0x0006
353 dw 0x0009, 0x000c, 0x000d, 0x000a 353 dw 0x0009, 0x000c, 0x000d, 0x000a
354 dw 0x0007, 0x000b, 0x000e, 0x000f 354 dw 0x0007, 0x000b, 0x000e, 0x000f
355 inv_zig_zag: 355 inv_zig_zag:
356 dw 0x0001, 0x0002, 0x0006, 0x0007 356 dw 0x0001, 0x0002, 0x0006, 0x0007
357 dw 0x0003, 0x0005, 0x0008, 0x000d 357 dw 0x0003, 0x0005, 0x0008, 0x000d
358 dw 0x0004, 0x0009, 0x000c, 0x000e 358 dw 0x0004, 0x0009, 0x000c, 0x000e
359 dw 0x000a, 0x000b, 0x000f, 0x0010 359 dw 0x000a, 0x000b, 0x000f, 0x0010
OLDNEW
« no previous file with comments | « libvpx/source/libvpx/vp8/encoder/x86/quantize_mmx.asm ('k') | libvpx/source/libvpx/vp8/encoder/x86/quantize_ssse3.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698