Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_convert_yuv.c
Log Message:
hot damn! yuv -> rgb was being done TWICE every time! once with mmx/sse and
once with raw C slooow. altivec #ifdef boobie. fix fix fix
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_convert_yuv.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- evas_convert_yuv.c 27 Mar 2004 05:46:27 -0000 1.7
+++ evas_convert_yuv.c 25 May 2004 16:33:15 -0000 1.8
@@ -116,8 +116,8 @@
evas_common_convert_yuv_420p_601_rgba(DATA8 **src, DATA8 *dst, int w, int h)
{
int mmx, sse, sse2;
+
#if defined BUILD_MMX || defined BUILD_SSE
-
evas_common_cpu_can_do(&mmx, &sse, &sse2);
#endif
#ifndef BUILD_SSE
@@ -132,8 +132,8 @@
#ifdef BUILD_ALTIVEC
if (evas_common_cpu_has_feature(CPU_FEATURE_ALTIVEC))
_evas_yv12torgb_altivec(src, dst, w, h);
- else
#endif
+ else
{
#ifdef BUILD_C
static int initted = 0;
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs