DecodeH26xInfo

Description

Defines the structure that decodes the H.264 or H.265 information.

Structure Definition

1
2
3
4
5
6
7
8
struct DecodeH26xInfo {
    DecodeH26xInfo(uint32_t i, uint32_t i1, DecodeCallBackFunction pFunction, void *pVoid): channelId(i), frameId(i1), callbackFunc(pFunction), userData(pVoid) {}
    uint32_t channelId = 0;
    uint32_t frameId = 0;
    DecodeCallBackFunction callbackFunc = nullptr;
    void* userData = nullptr;
    bool userMalloc = false;
};

Parameters

Parameter

Description

channelId

Video channel ID

frameId

Frame ID

callbackFunc

Callback function

userData

User-defined data

userMalloc

Whether the data memory is allocated by the user