I would suggest to modify/extend tests from `test_cvtyuv.cpp` instead of writing yet another conversion function.