Open norem opened 7 years ago
I am developing the android app having external USB-camera functinality. I want to integrate zoom functionality but 'setZoom(final int zoom)' function which is available in library is not working properly. I am setting different int values & I tried to print the current zoom value it always return me -11 . I'm not able to see any changes on zoom in my camera view. please help me as soon as possible .
usbCameraTest8 displays video with Arkmicro chip (18ec:5850), but can't adjust contrast or brightness These adjustments do however work with Macrosil chip (534d:21) ?
Both Arkmicro and Macrosil devices can have contrast and brightness adjusted on a Windows PC
any idea how to fix this ?
any information I can provide to help ?
English product name: "USB2.0 PC CAMERA"
ConnectionStatus:
Current Config Value: 0x01 -> Device Bus Speed: High Device Address: 0x16 Open Pipes: 2
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0010 = 1 transactions per microframe, 0x10 max bytes bInterval: 0x0A
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x13E8 = 3 transactions per microframe, 0x3E8 max bytes bInterval: 0x01
bLength: 0x12 bDescriptorType: 0x01 bcdUSB: 0x0200 bDeviceClass: 0xEF -> This is a Multi-interface Function Code Device bDeviceSubClass: 0x02 -> This is the Common Class Sub Class bDeviceProtocol: 0x01 -> This is the Interface Association Descriptor protocol bMaxPacketSize0: 0x40 = (64) Bytes idVendor: 0x18E CidProduct: 0x5850 bcdDevice: 0x0100 iManufacturer: 0x01 English (United States) "ARKMICRO" iProduct: 0x02 English (United States) "USB2.0 PC CAMERA" iSerialNumber: 0x00 bNumConfigurations: 0x01
bLength: 0x09 bDescriptorType: 0x02 wTotalLength: 0x0197 -> Validated bNumInterfaces: 0x02 bConfigurationValue: 0x01 iConfiguration: 0x00 bmAttributes: 0x80 -> Bus Powered MaxPower: 0x64 = 200 mA
bLength: 0x08 bDescriptorType: 0x0B bFirstInterface: 0x00 bInterfaceCount: 0x02 bFunctionClass: 0x0E -> Video Interface Class bFunctionSubClass: 0x03 -> Video Interface Collection bFunctionProtocol: 0x00 -> PC_PROTOCOL_UNDEFINED protocol iFunction: 0x00
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x00 bAlternateSetting: 0x00 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x01 -> Video Control Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x0D bDescriptorType: 0x24 bDescriptorSubtype: 0x01 bcdVDC: 0x0100 wTotalLength: 0x0033 -> Validated dwClockFrequency: 0x02DC6C00 = (48000000) Hz bInCollection: 0x01 baInterfaceNr[1]: 0x01
bLength: 0x12 bDescriptorType: 0x24 bDescriptorSubtype: 0x02 bTerminalID: 0x01 wTerminalType: 0x0201 = (ITT_CAMERA) bAssocTerminal: 0x00 iTerminal: 0x00 ===>Camera Input Terminal Data wObjectiveFocalLengthMin: 0x0000 wObjectiveFocalLengthMax: 0x0000 wOcularFocalLength: 0x0000 bControlSize: 0x03 bmControls : 0x00 0x00 0x00 D00 = 0 no - Scanning Mode D01 = 0 no - Auto-Exposure Mode D02 = 0 no - Auto-Exposure Priority D03 = 0 no - Exposure Time (Absolute) D04 = 0 no - Exposure Time (Relative) D05 = 0 no - Focus (Absolute) D06 = 0 no - Focus (Relative) D07 = 0 no - Iris (Absolute) D08 = 0 no - Iris (Relative) D09 = 0 no - Zoom (Absolute) D10 = 0 no - Zoom (Relative) D11 = 0 no - Pan (Absolute) D12 = 0 no - Pan (Relative) D13 = 0 no - Roll (Absolute) D14 = 0 no - Roll (Relative) D15 = 0 no - Tilt (Absolute) D16 = 0 no - Tilt (Relative) D17 = 0 no - Focus Auto D18 = 0 no - Reserved D19 = 0 no - Reserved D20 = 0 no - Reserved D21 = 0 no - Reserved D22 = 0 no - Reserved D23 = 0 no - Reserved
bLength: 0x0B bDescriptorType: 0x24 bDescriptorSubtype: 0x05 bUnitID: 0x02 bSourceID: 0x01 wMaxMultiplier: 0x0000 bControlSize: 0x02 bmControls : 0x3F 0x06 D00 = 1 yes - Brightness D01 = 1 yes - Contrast D02 = 1 yes - Hue D03 = 1 yes - Saturation D04 = 1 yes - Sharpness D05 = 1 yes - Gamma D06 = 0 no - White Balance Temperature D07 = 0 no - White Balance Component D08 = 0 no - Backlight Compensation D09 = 1 yes - Gain D10 = 1 yes - Power Line Frequency D11 = 0 no - Hue, Auto D12 = 0 no - White Temperature, Auto D13 = 0 no - White Balance Component, Auto D14 = 0 no - Digital Multiplier D15 = 0 no - Digital Multiplier Limit iProcessing: 0x00
bLength: 0x09 bDescriptorType: 0x24 bDescriptorSubtype: 0x03 bTerminalID: 0x03 wTerminalType: 0x0101 = (TT_STREAMING) bAssocTerminal: 0x00 bSourceID: 0x02 iTerminal: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x81 -> Direction: IN - EndpointID: 1 bmAttributes: 0x03 -> Interrupt Transfer Type wMaxPacketSize: 0x0010 = 1 transactions per microframe, 0x10 max bytes bInterval: 0x0A
bLength: 0x05 bDescriptorType: 0x25 bDescriptorSubType: 0x03 wMaxTransferSize: 0x0010 = (16) Bytes
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x00 bNumEndpoints: 0x00 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x0E bDescriptorType: 0x24 bDescriptorSubtype: 0x01 bNumFormats: 0x01 wTotalLength: 0x0085 -> Validated bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmInfo: 0x00 -> Dynamic Format Change not Supported bTerminalLink: 0x03 bStillCaptureMethod: 0x02 -> Still Capture Method 2 bTriggerSupport: 0x01 -> Hardware Triggering Support bTriggerUsage: 0x00 -> Host will initiate still image capture bControlSize: 0x01 Video Payload Format 1 0x00 D00 = 0 no - Key Frame Rate D01 = 0 no - P Frame Rate D02 = 0 no - Compression Quality D03 = 0 no - Compression Window Size D04 = 0 no - Generate Key Frame D05 = 0 no - Update Frame Segment D06 = 0 no - Reserved D07 = 0 no - Reserved
bLength: 0x0B bDescriptorType: 0x24 bDescriptorSubtype: 0x06 bFormatIndex: 0x01 bNumFrameDescriptors: 0x02
bDefaultFrameIndex: 0x01 bAspectRatioX: 0x00 bAspectRatioY: 0x00 bmInterlaceFlags: 0x00 D00 = 0 non-Interlaced stream or variable D01 = 0 2 fields per frame D02 = 0 Field 1 not first D03 = 0 Reserved D4..5 = 0 Field patterns -> Field 1 only D6..7 = 0 Display Mode -> Bob only bCopyProtect: 0x00 -> Duplication Unrestricted
bLength: 0x2A bDescriptorType: 0x24 bDescriptorSubtype: 0x07 bFrameIndex: 0x01 bmCapabilities: 0x00 wWidth: 0x0280 wHeight: 0x01E0 dwMinBitRate: 0x0001F400 dwMaxBitRate: 0x00A8C000 dwMaxVideoFrameBufferSize: 0x00096000 dwDefaultFrameInterval: 0x00051615 bFrameIntervalType: 0x04 ===>Additional Discrete Frame TypeData dwFrameInterval[0]: 0x00028B0A dwFrameInterval[1]: 0x00051615 dwFrameInterval[2]: 0x000A2C2A dwFrameInterval[3]: 0x001E8480 dwFrameInterval[4]: 0x0207242A
bLength: 0x2A bDescriptorType: 0x24 bDescriptorSubtype: 0x07 bFrameIndex: 0x02 bmCapabilities: 0x00 wWidth: 0x0160 wHeight: 0x0120 dwMinBitRate: 0x0001F400 dwMaxBitRate: 0x00A8C000 dwMaxVideoFrameBufferSize: 0x00031800 dwDefaultFrameInterval: 0x00051615 bFrameIntervalType: 0x04 ===>Additional Discrete Frame TypeData dwFrameInterval[0]: 0x00028B0A dwFrameInterval[1]: 0x00051615 dwFrameInterval[2]: 0x000A2C2A dwFrameInterval[3]: 0x001E8480 dwFrameInterval[4]: 0x00032412 !ERROR: dwFrameInterval[0x04] must be greater than preceding dwFrameInterval[0x03]
bLength: 0x12 bDescriptorType: 0x24 bDescriptorSubtype: 0x03 bEndpointAddress: 0x00 bNumImageSizePatterns: 0x02 wWidth[1]: 0x0280 wHeight[1]: 0x01E0 wWidth[2]: 0x0160 wHeight[2]: 0x0120 bNumCompressionPattern: 0x04 bCompression[1]: 0x01 bCompression[2]: 0x02 bCompression[3]: 0x05 bCompression[4]: 0x0E
bLength: 0x06 bDescriptorType: 0x24 bDescriptorSubtype: 0x0D bColorPrimaries: 0x00 bTransferCharacteristics: 0x00 bMatrixCoefficients: 0x00
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x01 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x00C0 = 1 transactions per microframe, 0xC0 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x02 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0180 = 1 transactions per microframe, 0x180 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x03 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0200 = 1 transactions per microframe, 0x200 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x04 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0280 = 1 transactions per microframe, 0x280 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x05 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0320 = 1 transactions per microframe, 0x320 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x06 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x03C0 = 1 transactions per microframe, 0x3C0 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x07 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0A80 = 2 transactions per microframe, 0x280 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x08 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0B20 = 2 transactions per microframe, 0x320 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x09 bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x0BE0 = 2 transactions per microframe, 0x3E0 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x0A bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x1380 = 3 transactions per microframe, 0x380 max bytes bInterval: 0x01
bLength: 0x09 bDescriptorType: 0x04 bInterfaceNumber: 0x01 bAlternateSetting: 0x0B bNumEndpoints: 0x01 bInterfaceClass: 0x0E -> Video Interface Class bInterfaceSubClass: 0x02 -> Video Streaming Interface SubClass bInterfaceProtocol: 0x00 iInterface: 0x00
bLength: 0x07 bDescriptorType: 0x05 bEndpointAddress: 0x83 -> Direction: IN - EndpointID: 3 bmAttributes: 0x05 -> Isochronous Transfer Type Synchronization Type = Asynchronous Bulk Transfer Type wMaxPacketSize: 0x13E8 = 3 transactions per microframe, 0x3E8 max bytes bInterval: 0x01
Thanx