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

Method Image

src/backend/common/image.hpp:29–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28 public:
29 Image(const unsigned pWidth, const unsigned pHeight,
30 const forge::ChannelFormat pFormat, const forge::dtype pDataType)
31 : mImage(std::make_shared<detail::image_impl>(pWidth, pHeight, pFormat, pDataType)) {}
32
33 Image(const fg_image pOther) {
34 mImage = reinterpret_cast<Image*>(pOther)->impl();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected