Functions

Complete list of all functions.

Methods

Method Description
CanUnloadLibrary

[Deprecated] This function checks whether all objects returned by the library are destroyed.

ExitLibrary

This function unloads the library and relinquishes all allocated resources.

GUIDToWString

Returns a string representation of a GUID.

InitLibrary

This function initializes the IC Imaging Control class library.

InitLibraryWithoutCOM

This function initializes the IC Imaging Control class library without initilzing the COM library.

StringToGUID

Creates a GUID from a string containing the GUID in the format {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}.

astows

Converts a std::string into a std::wstring.

calcBufferSize

Calculates the number of bytes needed to store one frame of image data with a specified dimension and color format.

calcBytesPerLine

Calculates the number of bytes required to store the data of a given frame type.

calcRequiredBuffersize

Calculates the number of bytes needed to store one frame of image data with the specified FrameTypeInfo.

convertToString

Creates a string representation from a FrameTypeInfo.

createBitmapInfoHeader

Creates a BITMAPINFOHEADER structure filled with the frame type description from a FrameTypeInfo.

createFCCMediaSubType

Creates a FourCC media subtype from a 4-character-string.

createFrameQueueBuffer

Creates a single or multiple FrameQueueBuffer objects, matching the passed in FrameTypeInfo or the frame type of the passed sink.

getBitsPerPixel

Returns the number of bits needed to store one pixel of image data in the specified format.

getColorformatFromSubtype

Returns the tColorformatEnum, corresponding to the specified media subtype.

getSubtypeFromColorformat

Returns the media subtype GUID, corresponding to the specified color format.

isBottomUpFrameType

Checks whether a frame type is a bottom-up video format.

saveToFileBMP

This function saves the contents of an image buffer to a .BMP file.

saveToFileJPEG

This function saves the contents of an image buffer to a JPEG file.

saveToFileTIFF

This function saves the contents of an image buffer to a TIFF file.

static_smart_ptr_cast

Casts a smart_ptr to a TType to a smart_ptr to a TDestType by using static_cast.

wstoas

Converts a std::wstring into a std::string.

<< Class Library Reference