I have the issue to save YUV 1920x1080 data that I received from the video stream (single frame) as bitmap file. The created bitmap image has three separate gray pictures. The size of full image is correct 1920x1080
My sample code:
src.Attach(1920,1080,3,3, pFrameBuffer, 0);
err = SaveImageBMP(src,params_bmp, fileout);
I tried to use SameImageBMP function from picnic and uic_transcoder_con samples - the same result.
I am able to save YUV buffer as bitmap file using standard bitmap functionality with correct size and colors but I want to use Intel process to do this.
Any suggestion what I did wrong.
Thank you in advance,