List of all members.
Definition at line 46 of file jpeg.h.
Member Enumeration Documentation
Output RGB data in the pixel format specified using `setOutputPixelFormat`.
This is the default output.
Output (interleaved) YUV data.
Be aware that some images cannot be output in YUV mode. These are (non-standard) JPEG images which are in RGB colorspace.
The resulting Surface will have a PixelFormat with 3 bytes per pixel and the remaining entries are completely zeroed. This works around the fact that PixelFormat can only describe RGB formats.
You should only use this when you are really aware of what you are doing!
Definition at line 61 of file jpeg.h.
Constructor & Destructor Documentation
Member Function Documentation
Decode the frame for the given data and return a pointer to a surface containing the decoded frame.
- a pointer to the decoded frame
Definition at line 74 of file jpeg.cpp.
Get the format that the surface returned from decodeImage() will be in.
Definition at line 81 of file jpeg.cpp.
Request the output color space.
This can be used to obtain raw YUV data from the JPEG file. But this might not work for all files!
The decoder itself defaults to RGB.
|outSpace ||The color space to output. |
Definition at line 93 of file jpeg.h.
Request the output pixel format.
The JPEG decoder provides high performance color conversion routines for some pixel formats. This setting allows to use them and avoid costly subsequent color conversion.
Definition at line 100 of file jpeg.h.
Member Data Documentation
The documentation for this class was generated from the following files: