Searched defs:row_bytes (Results 1 - 15 of 15) sorted by relevance

/external/libpng/
H A Dpngwtran.c215 png_size_t row_bytes = row_info->rowbytes; local
226 for (i = 0; i < row_bytes; i++, bp++)
H A Dpngwrite.c1716 ptrdiff_t row_bytes; member in struct:__anon9092
1820 input_row += display->row_bytes/(sizeof (png_uint_16));
1945 input_row += display->row_bytes/(sizeof (png_uint_16));
1970 input_row += display->row_bytes/(sizeof (png_uint_16));
2251 ptrdiff_t row_bytes = display->row_stride; local
2254 row_bytes *= (sizeof (png_uint_16));
2256 if (row_bytes < 0)
2257 row += (image->height-1) * (-row_bytes);
2260 display->row_bytes = row_bytes;
2305 ptrdiff_t row_bytes = display->row_bytes; local
[all...]
H A Dpngread.c1420 ptrdiff_t row_bytes; /* step between rows */ member in struct:__anon9090
3081 ptrdiff_t step_row = display->row_bytes;
3321 ptrdiff_t row_bytes = display->row_stride; local
3326 if (row_bytes < 0)
3329 ptr += (image->height-1) * (-row_bytes);
3334 display->row_bytes = row_bytes;
3352 png_alloc_size_t row_bytes = display->row_bytes; local
3362 row += row_bytes;
4136 ptrdiff_t row_bytes = display->row_stride; local
4183 png_alloc_size_t row_bytes = display->row_bytes; local
[all...]
H A Dpngrutil.c4275 png_size_t row_bytes; local
4456 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7));
4460 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) +
4464 if (row_bytes > (png_uint_32)65536L)
4468 if (row_bytes + 48 > png_ptr->old_big_row_buf_size)
4475 row_bytes + 48);
4478 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48);
4480 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48);
4505 png_ptr->old_big_row_buf_size = row_bytes
[all...]
H A Dpngwutil.c2314 png_size_t row_bytes);
2328 png_size_t row_bytes = row_info->rowbytes; local
2388 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++)
2448 for (lp = row_buf + 1; i < row_bytes;
2510 for (lp = row_buf + 1; i < row_bytes;
2569 pp = prev_row + 1; i < row_bytes;
2621 pp = prev_row + 1; i < row_bytes; i++)
2684 for (lp = row_buf + 1; i < row_bytes; i++)
2741 for (lp = row_buf + 1; i < row_bytes; i++)
2805 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes;
[all...]
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c197 png_uint_32 row_bytes; local
315 /* row_bytes is the width x number of channels x (bit-depth / 8) */
316 row_bytes = png_get_rowbytes (png_ptr, info_ptr);
318 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) {
333 row_pointers[i] = png_pixels + i * row_bytes;
H A Dpnm2png.c194 png_uint_32 row_bytes; local
364 row_bytes = (width * channels * bit_depth + 7) / 8;
367 /* row_bytes is the width x number of channels x (bit-depth / 8) */
368 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2);
370 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL)
380 for (i = 0; i < row_bytes; i++)
474 row_pointers[i] = png_pixels + i * row_bytes;
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_pngwtran.c290 png_size_t row_bytes = row_info->rowbytes; local
301 for (i = 0; i < row_bytes; i++, bp++)
H A Dfx_pngwrite.c1614 ptrdiff_t row_bytes; member in struct:__anon13368
1716 input_row += display->row_bytes/(sizeof (png_uint_16));
1839 input_row += display->row_bytes/(sizeof (png_uint_16));
1864 input_row += display->row_bytes/(sizeof (png_uint_16));
2144 ptrdiff_t row_bytes = display->row_stride; local
2147 row_bytes *= (sizeof (png_uint_16));
2149 if (row_bytes < 0)
2150 row += (image->height-1) * (-row_bytes);
2153 display->row_bytes = row_bytes;
2198 ptrdiff_t row_bytes = display->row_bytes; local
[all...]
H A Dfx_pngread.c1161 ptrdiff_t row_bytes; /* step between rows */ member in struct:__anon13367
2816 ptrdiff_t step_row = display->row_bytes;
3056 ptrdiff_t row_bytes = display->row_stride; local
3061 if (row_bytes < 0)
3064 ptr += (image->height-1) * (-row_bytes);
3069 display->row_bytes = row_bytes;
3087 png_alloc_size_t row_bytes = display->row_bytes; local
3097 row += row_bytes;
3866 ptrdiff_t row_bytes = display->row_stride; local
3913 png_alloc_size_t row_bytes = display->row_bytes; local
[all...]
H A Dfx_pngrutil.c4197 png_size_t row_bytes; local
4378 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7));
4382 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) +
4386 if (row_bytes > (png_uint_32)65536L)
4390 if (row_bytes + 48 > png_ptr->old_big_row_buf_size)
4397 row_bytes + 48);
4400 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48);
4402 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48);
4427 png_ptr->old_big_row_buf_size = row_bytes
[all...]
H A Dfx_pngwutil.c2312 png_size_t row_bytes);
2326 png_size_t row_bytes = row_info->rowbytes; local
2386 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++)
2446 for (lp = row_buf + 1; i < row_bytes;
2508 for (lp = row_buf + 1; i < row_bytes;
2567 pp = prev_row + 1; i < row_bytes;
2619 pp = prev_row + 1; i < row_bytes; i++)
2682 for (lp = row_buf + 1; i < row_bytes; i++)
2739 for (lp = row_buf + 1; i < row_bytes; i++)
2803 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes;
[all...]
/external/mesa3d/src/glx/apple/
H A Dapple_glx_drawable.h134 int row_bytes; member in struct:apple_glx_drawable
/external/libvncserver/x11vnc/
H A DmacosxCG.c466 int datasize, row_bytes, cdepth, comps, bpcomp; local
507 err = CGSGetGlobalCursorData(conn, data, &datasize, &row_bytes,
510 fprintf(stderr, "datasize: %d row_bytes: %d cdepth: %d comps: %d bpcomp: %d w: %d h: %d\n",
511 datasize, row_bytes, cdepth, comps, bpcomp, (int) rect.size.width, (int) rect.size.height);
/external/libpng/contrib/tools/
H A Dpngfix.c1476 udigit row_width[2], row_bytes[3]; local
1486 /* calculate 1+((pw*pd+7)>>3) in row_bytes */
1487 digits = uarb_mult_digit(row_bytes, uarb_set(row_bytes, 7),
1489 digits = uarb_shift(row_bytes, digits, 3);
1490 digits = uarb_inc(row_bytes, digits, 1);
1492 /* Add row_bytes * pass-height to the file image_bytes field
1495 row_bytes, digits,
1507 udigit row_width[2], row_bytes[3]; local
1510 digits = uarb_mult_digit(row_bytes, uarb_se
[all...]

Completed in 1114 milliseconds