Home
last modified time | relevance | path

Searched refs:UVCDev (Results 1 – 9 of 9) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Webcam/
A DusbWebcam.c42 UVCDev_t *UVCDev = NULL; in transport() local
44 UVCDev = g_usbWebcam->UVCDev; in transport()
47UVCDev->frame_buf0, UVCDev->frame_buf1, UVCDev->frame_buf2, (unsigned int)UVCDev->active_buf, (uns… in transport()
62 UVCDev->active_buf(UVCDev->streams); in transport()
66 if(UVCDev->active_buf) { in transport()
95 usbWebcam->UVCDev = UVCDev; in usbWebcam_probe()
96 UVCDev->Extern = usbWebcam; in usbWebcam_probe()
167 if(UVCDev == NULL){ in usbWebcam_remove()
172 usbWebcam = UVCDev->Extern; in usbWebcam_remove()
187 usbWebcam->UVCDev = NULL; in usbWebcam_remove()
[all …]
A DusbWebcam_proc.c44 __s32 usbWebcam_v4l2_init(UVCDev_t *UVCDev) in usbWebcam_v4l2_init() argument
46 if( UVCDev->streams == NULL ) in usbWebcam_v4l2_init()
57 v4l2_handle = uvc_v4l2_open(UVCDev->streams); in usbWebcam_v4l2_init()
65 __s32 usbWebcam_v4l2_exit(UVCDev_t *UVCDev) in usbWebcam_v4l2_exit() argument
78 __s32 usbWebcam_v4l2_capture_on(UVCDev_t *UVCDev) in usbWebcam_v4l2_capture_on() argument
89 usbWebcam = (usbWebcam_t *)UVCDev->Extern; in usbWebcam_v4l2_capture_on()
104 hal_log_info("usbWebcam_v4l2_capture_on() type=%d\n", UVCDev->streams->type); in usbWebcam_v4l2_capture_on()
105 return uvc_v4l2_do_ioctl(v4l2_handle, VIDIOC_STREAMON, (void*)UVCDev->streams->type); in usbWebcam_v4l2_capture_on()
108 __s32 usbWebcam_v4l2_capture_off(UVCDev_t *UVCDev) in usbWebcam_v4l2_capture_off() argument
116 hal_log_info("usbWebcam_v4l2_capture_on() type=%d\n", UVCDev->streams->type); in usbWebcam_v4l2_capture_off()
[all …]
A DusbWebcam_proc.h29 extern __s32 usbWebcam_v4l2_init(UVCDev_t *UVCDev);
30 extern __s32 usbWebcam_v4l2_exit(UVCDev_t *UVCDev);
31 extern __s32 usbWebcam_v4l2_capture_on(UVCDev_t *UVCDev);
32 extern __s32 usbWebcam_v4l2_capture_off(UVCDev_t *UVCDev);
A DusbWebcam.h30 UVCDev_t *UVCDev; member
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Class/
A Duvc.c358 if(UVCDev == NULL){ in UVCDevFree()
387 UVCDev->State = state; in UVCSetDeviceState()
397 if(UVCDev == NULL){ in UVCDevScan()
460 if(UVCDev == NULL){ in UVCDevProbe()
498 UVCDevFree(UVCDev); in UVCDevProbe()
501 hal_free(UVCDev); in UVCDevProbe()
531 if(UVCDev == NULL){ in UVCDevRemove()
538 UVCDevDel(UVCDev); in UVCDevRemove()
540 uvc_disconnect(UVCDev); in UVCDevRemove()
542 UVCDevFree(UVCDev); in UVCDevRemove()
[all …]
A Duvc_driver.c528 streaming->dev = UVCDev; in uvc_parse_streaming()
729 UVCDev->streams = streaming; in uvc_parse_streaming()
792 unit = &UVCDev->entities[0]; in uvc_parse_vendor_control()
998 if (UVCDev->uvc_version >= 0x0110) in uvc_parse_standard_control()
1076 if( UVCDev->streams != NULL ) in uvc_parse_control_exit()
1083 hal_free(UVCDev->streams); in uvc_parse_control_exit()
1084 UVCDev->streams = NULL; in uvc_parse_control_exit()
1112 UVCDev->uvc_version >> 8, UVCDev->uvc_version & 0xff, in uvc_probe()
1113 UVCDev->pusb_dev->product ? UVCDev->pusb_dev->product : "<unnamed>", in uvc_probe()
1133 void uvc_disconnect(UVCDev_t *UVCDev) in uvc_disconnect() argument
[all …]
A Duvc_driver.h30 extern __s32 uvc_probe(UVCDev_t *UVCDev, const struct usb_drv_dev_match_table *id);
31 extern void uvc_disconnect(UVCDev_t *UVCDev);
A Duvc_video.c87 static int __uvc_query_ctrl(UVCDev_t *UVCDev, __u8 query, __u8 unit, in __uvc_query_ctrl() argument
94 pipe = (query & 0x80) ? usb_rcvctrlpipe(UVCDev->pusb_dev, 0) in __uvc_query_ctrl()
95 : usb_sndctrlpipe(UVCDev->pusb_dev, 0); in __uvc_query_ctrl()
99 return usb_control_msg(UVCDev->pusb_dev, pipe, query, type, cs << 8, in __uvc_query_ctrl()
127 int uvc_query_ctrl(UVCDev_t *UVCDev, __u8 query, __u8 unit, in uvc_query_ctrl() argument
132 ret = __uvc_query_ctrl(UVCDev, query, unit, intfnum, cs, data, size, in uvc_query_ctrl()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Include/
A Duvcvideo.h434 extern __s32 usbWebcam_remove(UVCDev_t * UVCDev);
435 extern __s32 usbWebcam_probe(UVCDev_t *UVCDev);

Completed in 24 milliseconds