33#if BITS_IN_JSAMPLE != 8
34 Sorry,
this code only copes with 8-bit JSAMPLEs.
52#define CMAPLENGTH (1<<(CMAPBITS))
63typedef rle_dest_struct * rle_dest_ptr;
81 rle_dest_ptr
dest = (rle_dest_ptr) dinfo;
107 ERREXIT(cinfo, JERR_RLE_COLORSPACE);
119 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small)
127 dest->colormap[ci * CMAPLENGTH +
i] =
134 dest->pub.buffer = (*cinfo->mem->access_virt_sarray)
136 dest->pub.buffer_height = 1;
138 dest->pub.put_pixel_rows = rle_put_pixel_rows;
140#ifdef PROGRESS_REPORT
158 rle_dest_ptr
dest = (rle_dest_ptr) dinfo;
161 dest->pub.buffer = (*cinfo->mem->access_virt_sarray)
177 rle_dest_ptr
dest = (rle_dest_ptr) dinfo;
179 rle_pixel **rle_row, *red_ptr, *green_ptr, *blue_ptr;
181 char cmapcomment[80];
184#ifdef PROGRESS_REPORT
202 header.cmaplen = CMAPBITS;
206 rle_putcom(cmapcomment, &
header);
217#ifdef PROGRESS_REPORT
227 rle_row = (rle_pixel **) (*cinfo->mem->access_virt_sarray)
231#ifdef PROGRESS_REPORT
240 output_row = * (*cinfo->mem->access_virt_sarray)
243 rle_row =
dest->rle_row;
244 red_ptr = rle_row[0];
245 green_ptr = rle_row[1];
246 blue_ptr = rle_row[2];
253#ifdef PROGRESS_REPORT
262#ifdef PROGRESS_REPORT
271 ERREXIT(cinfo, JERR_FILE_WRITE);
285 dest = (rle_dest_ptr) (*cinfo->mem->alloc_small)
287 dest->pub.start_output = start_output_rle;
288 dest->pub.finish_output = finish_output_rle;
298 dest->image = (*cinfo->mem->request_virt_sarray)
struct cdjpeg_progress_mgr * cd_progress_ptr
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
jpeg_calc_output_dimensions(j_decompress_ptr cinfo)
#define ERREXIT1(cinfo, code, p1)
#define ERREXIT2(cinfo, code, p1, p2)
#define GETJSAMPLE(value)
struct jpeg_common_struct * j_common_ptr
#define sprintf(buf, format,...)
struct jpeg_progress_mgr pub
int completed_extra_passes
J_COLOR_SPACE out_color_space
int actual_number_of_colors
JDIMENSION output_scanline
#define MEMZERO(addr, type, size)