3 Replies Latest reply on Mar 22, 2019 10:48 AM by alamandaa_16

    UVC output frame rate of FX3

    qihuc_3538536

      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

       

       

       

      /* UVC Probe Control Settings for a USB 3.0 connection. */

       

      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

      };

       

       

         /* Class specific Uncompressed VS frame descriptor */

       

         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,