Revision 97d1d009 libavcodec/i386/dsputil_mmx.h
libavcodec/i386/dsputil_mmx.h | ||
---|---|---|
23 | 23 |
#define FFMPEG_DSPUTIL_MMX_H |
24 | 24 |
|
25 | 25 |
#include <stdint.h> |
26 |
#include "dsputil.h" |
|
26 | 27 |
|
27 | 28 |
typedef struct { uint64_t a, b; } xmm_t; |
28 | 29 |
|
... | ... | |
43 | 44 |
extern const uint64_t ff_pw_64; |
44 | 45 |
extern const uint64_t ff_pw_96; |
45 | 46 |
extern const uint64_t ff_pw_128; |
47 |
extern const uint64_t ff_pw_255; |
|
46 | 48 |
|
47 | 49 |
extern const uint64_t ff_pb_1; |
48 | 50 |
extern const uint64_t ff_pb_3; |
... | ... | |
111 | 113 |
"movdqa 16"#t", "#g" \n\t" |
112 | 114 |
#endif |
113 | 115 |
|
116 |
#define MOVQ_WONE(regd) \ |
|
117 |
asm volatile ( \ |
|
118 |
"pcmpeqd %%" #regd ", %%" #regd " \n\t" \ |
|
119 |
"psrlw $15, %%" #regd ::) |
|
120 |
|
|
121 |
void dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx); |
|
122 |
|
|
114 | 123 |
#endif /* FFMPEG_DSPUTIL_MMX_H */ |
Also available in: Unified diff