pipeline: rpi: Add new stream flags for PiSP

Add the following new stream flags:

Needs16bitEndianSwap - Indicates that a 16-bit endian swap needs to be
performed on the framebuffer in software.

Needs14bitUnpack - Indicates that a CSI-2 14-bit unpacking (to 16-bits)
needs to be performed on the framebuffer in software.

These are to workaround hardware restrictions in the CFE hardware that
will be supported in a future commit.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Naushir Patuck 2025-01-13 09:24:45 +00:00 committed by Kieran Bingham
parent dccdf87af3
commit 332b04ce20

View file

@ -82,6 +82,16 @@ public:
* to be applied after ISP processing.
*/
Needs32bitConv = (1 << 4),
/*
* Indicates that the input stream needs a software 16-bit endian
* conversion to be applied before ISP processing.
*/
Needs16bitEndianSwap = (1 << 5),
/*
* Indicates that the input stream needs a software 14-bit to
* 16-bit unpacking.
*/
Needs14bitUnpack = (1 << 6),
};
using StreamFlags = Flags<StreamFlag>;