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


Public Member Functions | |
| JPEGImage2 () | |
| Empty constructor. | |
| JPEGImage2 (const Image &src) | |
| Constructs a JPEG image from an image. | |
| JPEGImage2 & | 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 JPEGImage2 &image) |
| Streaming operator that writes a JPEGImage2 to a stream. | |
| In & | operator>> (In &stream, JPEGImage2 &image) |
| Streaming operator that reads a JPEGImage2 from a stream. | |
Definition at line 41 of file JPEGImage2.h.
|
|
Empty constructor.
Definition at line 71 of file JPEGImage2.h. |
|
|
Constructs a JPEG image from an image.
Definition at line 10 of file JPEGImage2.cpp. |
|
|
Definition at line 123 of file JPEGImage2.cpp. References Image::cameraInfo, Image::image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
|
|
Definition at line 130 of file JPEGImage2.cpp. References ASSERT. |
|
|
Definition at line 136 of file JPEGImage2.cpp. References Image::image, and size. |
|
||||||||||||
|
Definition at line 142 of file JPEGImage2.cpp. |
|
|
Definition at line 146 of file JPEGImage2.cpp. References ASSERT. |
|
|
Definition at line 152 of file JPEGImage2.cpp. |
|
|
Assignment operator.
Reimplemented from Image. Definition at line 15 of file JPEGImage2.cpp. References Image::cameraInfo, cameraResolutionHeight_ERS7, cameraResolutionWidth_ERS7, Image::colorTable, Image::frameNumber, Image::image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
|
|
Uncompress image.
Definition at line 69 of file JPEGImage2.cpp. References Image::cameraInfo, cameraResolutionHeight_ERS210, cameraResolutionWidth_ERS210, Image::frameNumber, Image::image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
|
||||||||||||
|
Streaming operator that writes a JPEGImage2 to a stream.
Definition at line 156 of file JPEGImage2.cpp. |
|
||||||||||||
|
Streaming operator that reads a JPEGImage2 from a stream.
Definition at line 164 of file JPEGImage2.cpp. |
|
|
The size of the JPEG image.
Definition at line 54 of file JPEGImage2.h. Referenced by onDestTerm(), operator<<(), and operator>>(). |
1.3.6