OSD Image

CrOSDImageDataBlock

Used for retrieving osd image data. Allocate an object of this type to use as an output buffer. See: Get OSD(On-Screen Display) Image.

Member Variables

Name

Type

Summary

-

-

-

Member Functions

Signature

Description

Constructor

-

Destructor

-

CrInt32u GetFrameNo()

Get the frame number.

void SetData(CrInt8u* data)

Set the receive pointer for osd image.

CrInt32u GetImageSize()

Get the osd image(png) data size.

CrInt8u* GetImageData()

Get the pointer of osd image(png) data.

CrOSDImageMetaInfo GetMetaInfo()

Get the meta data.

CrOSDImageMetaInfo

Used for osd image metadata. Allocate an object of this type to use as an output buffer.

See: Get OSD(On-Screen Display) Image.

Member Variables

Name

Type

Summary

isLvPosExist

CrIsLvPosExist

Enable: You can overlay to live-view image it.
The live-view image is get by GetLiveViewImage().

osdWidth

CrInt32u

Width of osd image.

osdHeight

CrInt32u

Height of osd image.

lvPosX

CrInt32u

Live-view center position x on osd image when overlay osd image to it.

lvPosY

CrInt32u

Live-view center position y on osd image when overlay osd image to it.

lvWidth

CrInt32u

Width of live-view when osd image overlay it.

lvHeight

CrInt32u

height of live-view when osd image overlay it.

degree

CrInt32u

Rotate degree
You should rotate image if this value is not 0.

Member Functions

Signature

Description

Constructor

-

Destructor

-

CrIsLvPosExist

Enumerate of kind of that overlay live-view image is enabled.

Member Enumerations

Definition

Summary

CrIsLvPosExist_Disable

Disable

CrIsLvPosExist_Enable

Enable