author | sandman <sandman> | 2002-08-04 20:23:19 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-08-04 20:23:19 (UTC) |
commit | 57bd412cf973805fbe69ecfa8f168ad2e28311a9 (patch) (side-by-side diff) | |
tree | 78d7bab924023bdf33a437447bb31fff52b51c32 /noncore/multimedia/opieplayer2/yuv2rgb.c | |
parent | 7bf26dd95a7bd434edc8dd5e001d8ac490f67dc3 (diff) | |
download | opie-57bd412cf973805fbe69ecfa8f168ad2e28311a9.zip opie-57bd412cf973805fbe69ecfa8f168ad2e28311a9.tar.gz opie-57bd412cf973805fbe69ecfa8f168ad2e28311a9.tar.bz2 |
- Removed the mlib and mmx yuv2rgb converters
- Added an optimized (non-scaling !) arm4l yuv2rgb (taken from bbplay)
Diffstat (limited to 'noncore/multimedia/opieplayer2/yuv2rgb.c') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/yuv2rgb.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -3138,4 +3138,12 @@ yuv2rgb_factory_t* yuv2rgb_factory_init (int mode, int swapped, } #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"); |