JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Image/Jpeg.H>
Simple singleton wrapper over a turbojpeg compressor.
Most users should not need to use this class, compressBRGtoJpeg() uses it internally to avoid re-creating the turbojpeg compressor object on each video frame.
Public Member Functions | |
JpegCompressor () | |
Constructor, create the turbojpeg object. | |
virtual | ~JpegCompressor () |
Destructor, frees the turbojpeg object. | |
void * | compressor () |
Access the compressor handle. | |
Additional Inherited Members | |
Static Public Member Functions inherited from jevois::Singleton< JpegCompressor > | |
static JpegCompressor & | instance () |
Get the global, unique instance of the class T. | |
Protected Member Functions inherited from jevois::Singleton< JpegCompressor > | |
Singleton () | |
Only classes that inherit from Singleton can construct it via its protected default constructor. | |
jevois::JpegCompressor::JpegCompressor | ( | ) |
|
virtual |
void * jevois::JpegCompressor::compressor | ( | ) |
Access the compressor handle.
Definition at line 31 of file Jpeg.C.
Referenced by jevois::compressBGRtoJpeg(), jevois::compressGRAYtoJpeg(), jevois::compressRGBAtoJpeg(), and jevois::compressRGBtoJpeg().