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

Function fg_get_pixel_buffer

src/api/c/image.cpp:134–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134fg_err fg_get_pixel_buffer(unsigned* pOut, const fg_image pImage)
135{
136 try {
137 ARG_ASSERT(1, (pImage!=0));
138
139 *pOut = getImage(pImage)->pbo();
140 }
141 CATCHALL
142
143 return FG_ERR_NONE;
144}
145
146fg_err fg_get_image_size(unsigned* pOut, const fg_image pImage)
147{

Callers 1

pixelsMethod · 0.85

Calls 2

getImageFunction · 0.85
pboMethod · 0.45

Tested by

no test coverage detected