comparison libswscale/yuv2rgb.c @ 26638:e82c55f04149

Build sparc arch specific code using the Makefile
author lu_zero
date Sun, 04 May 2008 20:19:33 +0000
parents 2f5886f0d307
children 65b8334df960
comparison
equal deleted inserted replaced
26637:e3fd577a9573 26638:e82c55f04149
37 #include "config.h" 37 #include "config.h"
38 #include "rgb2rgb.h" 38 #include "rgb2rgb.h"
39 #include "swscale.h" 39 #include "swscale.h"
40 #include "swscale_internal.h" 40 #include "swscale_internal.h"
41 41
42 #ifdef HAVE_VIS
43 #include "yuv2rgb_vis.c"
44 #endif
45
46 #ifdef CONFIG_MLIB
47 #include "yuv2rgb_mlib.c"
48 #endif
49
50 #define DITHER1XBPP // only for mmx 42 #define DITHER1XBPP // only for mmx
51 43
52 const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={ 44 const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={
53 { 1, 3, 1, 3, 1, 3, 1, 3, }, 45 { 1, 3, 1, 3, 1, 3, 1, 3, },
54 { 2, 0, 2, 0, 2, 0, 2, 0, }, 46 { 2, 0, 2, 0, 2, 0, 2, 0, },