Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4620

Advanced users • Simple example to configure pisp and use libpisp

$
0
0
I have a media-ctl working pipeline without pisp and would like to leverage the color conversion.

After media-ctl setup, I get this dot graph:
rpi-video-dot.png
The sensor is in SBGGR10_1X10/2688x1520

- The CSI module inputs in SBGGR10_1X10/2688x1520
- The CSI module outputs in SBGGR16_1X16/2688x1520
- The PISP module inputs in SBGGR16_1X16/2688x1520
- The PISP module is supposed to be in SRGB24/2688x1520

Right now, yavta on /dev/video4 is blocked because the pisp module is not configured.

Is there a simple code example how to configure PISP?

I'm aware of libpisp at https://github.com/raspberrypi/libpisp and the closest "example" I found is https://github.com/raspberrypi/libcamer ... p/pisp.cpp. It's still some "complicated" code (2300 lines)...

Any pointer how to simply setup the input (BGGR) and output (RGB) formats of PISP and make it run?

PS: If I output directly the CSI module, yavta on /dev/video0 is not blocked.

Statistics: Posted by gregoiregentil — Tue Nov 05, 2024 1:34 am — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 4620

Trending Articles