Searched refs:stride (Results 1 – 13 of 13) sorted by relevance
/system/extras/tests/framebuffer/ |
D | fb_test.c | 35 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() 209 int stride = fi.line_length / (vi.bits_per_pixel >> 3); in draw_grid() local 216 loc[i + j*(stride)] = red; in draw_grid() 218 loc32[i + j*(stride)] = red32; in draw_grid() 221 loc[i + j*(stride)] = green; in draw_grid() 223 loc32[i + j*(stride)] = green32; in draw_grid() 229 loc[i + j*(stride)] = blue; in draw_grid() 231 loc32[i + j*(stride)] = blue32; in draw_grid() [all …]
|
/system/core/libpixelflinger/ |
D | clear.cpp | 54 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()
|
D | buffer.cpp | 64 dst->stride = src->stride; in ggl_set_surface() 68 if (__builtin_expect(dst->stride < 0, false)) { in ggl_set_surface() 70 const int32_t bpr = -dst->stride * pixelFormat.size; in ggl_set_surface() 97 gen.stride = s.stride; in ggl_pick_texture() 119 int32_t index = x + (s->stride * y); in read_pixel() 138 uint16_t v = *(reinterpret_cast<uint16_t*>(s->data) + (x + (s->stride * y))); in readRGB565() 152 uint32_t v = *(reinterpret_cast<uint32_t*>(s->data) + (x + (s->stride * y))); in readABGR8888() 176 int32_t index = x + (s->stride * y); in write_pixel()
|
D | scanline.cpp | 877 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline() 969 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v)); in horz_iterator32() 986 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v)); in horz_iterator16() 1011 m_stride = tx.surface.stride; in clamp_iterator() 1106 m_data += (tx.surface.stride*v) << shift; in init() 1438 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in dst_iterator16() 1737 gen.stride = t.surface.stride; in init_y() 2098 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_col32cb16blend() 2141 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); in scanline_t32cb16() 2146 uint32_t *src = reinterpret_cast<uint32_t*>(tex->data)+(u+(tex->stride*v)); in scanline_t32cb16() [all …]
|
D | raster.cpp | 107 + (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()
|
D | trap.cpp | 457 (x + (cb->stride * y)) * fp->size; in scanline_set()
|
/system/extras/ext4_utils/ |
D | mkuserimg_mke2fs.py | 152 stride = max(int(args.flash_logical_block_size), 8192) 153 mke2fs_extended_opts.append("stride={}".format(stride / BLOCKSIZE))
|
/system/core/libpixelflinger/codeflinger/ |
D | texturing.cpp | 352 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].stride); in init_textures() 559 const int stride = width; in build_textures() local 560 CONTEXT_LOAD(stride, generated_vars.texture[i].stride); in build_textures() 570 MUL(AL, 0, height, stride, height); in build_textures() 577 MOV(GT, 0, height, reg_imm(stride, LSL, shift)); in build_textures() 579 MOV(GT, 0, height, stride); in build_textures() 616 int stride = scratches.obtain(); in build_textures() local 621 CONTEXT_LOAD(stride, generated_vars.texture[i].stride); in build_textures() 623 SMLABB(AL, u, v, stride, u); // u+v*stride in build_textures() 634 scratches.recycle(stride); in build_textures()
|
D | GGLAssembler.cpp | 392 CONTEXT_LOAD(Rs, state.buffers.color.stride); in build_scanline_prolog() 428 CONTEXT_LOAD(Rs, state.buffers.depth.stride); in build_scanline_prolog()
|
/system/tools/hidl/c2hal/test/ |
D | test.h | 142 const int stride; member
|
/system/core/libpixelflinger/include/private/pixelflinger/ |
D | ggl_context.h | 350 GGLint stride; 484 uint32_t stride;
|
/system/core/libion/ |
D | ion_test.c | 39 size_t stride; variable
|
/system/core/libpixelflinger/include/pixelflinger/ |
D | pixelflinger.h | 191 GGLint stride; // stride in pixels member
|