hi experts,
as we study the spec for capture in AM572x TRM 2.0/1.1
A VIP module includes the following main features:
• Two independently configurable external video input capture slices each of which has two video input
ports, Port A and Port B, where Port A can be configured as a 24/16/8 bit port, and Port B is a fixed
8bit port. VIP3 does not use Port B of both slices and Port A supports only 16bit interface.
• Each video input Port A port can be operated as clock independent input channels (with interleaved or
separated Y/C data input). Embedded sync and external sync modes are supported for all input
configurations.
• Support for a single external asynchronous pixel clock, up to 165 Mhz per port.
By our test in capturevpedisplay.c, and our command is ./capturevpedisplay 1920 1080 yuyv 320 240 uyvy 0 1 -s 26:1920x1080
gettimeofday(&PreviousTime,NULL);
index = vip_dqbuf(vpe); // get data from vip
... //we mark almost everything here , including VPE(scaling) and display
vip_qbuf(vpe, index); //
gettimeofday(&CurrentTime,NULL);
diff = ( (CurrentTime.tv_sec*1000000+CurrentTime.tv_usec) - (PreviousTime.tv_sec*1000000 + PreviousTime.tv_usec) );
printf(", diff = %d \n", diff);
we found that the consuming time for capture is 0.15ms around, which means the capture rate is about 7fps. This is quite different with the spec in the above datasheet.
Is there anything I misunderstand ?? or something wrong ??
Thanks