PSynonymColour Class Reference

#include <vconvert.h>

Inheritance diagram for PSynonymColour:

PColourConverter PObject

List of all members.

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)


Detailed Description

Define synonym colour format converter. This is a class that defines for which no conversion is required between the specified colour format names.

Constructor & Destructor Documentation

PSynonymColour::PSynonymColour ( const PString srcFmt,
const PString dstFmt,
unsigned  w,
unsigned  h 
) [inline]


Member Function Documentation

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

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.

virtual BOOL PSynonymColour::Convert ( const BYTE *  ,
BYTE *  ,
unsigned  int,
PINDEX *  = NULL 
) [virtual]

Implements PColourConverter.


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 14:40:15 2007 for PWLib by  doxygen 1.5.3