diff options
author | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-13 19:22:32 +0000 |
---|---|---|
committer | gpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-13 19:22:32 +0000 |
commit | ea9075f2c7f342807f37edb0d4bab57bb88aad52 (patch) | |
tree | 0752417fb4b184e6ba8f04b63c90c0a37d50986f /libswscale/swscale.h | |
parent | 3bfd50bdd8ac81dc47ea5412ff99ba51f3e976f2 (diff) | |
download | mpv-ea9075f2c7f342807f37edb0d4bab57bb88aad52.tar.bz2 mpv-ea9075f2c7f342807f37edb0d4bab57bb88aad52.tar.xz |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23307 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index a86ef45348..adad02f5a5 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -74,6 +74,7 @@ extern "C" { #define SWS_CPU_CAPS_MMX2 0x20000000 #define SWS_CPU_CAPS_3DNOW 0x40000000 #define SWS_CPU_CAPS_ALTIVEC 0x10000000 +#define SWS_CPU_CAPS_BFIN 0x01000000 #define SWS_MAX_REDUCE_CUTOFF 0.002 |