Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 12 of 12) sorted by relevance

/system/extras/tests/framebuffer/
Dfb_test.c35 int stride; member
98 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
106 fb->stride = fi.line_length / bytes_per_pixel; in get_framebuffer()
210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid() local
217 loc[i + j*(stride)] = red; in draw_grid()
219 loc32[i + j*(stride)] = red32; in draw_grid()
222 loc[i + j*(stride)] = green; in draw_grid()
224 loc32[i + j*(stride)] = green32; in draw_grid()
230 loc[i + j*(stride)] = blue; in draw_grid()
232 loc32[i + j*(stride)] = blue32; in draw_grid()
[all …]
/system/core/libpixelflinger/
Dclear.cpp54 const int32_t stride = s.stride * size; in memset2d() local
55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size; in memset2d()
58 if (ggl_likely(int32_t(w) == stride)) { in memset2d()
68 dst += stride; in memset2d()
74 dst += stride; in memset2d()
82 dst += stride; in memset2d()
Dbuffer.cpp62 dst->stride = src->stride; in ggl_set_surface()
66 if (__builtin_expect(dst->stride < 0, false)) { in ggl_set_surface()
68 const int32_t bpr = -dst->stride * pixelFormat.size; in ggl_set_surface()
95 gen.stride = s.stride; in ggl_pick_texture()
117 int32_t index = x + (s->stride * y); in read_pixel()
136 uint16_t v = *(reinterpret_cast<uint16_t*>(s->data) + (x + (s->stride * y))); in readRGB565()
150 uint32_t v = *(reinterpret_cast<uint32_t*>(s->data) + (x + (s->stride * y))); in readABGR8888()
174 int32_t index = x + (s->stride * y); in write_pixel()
Draster.cpp107 + (xs + (cb->stride * ys)) * fp->size; in ggl_copyPixels()
109 + (xd + (cb->stride * yd)) * fp->size; in ggl_copyPixels()
110 const size_t bpr = cb->stride * fp->size; in ggl_copyPixels()
Dscanline.cpp859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline()
951 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v)); in horz_iterator32()
968 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v)); in horz_iterator16()
993 m_stride = tx.surface.stride; in clamp_iterator()
1088 m_data += (tx.surface.stride*v) << shift; in init()
1420 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in dst_iterator16()
1719 gen.stride = t.surface.stride; in init_y()
2080 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_col32cb16blend()
2119 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_t32cb16()
2124 uint32_t *src = reinterpret_cast<uint32_t*>(tex->data)+(u+(tex->stride*v)); in scanline_t32cb16()
[all …]
Dtrap.cpp457 (x + (cb->stride * y)) * fp->size; in scanline_set()
/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp357 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].stride); in init_textures()
569 const int stride = width; in build_textures() local
570 CONTEXT_LOAD(stride, generated_vars.texture[i].stride); in build_textures()
580 MUL(AL, 0, height, stride, height); in build_textures()
587 MOV(GT, 0, height, reg_imm(stride, LSL, shift)); in build_textures()
589 MOV(GT, 0, height, stride); in build_textures()
626 int stride = scratches.obtain(); in build_textures() local
631 CONTEXT_LOAD(stride, generated_vars.texture[i].stride); in build_textures()
633 SMLABB(AL, u, v, stride, u); // u+v*stride in build_textures()
644 scratches.recycle(stride); in build_textures()
DGGLAssembler.cpp394 CONTEXT_LOAD(Rs, state.buffers.color.stride); in build_scanline_prolog()
430 CONTEXT_LOAD(Rs, state.buffers.depth.stride); in build_scanline_prolog()
/system/core/include/private/pixelflinger/
Dggl_context.h348 int32_t stride;
482 uint32_t stride;
/system/core/libion/
Dion_test.c24 size_t stride; variable
/system/core/include/system/
Dwindow.h105 int stride; member
/system/core/include/pixelflinger/
Dpixelflinger.h191 GGLint stride; // stride in pixels member