I am looking into a DMFT demo based on the available samples apps like SampleDeviceMFT . I am able to capture the camera buffer in the DMFT sample and the media format is in MJPG format. I need to convert the MJPG data to YUY2 format. Is there any conversion algorithm or sample code where we can convert the MJPG data to YUY2 format?