MCPcopy Create free account
hub / github.com/RenderKit/oidn / Image

Method Image

core/image.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 Image::Image() :
38 ImageDesc(Format::Undefined, 0, 0),
39 ptr(nullptr) {}
40
41 Image::Image(void* ptr, Format format, size_t width, size_t height, size_t byteOffset, size_t pixelByteStride, size_t rowByteStride)
42 : ImageDesc(format, width, height, pixelByteStride, rowByteStride)

Callers

nothing calls this directly

Calls 6

ExceptionFunction · 0.85
getFormatSizeFunction · 0.85
getByteSizeFunction · 0.70
getByteSizeMethod · 0.45
getPtrMethod · 0.45
newBufferMethod · 0.45

Tested by

no test coverage detected