#include <vil_jpeg_decompressor.h>
Definition at line 15 of file vil_jpeg_decompressor.h.
◆ vil_jpeg_decompressor()
| vil_jpeg_decompressor::vil_jpeg_decompressor |
( |
vil_stream * |
s | ) |
|
using jpeg decompressor objects :.
- supply an error manager, e.g. with jpeg_std_err(). this must be done before initializing the object.
- initialize with jpeg_create_decompress().
- supply a data stream, e.g. with jpeg_std_source().
- call jpeg_read_header() to start reading the data stream. this will read to the start of the compressed data and store various tables and parameters. if you just want the image parameters and not the data, it's ok to stop now, so long as you call jpeg_abort_decompress() or jpeg_destroy_decompress() to release resources.
- call jpeg_finish_decompress() if you read all the data. if you only read some of the data, call jpeg_abort_decompress().
- destruct the object with jpeg_destroy_decompress().
Definition at line 35 of file vil_jpeg_decompressor.cxx.
◆ ~vil_jpeg_decompressor()
| vil_jpeg_decompressor::~vil_jpeg_decompressor |
( |
| ) |
|
◆ read_scanline()
| JSAMPLE const * vil_jpeg_decompressor::read_scanline |
( |
unsigned |
line | ) |
|
Do not delete the return value.
Leave it alone. The return value is zero on failure. It should cost nothing to read the same scanline twice in succession.
Definition at line 82 of file vil_jpeg_decompressor.cxx.
◆ biffer
| JSAMPLE* vil_jpeg_decompressor::biffer |
|
private |
◆ jerr
| struct jpeg_error_mgr vil_jpeg_decompressor::jerr |
◆ jobj
| struct jpeg_decompress_struct vil_jpeg_decompressor::jobj |
◆ ready
| bool vil_jpeg_decompressor::ready |
|
private |
◆ stream
◆ valid
| bool vil_jpeg_decompressor::valid |
|
private |
The documentation for this class was generated from the following files: