AnsweredAssumed Answered

IPU examples on yocto  dora_3.10.17-1.0.0_GA

Question asked by HAIZHOU LI on May 14, 2014
Latest reply on Jan 5, 2015 by rogeriopimentel

Hi all,

 

I am new to IMX6, I am working on the IPU now.

 

I got examples from https://github.com/rogeriorps/ipu-examples

My system build is from yocto dora_3.10.17-1.0.0_GA fsl-image-fb.

I tried to cross compile the resizing example based on this build.  I saw this message:


-----------------------------------------

res_ex1.c: In function 'fmt_to_bpp':

res_ex1.c:49:22: error: 'IPU_PIX_FMT_YUV444P' undeclared (first use in this function)

                 case IPU_PIX_FMT_YUV444P:

                      ^

res_ex1.c:49:22: note: each undeclared identifier is reported only once for each function it appears in

res_ex1.c: In function 'main':

res_ex1.c:76:18: error: storage size of 'task' isn't known

  struct ipu_task task;

                  ^

res_ex1.c:129:22: error: 'IPU_ALLOC' undeclared (first use in this function)

  ret = ioctl(fd_ipu, IPU_ALLOC, &task.input.paddr);

                      ^

res_ex1.c:181:22: error: 'IPU_QUEUE_TASK' undeclared (first use in this function)

  ret = ioctl(fd_ipu, IPU_QUEUE_TASK, &task);

                      ^

res_ex1.c:212:17: error: 'IPU_FREE' undeclared (first use in this function)

   ioctl(fd_ipu, IPU_FREE, &task.output.paddr);

--------------------------------------------

 

Are those examples compatible with the latest yocto build?

If not, are there some examples for latest build?

 

Thanks!

Outcomes