loader_yuv.py refined