fix the bug of cv_RGB2YUV