⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dummy_cam.h

📁 网上下的该驱动没有中微星307b
💻 H
字号:
/*******************     Camera Interface   ***********************//*@ spcaxxx_initsend the initialization sequence to the webcam@*/static int spcaxxx_init(struct usb_spca50x *spca50x);/*@ spcaxxx_startsend the sequence to start the stream width height mode method pipe_size should be set@*/static void spcaxxx_start(struct usb_spca50x *spca50x);/*@ spcaxxx_stopsend the sequence to stop the stream on the alternate settingsome webcam need to send this sequence on alternate 0@*/static void spcaxxx_stop(struct usb_spca50x *spca50x);/*@ spcaxxx_setbrightnessset the brightness spca50x->brightness need to be set @*/static __u16 spcaxxx_setbrightness(struct usb_spca50x *spca50x);/*@ spcaxxx_getbrightnessget the brightness in spca50x->brightness @*/static __u16 spcaxxx_getbrightness(struct usb_spca50x *spca50x);/*@ spcaxxx_setcontrastset the contrast spca50x->contrast need to be set @*/static __u16 spcaxxx_setcontrast(struct usb_spca50x *spca50x);/*@ spcaxxx_getcontrastget the contrast in spca50x->contrast @*/static __u16 spcaxxx_getcontrast(struct usb_spca50x *spca50x);/*@ spcaxxx_setcolorsset the colors spca50x->colours need to be set @*/static __u16 spcaxxx_setcolors(struct usb_spca50x *spca50x);/*@ spcaxxx_getcolorsget the colors in spca50x->colours @*/static __u16 spcaxxx_getcolors(struct usb_spca50x *spca50x);/*@ spcaxxx_setexposureset the exposure if possible@*/static __u16 spcaxxx_setexposure(struct usb_spca50x *spca50x);/*@ spcaxxx_getexposureget the exposure if possible@*/static __u16 spcaxxx_getexposure(struct usb_spca50x *spca50x);/*@ spca5xxx_setAutobrightsoftware Autobrightness not need if the webcam have an hardware mode@*/static void spcaxxx_setAutobright(struct usb_spca50x *spca50x);/*@ spcaxxx_configinput spca50x->bridge, spca50x->sensor, output available palette/size/mode/method,return 0 ok -EINVAL unavailable@*/static int spcaxxx_config(struct usb_spca50x *spca50x);/*@ spcaxxx_shutdownClose the gpio output line if possible@*/static void spcaxxx_shutdown(struct usb_spca50x *spca50x);/******************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -