OpenCV  2.4.13
Open Source Computer Vision
cv::gpu::VideoWriter_GPU Class Reference

#include <gpu.hpp>

Classes

class  EncoderCallBack
 
struct  EncoderParams
 

Public Types

enum  SurfaceFormat {
  SF_UYVY = 0, SF_YUY2, SF_YV12, SF_NV12,
  SF_IYUV, SF_BGR, SF_GRAY = SF_BGR
}
 

Public Member Functions

 VideoWriter_GPU ()
 
 VideoWriter_GPU (const std::string &fileName, cv::Size frameSize, double fps, SurfaceFormat format=SF_BGR)
 
 VideoWriter_GPU (const std::string &fileName, cv::Size frameSize, double fps, const EncoderParams &params, SurfaceFormat format=SF_BGR)
 
 VideoWriter_GPU (const cv::Ptr< EncoderCallBack > &encoderCallback, cv::Size frameSize, double fps, SurfaceFormat format=SF_BGR)
 
 VideoWriter_GPU (const cv::Ptr< EncoderCallBack > &encoderCallback, cv::Size frameSize, double fps, const EncoderParams &params, SurfaceFormat format=SF_BGR)
 
 ~VideoWriter_GPU ()
 
void open (const std::string &fileName, cv::Size frameSize, double fps, SurfaceFormat format=SF_BGR)
 
void open (const std::string &fileName, cv::Size frameSize, double fps, const EncoderParams &params, SurfaceFormat format=SF_BGR)
 
void open (const cv::Ptr< EncoderCallBack > &encoderCallback, cv::Size frameSize, double fps, SurfaceFormat format=SF_BGR)
 
void open (const cv::Ptr< EncoderCallBack > &encoderCallback, cv::Size frameSize, double fps, const EncoderParams &params, SurfaceFormat format=SF_BGR)
 
bool isOpened () const
 
void close ()
 
void write (const cv::gpu::GpuMat &image, bool lastFrame=false)
 
EncoderParams getParams () const
 

Member Enumeration Documentation

Enumerator
SF_UYVY 
SF_YUY2 
SF_YV12 
SF_NV12 
SF_IYUV 
SF_BGR 
SF_GRAY 

Constructor & Destructor Documentation

cv::gpu::VideoWriter_GPU::VideoWriter_GPU ( )
cv::gpu::VideoWriter_GPU::VideoWriter_GPU ( const std::string &  fileName,
cv::Size  frameSize,
double  fps,
SurfaceFormat  format = SF_BGR 
)
cv::gpu::VideoWriter_GPU::VideoWriter_GPU ( const std::string &  fileName,
cv::Size  frameSize,
double  fps,
const EncoderParams params,
SurfaceFormat  format = SF_BGR 
)
cv::gpu::VideoWriter_GPU::VideoWriter_GPU ( const cv::Ptr< EncoderCallBack > &  encoderCallback,
cv::Size  frameSize,
double  fps,
SurfaceFormat  format = SF_BGR 
)
cv::gpu::VideoWriter_GPU::VideoWriter_GPU ( const cv::Ptr< EncoderCallBack > &  encoderCallback,
cv::Size  frameSize,
double  fps,
const EncoderParams params,
SurfaceFormat  format = SF_BGR 
)
cv::gpu::VideoWriter_GPU::~VideoWriter_GPU ( )

Member Function Documentation

void cv::gpu::VideoWriter_GPU::close ( )
EncoderParams cv::gpu::VideoWriter_GPU::getParams ( ) const
bool cv::gpu::VideoWriter_GPU::isOpened ( ) const
void cv::gpu::VideoWriter_GPU::open ( const std::string &  fileName,
cv::Size  frameSize,
double  fps,
SurfaceFormat  format = SF_BGR 
)
void cv::gpu::VideoWriter_GPU::open ( const std::string &  fileName,
cv::Size  frameSize,
double  fps,
const EncoderParams params,
SurfaceFormat  format = SF_BGR 
)
void cv::gpu::VideoWriter_GPU::open ( const cv::Ptr< EncoderCallBack > &  encoderCallback,
cv::Size  frameSize,
double  fps,
SurfaceFormat  format = SF_BGR 
)
void cv::gpu::VideoWriter_GPU::open ( const cv::Ptr< EncoderCallBack > &  encoderCallback,
cv::Size  frameSize,
double  fps,
const EncoderParams params,
SurfaceFormat  format = SF_BGR 
)
void cv::gpu::VideoWriter_GPU::write ( const cv::gpu::GpuMat image,
bool  lastFrame = false 
)

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