summaryrefslogtreecommitdiff
path: root/test/gstreamer
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2024-11-15 10:13:31 +0000
committerDaniel Scally <dan.scally@ideasonboard.com>2024-12-04 13:54:16 +0000
commit6925d043f881259d25e16a11fbab762299574af5 (patch)
treedd393594b09cf2e3eabdabc6610a91d731704241 /test/gstreamer
parent4607866bbed346a59771f9feadac9fe7cd3793a6 (diff)
libcamera: mali-c55: Correct input/output format representation
At present we configure raw streams by looping through the pixel formats we support and finding one with an associated media bus format code that the sensor can produce. In the new representation of raw data from the kernel driver this will not work - the sensor could produce 8, 10, 12, 14 or 16 bit data and the ISP will force it to RAW16, which is the only actually supported output. To fix the issue move to simply finding a pixel format with a bayer order that matches that of the media bus format produced by the sensor. If the sensor can produce multiple formats with the same bayer order use the one with the largest bitdepth. Finally, remove the claim to support RAW formats of less than 16 bits. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Diffstat (limited to 'test/gstreamer')
0 files changed, 0 insertions, 0 deletions