[libcamera-devel,0/2] Buffer format and allocation fixes
mbox series

Message ID 20211130112259.18723-1-david.plowman@raspberrypi.com
Headers show
Series
  • Buffer format and allocation fixes
Related show

Message

David Plowman Nov. 30, 2021, 11:22 a.m. UTC
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(-)