Am Sa., 3. Apr. 2021 um 13:40 Uhr schrieb Matias N. <mat...@imap.cc>:
> Do you see a need for something more? Not sure what other aspects of video > handling require a specific solution. When talking about cameras you also need to specify the camera output format. This is mostly a raw format YUV for mipi cameras, but can also be e.g. mjpeg or h264 when supported by the camera. A lot of cameras providing different output formats nowadays. According to your map idea. Your implementation (the driver) must ensure that data capturing is locked during accessing the buffer by the user space task. I don't know how the driver must handle this in terms of communication with the camera. When working with v4l2 you need at least 2 registered framebuffer for that reason. One is locked for capturing and the other for processing by the application. I think there are other things to consider, but that's what I have currently in my mind. > > Best, > Matias >