[libcamera-devel] [PATCH v2 0/3] raspberrypi: Rework the internal buffer allocation scheme

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Nov 17 17:46:58 CET 2021


Quoting Naushir Patuck (2021-11-12 10:03:02)
> Hi,
> 
> The second version of this series changes the following over v1:
> 
> - Apply Laurent's suggestions in patch 2/3.
> - Allocate 2 internal buffers for Unicam instead of one in patch 2/3.

I'm getting curious about that VIDEO_MAX_FRAME and whether we should
just always allocate that in the V4L2VideoDevice class, and then do away
with the importBuffers(count); function altogether, as it would be
redundant ... But that's not necessarily a requriement for this series -
just thinking out loud.

Would you like this series merged? Or are we waiting on confirmation of
the symptoms/issues from Roman before we commit to these patches?

--
Kieran


> 
> Thanks,
> Naush
> 
> Naushir Patuck (3):
>   pipeline: raspberrypi: Add const qualifer in isRaw()
>   pipeline: raspberrypi: Rework the internal buffer allocation scheme
>   pipeline: raspberrypi: Increase the V4L2BufferCache slot allocations
> 
>  .../pipeline/raspberrypi/raspberrypi.cpp      | 45 ++++++++++++++-----
>  .../pipeline/raspberrypi/rpi_stream.cpp       |  8 ++++
>  2 files changed, 41 insertions(+), 12 deletions(-)
> 
> -- 
> 2.25.1
>


More information about the libcamera-devel mailing list