- //
- // CPixelRGB24.cpp
- //
- #include "CBasePixel.h"
- #include "CPixelRGB24.h"
- //////////////////////////////////////////////////////////////////////
- CPixelRGB24::CPixelRGB24()
- {
- }
- CPixelRGB24::~CPixelRGB24()
- {
- }
- void CPixelRGB24::ConvertByCover(unsigned char * inPixel)
- {
- if (inPixel)
- {
- *inPixel = m_TargetB;
- inPixel++;
- *inPixel = m_TargetG;
- inPixel++;
- *inPixel = m_TargetR;
- }
- }