support endianess when converting from YUYV/YVYU/UYVY/UYVY