Understood, thanks. Digging around a bit in the raspberry pi linux repo, it looks like a good place to start would be drivers/staging/vc04_services/bcm2835-camera/ (specifically controls.c, bmc2835-camera.h, mmal-parameters.h). So I'll next read up on how to build and test.I hadn't any plans to add analog and digital gain controls to the v4l2 driver, but it can be done by anyone. Pull requests are always welcome.
There is an open offer that if someone provides a full register set in a shape that can be merged into raspiraw then I would look at merging it into the firmware. There is a half attempt at https://github.com/6by9/raspiraw/pull/21, but it's not as a new mode that I can integrate easily.
Using what framework?FPSUsername wrote: ↑Mon Sep 23, 2019 3:30 pmHello,
I developed a driver for a sensor that supports ROI modes, yet it doesn't seem that the V4L2 driver has any information regarding this.
If you did implement ROI mode, did you crop a ROI from a full frame or did you actually implement the sensor's ROI mode?
Do you have a source code that I could look at?