ImFusion SDK 4.3
VideoFileRecorder Class Reference

Public Types

enum class  InitializeResult {
  Valid , SizeInvalid , FormatUnknown , FormatError ,
  IOContextError , EncoderUnknown , ContextCreateError , CodecOpenError ,
  VideoStreamError , CodecParamCopyError , HeaderWriteError , FrameAllocateError ,
  FrameBufferError , PacketError , UnsupportedOutputPixelFormat , OutputFormatInvalid
}
 
enum class  OutputPixelFormat {
  YUV420P , YUV444P , GRAY8 , GRAY16 ,
  RGB24 , RGBA , BGRA , BGR0
}
 

Public Member Functions

InitializeResult initialize (int width, int height, int fps, OutputPixelFormat format, const std::string &formatShortName, const std::string &encoderName, const std::vector< std::pair< std::string, std::string > > encoderParameters, const std::string &outputPath)
 
bool ok () const
 
bool finalize ()
 
void clear ()
 
bool encodeFrame (const MemImage &image)
 
void encodeFrame (const TypedImage< unsigned char > &image)
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close