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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,336 次查看
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.

标签 (4)
标记 (3)
0 项奖励
回复
2 回复数

1,301 次查看
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed file

0 项奖励
回复

1,279 次查看
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 项奖励
回复