#include "wave-jpeg.h"
#include <setjmp.h>
#include <jpeglib.h>
#include "common/wave_ex.h"
#include "nstream/nstream.h"
#include "perf/perf.h"
#include "util/file.h"
#include "util/token_stream.h"
Go to the source code of this file.
Namespaces | |
namespace | media |
Functions | |
static void | media::init_source (struct jpeg_decompress_struct *pds) |
static int | media::fill_input_buffer (struct jpeg_decompress_struct *pds) |
static void | media::skip_input_data (struct jpeg_decompress_struct *pds, long bytes) |
static void | media::term_source (struct jpeg_decompress_struct *pds) |
static void | media::setJpegSourceStream (struct jpeg_decompress_struct &cinfo, std::istream &stream) |
static void | media::my_error_exit (j_common_ptr cinfo) |
void | media::readJpegFromStream (std::istream &stream, image_t &image) |
smart_ptr< ImageLoader > | media::createJpegImageLoader (void) |
create an ImageLoader for JPEG images | |
Variables | |
static const int | media::s_bufferSize = 4096 |