MCPcopy Create free account
hub / github.com/CRVI/OpenCLIPP / Create

Method Create

Bench/src/CImage.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void CSimpleImage::Create(const SImage& Img, uint Align)
111{
112 ((SImage&)*this) = Img;
113 Free();
114 m_Data = new unsigned char[Step * Height + Align];
115 m_Offset = (uint) align(m_Data, Align);
116}
117
118void CSimpleImage::Create(uint W, uint H, uint C, SImage::EDataType T, uint Align)
119{

Callers

nothing calls this directly

Calls 4

alignFunction · 0.85
DepthFunction · 0.85
CreateFunction · 0.85
CalculateStepFunction · 0.70

Tested by

no test coverage detected