FrameTypeInfo::FrameTypeInfo Method

Constructs a new FrameTypeInfo.
Syntax:
FrameTypeInfo();
explicit FrameTypeInfo( tColorformatEnum fmt );
FrameTypeInfo( const GUID& subtype );
FrameTypeInfo( tColorformatEnum fmt, unsigned int width, int height, unsigned int buf_size = 0 );
FrameTypeInfo( tColorformatEnum fmt, const SIZE& dim, unsigned int buf_size = 0 );
FrameTypeInfo( const GUID& subtype, unsigned int width, int height, unsigned int buf_size = 0 );
FrameTypeInfo( const GUID& subtype, const SIZE& dim, unsigned int buf_size = 0 );

Parameter Description
fmt

Color format of the frame type.

width

Width of the frame type. A value of 0 allows any width.

height

Height of the frame type. A value of 0 allows any height.

buf_size

Number of bytes required for one frame.

dim

Width and height of one frame in a SIZE structure.

subtype

GUID of the frame format. Please refer to Standard Mediasubtype GUIDs for more information. If GUID_NULL is specified, the created frame type is compatible to all color formats (pixel depth and pixel organization).

See also: FrameTypeInfo, tColorformatEnum, Standard Mediasubtype GUIDs

<< FrameTypeInfo