MemBufferCollection::create Method |
||||||||||||||||||||||||||
This factory function creates a MemBufferCollection for use with the FrameHandlerSink or the Grabber. | ||||||||||||||||||||||||||
Syntax: | static tMemBufferCollectionPtr create( const FrameTypeInfo& frame_type, DWORD count ); static tMemBufferCollectionPtr create( const FrameTypeInfo& frame_type, DWORD count, BYTE* buffers[] ); static tMemBufferCollectionPtr create( tColorformatEnum colorformat, SIZE dim, DWORD count ); static tMemBufferCollectionPtr create( tColorformatEnum colorformat, SIZE dim, DWORD count, BYTE* buffers[] ); |
|||||||||||||||||||||||||
|
||||||||||||||||||||||||||
Return value: | This function returns 0, if one of the parameters is not valid, otherwise a MemBufferCollection instance. |
|||||||||||||||||||||||||
Information: | Introduced in version 3.0 | |||||||||||||||||||||||||
See also: | MemBufferCollection, FrameHandlerSink, Grabber |