MCPcopy Create free account
hub / github.com/Kitware/VTK / FillOutPtrNoRLE

Method FillOutPtrNoRLE

IO/Image/vtkHDRReader.cxx:539–549  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

537
538//------------------------------------------------------------------------------
539void vtkHDRReader::FillOutPtrNoRLE(
540 int* outExt, float*& outPtr, std::vector<unsigned char>& lineBuffer)
541{
542 // Convert lineBuffer to RGB floats
543 for (int i = outExt[0]; i <= outExt[1]; ++i)
544 {
545 this->RGBE2Float(lineBuffer.data() + 4 * i, outPtr[0], outPtr[1], outPtr[2]);
546
547 outPtr += HDR_DATA_SIZE;
548 }
549}
550
551//------------------------------------------------------------------------------
552bool vtkHDRReader::ReadAllFileNoRLE(

Callers 1

ReadAllFileNoRLEMethod · 0.95

Calls 2

RGBE2FloatMethod · 0.95
dataMethod · 0.45

Tested by

no test coverage detected