VideoFormatDesc

A VideoFormatDesc describes an available video format using the media subtype, horizontal and vertical binning and skipping factors and size constraints. The size constraints are described by a minimum size, a maximum size and a step size.

To set a video format for a device, a VideoFormatItem instance has to be created by using VideoFormatDesc::createVideoFormat.

Information

    Header File: tisudshl.h
    Namespace: DShowLib
    Introduced in version 3.2

Methods

Method Description
createVideoFormat

This method creates a VideoFormatItem with the specified size based on the specification of this VideoFormatDesc.

getBinningFactor

[Deprecated] Returns the binning factor of this VideoFormatDesc.

getBinningFactorHorizontal

Returns the horizontal binning factor of the video format description.

getBinningFactorVertical

Returns the vertical binning factor of the video format description.

getColorformatString

Returns a string representation of the color format of this VideoFormatDesc.

getMaxSize

Returns the maximum possible size for video formats created from this VideoFormatDesc.

getMinSize

Returns the minimum possible size for video formats created from this VideoFormatDesc.

getSkippingFactorHorizontal

Returns the horizontal skipping factor of the video format description.

getSkippingFactorVertical

Returns the vertical skipping factor of the video format description.

getStepSize

Returns the step size for video formats created from this VideoFormatDesc.

getSubtype

Returns the GUID of the media subtype of this video format description.

isROIFormat

Returns whether this VideoFormatDesc describes a ROI format.

isValidSize

This method checks whether a specified size matches the size constraints of this VideoFormatDesc.

toString

Returns a string representation of this VideoFormatDesc.

<< Classes