OpenCV  4.7.0-dev
Open Source Computer Vision
Public Member Functions | List of all members
cv::cudacodec::EncoderCallback Class Referenceabstract

Interface for encoder callbacks. More...

#include <opencv2/cudacodec.hpp>

Public Member Functions

virtual ~EncoderCallback ()
 
virtual void onEncoded (std::vector< std::vector< uint8_t >> vPacket)=0
 Callback function to signal that the encoded bitstream for one or more frames is ready. More...
 
virtual void onEncodingFinished ()=0
 Callback function to that the encoding has finished. More...
 

Detailed Description

Interface for encoder callbacks.

User can implement own multiplexing by implementing this interface.

Constructor & Destructor Documentation

◆ ~EncoderCallback()

virtual cv::cudacodec::EncoderCallback::~EncoderCallback ( )
inlinevirtual

Member Function Documentation

◆ onEncoded()

virtual void cv::cudacodec::EncoderCallback::onEncoded ( std::vector< std::vector< uint8_t >>  vPacket)
pure virtual

Callback function to signal that the encoded bitstream for one or more frames is ready.

Parameters
vPacketThe raw bitstream for one or more frames.

◆ onEncodingFinished()

virtual void cv::cudacodec::EncoderCallback::onEncodingFinished ( )
pure virtual

Callback function to that the encoding has finished.


The documentation for this class was generated from the following file: