jcapimin.c File Reference

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

Go to the source code of this file.

Defines

#define JPEG_INTERNALS

Functions

 jpeg_CreateCompress (j_compress_ptr cinfo, int version, size_t structsize)
 jpeg_destroy_compress (j_compress_ptr cinfo)
 jpeg_abort_compress (j_compress_ptr cinfo)
 jpeg_suppress_tables (j_compress_ptr cinfo, boolean suppress)
 jpeg_finish_compress (j_compress_ptr cinfo)
 jpeg_write_marker (j_compress_ptr cinfo, int marker, const JOCTET *dataptr, unsigned int datalen)
 jpeg_write_m_header (j_compress_ptr cinfo, int marker, unsigned int datalen)
 jpeg_write_m_byte (j_compress_ptr cinfo, int val)
 jpeg_write_tables (j_compress_ptr cinfo)


Define Documentation

#define JPEG_INTERNALS

Definition at line 20 of file jcapimin.c.


Function Documentation

jpeg_abort_compress ( j_compress_ptr  cinfo  ) 

Definition at line 108 of file jcapimin.c.

References jpeg_abort().

jpeg_CreateCompress ( j_compress_ptr  cinfo,
int  version,
size_t  structsize 
)

Definition at line 31 of file jcapimin.c.

References CSTATE_START, DCTSIZE, DCTSIZE2, ERREXIT2, FALSE, i, JERR_BAD_LIB_VERSION, jinit_memory_mgr(), JPEG_LIB_VERSION, jpeg_natural_order, MEMZERO, NULL, NUM_HUFF_TBLS, NUM_QUANT_TBLS, and SIZEOF.

jpeg_destroy_compress ( j_compress_ptr  cinfo  ) 

Definition at line 96 of file jcapimin.c.

References jpeg_destroy().

Referenced by ASImage2jpeg().

jpeg_finish_compress ( j_compress_ptr  cinfo  ) 

Definition at line 155 of file jcapimin.c.

References CSTATE_RAW_OK, CSTATE_SCANNING, CSTATE_WRCOEFS, ERREXIT, ERREXIT1, and NULL.

Referenced by ASImage2jpeg().

jpeg_suppress_tables ( j_compress_ptr  cinfo,
boolean  suppress 
)

Definition at line 127 of file jcapimin.c.

References htbl, i, if(), NULL, NUM_HUFF_TBLS, NUM_QUANT_TBLS, JHUFF_TBL::sent_table, and JQUANT_TBL::sent_table.

Referenced by jpeg_start_compress(), and LOCAL().

jpeg_write_m_byte ( j_compress_ptr  cinfo,
int  val 
)

Definition at line 234 of file jcapimin.c.

Referenced by jcopy_markers_execute().

jpeg_write_m_header ( j_compress_ptr  cinfo,
int  marker,
unsigned int  datalen 
)

Definition at line 222 of file jcapimin.c.

References CSTATE_RAW_OK, CSTATE_SCANNING, CSTATE_WRCOEFS, and ERREXIT1.

Referenced by jcopy_markers_execute().

jpeg_write_marker ( j_compress_ptr  cinfo,
int  marker,
const JOCTET dataptr,
unsigned int  datalen 
)

Definition at line 200 of file jcapimin.c.

References CSTATE_RAW_OK, CSTATE_SCANNING, CSTATE_WRCOEFS, ERREXIT1, info, JMETHOD, val, and write_marker_byte().

Referenced by jcopy_markers_execute().

jpeg_write_tables ( j_compress_ptr  cinfo  ) 

Definition at line 262 of file jcapimin.c.

References CSTATE_START, ERREXIT1, and jinit_marker_writer().


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