DecodeH26xInfo

Function

Decodes the H.264 or H.265 information structures.

Structure Definition

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;
    bool userMalloc = false;
};

Parameter Description

Parameter

Description

channelId

Video channel ID

frameId

Frame ID

callbackFunc

Callback

userData

User-defined data

userMalloc

Whether the data memory is allocated by the user