| /PHP_5_5/ext/gd/libgd/ |
| H A D | gd_arc_f_buggy.c | 13 static gdPoint gdArcClosest (int width, int height, int angle); 16 gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int width, int height, int color) 18 gdImageFilledArc (im, cx, cy, width, height, 0, 360, color, gdChord); 22 gdImageFilledArc (gdImagePtr im, int cx, int cy, int width, int height, int s, int e, int color, int style) 67 height = (height & 1) ? (height + 1) : (height); 70 b = height / 2; 110 gdImageFilledArc (im, cx, cy, width, height, [all...] |
| H A D | gd_gif_in.c | 97 static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP); /*1.4//, int ignore); */ 186 int width, height; local 219 height = LM_to_uint(buf[6], buf[7]); 221 if (left + width > screen_width || top + height > screen_height) { 228 if (!(im = gdImageCreate(width, height))) { 237 ReadImage(im, fd, width, height, localColorMap, 244 ReadImage(im, fd, width, height, 546 ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP) /*1.4//, int ignore) */ argument 612 if (ypos >= height) { 629 if (ypos >= height) [all...] |
| H A D | gd_wbmp.c | 139 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { 151 for (row = 0; row < wbmp->height; row++) {
|
| H A D | gd_webp.c | 39 int width, height, ret; local 45 ret = WebPDecode(data, size, &Y, &U, &V, &width, &height); 53 im = gdImageCreateTrueColor(width, height); 63 int width, height, ret; local 83 ret = WebPDecode(filedata, size, &Y, &U, &V, &width, &height); 92 im = gdImageCreateTrueColor(width, height); 158 int height = im->sy; local 171 yuv_height = (height + 1) >> 1; 172 yuv_nbytes = width * height + 2 * yuv_width * yuv_height; 180 U = Y + width * height; [all...] |
| H A D | gdft.c | 75 * Line separation as a factor of font height. 942 penf.y -= (long)(face->size->metrics.height * linespace); 1064 yd = slot->metrics.height - slot->metrics.horiBearingY; 1072 if ( (desc = (slot->metrics.height - slot->metrics.horiBearingY)) > yd) {
|
| H A D | gdxpm.c | 35 if (!(im = gdImageCreate(image.width, image.height))) { 121 for (i = 0; i < image.height; i++) {
|
| H A D | wbmp.c | 111 createwbmp (int width, int height, int color) argument 123 if (overflow2(sizeof (int) * width, height)) { 128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL) 135 wbmp->height = height; 137 for (i = 0; i < width * height; wbmp->bitmap[i++] = color); 177 wbmp->height = getmbi (getin, in); 178 if (wbmp->height == -1) 185 printf ("W: %d, H: %d\n", wbmp->width, wbmp->height); 189 overflow2(sizeof (int) * wbmp->width, wbmp->height)) [all...] |
| H A D | wbmp.h | 31 int height; /* height of the image */ member in struct:Wbmp_ 46 Wbmp *createwbmp( int width, int height, int color );
|
| H A D | webpimg.c | 320 * 5. width, height: the dimensions of the image whose data resides in Y, 324 * height * pixwpl bytes of memory before calling this routine. 331 int height, 342 /* note that the U, V upsampling in height is happening here as the U, V 345 for (y = 0; y < height; ++y) { 359 int height = im->sy; local 374 /* note that the U, V upsampling in height is happening here as the U, V 377 for (y = 0; y < height; ++y) { 531 * 3, 4. image width and height respectively 591 * 3, 4. image width and height respectivel 326 YUV420toRGBA(uint8* Y, uint8* U, uint8* V, int words_per_line, int width, int height, uint32* pixdata) argument 595 RGBAToYUV420(uint32* pixdata, int words_per_line, int width, int height, uint8* Y, uint8* U, uint8* V) argument 790 AdjustColorspace(uint8* Y, uint8* U, uint8* V, int width, int height) argument 818 AdjustColorspaceBack(uint8* Y, uint8* U, uint8* V, int width, int height) argument 849 WebPGetInfo(const uint8* data, int data_size, int *width, int *height) argument [all...] |
| H A D | webpimg.h | 81 * 4, 5. y_width, y_height: The width and height of the image whose data 84 * height. 120 * 5. width, height: the dimensions of the image whose data resides in Y, 124 * height * pixwpl bytes of memory before calling this routine. 131 int height, 140 * 3, 4. image width and height respectively 147 int height, 155 void AdjustColorspace(uint8* Y, uint8* U, uint8* V, int width, int height); 158 void AdjustColorspaceBack(uint8* Y, uint8* U, uint8* V, int width, int height); 160 /* Checks WebP image header and outputs height an [all...] |
| H A D | xbm.c | 39 unsigned int width = 0, height = 0; local 66 if (!strcmp("height", type)) { 67 height = (unsigned int) value; 80 bytes = (width * height / 8) + 1; 99 if(!(im = gdImageCreate(width, height))) {
|
| H A D | gd_crop.c | 48 dst = gdImageCreateTrueColor(crop->width, crop->height); 51 dst = gdImageCreate(crop->width, crop->height); 59 if (src->sy < (crop->y + crop->height -1)) { 60 crop->height = src->sy - crop->y + 1; 63 printf("rect->x: %i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x, crop->y, crop->width, crop->height); 71 while (y < (crop->y + (crop->height - 1))) { 77 for (y = crop->y; y < (crop->y + (crop->height - 1)); y++) { 106 const int height = gdImageSY(im); local 115 crop.height 219 const int height = gdImageSY(im); local [all...] |
| H A D | gd_png.c | 123 png_uint_32 width, height, rowbytes, w, h; local 193 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); 196 im = gdImageCreateTrueColor((int) width, (int) height); 198 im = gdImageCreate((int) width, (int) height); 323 image_data = (png_bytep) safe_emalloc(rowbytes, height, 0); 325 row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0); 328 for (h = 0; h < height; ++h) { 360 for (h = 0; h < height; h++) { 373 for (h = 0; h < height; h++) { 393 for (h = 0; h < height; 468 int height = im->sy; local [all...] |
| H A D | gd.h | 290 /* Character width and height */ 312 * height - Rectangle height 323 int width, height; member in struct:__anon4 429 /* Corners specified (not width and height). Upper left first, lower right 843 gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height); 844 gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height);
|
| H A D | gd_interpolation.c | 1043 /* same height, copy it */ 1103 gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height) argument 1106 const unsigned long new_height = MAX(1, height); 1390 gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height) argument 1393 const long new_height = MAX(1, height); 2233 y1 = r->y + r->height - 1; 2237 r->height = CLAMP(y1, c1y, c2y) - r->y + 1; 2242 printf("%s (%i, %i) (%i, %i)\n", msg, r->x, r->y, r->width, r->height); 2275 area_full.height = gdImageSY(src); 2281 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); [all...] |
| /PHP_5_5/ext/exif/ |
| H A D | exif.c | 119 ZEND_ARG_INFO(1, height) 1504 size_t width, height; member in struct:__anon73 1599 size_t height; member in struct:__anon77 2265 result->height = php_jpg_get16(Data+3); 2924 ImageInfo->Thumbnail.height = exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel TSRMLS_CC); 3413 ImageInfo->Height = sof_info.height; 3448 if (!ImageInfo->Thumbnail.width && !ImageInfo->Thumbnail.height) { 3495 ImageInfo->Thumbnail.height = sof_info.height; 3498 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: size: %d * %d", sof_info.width, sof_info.height); [all...] |
| /PHP_5_5/ext/standard/ |
| H A D | image.c | 63 unsigned int height; member in struct:gfxinfo 113 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8); 135 result->height = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]) << 8) + ((unsigned int)dim[3]); 160 result->height = (((unsigned int)dim[ 7]) << 8) + ((unsigned int) dim[ 6]); 165 result->height = (((unsigned int)dim[11]) << 24) + (((unsigned int)dim[10]) << 16) + (((unsigned int)dim[ 9]) << 8) + ((unsigned int) dim[ 8]); 252 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) - 282 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) - 313 result->height = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]) << 8) + ((unsigned int)dim[7]); 498 result->height = php_read2(stream TSRMLS_CC); 628 result->height 803 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local 885 short width, height, bits; local 942 int i, width = 0, height = 0; local 1016 unsigned int width = 0, height = 0; local [all...] |
| /PHP_5_5/ext/gd/ |
| H A D | gd.c | 348 ZEND_ARG_INFO(0, height) 1436 * byte 12-15: (int) pixel height of each character 1439 * (nchars*width*height) bytes. 2344 long srcx, srcy, width, height; local 2351 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) { 2354 if (width < 1 || height < 1) { 2355 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero width or height not allowed"); 2415 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); 2432 im = (*func_p)(fp, srcx, srcy, width, height); 2550 /* {{{ proto resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height) 4433 long height, width, threshold; local [all...] |