Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

virtual BOOL PColourConverter::Convert ( const BYTE *  srcFrameBuffer,
BYTE *  dstFrameBuffer,
PINDEX *  bytesReturned = NULL 
) [pure virtual, inherited]

Convert from one colour format to another. This version will copy the data from one frame buffer to another. An implementation of this function should allow for the case of where srcFrameBuffer and dstFrameBuffer are the same, if the conversion algorithm allows for that to occur without an intermediate frame store.

The function should return FALSE if srcFrameBuffer and dstFrameBuffer are the same and that form pf conversion is not allowed

Parameters:
srcFrameBufferFrame store for source pixels
dstFrameBufferFrame store for destination pixels
bytesReturnedBytes written to dstFrameBuffer

Implemented in PSynonymColour.

Referenced by PColourConverter::ConvertInPlace(), PVideoInputDevice_VideoForWindows::GetFrameDataNoDelay(), PVideoInputDevice_FakeVideo::GetFrameDataNoDelay(), PVideoInputDevice_V4L2::GetFrameDataNoDelay(), PVideoInputDevice_V4L::GetFrameDataNoDelay(), PVideoInputDevice_1394DC::GetFrameDataNoDelay(), PVideoInputDevice_BSDCAPTURE::GetFrameDataNoDelay(), and PVideoInputDevice_1394AVC::GetFrameDataNoDelay().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index