summaryrefslogtreecommitdiff
path: root/src/py/examples
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-06-03 13:12:59 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-06-04 16:19:33 +0100
commitd284ac2d593725248e074bf9cbee2c44e76c38bd (patch)
tree6607e6d45272f496fb1e2327a9b4398b3dfd682d /src/py/examples
parentea4baaacc3250eadb929fcef59bb9ddefb012952 (diff)
libcamera: software_isp: Allow using dma-buffers from /dev/udmabuf
Allow the DmaBufAllocator used by the software ISP to use memfd() + /dev/udmabuf for the software ISP destination buffers. This is useful on Linux distributions where normal users are not allowed to access /dev/dma_heap/* while they are allowed to access /dev/udmabuf. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> # Lenovo-x13s Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/py/examples')
0 files changed, 0 insertions, 0 deletions
span> binX; uint8_t binY; /* location of top left pixel in the sensor frame */ uint16_t cropX; uint16_t cropY; /* scaling factor (so if uncropped, width*scaleX is sensorWidth) */ double scaleX; double scaleY; /* scaling of the noise compared to the native sensor mode */ double noiseFactor; /* minimum and maximum line time */ libcamera::utils::Duration minLineLength; libcamera::utils::Duration maxLineLength; /* any camera transform *not* reflected already in the camera tuning */ libcamera::Transform transform; /* minimum and maximum frame lengths in units of lines */ uint32_t minFrameLength; uint32_t maxFrameLength; /* sensitivity of this mode */ double sensitivity; /* pixel clock rate */ uint64_t pixelRate; };