VideoFormatItem

The VideoFormatItem represents a video format that describes the width, height and the color format of an image stream generated by a video capture device. The available video formats depend on the selected video norm.

A VideoFormatItem is a temporary object and may not be stored permanently. For permanent storage use the string representation as returned by toString.

Information

    Header File: tisudshl.h
    Namespace: DShowLib

Methods

Method Description
VideoFormatItem

Constructs a new VideoFormatItem.

createInvalid

[Deprecated] This method creates a VideoFormatItem object that contains an invalid item.

getBinningFactor

[Deprecated] Returns the binning factor of the video format.

getBinningFactorHorizontal

Returns the horizontal binning factor of the video format.

getBinningFactorVertical

Returns the vertical binning factor of the video format.

getBitsPerPixel

This method returns the number of bits that represent a single pixel of the respective video format.

getColorformat

[Deprecated] This method returns the GUID of the color format used by this video format.

getColorformatString

This method returns the name of the color format used by this video format.

getFrameType

This method returns FrameTypeInfo of thie video format.

getSize

This method returns a SIZE structure containing the width and height of one frame of this video format.

getSizeString

This method returns a string that describes the size of a frame of this video format.

getSkippingFactorHorizontal

Returns the horizontal skipping factor of the video format.

getSkippingFactorVertical

Returns the vertical skipping factor of the video format.

getSubtype

This method returns the GUID of the subtype used by this video format.

isValid

Checks whether this instance is a valid video format for the currently active video capture device.

operator!=

Checks whether two video formats differ.

operator<

Compares the names of two video format items.

operator=

Assigns a VideoFormatItem to this object.

operator==

Checks whether two video formats are identical.

toString

Returns a string that describes this video format.

<< Classes