Home
last modified time | relevance | path

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

/PHP-8.3/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.3/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.3/ext/gd/
H A Dgd.c1727 zend_long quality = 128, type = 1; in _php_image_output() local
1749 if (quality < INT_MIN || quality > INT_MAX) { in _php_image_output()
1770 if (quality == -1) { in _php_image_output()
1771 quality = 128; in _php_image_output()
1773 gdImageGd2(im, fp, quality, type); in _php_image_output()
1796 if (quality == -1) { in _php_image_output()
1797 quality = 128; in _php_image_output()
1799 gdImageGd2(im, tmp, quality, type); in _php_image_output()
4127 gdImageJpegCtx(im, ctx, (int) quality); in _php_image_output_ctx()
4132 if (quality == -1) { in _php_image_output_ctx()
[all …]
H A Dgd.stub.php605 function imageavif(GdImage $image, $file = null, int $quality = -1, int $speed = -1): bool {} argument
613 function imagepng(GdImage $image, $file = null, int $quality = -1, int $filters = -1): bool {} argument
618 function imagewebp(GdImage $image, $file = null, int $quality = -1): bool {} argument
623 function imagejpeg(GdImage $image, $file = null, int $quality = -1): bool {} argument
H A Dgd_arginfo.h218 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
232 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
241 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
249 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
/PHP-8.3/
H A DREADME.md86 testing and quality assurance.
/PHP-8.3/ext/standard/html_tables/mappings/
H A DROMAN.TXT47 # included data, its quality, accuracy, or fitness for a particular
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic5720 >>10 byte&0xF0 0x50 \b, quality 0
5721 >>10 byte&0xF0 0x60 \b, quality 1
5722 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone)
5723 >>10 byte&0xF0 0x80 \b, quality 3 (Thumb)
5724 >>10 byte&0xF0 0x90 \b, quality 4 (Radio)
5725 >>10 byte&0xF0 0xA0 \b, quality 5 (Standard)
5726 >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme)
5727 >>10 byte&0xF0 0xC0 \b, quality 7 (Insane)
5728 >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead)
5729 >>10 byte&0xF0 0xE0 \b, quality 9
[all …]
H A Dmagic私はガラスを食べられます5720 >>10 byte&0xF0 0x50 \b, quality 0
5721 >>10 byte&0xF0 0x60 \b, quality 1
5722 >>10 byte&0xF0 0x70 \b, quality 2 (Telephone)
5723 >>10 byte&0xF0 0x80 \b, quality 3 (Thumb)
5724 >>10 byte&0xF0 0x90 \b, quality 4 (Radio)
5725 >>10 byte&0xF0 0xA0 \b, quality 5 (Standard)
5726 >>10 byte&0xF0 0xB0 \b, quality 6 (Xtreme)
5727 >>10 byte&0xF0 0xC0 \b, quality 7 (Insane)
5728 >>10 byte&0xF0 0xD0 \b, quality 8 (BrainDead)
5729 >>10 byte&0xF0 0xE0 \b, quality 9
[all …]
/PHP-8.3/ext/mbstring/tests/data/
H A DMacJapanese-SJIS.txt49 # included data, its quality, accuracy, or fitness for a particular

Completed in 173 milliseconds