#include "cdjpeg.h"
#include <ctype.h>
Go to the source code of this file.
◆ read_quant_tables()
Definition at line 75 of file rdswitch.c.
85{
90
94 }
96
102 }
109 }
111 }
115 }
116
117 if (termchar !=
EOF) {
121 }
122
125}
char boolean force_baseline
int CDECL fclose(FILE *file)
int WINAPIV fprintf(FILE *file, const char *format,...)
FILE *CDECL fopen(const char *path, const char *mode)
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_add_quant_table(j_compress_ptr cinfo, int which_tbl, const unsigned int *basic_table, int scale_factor, boolean force_baseline)
read_text_integer(FILE *file, long *result, int *termchar)
int q_scale_factor[NUM_QUANT_TBLS]
Referenced by parse_switches().
◆ read_text_integer()
| read_text_integer |
( |
FILE * |
file, |
|
|
long * |
result, |
|
|
int * |
termchar |
|
) |
| |
◆ set_quality_ratings()
Definition at line 267 of file rdswitch.c.
272{
276
284
286 while (*
arg && *
arg++ !=
',')
287 ;
288 } else {
289
291 }
292 }
295}
_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
jpeg_default_qtables(j_compress_ptr cinfo, boolean force_baseline)
jpeg_quality_scaling(int quality)
Referenced by parse_switches().
◆ set_quant_slots()
Definition at line 299 of file rdswitch.c.
304{
306 int ci;
308
317 fprintf(
stderr,
"JPEG quantization tables are numbered 0..%d\n",
320 }
322 while (*
arg && *
arg++ !=
',')
323 ;
324 } else {
325
327 }
328 }
330}
jpeg_component_info * comp_info
Referenced by parse_switches().
◆ set_sample_factors()
Definition at line 334 of file rdswitch.c.
339{
340 int ci, val1, val2;
341 char ch1, ch2;
342
345 ch2 = ',';
346 if (
sscanf(
arg,
"%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3)
348 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',')
354 }
357 while (*
arg && *
arg++ !=
',')
358 ;
359 } else {
360
363 }
364 }
366}
Referenced by parse_switches().
◆ text_getc()