|
|
|
@ -143,10 +143,10 @@ static inline int RENAME(yuv420_rgb16)(SwsContext *c, uint8_t* src[], int srcStr |
|
|
|
|
uint8_t *pv = src[2] + (y>>1)*srcStride[2]; |
|
|
|
|
long index= -h_size/2; |
|
|
|
|
|
|
|
|
|
b5Dither= dither8[y&1]; |
|
|
|
|
g6Dither= dither4[y&1]; |
|
|
|
|
g5Dither= dither8[y&1]; |
|
|
|
|
r5Dither= dither8[(y+1)&1]; |
|
|
|
|
b5Dither= ff_dither8[y&1]; |
|
|
|
|
g6Dither= ff_dither4[y&1]; |
|
|
|
|
g5Dither= ff_dither8[y&1]; |
|
|
|
|
r5Dither= ff_dither8[(y+1)&1]; |
|
|
|
|
/* this mmx assembly code deals with SINGLE scan line at a time, it convert 8
|
|
|
|
|
pixels in each iteration */ |
|
|
|
|
__asm__ __volatile__ ( |
|
|
|
@ -238,10 +238,10 @@ static inline int RENAME(yuv420_rgb15)(SwsContext *c, uint8_t* src[], int srcStr |
|
|
|
|
uint8_t *pv = src[2] + (y>>1)*srcStride[2]; |
|
|
|
|
long index= -h_size/2; |
|
|
|
|
|
|
|
|
|
b5Dither= dither8[y&1]; |
|
|
|
|
g6Dither= dither4[y&1]; |
|
|
|
|
g5Dither= dither8[y&1]; |
|
|
|
|
r5Dither= dither8[(y+1)&1]; |
|
|
|
|
b5Dither= ff_dither8[y&1]; |
|
|
|
|
g6Dither= ff_dither4[y&1]; |
|
|
|
|
g5Dither= ff_dither8[y&1]; |
|
|
|
|
r5Dither= ff_dither8[(y+1)&1]; |
|
|
|
|
/* this mmx assembly code deals with SINGLE scan line at a time, it convert 8
|
|
|
|
|
pixels in each iteration */ |
|
|
|
|
__asm__ __volatile__ ( |
|
|
|
|