IPU CSI + IPU PP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IPU CSI + IPU PP

1,567 次查看
yaronlevy
Contributor I

Hi,

I am trying to do the following with my IMX6Q board:

1. Capture frames from CMOS using the IPU CSI->PRP->MEM (involves converting YUYV->YUV420)

2. IPU resize using the /dev/mxc_ipu API

3. Some data processing on the down-scaled image

4. VPU Encoding of the pre-resized image

I cannot seem to get both IPU parts (1), (3) to work together.

If I do capture via "normal" v4l2 (usb-webcam, for example), all is fine.

If I do IPU capture and software resize it works fine.

I absolutely need BOTH sizes (one for encoding, one for processing).

My question -

Is there any limitation (HW?) on using both the CSI and the mxc_ipu api together?

How can I get this chain to work without CPU intensive calculations (csc / resize)?

Thanks,

Yaron.

More details:

Image size is VGA

Linux BSP 3.0.35

Freescale LTIB v4.0.0

标签 (3)
1 回复

720 次查看
max_tsai
NXP Employee
NXP Employee

hi

I may not really get your point. /unit/mxc_v4l2_capture.out can resize the data from CSI, and CSC (kernel/drivers/media/video/mxc/capture/ipu_prp_enc.c, prp_enc_setup()) executes when CSI->PRP->MEM is adopted.

So why "2. IPU resize using the /dev/mxc_ipu API" is needed?