最終更新:2017-04-04 (火) 08:10:10 (2578d)  

v4l2_capability
Top / v4l2_capability

Describes V4L2 device caps returned by VIDIOC_QUERYCAP

/**
  * struct v4l2_capability - Describes V4L2 device caps returned by VIDIOC_QUERYCAP
  *
  * @driver:       name of the driver module (e.g. "bttv")
  * @card:         name of the card (e.g. "Hauppauge WinTV")
  * @bus_info:     name of the bus (e.g. "PCI:" + pci_name(pci_dev) )
  * @version:      KERNEL_VERSION
  * @capabilities: capabilities of the physical device as a whole
  * @device_caps:  capabilities accessed via this particular device (node)
  * @reserved:     reserved fields for future extensions
  */
struct v4l2_capability {
        __u8    driver[16];
        __u8    card[32];
        __u8    bus_info[32];
        __u32   version;
        __u32   capabilities;
        __u32   device_caps;
        __u32   reserved[3];
};

v4l2-ctl

  • -D, --info         show driver info [VIDIOC_QUERYCAP]
    Driver Info (not using libv4l2):
    	Driver name   : uvcvideo
    	Card type     : Integrated Camera
    	Bus info      : usb-0000:00:14.0-3
    	Driver version: 4.4.13
    	Capabilities  : 0x84200001
    		Video Capture
    		Streaming
    		Extended Pix Format
    		Device Capabilities
    	Device Caps   : 0x04200001
    		Video Capture
    		Streaming
    		Extended Pix Format