MCPcopy Create free account
hub / github.com/arrayfire/forge / createBitmap

Function createBitmap

examples/cpu/histogram.cpp:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194Bitmap createBitmap(unsigned w, unsigned h)
195{
196 Bitmap retVal;
197 retVal.width = w;
198 retVal.height= h;
199 retVal.ptr = new unsigned char[4*w*h];
200 return retVal;
201}
202
203void destroyBitmap(Bitmap& bmp)
204{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected