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 c_str, toString and operator const char*.

Information

    Header File: tisudshl.h
    Namespace: DShowLib

Methods

Method Description
VideoFormatItem

Constructs a new VideoFormatItem object by copying an existing one.

c_str

This method returns a 0-terminated string that describes this video format.

createInvalid

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

getBinningFactor

Returns the 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

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.

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.

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 const char*

Returns a 0-terminated string that describes this video format.

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

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.