- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I am using AN75779 example code.
I am trying VGA@30fps for that i have done below changes
--> In descriptor file
/* Class specific Uncompressed VS Frame descriptor */
0x15, 0x16, 0x05, 0x00, /* 30fps */
--> In uvc.c
/* UVC Probe Control Setting for a USB 2.0 connection. */
0x15, 0x16, 0x05, 0x00, /* Desired frame interval in the unit of 100ns: 30 fps */
--> I configure my camera with VGA@30fps
But still i got 15fps in my host side?
Give some suggestion for 30fps?
Regards
RAJ M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Raj,
Did you make sure that the camera (image sensor) itself is giving the video at the rate of 30 fps? The registers to the image sensor are written properly.
you need to modify the in the SensorScaling_VGA() sensor.c file such that the sensor is configured for 30 fps. The source code of that file is available only for customers who have signed an NDA with Aptina as it contains the registers settings of the sensor.
Regards,
- Madhu Sudhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for the reply.
Yes i have set 30fps register setting on camera registers.
But in virtuldub or Amcap i am getting 15fps?
Regards
RAJ M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Madhu Sudhan,
I try to change frame rate to 30fps
I probed my camera frame valid(Vsync) signal its giving 30fps.
Below changes i have done but still i am getting 15fps
uvc.c probe control
/* UVC Probe Control Setting for a USB 2.0 connection. */
uint8_t glProbeCtrl20[CY_FX_UVC_MAX_PROBE_SETTING] = {
0x00, 0x00, /* bmHint : no hit */
0x01, /* Use 1st Video format index */
0x01, /* Use 1st Video frame index */
//0x2A, 0x2C, 0x0A, 0x00, /* Desired frame interval in the unit of 100ns: 15 fps */
0x15, 0x16, 0x05, 0x00, /* Desired frame interval in 100ns = 33.33 ms 30fps */
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 */
0x00, 0x00, /* Internal video streaming i/f latency in ms */
0x00, 0x60, 0x09, 0x00, /* Max video frame size in bytes: 640 x 480 x 2 */
0x00, 0x40, 0x00, 0x00 /* No. of bytes device can rx in single payload = 16 KB */
};
I have attached my usb descriptor.
Other than that any thing i have missed out for frame rate change?
Regards
RAJ M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
More update
If i set 60fps in camera side register i got 30fps in host side
If i set 30fps in camera side register i got 15fps in host side
If i set 15fps in camera side register i got 7fps in host side
I check use Frame count debug
I am getting half the frame rate.
Any suggestion?
Regards,
RAJ M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Any suggestion?
Any changes needed for GPIF Designer side?
I am getting Error in CyU3PDmaMultiChannelCommitBuffer periatically...Can i increase the DMA buffer count ?
/* Number of DMA buffers per GPIF DMA thread. */
#define CY_FX_UVC_STREAM_BUF_COUNT (4) //Default on An75779 app note
Regards,
RAJ M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello RAJ M,
Is this problem be solved now?