Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

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)

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 *  ,
BYTE *  ,
PINDEX *  = 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.


The documentation for this class was generated from the following file:
Generated on Wed Sep 28 10:27:37 2005 for PWLib by  doxygen 1.4.4