Searched refs:nbChannels (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/src/Device/ |
D | ETC_Decoder.cpp | 92 …static void DecodeBlock(const ETC2** sources, unsigned char *dest, int nbChannels, int x, int y, i… in DecodeBlock() 101 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 103 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock() 118 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 120 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock() 132 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
|
D | Surface.hpp | 303 static void decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned);
|
D | Surface.cpp | 1895 void Surface::decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned) in decodeEAC() argument 1897 ASSERT(nbChannels == 1 || nbChannels == 2); in decodeEAC() 1901 …(nbChannels == 1) ? (isSigned ? ETC_Decoder::ETC_R_SIGNED : ETC_Decoder::ETC_R_UNSIGNED) : (isSign… in decodeEAC() 1914 for(int c = nbChannels - 1; c >= 0; c--) in decodeEAC()
|
/external/swiftshader/src/Renderer/ |
D | ETC_Decoder.cpp | 92 …static void DecodeBlock(const ETC2** sources, unsigned char *dest, int nbChannels, int x, int y, i… in DecodeBlock() 101 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 103 … sDst[i * nbChannels + c] = clampEAC(sources[c]->getSingleChannel(i, j, isSigned, true), isSigned); in DecodeBlock() 118 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 120 sDst[i * nbChannels + c] = clampSByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock() 132 for(int c = nbChannels - 1; c >= 0; c--) in DecodeBlock() 134 dest[i * nbChannels + c] = clampByte(sources[c]->getSingleChannel(i, j, isSigned, false)); in DecodeBlock()
|
D | Surface.hpp | 480 static void decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned);
|
D | Surface.cpp | 2630 void Surface::decodeEAC(Buffer &internal, Buffer &external, int nbChannels, bool isSigned) in decodeEAC() argument 2632 ASSERT(nbChannels == 1 || nbChannels == 2); in decodeEAC() 2636 …(nbChannels == 1) ? (isSigned ? ETC_Decoder::ETC_R_SIGNED : ETC_Decoder::ETC_R_UNSIGNED) : (isSign… in decodeEAC() 2649 for(int c = nbChannels - 1; c >= 0; c--) in decodeEAC()
|