add labtoyuv() and remove const correctness :(