33 }
while (
ch !=
'\n' &&
ch !=
EOF);
117 if (termchar !=
EOF) {
128#ifdef C_MULTISCAN_FILES_SUPPORTED
178 int scanno, ncomps, termchar;
191 while (read_scan_integer(fp, &
val, &termchar)) {
192 if (scanno >= MAX_SCANS) {
199 while (termchar ==
' ') {
201 fprintf(
stderr,
"Too many components in one scan in file %s\n",
206 if (! read_scan_integer(fp, &
val, &termchar))
212 if (termchar ==
':') {
213 if (! read_scan_integer(fp, &
val, &termchar) || termchar !=
' ')
216 if (! read_scan_integer(fp, &
val, &termchar) || termchar !=
' ')
219 if (! read_scan_integer(fp, &
val, &termchar) || termchar !=
' ')
222 if (! read_scan_integer(fp, &
val, &termchar))
232 if (termchar !=
';' && termchar !=
EOF) {
241 if (termchar !=
EOF) {
286 while (*
arg && *
arg++ !=
',')
317 fprintf(
stderr,
"JPEG quantization tables are numbered 0..%d\n",
321 cinfo->comp_info[ci].quant_tbl_no =
val;
322 while (*
arg && *
arg++ !=
',')
326 cinfo->comp_info[ci].quant_tbl_no =
val;
346 if (
sscanf(
arg,
"%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3)
348 if ((ch1 !=
'x' && ch1 !=
'X') || ch2 !=
',')
355 cinfo->comp_info[ci].h_samp_factor = val1;
356 cinfo->comp_info[ci].v_samp_factor = val2;
357 while (*
arg && *
arg++ !=
',')
361 cinfo->comp_info[ci].h_samp_factor = 1;
362 cinfo->comp_info[ci].v_samp_factor = 1;
char boolean force_baseline
int CDECL fclose(FILE *file)
int CDECL ungetc(int c, FILE *file)
int WINAPIV fprintf(FILE *file, const char *format,...)
int CDECL getc(FILE *file)
FILE *CDECL fopen(const char *path, const char *mode)
_ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl _ACRTIMP int __cdecl sscanf(const char *, const char *,...) __WINE_CRT_SCANF_ATTR(2
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
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_default_qtables(j_compress_ptr cinfo, boolean force_baseline)
jpeg_add_quant_table(j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline)
jpeg_quality_scaling(int quality)
#define MEMCOPY(dest, src, size)
struct jpeg_common_struct * j_common_ptr
#define MAX_COMPS_IN_SCAN
read_text_integer(FILE *file, long *result, int *termchar)
set_quality_ratings(j_compress_ptr cinfo, char *arg, boolean force_baseline)
read_quant_tables(j_compress_ptr cinfo, char *filename, boolean force_baseline)
set_sample_factors(j_compress_ptr cinfo, char *arg)
set_quant_slots(j_compress_ptr cinfo, char *arg)
const jpeg_scan_info * scan_info
int component_index[MAX_COMPS_IN_SCAN]