Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoffman <mmh@pleasantst.com>2007-05-13 23:22:32 +0400
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-05-13 23:22:32 +0400
commitd3f3eea92d47c3c3250ffc7cf567ed44bf31615a (patch)
treee07786d7133e2f5ba2e991b41aaa738d7cd09092 /libswscale/swscale_internal.h
parent79d4c96a1a708f8da145121cee118c7bdd596344 (diff)
Blackfin optimized YUV420 to RGB CSC Color Space Converters.
YUV2 -> RGB BGR for 565, 555 and 888 a.k.a. 24bit color. Speed-up compared to C version compiled with -O3 187.28% Patch by Marc Hoffman %mmh A pleasantst P com% Original thread: Date: May 9, 2007 2:46 AM Subject: [FFmpeg-devel] PATCH BlackFin yuv2rgb color space conversion Originally committed as revision 23307 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 2d766f4746..85062ca2dc 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -162,6 +162,22 @@ typedef struct SwsContext{
#endif
+
+#ifdef ARCH_BFIN
+ uint32_t oy __attribute__((aligned(4)));
+ uint32_t oc __attribute__((aligned(4)));
+ uint32_t zero __attribute__((aligned(4)));
+ uint32_t cy __attribute__((aligned(4)));
+ uint32_t crv __attribute__((aligned(4)));
+ uint32_t rmask __attribute__((aligned(4)));
+ uint32_t cbu __attribute__((aligned(4)));
+ uint32_t bmask __attribute__((aligned(4)));
+ uint32_t cgu __attribute__((aligned(4)));
+ uint32_t cgv __attribute__((aligned(4)));
+ uint32_t gmask __attribute__((aligned(4)));
+#endif
+
+
} SwsContext;
//FIXME check init (where 0)