MCPcopy Create free account
hub / github.com/RenderKit/embree / InitSingleResolutionOffsets

Function InitSingleResolutionOffsets

tutorials/common/image/tinyexr.h:5713–5719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5711}
5712
5713static void InitSingleResolutionOffsets(OffsetData& offset_data, size_t num_blocks) {
5714 offset_data.offsets.resize(1);
5715 offset_data.offsets[0].resize(1);
5716 offset_data.offsets[0][0].resize(num_blocks);
5717 offset_data.num_x_levels = 1;
5718 offset_data.num_y_levels = 1;
5719}
5720
5721// Return sum of tile blocks.
5722// 0 = error

Callers 3

DecodeEXRImageFunction · 0.85

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected