Поделиться через


Camera Driver Structures (Compact 2013)

3/26/2014

The following table shows the structures used by camera drivers.

Structure

Description

CS_BITMAPINFOHEADER

Describes details about a video stream, such as image dimensions and pixel depth.

CS_COMPRESSION

Defines the compression of frames on an output pin.

CS_DATAFORMAT_VIDEOINFOHEADER

Describes a vertical blanking interval (VBI) stream.

CS_DATARANGE_VIDEO

Describes a range of video streams without bob or weave settings.

CS_DATARANGE_VIDEO2

Describes a video stream including bob or weave settings.

CS_FRAME_INFO

Used to extend the CSSTREAM_HEADER structure for video streams.

CS_FRAMING_ITEM

Used to declare allocator requirements on a kernel-mode pin.

CS_FRAMING_RANGE

Specifies a range for frame sizes for a given framing item.

CS_FRAMING_RANGE_WEIGHTED

Used by drivers to specify a range of weighted frame sizes.

CS_MPEG1VIDEOINFO

Describes an MPEG video stream without bob or weave settings.

CS_RGBQUAD

Describes a color consisting of relative intensities of red, green, and blue, ranging from 0 to 255 (0x0 to 0xff).

CS_STREAM_DESCRIPTOR

Provides data that characterizes a stream.

CS_TRUECOLORINFO

Describes color palette and bitmask information for video images that also contain a palette.

CS_VIDEO_STREAM_CONFIG_CAPS

Describes the configuration and capabilities of a video stream.

CS_VIDEOINFOHEADER

Describes the details of a video stream without bob or weave settings.

CS_VIDEOINFOHEADER2

Specifies details of a video stream including bob or weave settings.

CSALLOCATOR_FRAMING

Superseded by CSALLOCATOR_FRAMING_EX.

CSALLOCATOR_FRAMING_EX

Used to query framing requirements and submit allocator creation requests on a pin in a kernel level filter.

CSDATAFORMAT

Variable-length structure that describes a range of data formats.

CSDATARANGE

Variable-length structure that describes a range of data formats.

CSIDENTIFIER

Uses a GUID to uniquely identify a set, and a set-specific ID to refer to a member within that set.

CSMULTIPLE_ITEM

Generic header for property data that can contain multiple entries.

CSP_PIN

Used to specify the property and pin type within a CSPROPSETID_Pin property request.

CSPIN_CINSTANCES

Used to describe the number of pins instantiated on a filter.

CSPROPERTY

Describes the property and request type of a property request.

CSPROPERTY_BOUNDS_LONG

Defines the bounds for a 32-bit property.

CSPROPERTY_BOUNDS_LONGLONG

Defines the bounds for a 64-bit property.

CSPROPERTY_CAMERACONTROL_S

Used to set or get filter-based properties in the PROPSETID_VIDCAP_CAMERACONTROL property set.

CSPROPERTY_DESCRIPTION

Specifies the size and type of values contained in a specific property.

CSPROPERTY_DROPPEDFRAMES_CURRENT_S

Describes the dropped frame information from the minidriver.

CSPROPERTY_ITEM

Describes how a driver supports a property in a property set.

CSPROPERTY_MEMBERSHEADER

Describes the size and type of each element in an array containing property values or ranges.

CSPROPERTY_MEMBERSLIST

Contains a list of legal values or ranges for a property.

CSPROPERTY_SET

Used by kernel streaming drivers or pins to describe how they support a property set.

CSPROPERTY_STEPPING_LONG

Defines the valid range of values for a 32-bit property.

CSPROPERTY_STEPPING_LONGLONG

Defines the valid range of values for a 64-bit property.

CSPROPERTY_VALUES

Describes the type and acceptable default values of a property.

CSPROPERTY_VIDEOCOMPRESSION_GETINFO_S

Describes information about the video compression capabilities supported by a device.

CSPROPERTY_VIDEOCOMPRESSION_S

Describes a single CSPROPERTY_VIDEOCOMPRESSION_xxx property of a specified stream.

CSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S

Describes actual frame rate information in response to CSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE property (see CSPROPERTY_VIDCAP_VIDEOCONTROL) requests.

CSPROPERTY_VIDEOCONTROL_CAPS_S

Used to set or get filter-based properties in the PROPSETID_VIDCAP_VIDEOCONTROL property set.

CSPROPERTY_VIDEOCONTROL_FRAME_RATES_S

Describes available frame rates in 100-nanosecond units.

CSPROPERTY_VIDEOCONTROL_MODE_S

Describes video-control modes for a stream, such as image flipping or event triggering abilities.

CSPROPERTY_VIDEOPROCAMP_S

Used to set or get filter-based properties in the PROPSETID_VIDCAP_CAMERACONTROL property set.

CSSTREAM_ALLOCATOR

Specifies the number of buffers the driver should create when the driver is the allocator. When the client itself is the allocator, this structure is used to pass down the number of buffers allocated by the client.

CSSTREAM_HEADER

Variable-length structure that describes a packet of data to be read from or written to a streaming driver pin.

CSTIME

Specifies a time stamp that can be used to indicate stream position.

See Also

Reference

Camera Model Device Driver (MDD) Interface
Camera Driver Reference