YARP
Yet Another Robot Platform
MjpegDecompressionHelper Class Reference

Public Member Functions

 MjpegDecompressionHelper ()
 
bool setReadEnvelopeCallback (yarp::os::InputStream::readEnvelopeCallbackType callback, void *data)
 
void init ()
 
bool decompress (const Bytes &cimg, FlexImage &img)
 
void fini ()
 
 ~MjpegDecompressionHelper ()
 

Public Attributes

bool active {false}
 
struct jpeg_decompress_struct cinfo
 
struct net_error_mgr jerr
 
JOCTET error_buffer [4]
 
yarp::os::InputStream::readEnvelopeCallbackType readEnvelopeCallback {nullptr}
 
void * readEnvelopeCallbackData {nullptr}
 

Detailed Description

Definition at line 116 of file MjpegDecompression.cpp.

Constructor & Destructor Documentation

◆ MjpegDecompressionHelper()

MjpegDecompressionHelper::MjpegDecompressionHelper ( )
inline

Definition at line 125 of file MjpegDecompression.cpp.

◆ ~MjpegDecompressionHelper()

MjpegDecompressionHelper::~MjpegDecompressionHelper ( )
inline

Definition at line 194 of file MjpegDecompression.cpp.

Member Function Documentation

◆ decompress()

bool MjpegDecompressionHelper::decompress ( const Bytes cimg,
FlexImage img 
)
inline

Definition at line 142 of file MjpegDecompression.cpp.

◆ fini()

void MjpegDecompressionHelper::fini ( )
inline

Definition at line 190 of file MjpegDecompression.cpp.

◆ init()

void MjpegDecompressionHelper::init ( )
inline

Definition at line 139 of file MjpegDecompression.cpp.

◆ setReadEnvelopeCallback()

bool MjpegDecompressionHelper::setReadEnvelopeCallback ( yarp::os::InputStream::readEnvelopeCallbackType  callback,
void *  data 
)
inline

Definition at line 131 of file MjpegDecompression.cpp.

Member Data Documentation

◆ active

bool MjpegDecompressionHelper::active {false}

Definition at line 118 of file MjpegDecompression.cpp.

◆ cinfo

struct jpeg_decompress_struct MjpegDecompressionHelper::cinfo

Definition at line 118 of file MjpegDecompression.cpp.

◆ error_buffer

JOCTET MjpegDecompressionHelper::error_buffer[4]

Definition at line 121 of file MjpegDecompression.cpp.

◆ jerr

struct net_error_mgr MjpegDecompressionHelper::jerr

Definition at line 118 of file MjpegDecompression.cpp.

◆ readEnvelopeCallback

yarp::os::InputStream::readEnvelopeCallbackType MjpegDecompressionHelper::readEnvelopeCallback {nullptr}

Definition at line 122 of file MjpegDecompression.cpp.

◆ readEnvelopeCallbackData

void* MjpegDecompressionHelper::readEnvelopeCallbackData {nullptr}

Definition at line 123 of file MjpegDecompression.cpp.


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