OpenCV  2.4.13.6
Open Source Computer Vision
cv::gpu::VideoWriter_GPU::EncoderCallBack Class Referenceabstract

#include <gpu.hpp>

Public Types

enum  PicType { IFRAME = 1, PFRAME = 2, BFRAME = 3 }
 

Public Member Functions

virtual ~EncoderCallBack ()
 
virtual ucharacquireBitStream (int *bufferSize)=0
 
virtual void releaseBitStream (unsigned char *data, int size)=0
 
virtual void onBeginFrame (int frameNumber, PicType picType)=0
 
virtual void onEndFrame (int frameNumber, PicType picType)=0
 

Member Enumeration Documentation

§ PicType

Enumerator
IFRAME 
PFRAME 
BFRAME 

Constructor & Destructor Documentation

§ ~EncoderCallBack()

virtual cv::gpu::VideoWriter_GPU::EncoderCallBack::~EncoderCallBack ( )
inlinevirtual

Member Function Documentation

§ acquireBitStream()

virtual uchar* cv::gpu::VideoWriter_GPU::EncoderCallBack::acquireBitStream ( int bufferSize)
pure virtual

§ onBeginFrame()

virtual void cv::gpu::VideoWriter_GPU::EncoderCallBack::onBeginFrame ( int  frameNumber,
PicType  picType 
)
pure virtual

§ onEndFrame()

virtual void cv::gpu::VideoWriter_GPU::EncoderCallBack::onEndFrame ( int  frameNumber,
PicType  picType 
)
pure virtual

§ releaseBitStream()

virtual void cv::gpu::VideoWriter_GPU::EncoderCallBack::releaseBitStream ( unsigned char *  data,
int  size 
)
pure virtual

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