Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
9c9d6743
Commit
9c9d6743
authored
12 years ago
by
Ronald S. Bultje
Committed by
Yaowu Xu
12 years ago
Browse files
Options
Download
Patches
Plain Diff
Sign-extend input argument so it can be used in pointer arithmetic.
Change-Id: I6cbd4de96f9dcc783cef170bfd7652f6cbee36a2
parent
9a6972c8
v1.14.0-linphone
1.4.X
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m29-baseline
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/debargha/playground
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
stable-vp9-decoder
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
vp9-preview
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vp8/common/x86/idctllm_mmx.asm
+6
-1
vp8/common/x86/idctllm_mmx.asm
vp8/decoder/x86/dequantize_mmx.asm
+21
-2
vp8/decoder/x86/dequantize_mmx.asm
with
27 additions
and
3 deletions
vp8/common/x86/idctllm_mmx.asm
+
6
−
1
View file @
9c9d6743
...
@@ -196,7 +196,12 @@ cglobal short_idct4x4llm_1_mmx,3,3,0,inp,out,pit
...
@@ -196,7 +196,12 @@ cglobal short_idct4x4llm_1_mmx,3,3,0,inp,out,pit
;void dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, unsigned char *dst_ptr, int pitch, int stride)
;void dc_only_idct_add_mmx(short input_dc, unsigned char *pred_ptr, unsigned char *dst_ptr, int pitch, int stride)
cglobal
dc_only_idct_add_mmx
,
5
,
5
,
0
,
in_dc
,
pred
,
ds
t
,
pit
,
stride
cglobal
dc_only_idct_add_mmx
,
4
,
5
,
0
,
in_dc
,
pred
,
ds
t
,
pit
,
stride
%if ARCH_X86_64
movsxd
strideq
,
dword
stridem
%else
mov
strideq
,
stridem
%endif
pxor
m0
,
m0
pxor
m0
,
m0
movh
m5
,
in_dcq
; dc
movh
m5
,
in_dcq
; dc
...
...
This diff is collapsed.
Click to expand it.
vp8/decoder/x86/dequantize_mmx.asm
+
21
−
2
View file @
9c9d6743
...
@@ -44,7 +44,16 @@ cglobal dequantize_b_impl_mmx, 3,3,0,sq,dq,arg3
...
@@ -44,7 +44,16 @@ cglobal dequantize_b_impl_mmx, 3,3,0,sq,dq,arg3
;void dequant_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigned char *dest, int pitch, int stride)
;void dequant_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigned char *dest, int pitch, int stride)
cglobal
dequant_idct_add_mmx
,
6
,
6
,
0
,
inp
,
dq
,
pred
,
dest
,
pit
,
stride
cglobal
dequant_idct_add_mmx
,
4
,
6
,
0
,
inp
,
dq
,
pred
,
dest
,
pit
,
stride
%if ARCH_X86_64
movsxd
strideq
,
dword
stridem
movsxd
pitq
,
dword
pitm
%else
mov
strideq
,
stridem
mov
pitq
,
pitm
%endif
mova
m0
,
[
inpq
+
0
]
mova
m0
,
[
inpq
+
0
]
pmullw
m0
,
[
dqq
]
pmullw
m0
,
[
dqq
]
...
@@ -213,7 +222,17 @@ cglobal dequant_idct_add_mmx, 6,6,0,inp,dq,pred,dest,pit,stride
...
@@ -213,7 +222,17 @@ cglobal dequant_idct_add_mmx, 6,6,0,inp,dq,pred,dest,pit,stride
;void dequant_dc_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigned char *dest, int pitch, int stride, int Dc)
;void dequant_dc_idct_add_mmx(short *input, short *dq, unsigned char *pred, unsigned char *dest, int pitch, int stride, int Dc)
cglobal
dequant_dc_idct_add_mmx
,
7
,
7
,
0
,
inp
,
dq
,
pred
,
dest
,
pit
,
stride
,
Dc
cglobal
dequant_dc_idct_add_mmx
,
4
,
7
,
0
,
inp
,
dq
,
pred
,
dest
,
pit
,
stride
,
Dc
%if ARCH_X86_64
movsxd
strideq
,
dword
stridem
movsxd
pitq
,
dword
pitm
%else
mov
strideq
,
stridem
mov
pitq
,
pitm
%endif
mov
Dcq
,
Dcm
mova
m0
,
[
inpq
+
0
]
mova
m0
,
[
inpq
+
0
]
pmullw
m0
,
[
dqq
+
0
]
pmullw
m0
,
[
dqq
+
0
]
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets