//============================================================================ #pragma once #include "Point2.h" #include "ColorRgba.h" //============================================================================ namespace Javelin { //============================================================================ class PvrTcDecoder { public: static void DecodeRgb4Bpp(ColorRgb* result, const Point2& size, const void* data); static void DecodeRgba4Bpp(ColorRgba* result, const Point2& size, const void* data); private: static unsigned GetMortonNumber(int x, int y); }; //============================================================================ } //============================================================================