#include <JPEGImage.h>
Inheritance diagram for JPEGImage:


Public Member Functions | |
| JPEGImage () | |
| Empty constructor. | |
| JPEGImage (const Image &src) | |
| Constructs a JPEG image from an image. | |
| JPEGImage & | operator= (const Image &src) |
| Assignment operator. | |
| void | toImage (Image &dest) const |
| Uncompress image. | |
Static Private Member Functions | |
Handlers for JPEG-compression | |
| void | onDestInit (j_compress_ptr cInfo) |
| int | onDestEmpty (j_compress_ptr) |
| void | onDestTerm (j_compress_ptr cInfo) |
| void | onSrcSkip (j_decompress_ptr cInfo, long numBytes) |
| int | onSrcEmpty (j_decompress_ptr) |
| void | onSrcIgnore (j_decompress_ptr) |
Private Attributes | |
| unsigned | size |
| The size of the JPEG image. | |
Friends | |
| Out & | operator<< (Out &stream, const JPEGImage &image) |
| Streaming operator that writes a JPEGImage to a stream. | |
| In & | operator>> (In &stream, JPEGImage &image) |
| Streaming operator that reads a JPEGImage from a stream. | |
Definition at line 41 of file JPEGImage.h.
|
|
Empty constructor.
Definition at line 71 of file JPEGImage.h. |
|
|
Constructs a JPEG image from an image.
Definition at line 10 of file JPEGImage.cpp. |
|
|
Definition at line 110 of file JPEGImage.cpp. References Image::cameraInfo, Image::image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. Referenced by operator=(). |
|
|
Definition at line 117 of file JPEGImage.cpp. References ASSERT. Referenced by operator=(). |
|
|
Definition at line 123 of file JPEGImage.cpp. References Image::image, and size. Referenced by operator=(). |
|
||||||||||||
|
Definition at line 129 of file JPEGImage.cpp. Referenced by toImage(). |
|
|
Definition at line 133 of file JPEGImage.cpp. References ASSERT. Referenced by toImage(). |
|
|
Definition at line 139 of file JPEGImage.cpp. Referenced by toImage(). |
|
|
Assignment operator.
Reimplemented from Image. Definition at line 15 of file JPEGImage.cpp. References Image::cameraInfo, Image::frameNumber, Image::image, onDestEmpty(), onDestInit(), onDestTerm(), CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:

|
|
Uncompress image.
Definition at line 56 of file JPEGImage.cpp. References Image::cameraInfo, cameraResolutionHeight_ERS210, cameraResolutionWidth_ERS210, Image::frameNumber, Image::image, onSrcEmpty(), onSrcIgnore(), onSrcSkip(), CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. Referenced by Cognition::handleMessage(), LogPlayer::saveAMV(), and LogPlayer::saveImages(). |
Here is the call graph for this function:

|
||||||||||||
|
Streaming operator that writes a JPEGImage to a stream.
Definition at line 143 of file JPEGImage.cpp. |
|
||||||||||||
|
Streaming operator that reads a JPEGImage from a stream.
Definition at line 151 of file JPEGImage.cpp. |
|
|
The size of the JPEG image.
Definition at line 54 of file JPEGImage.h. Referenced by onDestTerm(), operator<<(), and operator>>(). |
1.3.6