From 57bd412cf973805fbe69ecfa8f168ad2e28311a9 Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 04 Aug 2002 20:23:19 +0000 Subject: - Removed the mlib and mmx yuv2rgb converters - Added an optimized (non-scaling !) arm4l yuv2rgb (taken from bbplay) --- (limited to 'noncore/multimedia/opieplayer2/yuv2rgb.c') diff --git a/noncore/multimedia/opieplayer2/yuv2rgb.c b/noncore/multimedia/opieplayer2/yuv2rgb.c index d1d6627..22bb4cb 100644 --- a/noncore/multimedia/opieplayer2/yuv2rgb.c +++ b/noncore/multimedia/opieplayer2/yuv2rgb.c @@ -3137,6 +3137,14 @@ yuv2rgb_factory_t* yuv2rgb_factory_init (int mode, int swapped, printf ("yuv2rgb: using medialib for colorspace transform\n"); } #endif +#ifdef __arm__ + if (this->yuv2rgb_fun == NULL) { + yuv2rgb_init_arm ( this ); + + if(this->yuv2rgb_fun != NULL) + printf("yuv2rgb: using arm4l assembler for colorspace transform\n" ); + } +#endif if (this->yuv2rgb_fun == NULL) { printf ("yuv2rgb: no accelerated colorspace conversion found\n"); yuv2rgb_c_init (this); -- cgit v0.9.0.2