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

Function InitSingleResolutionOffsets

Source/ThirdParty/tinyexr.h:7154–7160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7152}
7153
7154static void InitSingleResolutionOffsets(OffsetData& offset_data, size_t num_blocks) {
7155 offset_data.offsets.resize(1);
7156 offset_data.offsets[0].resize(1);
7157 offset_data.offsets[0][0].resize(num_blocks);
7158 offset_data.num_x_levels = 1;
7159 offset_data.num_y_levels = 1;
7160}
7161
7162// Return sum of tile blocks.
7163// 0 = error

Callers 3

DecodeEXRImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected