summaryrefslogtreecommitdiff
path: root/src/py/examples/simple-capture.py
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2023-09-21 18:55:48 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-09-27 14:43:38 +0300
commitb60a5c34fb92fc1896079a195d8bfea3b40d49df (patch)
tree1bdb9f32a941463c858a06af12a00d92cfa6277a /src/py/examples/simple-capture.py
parent723c0abb40f9cfe68373a3b6d2ced45885db7239 (diff)
libcamera: rpi: Change default stream formats
Switch to XRGB8888 as a default Viewfinder role output format, this is a more correct description of the ISP hardware output, and what is accepted by the Raspberry Pi hardware. Switch to YUV420 as a default output format for everything else, as this format is best supported by encoding (e.g. H.264, JPEG) sinks on the Raspberry Pi platform. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/py/examples/simple-capture.py')
0 files changed, 0 insertions, 0 deletions