Frame Grabber SDK (Windows-C) Developer Guide
MV_FG_PIXEL_TYPE_RGB8_Packed, and MV_FG_PIXEL_TYPE_BGR8_Packed.
Image splitting supports all pixel formats.
3.6.8 MV_FG_HB_Decode
Decode the lossless compressed stream.
API Definition
int __stdcall MV_FG_HB_Decode(
IMAGEHANDLE
MV_FG_HB_DECODE_PARAM
);
hImage,
*pstDecodeParam
Parameters
hImage
[IN] Image handle. You can use the handle of frame grabbers, devices, or stream channels.
pstDecodeParam
[IN][OUT] Structure about lossless decoding parameters. See MV_FG_HB_DECODE_PARAM for
details.
Return Value
Return MV_FG_SUCCESS on success, and return Error Code on failure.
Remarks
This API is used to decode the lossless compressed stream obtained from cameras into raw data.
This API also supports parsing the watermark information of real-time image for the current camera.
If the input lossless stream is not from the current camera or not obtained in real time, the
watermark parsing may fail. To parse the watermark information, you should input the handle of
current camera, otherwise, only lossless decoding will be performed if you input the frame grabber
handle or stream handle.
3.7 Parameters Control
APIs for getting XML files of frame grabbers and cameras, getting and setting the device parameters,
and saving and loading the device features.
3.7.1 MV_FG_GetXMLFile
Get the XML file of frame grabbers / devices.
API Definition
int MV_FG_GetXMLFile(
PORTHANDLE
hPort,
unsigned char
*pData,
unsigned int
nDataSize,
unsigned int
*pnDataLen
25
    "