Thanks for your work on raw CSI access. My aim is to test different sensors and hdmi input also. I have some experience on OpenMAX IL but just wanted to understand whether I must learn mmal for raw access (even if v4l2 side is implemented)
I have also read relevant topics and would like to clarify my understanding since I am not very familiar with v4l2 side.
I will try to list my understandings below and hope for your feedback
1- If I understood correctly, even if v4l2 driver is done, it will still be only for reading raw data from the sensor. (no GPU ISP involved ?)
2- And one would still need OpenMAX or MMAL components to do additional stuff (i.e feeding it to encoder
or to egl_render
3- Current way to do it is to use raspiraw (which is only available on MMAL not
on OpenMax IL), but that code will not be fully supported once v4l2 support is released.
4- In a nutshell what would be the correct approach for basing my future development for raw input + gpu accelerated encoding?
4.1- v4l2 for reading raw frames -> mmal.isp -> mmal.encode
4.2- v4l2 for reading raw frames -> mmal.encode (i.e no need for vc.isp component you have added)
4.3- v4l2 for reading raw frames-> OpenMAX IL for encoding, egl_rendering etc.. (as long as the sensor spits out compatible format)
5. If 4.2 and 4.3 both will be possible one shall use mmal if needs zero_copy (or easy usage) ; and shall use OpenMAX IL if one needs more documentation.
Sorry for the long post