Home
last modified time | relevance | path

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

/php-src/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: ';
75 Encoding AVIF at quality 70: ok
76 Encoding AVIF at quality 70 with speed 5: ok
77 Encoding AVIF with default quality: ok
78 Encoding AVIF with illegal quality: imageavif(): Argument #3 ($quality) must be between -1 and 100
H A Dpngcomp.phpt40 imagepng(): Argument #3 ($quality) must be between -1 and 9
41 imagepng(): Argument #3 ($quality) must be between -1 and 9
H A Dimageresolution_jpeg.phpt46 imagejpeg(): Argument #3 ($quality) must be at between -1 and 100
H A Dwebp_basic.phpt54 imagewebp(): Argument #3 ($quality) must be greater than or equal to -1
/php-src/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-src/ext/gd/
H A Dgd.c1768 if (quality < INT_MIN || quality > INT_MAX) { in _php_image_output()
1789 if (quality == -1) { in _php_image_output()
1790 quality = 128; in _php_image_output()
1815 if (quality == -1) { in _php_image_output()
1816 quality = 128; in _php_image_output()
1936 if (quality < -1 || quality > 9) { in PHP_FUNCTION()
1960 zend_long quality = -1; in PHP_FUNCTION() local
1976 if (quality < -1) { in PHP_FUNCTION()
2012 if (quality < -1 || quality > 100) { in PHP_FUNCTION()
2040 zend_long quality = -1; in PHP_FUNCTION() local
[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.h216 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
230 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
239 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
247 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, quality, IS_LONG, 0, "-1")
/php-src/
H A DREADME.md85 testing and quality assurance.
/php-src/ext/standard/html_tables/mappings/
H A DROMAN.TXT47 # included data, its quality, accuracy, or fitness for a particular
/php-src/ext/fileinfo/tests/
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 …]
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 …]
/php-src/ext/mbstring/tests/data/
H A DMacJapanese-SJIS.txt49 # included data, its quality, accuracy, or fitness for a particular

Completed in 234 milliseconds