diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-05-02 17:53:15 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-08-23 20:10:57 -0400 |
commit | 8eeffa8adaba69854f388c9cc19a6374409764a9 (patch) | |
tree | bbbe2d8a7f78f97eb7a784be6e8a2c80a6a029ca /libavresample/x86/util.asm | |
parent | b66e20d2aab58689f33af38a3ef5570c99f86295 (diff) |
lavr: x86: optimized 2-channel s16 to s16p conversion
Diffstat (limited to 'libavresample/x86/util.asm')
-rw-r--r-- | libavresample/x86/util.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavresample/x86/util.asm b/libavresample/x86/util.asm index ca7fde513a..0ce953159c 100644 --- a/libavresample/x86/util.asm +++ b/libavresample/x86/util.asm @@ -33,3 +33,9 @@ psrad m%1, 16 %endif %endmacro + +%macro DEINT2_PS 3 ; src0/even dst, src1/odd dst, temp + shufps m%3, m%1, m%2, q3131 + shufps m%1, m%2, q2020 + SWAP %2,%3 +%endmacro |