#include <vconvert.h>
Inheritance diagram for PColourConverterRegistration:

Public Member Functions | |
| PColourConverterRegistration (const PString &srcColourFormat, const PString &destColourFormat) | |
Protected Member Functions | |
| virtual PColourConverter * | Create (const PVideoFrameInfo &src, const PVideoFrameInfo &dst) const =0 |
Protected Attributes | |
| PColourConverterRegistration * | link |
There should be one and one only instance of this class for each pair of srcColurFormat and dstColourFormat strings. Use the PCOLOUR_CONVERTER_REGISTRATION macro to do this.
| PColourConverterRegistration::PColourConverterRegistration | ( | const PString & | srcColourFormat, | |
| const PString & | destColourFormat | |||
| ) |
| srcColourFormat | Name of source colour format |
| destColourFormat | Name of destination colour format |
| virtual PColourConverter* PColourConverterRegistration::Create | ( | const PVideoFrameInfo & | src, | |
| const PVideoFrameInfo & | dst | |||
| ) | const [protected, pure virtual] |
| src | Source frame info (colour formet, size etc) |
| dst | Destination frame info |
Implemented in PSynonymColourRegistration.
1.4.7