Searched refs:width (Results 1 - 21 of 21) sorted by relevance

/system/core/libpixelflinger/
H A Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
H A Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum type)
62 if (uint32_t(xs) > cb->width)
66 if (uint32_t(xs + width) > cb->width)
80 width -= offset;
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
95 if (width<=0 || height<=0) {
111 const size_t rowsize = width * f
53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum type) argument
[all...]
H A Dbuffer.cpp60 dst->width = src->width;
93 gen.width = s.width;
114 assert((x < s->width) && (y < s->height));
165 assert((x < s->width) && (y < s->height));
H A Dpixelflinger.cpp115 if (surface->width > c->state.buffers.coverageBufferSize) {
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2);
120 c->state.buffers.coverage ? surface->width : 0;
147 GGLsizei width, GGLsizei height)
152 c->state.scissor.user_right = x + width;
604 c->state.scissor.right = min(c->state.buffers.color.width, r);
610 c->state.scissor.right = c->state.buffers.color.width;
146 ggl_scissor(void* con, GGLint x, GGLint y, GGLsizei width, GGLsizei height) argument
H A Dtrap.cpp348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
361 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4);
H A Dscanline.cpp573 const int w = tx.surface.width;
597 const int w = tx.surface.width;
911 gen.width = t.surface.width;
/system/core/toolbox/
H A Dr.c15 int width = 4, set = 0, fd; local
22 width = 1;
26 width = 2;
53 switch(width){
H A Dnotify.c21 int width = 80; local
46 width = atoi(optarg);
81 buf = malloc(width + 2);
114 buflen = width - strlen(display_name);
/system/core/init/
H A Dutil.c310 int width; local
315 width = slash - pathname;
317 if (width < 0)
319 if (width == 0)
321 if ((unsigned int)width > sizeof(buf) - 1) {
325 memcpy(buf, pathname, width);
326 buf[width] = 0;
352 int width; local
357 width = slash - newpath;
358 if (width <
[all...]
H A Ddevices.c286 int width; local
307 width = slash - driver;
308 if (width <= 0)
312 width, driver);
/system/extras/tests/framebuffer/
H A Dmdp_test.c95 static int get_framebuffer(int *fd, char **fb, int *width, int *height) argument
122 *width = vi.xres;
174 int fb_fd, width, height; local
273 if (get_framebuffer(&fb_fd, &fb, &width, &height)) {
281 src_imgw = width;
286 dst_imgw = width;
295 req->src.width = src_imgw;
305 req->dst.width = dst_imgw;
H A Drefresh.c77 float xdpi = (info.xres * 25.4f) / info.width;
103 printf( "width = %d mm (%f dpi)\n"
106 info.width, xdpi,
H A Dfb_test.c89 fb->width = vi.xres;
98 fb->width = vi.xres;
180 return gr_framebuffer[0].width;
/system/core/sh/
H A Doutput.c267 * - An * may be given for the width or precision.
268 * - The obsolete practice of preceding the width with a zero to get
294 int width;
319 width = 0;
333 width = va_arg(ap, int);
337 width = 10 * width + digit_val(*f++);
419 if (width) {
424 pad = width - size;
443 if (width) {
[all...]
/system/media/opensles/libopensles/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) &&
34 this->mSize.mWidth = width;
55 SLmillimeter width = this->mSize.mWidth; local
59 *pWidth = width;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/system/core/adb/
H A Dframebuffer_service.c40 unsigned int width; member in struct:fbinfo
72 fbinfo.width = vinfo.xres;
/system/core/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon51
208 const GGLcoord* v0, const GGLcoord* v1, GGLcoord width);
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
303 GGLsizei width, GGLsizei height, GGLenum type);
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp470 int width = scratches.obtain(); local
475 CONTEXT_LOAD(width, generated_vars.texture[i].width);
503 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
521 // compute width-1 and height-1
522 SUB(AL, 0, width, width, imm(1));
530 MOV(MI, 0, u, width);
531 CMP(AL, u, width);
532 MOV(LT, 0, width, im
[all...]
/system/core/include/private/pixelflinger/
H A Dggl_context.h326 uint32_t width; member in struct:android::surface_t::__anon55::__anon56
460 uint32_t width; member in struct:android::generated_tex_vars_t
/system/media/opensles/include/
H A DOpenSLES.h1886 SLmillimeter width,
/system/media/opensles/include/SLES/
H A DOpenSLES.h1886 SLmillimeter width,

Completed in 210 milliseconds