AnsweredAssumed Answered

When running mxc_v4l2_overlay, can I set the crop method dynamically?

Question asked by HanSu Park on Jan 30, 2020
Latest reply on Jan 31, 2020 by igorpadykov

hi. I'm a newbie for imx6.

 

mxc_v4l2_overlay is good working on the imx6 board.
I want to set x/y position and video size with VIDIOC_S_CROP ioctl dynamically when running mxc_v4l2_overlay.
I wrote code like below.
run mxc_v4l2_overlay
                 |
run key event thread function
                 |
when if the key event occurs, apply VIDIOC_S_CROP Ioctl

 

when my code is running, appear warning messages and wrong video images on LCD.
-------------------------------------------------------------------
imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00000002

 

I knew IPU examples but I just want to set crop parameters without CPU mediation when running.
what can I do for this?

 

thank you for your help.

Outcomes