OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5fafab
)
x86/h264_weight: use appropriate register size for weight parameters
author
Hendrik Leppkes
<h.leppkes@gmail.com>
Fri, 23 Sep 2016 07:52:48 +0000
(09:52 +0200)
committer
Hendrik Leppkes
<h.leppkes@gmail.com>
Fri, 23 Sep 2016 14:40:57 +0000
(16:40 +0200)
Fixes trac 5579
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Acked-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/h264_weight.asm
patch
|
blob
|
history
diff --git
a/libavcodec/x86/h264_weight.asm
b/libavcodec/x86/h264_weight.asm
index
6c57d57
..
0975d74
100644
(file)
--- a/
libavcodec/x86/h264_weight.asm
+++ b/
libavcodec/x86/h264_weight.asm
@@
-134,16
+134,16
@@
WEIGHT_FUNC_HALF_MM 8, 8
mov off_regd, r7m
add off_regd, 1
or off_regd, 1
- add
r4
, 1
- cmp
r6d, 128
+ add
r4d
, 1
+ cmp r6d, 128
je .nonnormal
- cmp
r5
, 128
+ cmp
r5d
, 128
jne .normal
.nonnormal:
- sar
r5
, 1
- sar
r6
, 1
+ sar
r5d
, 1
+ sar
r6d
, 1
sar off_regd, 1
- sub
r4
, 1
+ sub
r4d
, 1
.normal:
%if cpuflag(ssse3)
movd m4, r5d