MxVisionInfo

Function Usage

Defines the form information of visual data transferred between plugins in a stream.

Structure Definition

struct MxVisionInfo {
    uint32_t format;
    uint32_t width;
    uint32_t height;
    uint32_t widthAligned;
    uint32_t heightAligned;
    uint32_t resizeType;
    float keepAspectRatioScaling;
}

Parameter Description

Parameter

Input/Output

Description

format

Input

Visual data type. For details, see MxbasePixelFormat.

width

Input

Data width

height

Input

Data height

widthAligned

Input

Aligned data width

heightAligned

Input

Aligned data height

resizeType

Input

Resizing type. For details, see the resizeType field in ResizedImageInfo.

keeAspectRatioScaling

Input

Resizing ratio