jdatasrc.c File Reference

#include "jinclude.h"
#include "jpeglib.h"
#include "jerror.h"

Go to the source code of this file.

Classes

struct  my_source_mgr

Defines

#define INPUT_BUF_SIZE   4096

Typedefs

typedef my_source_mgrmy_src_ptr

Functions

 init_source (j_decompress_ptr cinfo)
 init_mem_source (j_decompress_ptr cinfo)
 fill_input_buffer (j_decompress_ptr cinfo)
 fill_mem_input_buffer (j_decompress_ptr cinfo)
 skip_input_data (j_decompress_ptr cinfo, long num_bytes)
 term_source (j_decompress_ptr cinfo)
 jpeg_stdio_src (j_decompress_ptr cinfo, FILE *infile)
 jpeg_mem_src (j_decompress_ptr cinfo, unsigned char *inbuffer, unsigned long insize)


Define Documentation

#define INPUT_BUF_SIZE   4096

Definition at line 36 of file jdatasrc.c.

Referenced by fill_input_buffer(), and jpeg_stdio_src().


Typedef Documentation

typedef my_source_mgr* my_src_ptr

Definition at line 34 of file jdatasrc.c.


Function Documentation

fill_input_buffer ( j_decompress_ptr  cinfo  ) 

Definition at line 97 of file jdatasrc.c.

References ERREXIT, FALSE, INPUT_BUF_SIZE, JFREAD, JPEG_EOI, size_t, TRUE, and WARNMS.

Referenced by jpeg_stdio_src().

fill_mem_input_buffer ( j_decompress_ptr  cinfo  ) 

Definition at line 122 of file jdatasrc.c.

References JPEG_EOI, TRUE, and WARNMS.

Referenced by jpeg_mem_src().

init_mem_source ( j_decompress_ptr  cinfo  ) 

Definition at line 57 of file jdatasrc.c.

Referenced by jpeg_mem_src().

init_source ( j_decompress_ptr  cinfo  ) 

Definition at line 45 of file jdatasrc.c.

References TRUE.

Referenced by jpeg_stdio_src().

jpeg_mem_src ( j_decompress_ptr  cinfo,
unsigned char *  inbuffer,
unsigned long  insize 
)

Definition at line 248 of file jdatasrc.c.

References ERREXIT, fill_mem_input_buffer(), init_mem_source(), jpeg_resync_to_restart(), JPOOL_PERMANENT, NULL, size_t, SIZEOF, skip_input_data(), and term_source().

jpeg_stdio_src ( j_decompress_ptr  cinfo,
FILE *  infile 
)

Definition at line 209 of file jdatasrc.c.

References fill_input_buffer(), init_source(), INPUT_BUF_SIZE, jpeg_resync_to_restart(), JPOOL_PERMANENT, NULL, SIZEOF, skip_input_data(), and term_source().

Referenced by jpeg2ASImage().

skip_input_data ( j_decompress_ptr  cinfo,
long  num_bytes 
)

Definition at line 155 of file jdatasrc.c.

References long, and size_t.

Referenced by jpeg_mem_src(), and jpeg_stdio_src().

term_source ( j_decompress_ptr  cinfo  ) 

Definition at line 196 of file jdatasrc.c.

Referenced by jpeg_mem_src(), and jpeg_stdio_src().


Generated on Tue Jul 5 15:57:56 2011 for ROOT_528-00b_version by  doxygen 1.5.1