Freescale / gstreamer-imx

GStreamer 1.0 plugins for i.MX platforms
Other
182 stars 127 forks source link

Missing supported video format #327

Open Donnyp751 opened 3 months ago

Donnyp751 commented 3 months ago

I'm running into an issue with the FOV on my system with the OV5640, and was looking through the datasheet and noticed that the first two format modes don't appear to be supported by the video source driver, and was wondering if there was a specific reason for that?

With 1080P the image is cropped from the sensor, and with 720P it's cropped, then 2x2 binned. But with SXGA there is only 2x2 binning performed, and 5Mpixel there is no scaling. From what I understand the VPU doesn't support resolutions above 1920x1080, but is there a specific reason the driver doesn't support SXGA 1280x960 which would be a 2x2 binned image (No loss of FOV)?

captureModes

My thought process is that if I could get the 1280x960 resolution frames, I could do a virtual pan (crop) to the region of interest as a 720P, whereas right now with the cropping occurring on the sensor itself, there doesn't seem to be a way to change which part of the image is cropped (like cropped region selection)