MCPcopy Create free account
hub / github.com/ARM-software/astc-encoder / hufClearDecTable

Function hufClearDecTable

Source/ThirdParty/tinyexr.h:2660–2669  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2658//
2659
2660static void hufClearDecTable(HufDec *hdecod) // io: (allocated by caller)
2661// decoding table [HUF_DECSIZE]
2662{
2663 for (int i = 0; i < HUF_DECSIZE; i++) {
2664 hdecod[i].len = 0;
2665 hdecod[i].lit = 0;
2666 hdecod[i].p = NULL;
2667 }
2668 // memset(hdecod, 0, sizeof(HufDec) * HUF_DECSIZE);
2669}
2670
2671//
2672// Build a decoding hash table based on the encoding table hcode:

Callers 1

hufUncompressFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected