show to framebuffer from IPU 

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

show to framebuffer from IPU 

1,059 次查看
alexv
Contributor II

Hi, All!

 

I'm learning to use IPU to display images in the framebuffer.
I'm looking at the examples from this repository: https://github.com/rogeriorps/ipu-examples/
Based on these examples (imx6->rotation->example1) I have performed a series of tests and I have encountered the following problem.
The problem I have is that when there is NO rotation the image is not displayed.

The problem is caused when I call IPU_QUEUE_TASK and the input image is exactly the same of output format. To avoid it if NO rotation I skip call IPU_QUEUE_TASK. Right now I don't get the error but nothing is displayed in the framebuffer.

Is there any way to tell IPU to show what it has in its buffer in the framebuffer?

 

I'm working with the Udoo Dual board.

Kernel 3.14-1.0.x-udoo base 3.14.56 Freescale.

 

Thanks!!!

 

 

Original Attachment has been moved to: rot_ex1_2.c.zip

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

698 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

 Hi Alex,

Rotation and flip is supported by IPU, for examples one can look at

https://community.nxp.com/docs/DOC-94961

 

The maximum IPU can rotate is 1024x1024. Linux kernel splits the image to show images bigger than 1024x1024.

You can check the file linux/drivers/mxc/ipu3/ipu_device.c about the way it splits. See the "create_split_task" function.

Regards

0 项奖励
回复