diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2014-08-06 07:43:41 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-08-06 19:24:57 +0200 |
commit | 6622a6cff30ff7dc56bc641bba6a17e2cda1ac82 (patch) | |
tree | 0c01ffa29795e2be28c1be11eaf6233397887dab | |
parent | 71db2d08b1f1eeda3b47564662365a7886ca5d3e (diff) | |
download | ffmpeg-6622a6cff30ff7dc56bc641bba6a17e2cda1ac82.tar.gz |
x86: dwt: better share constants
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/constants.h | 1 | ||||
-rw-r--r-- | libavcodec/x86/dwt_yasm.asm | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/x86/constants.h b/libavcodec/x86/constants.h index c85a54e773..f73a9f26ec 100644 --- a/libavcodec/x86/constants.h +++ b/libavcodec/x86/constants.h @@ -25,6 +25,7 @@ #include "libavutil/x86/asm.h" +extern const xmm_reg ff_pw_1; extern const xmm_reg ff_pw_2; extern const xmm_reg ff_pw_3; extern const xmm_reg ff_pw_4; diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index 1d8e793e70..658acc13fc 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -22,12 +22,12 @@ %include "libavutil/x86/x86util.asm" SECTION_RODATA -pw_1: times 8 dw 1 -pw_8: times 8 dw 8 -pw_16: times 8 dw 16 pw_1991: times 4 dw 9,-1 +cextern pw_1 cextern pw_2 +cextern pw_8 +cextern pw_16 section .text |