Searched defs:stride (Results 51 - 75 of 693) sorted by last modified time

1234567891011>>

/external/pdfium/core/src/fxge/agg/agg23/
H A Dagg_rendering_buffer.h57 rendering_buffer(int8u* buf, unsigned width, unsigned height, int stride) : argument
65 attach(buf, width, height, stride);
67 void attach(int8u* buf, unsigned width, unsigned height, int stride) argument
72 m_stride = stride;
78 if(stride < 0) {
79 row_ptr = m_buf - int(height - 1) * stride;
84 row_ptr += stride;
103 int stride() const function in class:agg::rendering_buffer
/external/pdfium/fpdfsdk/src/
H A Dfpdfview.cpp710 DLLEXPORT FPDF_BITMAP STDCALL FPDFBitmap_CreateEx(int width, int height, int format, void* first_scan, int stride) argument
730 pBitmap->Create(width, height, fx_format, (FX_LPBYTE)first_scan, stride);
/external/pixman/demos/
H A Dgtk-utils.c16 int stride; local
27 stride = gdk_pixbuf_get_rowstride (pixbuf);
61 gdk_data += stride;
76 int stride)
86 uint32_t *src_row = &bits[i * (stride / 4)];
101 int stride = pixman_image_get_stride (pimage); local
113 format, width, height, stride);
73 pixbuf_from_argb32(uint32_t *bits, int width, int height, int stride) argument
/external/pixman/pixman/
H A Dpixman-arm-neon.c188 int stride,
196 /* stride is always multiple of 32bit units in pixman */
197 uint32_t byte_stride = stride * sizeof(uint32_t);
186 arm_neon_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t _xor) argument
H A Dpixman-arm-simd.c85 int stride, /* in 32-bit words */
93 /* stride is always multiple of 32bit units in pixman */
94 uint32_t byte_stride = stride * sizeof(uint32_t);
83 arm_simd_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t _xor) argument
H A Dpixman-bits-image.c1673 int stride; local
1679 * stride = ((width * bpp + 0x1f) >> 5) * sizeof (uint32_t);
1686 stride = width * bpp;
1687 if (_pixman_addition_overflows_int (stride, 0x1f))
1690 stride += 0x1f;
1691 stride >>= 5;
1693 stride *= sizeof (uint32_t);
1695 if (_pixman_multiply_overflows_size (height, stride))
1698 buf_size = height * stride;
1701 *rowstride_bytes = stride;
[all...]
H A Dpixman-edge-imp.h36 int stride = (image)->bits.rowstride; local
39 line = buf + pixman_fixed_to_int (y) * stride;
177 line += stride;
H A Dpixman-edge.c167 int stride = (image)->bits.rowstride; local
170 line = buf + pixman_fixed_to_int (y) * stride;
333 line += stride;
H A Dpixman-fast-path.c1630 * stride is a multiple of cache line, if not - it will be just a bit \
1704 * stride is a multiple of cache line, if not - it will be just a bit \
2025 int stride,
2032 uint32_t *dst = bits + y * stride + (x >> 5);
2040 dst += stride;
2048 dst += stride;
2055 int stride,
2062 int byte_stride = stride * (int) sizeof (uint32_t);
2080 int stride,
2088 (stride * (in
2024 pixman_fill1(uint32_t *bits, int stride, int x, int y, int width, int height, uint32_t filler) argument
2054 pixman_fill8(uint32_t *bits, int stride, int x, int y, int width, int height, uint32_t filler) argument
2079 pixman_fill16(uint32_t *bits, int stride, int x, int y, int width, int height, uint32_t filler) argument
2105 pixman_fill32(uint32_t *bits, int stride, int x, int y, int width, int height, uint32_t filler) argument
2127 fast_path_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument
[all...]
H A Dpixman-implementation.c266 int stride,
277 ((*imp->fill) (imp, bits, stride, bpp, x, y, width, height, filler)))
264 _pixman_implementation_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument
H A Dpixman-mips-dspr2.c169 int stride,
182 stride = stride * (int) sizeof (uint32_t) / 2;
183 byte_line = (uint8_t *)(((uint16_t *)bits) + stride * y + x);
185 stride *= 2;
190 byte_line += stride;
195 stride = stride * (int) sizeof (uint32_t) / 4;
196 byte_line = (uint8_t *)(((uint32_t *)bits) + stride * y + x);
198 stride *
167 mips_dspr2_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t _xor) argument
[all...]
H A Dpixman-mmx.c2059 int stride,
2081 stride = stride * (int) sizeof (uint32_t) / 1;
2082 byte_line = (uint8_t *)(((uint8_t *)bits) + stride * y + x);
2084 stride *= 1;
2089 stride = stride * (int) sizeof (uint32_t) / 2;
2090 byte_line = (uint8_t *)(((uint16_t *)bits) + stride * y + x);
2092 stride *= 2;
2097 stride
2057 mmx_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument
[all...]
H A Dpixman-private.h255 int stride; member in struct:pixman_iter_t
450 int stride,
537 int stride,
H A Dpixman-region.c2610 int width, height, stride; local
2622 stride = pixman_image_get_stride (image) / 4;
2633 pw_line += stride;
H A Dpixman-sse2.c3318 int stride,
3336 stride = stride * (int) sizeof (uint32_t) / 1;
3337 byte_line = (uint8_t *)(((uint8_t *)bits) + stride * y + x);
3339 stride *= 1;
3347 stride = stride * (int) sizeof (uint32_t) / 2;
3348 byte_line = (uint8_t *)(((uint16_t *)bits) + stride * y + x);
3350 stride *= 2;
3356 stride
3316 sse2_fill(pixman_implementation_t *imp, uint32_t * bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument
[all...]
H A Dpixman.c758 int stride,
767 get_implementation(), bits, stride, bpp, x, y, width, height, filler);
757 pixman_fill(uint32_t *bits, int stride, int bpp, int x, int y, int width, int height, uint32_t filler) argument
/external/pixman/test/
H A Dblitters-test.c28 int n = 0, width, height, stride; local
42 stride = (width * PIXMAN_FORMAT_BPP (fmt) + 7) / 8 +
44 stride = (stride + 3) & ~3;
47 buf = aligned_malloc (64, stride * height);
52 prng_randmemset (buf, stride * height, 0);
57 prng_randmemset (buf, stride * height, RANDMEMSET_MORE_00_AND_FF);
60 img = pixman_image_create_bits (fmt, width, height, buf, stride);
H A Dfetch-test.c17 int stride; member in struct:__anon28862
164 testcases[i].stride);
H A Dglyph-test.c121 int stride; local
142 stride = (width * bpp + 7) / 8 + prng_rand_n (17);
143 stride = (stride + 3) & ~3;
147 if (!(data = (uint32_t *)make_random_bytes (stride * height)))
156 data = malloc (stride * height);
157 prng_randmemset (data, height * stride, 0);
161 image = pixman_image_create_bits (format, width, height, data, stride);
H A Doob-test.c9 int stride; member in struct:__anon28868
68 char *data = malloc (info->stride * info->height);
71 for (i = 0; i < info->height * info->stride; ++i)
74 return pixman_image_create_bits (info->format, info->width, info->height, (uint32_t *)data, info->stride);
H A Dpixel-test.c137 int stride; local
145 stride = image->bits.rowstride * 4;
147 location = (uint8_t *)image->bits.bits + y * stride + x * bytes_per_pixel;
H A Dstress-test.c243 int width, height, stride; local
294 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
295 stride = (stride + 3) & (~3);
296 bits = (uint32_t *)make_random_bytes (height * stride);
300 stride = 0;
305 stride = width * PIXMAN_FORMAT_BPP (format) + prng_rand_n (17);
306 stride = (stride + 3) & (~3);
307 bits = fence_malloc (height * stride);
[all...]
H A Dutils.c148 int stride = pixman_image_get_stride (img); local
212 for (i = 0; i < stride * height / 4; i++)
220 return compute_crc32 (crc32, data, stride * height);
246 int stride = pixman_image_get_stride (img); local
261 uint8_t *line_data = (uint8_t *)data + stride * i;
266 for (j = 0; j < stride; j++)
280 for (j = 0; j < stride; j++)
286 for (j = 0; j + 2 <= stride; j += 2)
296 for (j = 0; j + 3 <= stride; j += 3)
308 for (j = 0; j + 4 <= stride;
480 int stride = width * 4; local
[all...]
/external/opencv/cv/src/
H A Dcvfundam.cpp1037 int plane_stride, stride, elem_size; local
1110 stride = elem_size;
1115 stride = points->rows == 1 ? dims*elem_size : points->step;
1150 z = *(float*)zp, zp += stride;
1156 z = *(double*)zp, zp += stride;
1159 xp += stride; yp += stride;
/external/mesa3d/src/mesa/math/
H A Dm_dotprod_tmp.h31 /* Note - respects the stride of the output vector.
38 GLuint stride = coord_vec->stride; local
46 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) {
58 GLuint stride = coord_vec->stride; local
67 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(out,outstride)) {
80 GLuint stride = coord_vec->stride; local
88 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_
[all...]

Completed in 529 milliseconds

1234567891011>>