Closed XimingCheng closed 11 years ago
if(m_iYUVBit == 10)
{
y = (unsigned char)(pY[i] >> 2);
u = (unsigned char)(pU[i/2] >> 2);
v = (unsigned char)(pV[i/2] >> 2);
}
else
{
y = (unsigned char)pY[i];
u = (unsigned char)pU[i/2];
v = (unsigned char)pV[i/2];
}
After open 10 bit YUV file the color of the yuv is wrong