aboutsummaryrefslogtreecommitdiff
path: root/libvpx/vp9
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-05 23:09:00 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-08-05 17:41:26 +0000
commitbbeabeb879e7fa51c6395ee7ad590617dfbd5299 (patch)
tree97adbe072efd12738b870d5d5ba353d9b6307278 /libvpx/vp9
parentd64f247f64fbb814c9ecf06a56bcb0948bfca21f (diff)
parent614a6a21483b59b4ab557785c160c8ca4722b062 (diff)
downloadlibvpx-bbeabeb879e7fa51c6395ee7ad590617dfbd5299.tar.gz
Merge "Cherry-pick "Use lrand48 on Android""
Diffstat (limited to 'libvpx/vp9')
-rw-r--r--libvpx/vp9/common/x86/vp9_postproc_mmx.asm3
-rw-r--r--libvpx/vp9/common/x86/vp9_postproc_sse2.asm3
2 files changed, 2 insertions, 4 deletions
diff --git a/libvpx/vp9/common/x86/vp9_postproc_mmx.asm b/libvpx/vp9/common/x86/vp9_postproc_mmx.asm
index c2118dbb7..5b8deef6b 100644
--- a/libvpx/vp9/common/x86/vp9_postproc_mmx.asm
+++ b/libvpx/vp9/common/x86/vp9_postproc_mmx.asm
@@ -464,7 +464,6 @@ sym(vp9_mbpost_proc_down_mmx):
; unsigned char whiteclamp[16],
; unsigned char bothclamp[16],
; unsigned int width, unsigned int height, int pitch)
-extern sym(rand)
global sym(vp9_plane_add_noise_mmx) PRIVATE
sym(vp9_plane_add_noise_mmx):
push rbp
@@ -476,7 +475,7 @@ sym(vp9_plane_add_noise_mmx):
; end prolog
.addnoise_loop:
- call sym(rand) WRT_PLT
+ call sym(LIBVPX_RAND) WRT_PLT
mov rcx, arg(1) ;noise
and rax, 0xff
add rcx, rax
diff --git a/libvpx/vp9/common/x86/vp9_postproc_sse2.asm b/libvpx/vp9/common/x86/vp9_postproc_sse2.asm
index 858fc99b6..ec8bfdb18 100644
--- a/libvpx/vp9/common/x86/vp9_postproc_sse2.asm
+++ b/libvpx/vp9/common/x86/vp9_postproc_sse2.asm
@@ -629,7 +629,6 @@ sym(vp9_mbpost_proc_across_ip_xmm):
; unsigned char whiteclamp[16],
; unsigned char bothclamp[16],
; unsigned int width, unsigned int height, int pitch)
-extern sym(rand)
global sym(vp9_plane_add_noise_wmt) PRIVATE
sym(vp9_plane_add_noise_wmt):
push rbp
@@ -641,7 +640,7 @@ sym(vp9_plane_add_noise_wmt):
; end prolog
.addnoise_loop:
- call sym(rand) WRT_PLT
+ call sym(LIBVPX_RAND) WRT_PLT
mov rcx, arg(1) ;noise
and rax, 0xff
add rcx, rax