3#include "../global.hpp"
5#include "../_decl/decl_vpat.hpp"
6#include "../_decl/decl_image.hpp"
16 : width_(image.Width())
18 void *basePtr =
nullptr;
19 if (!CVB_CALL_CAPI(
GetImageVPA(image.Handle(),
static_cast<CExports::cvbdim_t
>(plane), &basePtr,
20 reinterpret_cast<CExports::PVPAT *
>(&vpatPtr_))))
21 Utilities::SystemInfo::ThrowLastError();
25 assert(basePtr_ !=
nullptr && vpatPtr_ !=
nullptr
The Common Vision Blox image.
Definition decl_image.hpp:50
cvbbool_t GetImageVPA(IMG Image, cvbval_t PlaneIndex, void **ppBase, PVPAT *ppVPAT)
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17