MCPcopy Create free account
hub / github.com/carbonengine/trinity / EmitDoubleWord

Function EmitDoubleWord

trinity/Tr2DxtCompressor.cpp:198–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void EmitDoubleWord( dword i, uint8_t** outBuff )
199{
200 **outBuff = ( i >> 0 ) & 255;
201 *( *outBuff + 1 ) = ( i >> 8 ) & 255;
202 *( *outBuff + 2 ) = ( i >> 16 ) & 255;
203 *( *outBuff + 3 ) = ( i >> 24 ) & 255;
204 *outBuff += 4;
205}
206
207void ExtractBlock( const uint8_t* inPtr, const int width, uint8_t* colorBlock )
208{

Callers 2

EmitColorIndicesFunction · 0.85
EmitGreenIndicesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected