Searched defs:width (Results 1 - 19 of 19) sorted by relevance

/PHP_5_5/ext/gd/libgd/
H A Dgd_gif_in.c186 int width, height; local
218 width = LM_to_uint(buf[4], buf[5]);
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,
H A Dgd_topal.c358 JDIMENSION width = cinfo->output_width; local
360 int width = oim->sx; local
367 for (col = width; col > 0; col--)
1290 int width = oim->sx; local
1299 JDIMENSION width = cinfo->output_width;
1312 for (col = width; col > 0; col--)
1387 JDIMENSION width = cinfo->output_width; local
1395 int width = oim->sx; local
1411 inptr += (width - 1) * 3; /* so point to rightmost pixel */
1412 outptr += width
[all...]
H A Dwbmp.c111 createwbmp (int width, int height, int color) argument
119 if (overflow2(sizeof (int), width)) {
123 if (overflow2(sizeof (int) * width, height)) {
128 if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL)
134 wbmp->width = width;
137 for (i = 0; i < width * height; wbmp->bitmap[i++] = color);
170 wbmp->width = getmbi (getin, in);
171 if (wbmp->width == -1)
185 printf ("W: %d, H: %d\n", wbmp->width, wbm
[all...]
H A Dwbmp.h30 int width; /* width of the image */ member in struct:Wbmp_
46 Wbmp *createwbmp( int width, int height, int color );
H A Dwebpimg.c282 /* Generate RGBA row from an YUV row (with width upsampling of chrome data)
287 * 4. y_width: width of the Y image plane (aka image width)
320 * 5. width, height: the dimensions of the image whose data resides in Y,
330 int width,
333 int y_width = width;
349 width,
358 int width = im->sx; local
360 int y_width = width;
381 width,
326 YUV420toRGBA(uint8* Y, uint8* U, uint8* V, int words_per_line, int width, int height, uint32* pixdata) argument
480 RGBALinepairToYUV420(uint32* rgb_line1, uint32* rgb_line2, int width, uint8* Y_dst1, uint8* Y_dst2, uint8* u_dst, uint8* v_dst) 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);
362 for (w = 0; w < width; w++) {
375 for (w = 0; w < width; w++) {
394 for (w = 0; w < width; ++w) {
467 int width = im->sx; local
574 png_set_IHDR(png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB_ALPHA, interlace_type,
577 png_set_IHDR(png_ptr, info_ptr, width, heigh
[all...]
H A Dgd.h290 /* Character width and height */
311 * width - Rectangle width
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);
890 #define GD_CMP_SIZE_X 8 /* Image width differs */
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);
168 int width = im->sx; local
181 yuv_width = (width + 1) >> 1;
183 yuv_nbytes = width * height + 2 * yuv_width * yuv_height;
191 U = Y + width * heigh
[all...]
H A Dxbm.c39 unsigned int width = 0, height = 0; local
63 if (!strcmp("width", type)) {
64 width = (unsigned int) value;
80 bytes = (width * height / 8) + 1;
99 if(!(im = gdImageCreate(width, height))) {
236 * tab-width: 4
H A Dgd_crop.c50 dst = gdImageCreateTrueColor(crop->width, crop->height);
56 dst = gdImageCreate(crop->width, crop->height);
70 if ((src->sx - crop->width) < crop->x) {
71 crop->width = src->sx - crop->x;
78 printf("rect->x: %i\nrect->y: %i\nrect->width: %i\nrect->height: %i\n", crop->x, crop->y, crop->width, crop->height);
85 memcpy(dst->tpixels[dst_y++], src->tpixels[y++] + crop->x, crop->width * 4);
90 for (x = crop->x; x < (crop->x + (crop->width - 1)); x++) {
116 const int width = gdImageSX(im); local
125 crop.width
229 const int width = gdImageSX(im); local
[all...]
H A Dgd_interpolation.c996 /* same width, just copy it */
1106 gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height) argument
1108 const unsigned long new_width = MAX(1, width);
1393 gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height) argument
1395 const long new_width = MAX(1, width);
2218 x1 = r->x + r->width - 1;
2222 r->width = CLAMP(x1, c1x, c2x) - r->x + 1;
2228 printf("%s (%i, %i) (%i, %i)\n", msg, r->x, r->y, r->width, r->height);
2260 area_full.width = gdImageSX(src);
2267 *dst = gdImageCreateTrueColor(bbox.width, bbo
[all...]
/PHP_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1820 int width; member in struct:collector_strimwidth_data
1840 if (pc->outwidth > pc->width) {
1865 int width)
1878 mbfl_memory_device_init(&pc.device, width, 0);
1905 pc.width = width - mkwidth;
1923 pc.width += mkwidth;
3109 * tab-width: 4
1860 mbfl_strimwidth( mbfl_string *string, mbfl_string *marker, mbfl_string *result, int from, int width) argument
/PHP_5_5/ext/standard/
H A Dscanf.c89 #define SCAN_WIDTH 0x8 /* A width value was supplied. */
403 * Parse any width specifier.
443 /* a character width specification, to be more consistent with */
448 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Field width may not be specified in %c conversion");
592 size_t width; local
721 * Parse any width specifier.
724 width = strtoul(format-1, &format, 10);
727 width = 0;
805 if (0 == width) {
806 width
[all...]
H A Dimage.c65 unsigned int width; member in struct:gfxinfo
115 result->width = (unsigned int)dim[0] | (((unsigned int)dim[1])<<8);
139 result->width = (((unsigned int)dim[4]) << 24) + (((unsigned int)dim[5]) << 16) + (((unsigned int)dim[6]) << 8) + ((unsigned int)dim[7]);
162 result->width = (((unsigned int)dim[ 5]) << 8) + ((unsigned int) dim[ 4]);
167 result->width = (((unsigned int)dim[ 7]) << 24) + (((unsigned int)dim[ 6]) << 16) + (((unsigned int)dim[ 5]) << 8) + ((unsigned int) dim[ 4]);
254 result->width = (php_swf_get_bits (b, 5 + bits, bits) -
284 result->width = (php_swf_get_bits (a, 5 + bits, bits) -
316 result->width = (((unsigned int)dim[0]) << 24) + (((unsigned int)dim[1]) << 16) + (((unsigned int)dim[2]) << 8) + ((unsigned int)dim[3]);
503 result->width = php_read2(stream TSRMLS_CC);
631 result->width
807 size_t ifd_size, dir_size, entry_value, width=0, height=0, ifd_addr; local
889 short width, height, bits; local
946 int i, width = 0, height = 0; local
1020 unsigned int width = 0, height = 0; local
[all...]
H A Dformatted_print.c90 zend_error_noreturn(E_ERROR, "Field width %d is too long", m_width);
98 zend_error_noreturn(E_ERROR, "Field width %d is too long", req_size);
130 int width, char padding, int alignment,
138 *buffer, pos, size, number, width, padding, alignment));
165 php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0,
175 int width, char padding, int alignment)
182 *buffer, pos, size, number, width, padding, alignment));
198 php_sprintf_appendstring(buffer, pos, size, &numbuf[i], width, 0,
207 int width, char padding,
221 *buffer, pos, size, number, width, paddin
129 php_sprintf_appendint(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int always_sign) argument
173 php_sprintf_appenduint(char **buffer, int *pos, int *size, unsigned long number, int width, char padding, int alignment) argument
205 php_sprintf_appenddouble(char **buffer, int *pos, int *size, double number, int width, char padding, int alignment, int precision, int adjust, char fmt, int always_sign TSRMLS_DC) argument
296 php_sprintf_append2n(char **buffer, int *pos, int *size, long number, int width, char padding, int alignment, int n, char *chartable, int expprec) argument
376 int alignment, currarg, adjusting, argnum, width, precision; local
[all...]
/PHP_5_5/ext/exif/
H A Dexif.c118 ZEND_ARG_INFO(1, width)
1504 size_t width, height; member in struct:__anon72
1598 size_t width; member in struct:__anon76
2266 result->width = php_jpg_get16(Data+5);
2926 ImageInfo->Thumbnail.width = exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel TSRMLS_CC);
3228 /* Compute the CCD width, in milimeters. */
3419 ImageInfo->Width = sof_info.width;
3455 if (!ImageInfo->Thumbnail.width && !ImageInfo->Thumbnail.height) {
3503 ImageInfo->Thumbnail.width = sof_info.width;
[all...]
/PHP_5_5/ext/mbstring/
H A Dmbstring.c347 ZEND_ARG_INFO(0, width)
2855 Gets terminal width of a string */
2889 /* {{{ proto string mb_strimwidth(string str, int start, int width [, string trimmarker [, string encoding]])
2890 Trim the string in terminal width */
2894 long from, width; local
2898 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sll|ss", &str, &str_len, &from, &width, &trimmarker, &trimmarker_len, &encoding, &encoding_len) == FAILURE) {
2927 if (width < 0) {
2937 ret = mbfl_strimwidth(&string, &marker, &result, from, width);
3384 Conversion between full-width character and half-width characte
[all...]
/PHP_5_5/ext/sqlite3/libsqlite/
H A Dsqlite3.c6697 ** <table border=1 width=85% align=center>
20226 int width; /* Width of the current field */ local
20232 etByte flag_zeropad; /* True if field width constant starts with zero */
20293 /* Get the field width */
20294 width = 0;
20297 width = (int)getIntArg(pArgList);
20299 width = va_arg(ap,int);
20301 if( width<0 ){
20303 width = -width;
[all...]
/PHP_5_5/ext/gd/
H A Dgd.c347 ZEND_ARG_INFO(0, width)
1435 * byte 8-11: (int) pixel width of each character
1439 * (nchars*width*height) bytes.
2350 long srcx, srcy, width, height; local
2357 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sllll", &file, &file_len, &srcx, &srcy, &width, &height) == FAILURE) {
2360 if (width < 1 || height < 1) {
2361 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Zero width or height not allowed");
2403 im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height);
2420 im = (*func_p)(fp, srcx, srcy, width, height);
2538 /* {{{ proto resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, in
4115 long _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0; local
4433 long height, width, threshold; local
[all...]

Completed in 170 milliseconds