aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorRobert Edele <yartrebo@earthlink.net>2006-03-16 19:18:18 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-03-16 19:18:18 +0000
commit059715a41cf67834c1ce153caa245c394abb82e0 (patch)
tree4f0bd7b4a00f3d06525062c6bbc9458e7b942e3c /libavcodec/i386
parentdbdaebe28dac218c965f3cd37a2bc3ad517a7019 (diff)
downloadffmpeg-059715a41cf67834c1ce153caa245c394abb82e0.tar.gz
First part of a series of speed-enchancing patches.
This one sets up a snow.h and makes snow use the dsputil function pointer framework to access the three functions that will be implemented in asm in the other parts of the patchset. Patch by Robert Edele < yartrebo AH earthlink POIS net> Original thread: Subject: [Ffmpeg-devel] [PATCH] Snow mmx+sse2 asm optimizations Date: Sun, 05 Feb 2006 12:47:14 -0500 Originally committed as revision 5172 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/mmx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/i386/mmx.h b/libavcodec/i386/mmx.h
index df4620e0ab..df1791823b 100644
--- a/libavcodec/i386/mmx.h
+++ b/libavcodec/i386/mmx.h
@@ -12,6 +12,7 @@
# define REG_d "rdx"
# define REG_D "rdi"
# define REG_S "rsi"
+# define PTR_SIZE "8"
#else
# define REG_a "eax"
# define REG_b "ebx"
@@ -19,6 +20,7 @@
# define REG_d "edx"
# define REG_D "edi"
# define REG_S "esi"
+# define PTR_SIZE "4"
#endif
/*