#include <vconvert.h>
Inheritance diagram for PSynonymColour:
Public Member Functions | |
PSynonymColour (const PString &srcFmt, const PString &dstFmt, unsigned w, unsigned h) | |
virtual BOOL | Convert (const BYTE *, BYTE *, PINDEX *=NULL) |
virtual BOOL | Convert (const BYTE *, BYTE *, unsigned int, PINDEX *=NULL) |
|
|
|
Implements PColourConverter. |
|
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 Implements PColourConverter. |