MxVisionInfo

Description

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

Structure Definition

1
2
3
4
5
6
7
8
9
struct MxVisionInfo {
    uint32_t format;
    uint32_t width;
    uint32_t height;
    uint32_t widthAligned;
    uint32_t heightAligned;
    uint32_t resizeType;
    float keepAspectRatioScaling;
}

Parameters

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.

keepAspectRatioScaling

Input

Resizing ratio.