CopperRLE8.h
Go to the documentation of this file.00001 00010 #ifndef __CopperRLE8_H__ 00011 #define __CopperRLE8_H__ 00012 00013 // Includes 00014 00015 // Forward declares 00016 00017 00018 // CopperRLE8 00019 class CopperRLE8 00020 { 00021 public: 00022 static void Opaque_Unclipped_Unmasked(unsigned char* opaqueData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y); 00023 static void Opaque_Unclipped_Masked(unsigned char* opaqueData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y); 00024 static void Opaque_Clipped_Unmasked(unsigned char* opaqueData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y, int xStart, int yStart, int xEnd, int yEnd); 00025 static void Opaque_Clipped_Masked(unsigned char* opaqueData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y, int xStart, int yStart, int xEnd, int yEnd); 00026 static void Alpha_Unclipped(unsigned char* alphaRLEData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y); 00027 static void Alpha_Clipped(unsigned char* alphaRLEData, int activeWidth, int activeHeight, unsigned short* palette, unsigned short* colorData, unsigned char* alphaData, int backBufferDelta,int x, int y, int xStart, int yStart, int xEnd, int yEnd); 00028 private: 00029 00030 static void RunLength_Opaque_Unclipped_Unmasked(int len,unsigned short* colorData, unsigned char* alphaData, unsigned char** source, unsigned short* palette); 00031 static void RunLength_Opaque_Clipped_Masked(int len,unsigned short* colorData, unsigned char* alphaData, unsigned char** source, unsigned short* palette, int clipStart, int clipEnd); 00032 static void RunLength_Opaque_Unclipped_Masked(int len,unsigned short* colorData, unsigned char* alphaData, unsigned char** source, unsigned short* palette); 00033 00034 static void Fill(unsigned short* data, unsigned short color, int len); 00035 static void BurstFill(unsigned short* data, unsigned short color, int len); 00036 static void AlphaFill(unsigned char*data, int len); 00037 static void AlphaBurstFill(unsigned char* data, int len); 00038 static void IgnoreOpaque(int len, unsigned char** source); 00039 static void IgnoreAlpha(int len, unsigned char** source); 00040 00041 00042 }; 00043 00044 #endif /* __CopperRLE8_H__ */ 00045
Reproduction/republishing of any material on this site without permission is strictly prohibited.
