ISP latency mesurment on NXP IMX8MPLUS

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

ISP latency mesurment on NXP IMX8MPLUS

255 Views
r3gl0
Contributor II

Dear NXP community, 
Currently I am working in modelling my camera system, and I was unable to find any documentation regarding the ISP latency. 

I am wondering how much takes since the first image is received by the MIPI-CSI until the image is processed my ISP + Dewarp engine. 
I understand this varies on many factors such as the resolution. However, I would like to get suggestion on how to measure this. 

For sure I can measure the image arrival time with v4l2 buffers timestamps, but I have no idea how to the same for the MIPI-CSI received image while keeping the ISP/dewarp pipeline open. 

Thank you in advance for any suggestions.
Best regards

0 Kudos
Reply
1 Reply

130 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

Time can be measured by pulling the GPIO high or low, or by printing timestamps. You can try to modify viv v4l2 driver to check the point of print. It's hard to measue time for MIPI-CSI received image while keeping the ISP/dewarp pipeline open. 


Best Regards,
Zhiming

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2262947%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EISP%20latency%20mesurment%20on%20NXP%20IMX8MPLUS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2262947%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20community%2C%26nbsp%3B%3CBR%20%2F%3ECurrently%20I%20am%20working%20in%20modelling%20my%20camera%20system%2C%20and%20I%20was%20unable%20to%20find%20any%20documentation%20regarding%20the%20ISP%20latency.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20wondering%20how%20much%20takes%20since%20the%20first%20image%20is%20received%20by%20the%20MIPI-CSI%20until%20the%20image%20is%20processed%20my%20ISP%20%2B%20Dewarp%20engine.%26nbsp%3B%3CBR%20%2F%3EI%20understand%20this%20varies%20on%20many%20factors%20such%20as%20the%20resolution.%20However%2C%20I%20would%20like%20to%20get%20suggestion%20on%20how%20to%20measure%20this.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20sure%20I%20can%20measure%20the%20image%20arrival%20time%20with%20v4l2%20buffers%20timestamps%2C%20but%20I%20have%20no%20idea%20how%20to%20the%20same%20for%20the%20MIPI-CSI%20received%20image%20while%20keeping%20the%20ISP%2Fdewarp%20pipeline%20open.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20in%20advance%20for%20any%20suggestions.%3CBR%20%2F%3EBest%20regards%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20ISP%20latency%20mesurment%20on%20NXP%20IMX8MPLUS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267846%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3ETime%20can%20be%20measured%20by%20pulling%20the%20GPIO%20high%20or%20low%2C%20or%20by%20printing%20timestamps.%20You%20can%20try%20to%20modify%20viv%20v4l2%20driver%20to%20check%20the%20point%20of%20print.%20It's%20hard%20to%20measue%20time%20for%26nbsp%3B%3CSPAN%3EMIPI-CSI%20received%20image%20while%20keeping%20the%20ISP%2Fdewarp%20pipeline%20open.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3EZhiming%3C%2FP%3E%3C%2FLINGO-BODY%3E