- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using the AN75779 demo project with my camera initialize function, now I can get correct images(1280*1080).
But the output frame rate is always half of input(30FPS),even in other frequence such as 2 FPS.
What's the cause of this problem?
Regards,
Qi
uint8_t glProbeCtrl[CY_FX_UVC_MAX_PROBE_SETTING] = {
0x00, 0x00, /* bmHint : no hit */
0x01, /* Use 1st Video format index */
0x01, /* Use 1st Video frame index */
0x15, 0x16, 0x05, 0x00, /* Desired frame interval in the unit of 100ns: 30 fps */
0x00, 0x00, /* Key frame rate in key frame/video frame units: only applicable
to video streaming with adjustable compression parameters */
0x00, 0x00, /* PFrame rate in PFrame / key frame units: only applicable to
video streaming with adjustable compression parameters */
0x00, 0x00, /* Compression quality control: only applicable to video streaming
with adjustable compression parameters */
0x00, 0x00, /* Window size for average bit rate: only applicable to video
streaming with adjustable compression parameters */
0x0A, 0x00, /* Internal video streaming i/f latency in ms */
0x00, 0x30, 0x4A, 0x00, /* Max video frame size in bytes */
0x00, 0x40, 0x00, 0x00, /* No. of bytes device can rx in single payload = 16 KB */
#ifndef FX3_UVC_1_0_SUPPORT
/* UVC 1.1 Probe Control has additional fields from UVC 1.0 */
0x00, 0x60, 0xE3, 0x16, /* Device Clock */
0x00, /* Framing Information - Ignored for uncompressed format*/
0x00, /* Preferred payload format version */
0x00, /* Minimum payload format version */
0x00 /* Maximum payload format version */
#endif
};
0x1E, /* Descriptor size */
0x24, /* Descriptor type*/
0x05, /* Subtype: uncompressed frame I/F */
0x01, /* Frame Descriptor Index */
0x01, /* Still image capture method 1 supported */
0x00, 0x05, /* Width in pixel */
0x38, 0x04, /* Height in pixel */
0x00,0x00,0x8D,0x27, /* Min bit rate bits/s. */
0x00,0x00,0x8D,0x27, /* Max bit rate bits/s. */
0x00,0x30,0x2A,0x00, /* Maximum video or still frame size in bytes(Deprecated)*/
0x15,0x16,0x05,0x00, /* 30fps */
0x01,
0x15,0x16,0x05,0x00,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please answer the following questions:
1.If Camera is plugged into USB 2.0 port,What is the frame rate and frame size?
2.If Camera is plugged into USB 3.0 port,What is the frame rate and frame size?
Regards,
Anil Srinivas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, thank you for your reply.
I haven't tested the frame rate under USB 2.0 because my application is only for USB 3.0.
When the input frame rate is 30 FPS, the actual output frame rate is only 15 FPS.
When the input is 20FPS,the output frame rate is 10FPS,
the output frame rate is always half of input in any situation.
And I only modified CyFxUSBSSConfigDscr and glProbCtrl,frame size is 1280*1080.
Regards,
Qi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In UVC probe control settings,you can change Maximum video frame size in bytes to {0x00,0x60,0x94,0x00}
Can you please probe the FV and LV lines and share the timing diagram?
Regards,
Anil Srinivas.