summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerapad.cpp
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2023-01-20 16:22:58 +0000
committerUmang Jain <umang.jain@ideasonboard.com>2023-01-31 15:10:41 +0530
commit613d5402673eb93360f5feda3e2c9334e9bb52c5 (patch)
tree8e3d89b6db8aad77aa42315782ae3a76aa7ec97f /src/gstreamer/gstlibcamerapad.cpp
parent952ef94ed78d71625219cbc3705efe2ae6301d39 (diff)
pipeline: raspberrypi: Fix handling of colour spaces
We implement a custom validateColorSpaces method that forces all (non-raw) streams to same colour space, whilst distinguishing RGB streams from YUV ones, as the former must have the YCbCr encoding and range over-written. When we apply the colour space, we always send the full YUV version as that gets converted correctly to what our hardware drivers expect. It is also careful to check what comes back as the YCbCr information gets overwritten again on the way back. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamerapad.cpp')
0 files changed, 0 insertions, 0 deletions