show to framebuffer from IPU 

cancel
Showing results for 
Search instead for 
Did you mean: 

show to framebuffer from IPU 

455 Views
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

Labels (3)
0 Kudos
1 Reply

94 Views
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 Kudos