Mercurial > mplayer.hg
comparison libswscale/yuv2rgb_template.c @ 26028:afd429e00184
Discard two symbols from libswscale.
author | cehoyos |
---|---|
date | Fri, 22 Feb 2008 08:08:19 +0000 |
parents | 2ad528dd42a0 |
children | 383b83bd14c6 |
comparison
equal
deleted
inserted
replaced
26027:21ffd4958ab5 | 26028:afd429e00184 |
---|---|
141 uint8_t *py = src[0] + y*srcStride[0]; | 141 uint8_t *py = src[0] + y*srcStride[0]; |
142 uint8_t *pu = src[1] + (y>>1)*srcStride[1]; | 142 uint8_t *pu = src[1] + (y>>1)*srcStride[1]; |
143 uint8_t *pv = src[2] + (y>>1)*srcStride[2]; | 143 uint8_t *pv = src[2] + (y>>1)*srcStride[2]; |
144 long index= -h_size/2; | 144 long index= -h_size/2; |
145 | 145 |
146 b5Dither= dither8[y&1]; | 146 b5Dither= ff_dither8[y&1]; |
147 g6Dither= dither4[y&1]; | 147 g6Dither= ff_dither4[y&1]; |
148 g5Dither= dither8[y&1]; | 148 g5Dither= ff_dither8[y&1]; |
149 r5Dither= dither8[(y+1)&1]; | 149 r5Dither= ff_dither8[(y+1)&1]; |
150 /* this mmx assembly code deals with SINGLE scan line at a time, it convert 8 | 150 /* this mmx assembly code deals with SINGLE scan line at a time, it convert 8 |
151 pixels in each iteration */ | 151 pixels in each iteration */ |
152 __asm__ __volatile__ ( | 152 __asm__ __volatile__ ( |
153 /* load data for start of next scan line */ | 153 /* load data for start of next scan line */ |
154 "movd (%2, %0), %%mm0;" /* Load 4 Cb 00 00 00 00 u3 u2 u1 u0 */ | 154 "movd (%2, %0), %%mm0;" /* Load 4 Cb 00 00 00 00 u3 u2 u1 u0 */ |
236 uint8_t *py = src[0] + y*srcStride[0]; | 236 uint8_t *py = src[0] + y*srcStride[0]; |
237 uint8_t *pu = src[1] + (y>>1)*srcStride[1]; | 237 uint8_t *pu = src[1] + (y>>1)*srcStride[1]; |
238 uint8_t *pv = src[2] + (y>>1)*srcStride[2]; | 238 uint8_t *pv = src[2] + (y>>1)*srcStride[2]; |
239 long index= -h_size/2; | 239 long index= -h_size/2; |
240 | 240 |
241 b5Dither= dither8[y&1]; | 241 b5Dither= ff_dither8[y&1]; |
242 g6Dither= dither4[y&1]; | 242 g6Dither= ff_dither4[y&1]; |
243 g5Dither= dither8[y&1]; | 243 g5Dither= ff_dither8[y&1]; |
244 r5Dither= dither8[(y+1)&1]; | 244 r5Dither= ff_dither8[(y+1)&1]; |
245 /* this mmx assembly code deals with SINGLE scan line at a time, it convert 8 | 245 /* this mmx assembly code deals with SINGLE scan line at a time, it convert 8 |
246 pixels in each iteration */ | 246 pixels in each iteration */ |
247 __asm__ __volatile__ ( | 247 __asm__ __volatile__ ( |
248 /* load data for start of next scan line */ | 248 /* load data for start of next scan line */ |
249 "movd (%2, %0), %%mm0;" /* Load 4 Cb 00 00 00 00 u3 u2 u1 u0 */ | 249 "movd (%2, %0), %%mm0;" /* Load 4 Cb 00 00 00 00 u3 u2 u1 u0 */ |