imx8mm mini, v4l2 API is more difficult to use bandwidth if sensor resolution is lower

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

imx8mm mini, v4l2 API is more difficult to use bandwidth if sensor resolution is lower

596 Views
bhgu
Contributor II

hello,

I'm testing v4l2 API on i.mx8mm mini evk board.

mipi-csi spec is 1200Mbps, 4lane.

when I set resoultion 1280x960, ideal max frame rate is 180fps

cal fps = date rate * lane / (cycle/pix * overhead * bit * width * height) = 1200Mx4/(2*1.35*8*1280*960)

but I'm using 75%, 135fps without no frame drop (tested getting 50,000 frame)

so if I set resolution 400x300, ideal max frame rate is 1851fps and expecting result is 75%, 1388fps

but some reason I should set 300fps because if I set more fps, frame drop happened.

Is this limitation of v4l2 API? (I guess because of copying frame to application..)

or do I have any things to try ?

help me

thank you 

0 Kudos
Reply
1 Reply

571 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Is this limitation of v4l2 API? (I guess because of copying frame to application..)

-->You are correct, copy every frame buffer also need time. 

0 Kudos
Reply