I am using a 2456x2058 resolution Bayer format camera attached to the DM365 EVM. We have been using the capture_prev_rsz_on_the_fly_bayer demo application as a base. We have successfully been able to capture a full resolution image from our camera and resize it down to 720x480 YUV 4:2:2 format for display in continuous mode. Now, we would like to switch to single shot mode so we can create a 2456x2058 YUV 4:2:2 image. However, I'm getting confused on how to setup the drivers and the ioctl calls I need to make in my loop.
I currently have the drivers setup for single shot mode and I have the Resizer chained to the Previewer. When I make the VIDIOC_DQBUF ioctl call on the capture driver, I believe I am getting the raw Bayer image. How do I feed this through the Previwer and Resizer? What ioctl calls do I make? And how do I feed two different vertical slices so I can retain the full resolution of the image?