AnsweredAssumed Answered

IPU overlay for iMX6Q

Question asked by Tarek El-Sherbiny on Nov 6, 2012
Latest reply on Mar 26, 2013 by Karina Valencia Aguilar
Branched to a new discussion

Hi,

 

I've enabled the IPU overlay for mxc_ipudev_test by modifying the ipudev_config_file.

The test fails with the following messages printed:

How do I setup the IPU overlay correctly?

 

root@imx6qsabrelite:~# ./mxc_ipudev_test -C ipudev_config_file wall-1024x768-565.rgb

 

 

Get config from config file ipudev_config_file:

 

 

priority = 0

task_id = 0

timeout = 1000

fcount = 50

loop_cnt = 1

in_width = 320

in_height = 240

in_fmt = I420

in_posx = 0

in_posy = 0

in_crop_w = 0

in_crop_h = 0

deinterlace_en = 0

motion_sel = 0

overlay_en = 1

ov_width = 320

ov_height = 240

ov_fmt = I420

ov_posx = 0

ov_posy = 0

ov_crop_w = 32

ov_crop_h = 240

alpha_mode = 1

alpha_value = 0

colorkey_en = 0

colorkey_value = 0x555555

out_width = 1024

out_height = 768

out_fmt = UYVY

out_rot = 0

out_posx = 0

out_posy = 0

out_crop_w = 0

out_crop_h = 0

out_to_fb = 1

out_filename = ipu0-1st-ovfb

 

 

found fb dev /dev/fb1

====== ipu task ======

input:

  foramt: 0x30323449

  width: 320

  height: 240

  crop.w = 320

  crop.h = 240

  crop.pos.x = 0

  crop.pos.y = 0

output:

  foramt: 0x59565955

  width: 1024

  height: 768

  roate: 0

  crop.w = 1024

  crop.h = 768

  crop.pos.x = 0

  crop.pos.y = 0

overlay:

  foramt: 0x30323449

  width: 320

  height: 240

  crop.w = 32

  crop.h = 240

  crop.pos.x = 0

  crop.pos.y = 0

combine with local alpha

ipu task check fail 10

 

 

 

Thanks,

Tarek

Outcomes