1000l
Originally committed as revision 9435 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
4e61e21c32
commit
9902f4e2e4
@ -1696,7 +1696,7 @@ static inline void RENAME(bgr24ToY)(uint8_t *dst, uint8_t *src, int width)
|
|||||||
int g= src[i*3+1];
|
int g= src[i*3+1];
|
||||||
int r= src[i*3+2];
|
int r= src[i*3+2];
|
||||||
|
|
||||||
dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT)
|
dst[i]= ((RY*r + GY*g + BY*b + (33<<(RGB2YUV_SHIFT-1)) )>>RGB2YUV_SHIFT);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user