Searched refs:height (Results 1 - 18 of 18) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_arc_f_buggy.c13 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 Dgd_gif_in.c97 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 Dgd_wbmp.c139 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) {
151 for (row = 0; row < wbmp->height; row++) {
H A Dwbmp.c111 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 Dwbmp.h31 int height; /* height of the image */ member in struct:Wbmp_
46 Wbmp *createwbmp( int width, int height, int color );
H A Dwebpimg.c320 * 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 Dgd_png.c123 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 Dgd_webp.c39 int width, height, ret; local
45 ret = WebPDecode(data, size, &Y, &U, &V, &width, &height);
53 im = gdImageCreateTrueColor(width, height);
65 int width, height, ret; local
94 ret = WebPDecode(filedata, size, &Y, &U, &V, &width, &height);
103 im = gdImageCreateTrueColor(width, height);
169 int height = im->sy; local
182 yuv_height = (height + 1) >> 1;
183 yuv_nbytes = width * height + 2 * yuv_width * yuv_height;
191 U = Y + width * height;
[all...]
H A Dwebpimg.h81 * 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 Dgd.h290 /* 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
844 gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height);
845 gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height);
H A Dgd_crop.c50 dst = gdImageCreateTrueColor(crop->width, crop->height);
56 dst = gdImageCreate(crop->width, crop->height);
73 if ((src->sy - crop->height) < crop->y) {
74 crop->height = src->sy - crop->y;
78 printf("rect->x: %i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x, crop->y, crop->width, crop->height);
83 while (y < (crop->y + (crop->height - 1))) {
89 for (y = crop->y; y < (crop->y + (crop->height - 1)); y++) {
117 const int height = gdImageSY(im); local
126 crop.height
230 const int height = gdImageSY(im); local
[all...]
H A Dgd_interpolation.c1041 /* same height, copy it */
1104 gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height) argument
1107 const unsigned long new_height = MAX(1, height);
1391 gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height) argument
1394 const long new_height = MAX(1, height);
2222 y1 = r->y + r->height - 1;
2226 r->height = CLAMP(y1, c1y, c2y) - r->y + 1;
2231 printf("%s (%i, %i) (%i, %i)\n", msg, r->x, r->y, r->width, r->height);
2264 area_full.height = gdImageSY(src);
2270 *dst = gdImageCreateTrueColor(bbox.width, bbox.height);
[all...]
H A Dgdxpm.c41 if (!(im = gdImageCreate(image.width, image.height))) {
126 for (i = 0; i < image.height; i++) {
H A Dgdft.c75 * Line separation as a factor of font height.
981 penf.y -= (long)(face->size->metrics.height * linespace);
1111 yd = slot->metrics.height - slot->metrics.horiBearingY;
1119 if ( (desc = (slot->metrics.height - slot->metrics.horiBearingY)) > yd) {
H A Dxbm.c39 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))) {
/PHP_TRUNK/ext/standard/
H A Dimage.c66 unsigned int height; member in struct:gfxinfo
116 result->height = (unsigned int)dim[2] | (((unsigned int)dim[3])<<8);
138 result->height = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]) << 8) + ((unsigned int)dim[3]);
163 result->height = (((unsigned int)dim[ 7]) << 8) + ((unsigned int) dim[ 6]);
168 result->height = (((unsigned int)dim[11]) << 24) + (((unsigned int)dim[10]) << 16) + (((unsigned int)dim[ 9]) << 8) + ((unsigned int) dim[ 8]);
169 result->height = abs((int32_t)result->height);
257 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) -
287 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) -
318 result->height
808 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
890 short width, height, bits; local
947 int i, width = 0, height = 0; local
1021 unsigned int width = 0, height = 0; local
[all...]
/PHP_TRUNK/ext/exif/
H A Dexif.c109 ZEND_ARG_INFO(1, height)
1494 size_t width, height; member in struct:__anon9
1589 size_t height; member in struct:__anon13
2252 result->height = php_jpg_get16(Data+3);
2918 ImageInfo->Thumbnail.height = exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel TSRMLS_CC);
3407 ImageInfo->Height = sof_info.height;
3442 if (!ImageInfo->Thumbnail.width && !ImageInfo->Thumbnail.height) {
3489 ImageInfo->Thumbnail.height = sof_info.height;
3492 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: size: %d * %d", sof_info.width, sof_info.height);
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c356 ZEND_ARG_INFO(0, height)
1446 * byte 12-15: (int) pixel height of each character
1449 * (nchars*width*height) bytes.
2341 zend_long srcx, srcy, width, height; local
2350 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) {
2353 if (width < 1 || height < 1) {
2354 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero width or height not allowed");
2398 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height);
2416 im = (*func_p)(fp, srcx, srcy, width, height);
2534 /* {{{ proto resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)
4407 zend_long height, width, threshold; local
[all...]

Completed in 46 milliseconds