I know that the IPU allows for setting the CSC matrix. However, from looking at the uapi ipu.h header, I do not see any ioctl that allows me to do that.
Does this mean that it is not possible to set the matrix from userspace, other than when using the mxcfb framebuffer? I want to do off-screen YUV->RGB conversions with custom matrices.
The same applies to the PxP by the way. I did not find any way to set its CSC matrices from userspace through the pxp_device.h and pxp_dma.h uapi headers.
No, this uses the MXCFB ioctls. That's the screen framebuffer. I am talking about off-screen CSC using the IPU directly. So far, I've been using the IPU_ ioctls from linux/ipu.h , just like in https://github.com/nxp-imx/imx-gst1.0-plugin/blob/MM_04.07.00_2205_L5.15.y/libs/device-2d/imx_2d_dev... .