Loading...
Searching...
No Matches
jpeg_stream.h File Reference
Decode JPEGs with IJG scanlines into BGRA previews or disk-backed rasters. More...
#include "map_storage.h"#include "jpeg_marker_guard.h"#include <algorithm>#include <cstdio>#include <csetjmp>#include <jpeglib.h>#include <jerror.h>#include <memory>#include <functional>#include <vector>#include <utility>
Include dependency graph for jpeg_stream.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| class | pangea_survey::JpegStream |
| Convert one baseline JPEG into a row-major BGRA working raster. More... | |
| struct | pangea_survey::JpegStream::Error |
| struct | pangea_survey::JpegStream::Operation |
| struct | pangea_survey::JpegStream::Image |
| Decoded preview and its scale relative to the source camera image. More... | |
Namespaces | |
| namespace | pangea_survey |
Functions | |
| void | pangea_survey::validateJpegScanMessage (j_common_ptr state) |
| Apply the shared JPEG marker bounds to the current decoder state. | |
Detailed Description
Decode JPEGs with IJG scanlines into BGRA previews or disk-backed rasters.
Streaming one scanline at a time avoids retaining both the compressed source and a full decoded frame in memory. The working raster is an internal lossless intermediate. Its bounded raster path rejects progressive JPEGs; preview decoding retains the codec's progressive support.
Definition in file jpeg_stream.h.