This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
libswresample: Change FLOAT_TO_INT32_N to need 1 register less
same speed on sandy bridge Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Michael Niedermayer
13 years ago
parent
ecfdd125f1
commit
57bc91c710
1 changed files
with
4 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-4
libswresample/x86/audio_convert.asm
+ 4
- 4
libswresample/x86/audio_convert.asm
View File
@@ -321,12 +321,12 @@ pack_6ch_%2_to_%1_u_int %+ SUFFIX
%macro FLOAT_TO_INT32_N 6
mulps %1, %5
mulps %2, %5
cvtps2dq %3, %1
cvtps2dq %4, %2
cvtps2dq %6, %1
cmpnltps %1, %5
paddd %1, %6
cvtps2dq %6, %2
cmpnltps %2, %5
paddd %1, %3
paddd %2, %4
paddd %2, %6
%endmacro
%macro INT16_TO_FLOAT_INIT 6
Write
Preview
Loading…
Cancel
Save