#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 |
Typedefs | |
typedef int | media::boolean_t |
Functions | |
static void | media::init_source (IN struct jpeg_decompress_struct *pds) |
static boolean_t | media::fill_input_buffer (IN struct jpeg_decompress_struct *pds) |
static void | media::skip_input_data (IN struct jpeg_decompress_struct *pds, IN long bytes) |
static void | media::term_source (IN struct jpeg_decompress_struct *pds) |
static void | media::setJpegSourceStream (IN struct jpeg_decompress_struct &cinfo, IN std::istream &stream) |
static void | media::my_error_exit (IN j_common_ptr cinfo) |
void | media::readJpegFromStream (IO std::istream &stream, OUT image_t &image) |
smart_ptr< ImageLoader > | media::createJpegImageLoader (void) |
create an ImageLoader for JPEG images | |
Variables | |
static const int | media::s_bufferSize = 4096 |