MCPcopy Create free account
hub / github.com/cinder/Cinder / IsAnyOffsetsAreInvalid

Function IsAnyOffsetsAreInvalid

include/tinyexr/tinyexr.h:5769–5777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5767}
5768
5769static bool IsAnyOffsetsAreInvalid(const OffsetData& offset_data) {
5770 for (unsigned int l = 0; l < offset_data.offsets.size(); ++l)
5771 for (unsigned int dy = 0; dy < offset_data.offsets[l].size(); ++dy)
5772 for (unsigned int dx = 0; dx < offset_data.offsets[l][dy].size(); ++dx)
5773 if (reinterpret_cast<const tinyexr::tinyexr_int64&>(offset_data.offsets[l][dy][dx]) <= 0)
5774 return true;
5775
5776 return false;
5777}
5778
5779static bool isValidTile(const EXRHeader* exr_header,
5780 const OffsetData& offset_data,

Callers 1

DecodeEXRImageFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected