hi_img_stream

Function

Defines the image stream information.

Definition

typedef struct {
    hi_payload_type   type;
    hi_u8 *ATTRIBUTE  addr;
    hi_u32   len;
    hi_u64   pts;
    hi_s32   reserved[2];
} hi_img_stream;

For details about basic data types hi_u8, hi_u32, hi_u64, and hi_s32, see Basic Data Types.

Members

Member

Description

type

Image type. For details, see hi_payload_type.

addr

Start virtual address of an image in the buffer.

len

Image buffer size, in bytes.

pts

Image timestamp. Reserved.

reserved

Reserved. To ensure compatibility in later versions, use the memset structure for resetting and initialization. Do not explicitly access the reserved field in the code.