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

Function NumScanlines

include/tinyexr/tinyexr.h:7441–7451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7439}
7440
7441static int NumScanlines(int compression_type) {
7442 int num_scanlines = 1;
7443 if (compression_type == TINYEXR_COMPRESSIONTYPE_ZIP) {
7444 num_scanlines = 16;
7445 } else if (compression_type == TINYEXR_COMPRESSIONTYPE_PIZ) {
7446 num_scanlines = 32;
7447 } else if (compression_type == TINYEXR_COMPRESSIONTYPE_ZFP) {
7448 num_scanlines = 16;
7449 }
7450 return num_scanlines;
7451}
7452
7453static int EncodeChunk(const EXRImage* exr_image, const EXRHeader* exr_header,
7454 const std::vector<ChannelInfo>& channels,

Callers 2

EncodeChunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected