[libcamera-devel] [PATCH 0/2] Buffer format and allocation fixes

David Plowman david.plowman at raspberrypi.com
Tue Nov 30 12:22:57 CET 2021


Hi everyone

A couple of smallish fixes to the Raspberry Pi pipeline handler's
buffer format selection and allocation code:

1. The first commit fixes under-allocation of embedded data buffers
when an application requests a raw stream and supplies buffers for it.
(Fix actually sent to me by Naush!)

2. The second commit uses the raw stream's bit depth and packing (when
requested by the application) to determine what we select from the
sensor. We should really have been doing this all along.

Thanks!

David

David Plowman (2):
  pipeline: raspberrypi: Fix under-allocation of embedded data buffers
  pipeline: raspberrypi: Choose bit depth and packing according to raw
    stream

 .../pipeline/raspberrypi/raspberrypi.cpp      | 58 +++++++++++--------
 1 file changed, 34 insertions(+), 24 deletions(-)

-- 
2.30.2



More information about the libcamera-devel mailing list