How to respond to IPU return value IPU_CHECK_ERR_PROC_NO_NEED?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to respond to IPU return value IPU_CHECK_ERR_PROC_NO_NEED?

412 Views
Tarek
Senior Contributor I

Hi,

My application is running on i.MX6Q. I'm using the IPU ioctl() operations to display the video. The input and output video parameters like the resolutions, Hight, width, colour formate, ......., etc changes dynamically. Sometimes the input and output are exactly the same so a call to ioctl(fd_ipu, IPU_CHECK_TASK, &ipu_t); returns IPU_CHECK_ERR_PROC_NO_NEED which perfectly makes sense.

My questions is it possible in such situation to ask the IPU to display the video directly from the VPU decoder buffer without any conversion?

Ideally I would like the input and output buffer to be the same, but if that's not possible can I ask the IPU to DMA the video frame from VPU buffer to the display frame buffer /dev/fb1? How?

Thanks,

Tarek

PS Linux :3.0.35-1968-gd3f7f36-02004-gcb1a536

Labels (3)
0 Kudos
1 Reply

40 Views
yossishukron
Contributor III

you can just write directly to the Linux frame buffer.

0 Kudos