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

Function fg_get_image_pixelformat

src/api/c/image.cpp:110–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110fg_err fg_get_image_pixelformat(fg_channel_format* pOut, const fg_image pImage)
111{
112 try {
113 ARG_ASSERT(1, (pImage!=0));
114
115 *pOut = getImage(pImage)->pixelFormat();
116 }
117 CATCHALL
118
119 return FG_ERR_NONE;
120}
121
122fg_err fg_get_image_type(fg_dtype* pOut, const fg_image pImage)
123{

Callers 1

pixelFormatMethod · 0.85

Calls 2

getImageFunction · 0.85
pixelFormatMethod · 0.45

Tested by

no test coverage detected