EncodeH26xInfo

Function

Transfers data for video encoding callback.

Structure Definition

struct EncodeH26xInfo {    
    std::function<void(std::shared_ptr<uint8_t>, uint32_t)> func = {};
};

Parameter Description

Parameter

Input/Output

Description

func

Input

Function object for video encoding callback processing.

The first parameter std::shared_ptr<uint8_t> of the function object indicates the output video stream data (data on the host), and the second parameter uint32_t indicates the size of the video stream data.