Add yuv converter, fix RGB macro for android