Setting the IPU and PxP CSC matrices through ioctls in Linux kernel userspace (uapi) headers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting the IPU and PxP CSC matrices through ioctls in Linux kernel userspace (uapi) headers

1,305 Views
crg7475
Contributor III

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.

Labels (4)
Tags (3)
0 Kudos
Reply
2 Replies

1,270 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed file

0 Kudos
Reply

1,248 Views
crg7475
Contributor III

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... .

0 Kudos
Reply