MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / Block128

Method Block128

encoder/3rdparty/android_astc_decomp.cpp:461–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459
460public:
461 Block128 (const deUint8* src)
462 {
463 for (int wordNdx = 0; wordNdx < NUM_WORDS; wordNdx++)
464 {
465 m_words[wordNdx] = 0;
466 for (int byteNdx = 0; byteNdx < WORD_BYTES; byteNdx++)
467 m_words[wordNdx] |= (Word)src[wordNdx*WORD_BYTES + byteNdx] << (8*byteNdx);
468 }
469 }
470
471 deUint32 getBit (int ndx) const
472 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected