Home
last modified time | relevance | path

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

/PHP-8.1/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.1/ext/gd/libgd/
H A Dgd_webp.c103 void gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) in gdImageWebpCtx() argument
120 if (quality == -1) { in gdImageWebpCtx()
121 quality = 80; in gdImageWebpCtx()
155 if (quality >= gdWebpLossless) { in gdImageWebpCtx()
158 out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quality, &out); in gdImageWebpCtx()
172 void gdImageWebpEx (gdImagePtr im, FILE * outFile, int quality) in gdImageWebpEx() argument
175 gdImageWebpCtx(im, out, quality); in gdImageWebpEx()
197 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) in gdImageWebpPtrEx() argument
201 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()
485 void gdImageAvifCtx(gdImagePtr im, gdIOCtx *outfile, int quality, int speed) in gdImageAvifCtx() argument
490 avifBool lossless = quality == 100; in gdImageAvifCtx()
517 avifPixelFormat subsampling = quality >= HIGH_QUALITY_SUBSAMPLING_THRESHOLD ? in gdImageAvifCtx()
558 int quantizerQuality = quality == QUALITY_DEFAULT ? in gdImageAvifCtx()
559 QUANTIZER_DEFAULT : quality2Quantizer(quality); in gdImageAvifCtx()
597 void gdImageAvifEx(gdImagePtr im, FILE *outFile, int quality, int speed) in gdImageAvifEx() argument
602 gdImageAvifCtx(im, out, quality, speed); in gdImageAvifEx()
612 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.1/ext/gd/
H A Dgd.stub.php142 function imageavif(GdImage $image, $file = null, int $quality = -1, int $speed = -1): bool {} argument
150 function imagepng(GdImage $image, $file = null, int $quality = -1, int $filters = -1): bool {} argument
155 function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {} argument
160 function imagejpeg(GdImage $image, $file = null, int $quality = -1): bool {} argument
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")
H A Dgd.c1873 zend_long quality = 0, type = 0; in _php_image_output() local
1899 q = quality; in _php_image_output()
4233 zend_long quality = -1, basefilter = -1, speed = -1; in _php_image_output_ctx() local
4251 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|z!l", &imgind, gd_image_ce, &to_zval, &quality) == F… in _php_image_output_ctx()
4270 gdImageJpegCtx(im, ctx, (int) quality); in _php_image_output_ctx()
4275 if (quality == -1) { in _php_image_output_ctx()
4276 quality = 80; in _php_image_output_ctx()
4278 gdImageWebpCtx(im, ctx, (int) quality); in _php_image_output_ctx()
4286 gdImageAvifCtx(im, ctx, (int) quality, (int) speed); in _php_image_output_ctx()
4292 gdImagePngCtxEx(im, ctx, (int) quality, (int) basefilter); in _php_image_output_ctx()
[all …]
/PHP-8.1/
H A DREADME.md86 testing and quality assurance.
H A DUPGRADING294 …Note, that the quality of the custom secret is crucial for the quality of the resulting hash. It is
580 quality. This constant is only defined, if a libgd is used which supports
/PHP-8.1/ext/standard/html_tables/mappings/
H A DROMAN.TXT47 # included data, its quality, accuracy, or fitness for a particular
/PHP-8.1/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.1/ext/mbstring/tests/data/
H A DMacJapanese-SJIS.txt49 # included data, its quality, accuracy, or fitness for a particular

Completed in 132 milliseconds