Frames and Resolution Handled by iMX, IPU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Frames and Resolution Handled by iMX, IPU

788 Views
titusstalin
Contributor V

Dear all,

I've customized MIPI camera which stream the frames in any resolution say 12x12, 800x600, 640x480, 1200x1200 etc.,

As I'm using customized camera and data format is "User defined" data type, I took ov5640 MIPI camera as reference and modified the driver and enabled IPU_PIX_FMT_GENERIC format.

I'm able to get the frame 1200x1200 data perfectly, but I'm not able to get the data 1204x1204 resolution.

Can we get like that ?

Thanks for your support.

Regards,

Titus S.

0 Kudos
4 Replies

504 Views
igorpadykov
NXP Employee
NXP Employee

Hi Titus

there are some size restricitons as for example IPU IC require the input/output width

must be multiple of 8, as mentioned on
https://community.nxp.com/message/272190
https://community.nxp.com/message/856805?commentID=856805#comment-856805

Also some channel parameters described in sect.37.4.2.10.1 CPMEM i.MX6DQ RM
imply to be multiple of 8.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

504 Views
titusstalin
Contributor V

Thanks igorpadykov.

Okay then let me try 1208x1208 and update you.

0 Kudos

504 Views
titusstalin
Contributor V

Hi igorpadykov,

Still I'm facing some issues with 1208x1208, in between 8bytes data are missed so I tried 1216x1216, getting complete data but it has issues with alignment.

Ex: The data starts at 0x55, 0x65, 0x75, but in received frame, I've got the end portion of frame.

Received:

Last portion

First portion

Middle portion

Expected:

First portion

Middle portion

Last portion

What could be the problem ?

2) I want to disable the Threshold (TH and THE bits) and  in CPMEM to see any behavior for this changes.

How can I change that registers and where I need to do this ?

Table 37.14, page no 2764, .MX6DQ RM 

drivers/mxc/ipu3/prg.c ??

0 Kudos

504 Views
titusstalin
Contributor V

Any help on this post ?

Thanks for your support.

0 Kudos