summaryrefslogtreecommitdiff
path: root/src/apps
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-05-23 12:03:37 +0100
committerNaushir Patuck <naush@raspberrypi.com>2024-06-17 10:44:40 +0100
commit6fccd324b606300807e5a73851c532914a91a45c (patch)
tree36f9a8bb6fb239c2173a2ba3858dde94530cd08f /src/apps
parent6310d5971bcdd5fa4072f56db93c7197daa09a85 (diff)
RASPBERRYPI ONLY: Handle mandatory stream flags
Look for the RAW mandatory stream flag in the pipeline handler config file. If this flag is set, it guarantees that the application will provide buffers for Unicam Image, so override the minUnicamBuffers and minTotalUnicamBuffers config parameters in the following way: - If startup drop frames are required, allocate at least 1 internal buffer. - If no startup drop frames are required, do not allocate any internal buffers. Look for the Output 0 mandatory stream flag in in the pipeline handler config file. If this flag is set, it guarantees that the application will provide buffers for the ISP, do not allocate any internal buffers for the device. Add a new rpi_apps.yaml pipeline handler config file that enables both these flags. To use the file, set the following env variable for a custom build: export LIBCAMERA_RPI_CONFIG_FILE=/usr/local/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml or for a packaged install: export LIBCAMERA_RPI_CONFIG_FILE=/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src/apps')
0 files changed, 0 insertions, 0 deletions