I am developing an external camera capture driver of vuforia. The driver return YUY2 as pixel format to vuforia engine through vuforia callback. I am using native vuforia engine sample app for UWP (https://library.vuforia.com/content/vuforia-library/en/articles/Solution/Native-Image-Target-Sample.html). The sample successfully calls the driver and starts the camera. But, rendering is not showing the frames properly. It shows horizontal color lines of the image. But when returning NV12 formatted frames, the sample shows the image correctly.
Is the sample targeted for NV12 format? What do I need to do in the sample to support YUY2 format?