Home
last modified time | relevance | path

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

/PHP-8.2/ext/gd/tests/
H A Davif_decode_encode.phpt29 echo 'Encoding AVIF at quality 70: ';
32 echo 'Encoding AVIF at quality 70 with speed 5: ';
35 echo 'Encoding AVIF with default quality: ';
38 echo 'Encoding AVIF with illegal quality: ';
66 Encoding AVIF at quality 70: ok
67 Encoding AVIF at quality 70 with speed 5: ok
68 Encoding AVIF with default quality: ok
69 Encoding AVIF with illegal quality: ok
/PHP-8.2/ext/gd/libgd/
H A Dgd_webp.c104 void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) in gdImageWebpCtx() argument
121 if (quality == -1) { in gdImageWebpCtx()
122 quality = 80; in gdImageWebpCtx()
156 if (quality >= gdWebpLossless) { in gdImageWebpCtx()
159 out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quality, &out); in gdImageWebpCtx()
173 void gdImageWebpEx (gdImagePtr im, FILE * outFile, int quality) in gdImageWebpEx() argument
176 gdImageWebpCtx(im, out, quality); in gdImageWebpEx()
198 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) in gdImageWebpPtrEx() argument
202 gdImageWebpCtx(im, out, quality); in gdImageWebpPtrEx()
H A Dgd_avif.c79 static int quality2Quantizer(int quality) { in quality2Quantizer() argument
80 int clampedQuality = CLAMP(quality, 0, MAX_QUALITY); in quality2Quantizer()
491 void gdImageAvifCtx(gdImagePtr im, gdIOCtx *outfile, int quality, int speed) in gdImageAvifCtx() argument
496 avifBool lossless = quality == 100; in gdImageAvifCtx()
523 avifPixelFormat subsampling = quality >= HIGH_QUALITY_SUBSAMPLING_THRESHOLD ? in gdImageAvifCtx()
581 int quantizerQuality = quality == QUALITY_DEFAULT ? in gdImageAvifCtx()
582 QUANTIZER_DEFAULT : quality2Quantizer(quality); in gdImageAvifCtx()
620 void gdImageAvifEx(gdImagePtr im, FILE *outFile, int quality, int speed) in gdImageAvifEx() argument
625 gdImageAvifCtx(im, out, quality, speed); in gdImageAvifEx()
635 void * gdImageAvifPtrEx(gdImagePtr im, int *size, int quality, int speed) in gdImageAvifPtrEx() argument
[all …]
H A Dgd_jpeg.c133 static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality);
144 void gdImageJpeg (gdImagePtr im, FILE * outFile, int quality) in gdImageJpeg() argument
147 gdImageJpegCtx (im, out, quality); in gdImageJpeg()
151 void *gdImageJpegPtr (gdImagePtr im, int *size, int quality) in gdImageJpegPtr() argument
155 if (!_gdImageJpegCtx(im, out, quality)) { in gdImageJpegPtr()
167 void gdImageJpegCtx (gdImagePtr im, gdIOCtx * outfile, int quality) in gdImageJpegCtx() argument
169 _gdImageJpegCtx(im, outfile, quality); in gdImageJpegCtx()
173 static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) in _gdImageJpegCtx() argument
212 if (quality >= 0) { in _gdImageJpegCtx()
213 jpeg_set_quality (&cinfo, quality, TRUE); in _gdImageJpegCtx()
[all …]
H A Dgd.h619 void gdImageJpeg(gdImagePtr im, FILE *out, int quality);
620 void gdImageJpegCtx(gdImagePtr im, gdIOCtx *out, int quality);
635 void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality);
638 void *gdImageJpegPtr(gdImagePtr im, int *size, int quality);
645 void gdImageAvifEx(gdImagePtr im, FILE *outfile, int quality, int speed);
647 void *gdImageAvifPtrEx(gdImagePtr im, int *size, int quality, int speed);
648 void gdImageAvifCtx(gdImagePtr im, gdIOCtx *outfile, int quality, int speed);
/PHP-8.2/ext/gd/
H A Dgd.stub.php606 function imageavif(GdImage $image, $file = null, int $quality = -1, int $speed = -1): bool {} argument
614 function imagepng(GdImage $image, $file = null, int $quality = -1, int $filters = -1): bool {} argument
619 function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {} argument
624 function imagejpeg(GdImage $image, $file = null, int $quality = -1): bool {} argument
H A Dgd.c1728 zend_long quality = 0, type = 0; in _php_image_output() local
1754 q = quality; in _php_image_output()
4101 zend_long quality = -1, basefilter = -1, speed = -1; in _php_image_output_ctx() local
4119 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == F… in _php_image_output_ctx()
4138 gdImageJpegCtx(im, ctx, (int) quality); in _php_image_output_ctx()
4143 if (quality == -1) { in _php_image_output_ctx()
4144 quality = 80; in _php_image_output_ctx()
4146 gdImageWebpCtx(im, ctx, (int) quality); in _php_image_output_ctx()
4154 gdImageAvifCtx(im, ctx, (int) quality, (int) speed); in _php_image_output_ctx()
4160 gdImagePngCtxEx(im, ctx, (int) quality, (int) basefilter); in _php_image_output_ctx()
[all …]
H A Dgd_arginfo.h219 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
233 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
242 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
250 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
/PHP-8.2/
H A DREADME.md87 testing and quality assurance.
H A DUPGRADING136 related to random number generators. New, higher quality RNGs are available
/PHP-8.2/ext/standard/html_tables/mappings/
H A DROMAN.TXT47 # included data, its quality, accuracy, or fitness for a particular
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic5195 >>10 byte&0xF0 0x50 \b, quality 0
5196 >>10 byte&0xF0 0x60 \b, quality 1
5197 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone)
5198 >>10 byte&0xF0 0x80 \b, quality 3 (Thumb)
5199 >>10 byte&0xF0 0x90 \b, quality 4 (Radio)
5200 >>10 byte&0xF0 0xA0 \b, quality 5 (Standard)
5201 >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme)
5202 >>10 byte&0xF0 0xC0 \b, quality 7 (Insane)
5203 >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead)
5204 >>10 byte&0xF0 0xE0 \b, quality 9
[all …]
H A Dmagic私はガラスを食べられます5195 >>10 byte&0xF0 0x50 \b, quality 0
5196 >>10 byte&0xF0 0x60 \b, quality 1
5197 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone)
5198 >>10 byte&0xF0 0x80 \b, quality 3 (Thumb)
5199 >>10 byte&0xF0 0x90 \b, quality 4 (Radio)
5200 >>10 byte&0xF0 0xA0 \b, quality 5 (Standard)
5201 >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme)
5202 >>10 byte&0xF0 0xC0 \b, quality 7 (Insane)
5203 >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead)
5204 >>10 byte&0xF0 0xE0 \b, quality 9
[all …]
/PHP-8.2/ext/mbstring/tests/data/
H A DMacJapanese-SJIS.txt49 # included data, its quality, accuracy, or fitness for a particular

Completed in 140 milliseconds