Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 59) sorted by relevance

123

/plan9/sys/src/cmd/gs/jpeg/
H A Djcparam.c106 jpeg_quality_scaling (int quality) in jpeg_quality_scaling() argument
113 if (quality <= 0) quality = 1; in jpeg_quality_scaling()
114 if (quality > 100) quality = 100; in jpeg_quality_scaling()
122 if (quality < 50) in jpeg_quality_scaling()
123 quality = 5000 / quality; in jpeg_quality_scaling()
125 quality = 200 - quality*2; in jpeg_quality_scaling()
127 return quality; in jpeg_quality_scaling()
132 jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline) in jpeg_set_quality() argument
140 quality = jpeg_quality_scaling(quality); in jpeg_set_quality()
143 jpeg_set_linear_quality(cinfo, quality, force_baseline); in jpeg_set_quality()
H A Dusage.doc20 you may get poor image quality and/or little compression.
26 is possible if you can tolerate a low-quality image. You can trade off image
27 quality against file size by adjusting the compressor's "quality" setting.
79 -quality N Scale quantization tables to adjust image quality.
94 memory. Image quality and speed of decompression are
105 The -quality switch lets you trade off compressed file size against quality of
106 the reconstructed image: the higher the quality setting, the larger the JPEG
108 you want to use the lowest quality setting (smallest file) that decompresses
110 purpose the quality setting should be between 50 and 95; the default of 75 is
111 often about right. If you see defects at -quality 75, then go up 5 or 10
[all …]
H A Dwizard.doc9 with worse image quality and/or poorer compression than you'd get from the
20 the -quality setting. The details of the scaling algorithm can be found in
21 jcparam.c. At very low quality settings, some quantization table entries
25 wide compatibility of low-quality files, you can constrain the scaled
27 Note that use of -baseline will result in poorer quality for the same file
68 If the -qtables switch is used without -quality, then the specified tables
69 are used exactly as-is. If both -qtables and -quality are used, then the
71 tables would be scaled for that quality setting. If -baseline appears, then
110 with very little quality gain.
206 It may be worth pointing out that this script is tuned for quality settings
[all …]
H A Dcjpeg.c212 int quality; /* -quality parameter */ in parse_switches() local
225 quality = 75; /* default -quality value */ in parse_switches()
334 if (sscanf(argv[argn], "%d", &quality) != 1) in parse_switches()
337 q_scale_factor = jpeg_quality_scaling(quality); in parse_switches()
425 jpeg_set_quality(cinfo, quality, force_baseline); in parse_switches()
H A Dexample.c72 write_JPEG_file (char * filename, int quality) in write_JPEG_file() argument
137 jpeg_set_quality(&cinfo, quality, TRUE /* limit to baseline-JPEG values */); in write_JPEG_file()
H A Dlibjpeg.doc81 A wide range of quality vs. speed tradeoffs are possible in JPEG processing,
84 ranging from very-high-quality down to fast-preview operation. On the
85 compression side we have generally not provided low-quality choices, since
87 low-quality modes may not meet the JPEG standard's accuracy requirements;
600 returned image to be scaled and allow various speed/quality tradeoffs to be
821 jpeg_set_quality (j_compress_ptr cinfo, int quality, boolean force_baseline)
823 quality setting. The quality value is expressed on the 0..100 scale
824 recommended by IJG (cjpeg's "-quality" switch uses this routine).
825 Note that the exact mapping from quality values to tables may change
830 difference for quality settings below 25, and it effectively prevents
[all …]
H A Djpeglib.h919 EXTERN(void) jpeg_set_quality JPP((j_compress_ptr cinfo, int quality,
928 EXTERN(int) jpeg_quality_scaling JPP((int quality));
/plan9/sys/src/games/mp3enc/
H A Dlame.c416 switch (gfp->quality) { in lame_init_qval()
428 gfp->quality = 7; in lame_init_qval()
440 gfp->quality = 5; in lame_init_qval()
452 gfp->quality = 3; in lame_init_qval()
501 if (gfp->quality <= 2) in lame_init_qval()
1005 if (gfp->quality < 0) in lame_init_params()
1006 gfp->quality = 1; in lame_init_params()
1042 if (gfp->quality > 5) in lame_init_params()
1043 gfp->quality = 5; in lame_init_params()
1047 if (gfp->quality < 0) in lame_init_params()
[all …]
H A Dset_get.c298 int quality ) in lame_set_quality() argument
300 gfp->quality = quality; in lame_set_quality()
308 return gfp->quality; in lame_get_quality()
H A Dparse.c343 signed char quality; /* quality, the same as -f or -h */ member
452 switch (Presets[i].quality ) { in presets_info()
517 (void) lame_set_quality(gfp, Presets[i].quality); in presets_setup()
H A Dpcm.h244 …OUT int quality ); // Proposal: 0 default, 1 sample select, 2 linear interpol, 4 4-p…
/plan9/sys/src/cmd/gs/src/
H A Dsjpege.c79 int quality, boolean force_baseline) in gs_jpeg_set_quality() argument
84 quality, force_baseline); in gs_jpeg_set_quality()
H A Dgxhintn.c347 …ord(t1_hint * this, t1_glyph_space_coord gc, t1_pole * pole, enum t1_align_type align, int quality) in t1_hint__set_aligned_coord() argument
352 if (this->aligned0 <= align && this->q0 > quality) in t1_hint__set_aligned_coord()
353 this->ag0 = gc, this->aligned0 = align, this->q0 = quality; in t1_hint__set_aligned_coord()
355 if (this->aligned1 <= align && this->q1 > quality) in t1_hint__set_aligned_coord()
356 this->ag1 = gc, this->aligned1 = align, this->q1 = quality; in t1_hint__set_aligned_coord()
360 if (this->aligned0 < align && this->q0 > quality) in t1_hint__set_aligned_coord()
361 this->ag0 = gc, this->aligned0 = align, this->q0 = quality; in t1_hint__set_aligned_coord()
363 if (this->aligned1 < align && this->q1 > quality) in t1_hint__set_aligned_coord()
364 this->ag1 = gc, this->aligned1 = align, this->q1 = quality; in t1_hint__set_aligned_coord()
1418 long tan_x, long tan_y, int alpha, int alpha_div, int *quality) in t1_hinter__is_small_angle() argument
[all …]
H A Dgdevbjcl.c111 bjc_print_media_t media, bjc_print_quality_t quality, in bjc_put_print_method() argument
116 spputc(s, (media << 4) | quality); in bjc_put_print_method()
H A Dsjpeg.h52 int quality, boolean force_baseline);
H A Dgdevcd8.c597 int /*cdj_quality_t*/ quality; /* -1 draft, 0 normal, 1 best */ member
648 #define cdj_850_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page, correction, quality, paperty… argument
650 quality,\
667 #define cdj_1600_device(procs, dev_name, x_dpi, y_dpi, bpp, print_page, correction, quality, papert… argument
669 quality,\
818 if (cdj850->quality == DRAFT) { in hp_colour_open()
822 } else if (cdj850->quality == NORMAL) { in hp_colour_open()
840 if (cdj850->quality == DRAFT) { in hp_colour_open()
845 } else if (cdj850->quality == NORMAL) { in hp_colour_open()
879 (code = param_write_int(plist, "Quality", &cdj850->quality)) < 0 || in cdj850_get_params()
[all …]
H A Dgdevbjcl.h246 bjc_print_quality_t quality,
H A Djpeglib0.h919 EXTERN(void) jpeg_set_quality JPP((j_compress_ptr cinfo, int quality,
928 EXTERN(int) jpeg_quality_scaling JPP((int quality));
/plan9/sys/src/cmd/gs/lib/
H A Dbj8oh06n.upp1 -supModel="Canon BJC 8200, (600DpI)^2, OHP, normal quality"
H A Dbj8pa06n.upp1 -supModel="Canon BJC 8200, (600DpI)^2, plain paper, normal quality"
H A Dbj8ts06n.upp1 -supModel="Canon BJC 8200, (600DpI)^2, t-shirt transfer, normal quality"
H A Dbj8hg12f.upp1 -supModel="Canon BJC 8200, (1200DpI)^2, high gloss photo, high quality"
H A Dbj8gc12f.upp1 -supModel="Canon BJC 8200, (1200DpI)^2, glossy photo card, high quality"
H A Dbj8pp12f.upp1 -supModel="Canon BJC 8200, (1200DpI)^2, professional photo paper, highest quality"
/plan9/sys/src/cmd/aux/gps/
H A Dgpsfs.c45 uchar quality; member
268 fix.quality = 0; in gpstrack()
326 fix.quality = strtol(t[6], nil, 10); in gpstrack()
474 gpsplayback|f.quality, (int)f.zulu, f.time, f.lon, f.lat, f.altitude - f.sealevel, in readposn()
538 p = seprint(buf, buf + sizeof buf, "%d %d\n", gpsplayback|f.quality, f.satellites); in readsats()

123