Browse Source

x86: dwt: better share constants

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Christophe Gisquet Michael Niedermayer 11 years ago
parent
commit
6622a6cff3
2 changed files with 4 additions and 3 deletions
  1. +1
    -0
      libavcodec/x86/constants.h
  2. +3
    -3
      libavcodec/x86/dwt_yasm.asm

+ 1
- 0
libavcodec/x86/constants.h View File

@@ -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;


+ 3
- 3
libavcodec/x86/dwt_yasm.asm View File

@@ -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



Loading…
Cancel
Save