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

/system/extras/tests/framebuffer/
H A Dfb_test.c35 int stride; member in struct:simple_fb
98 fb->stride = fi.line_length / bytes_per_pixel;
106 fb->stride = fi.line_length / bytes_per_pixel;
210 int stride = fi.line_length / (vi.bits_per_pixel >> 3); local
217 loc[i + j*(stride)] = red;
219 loc32[i + j*(stride)] = red32;
222 loc[i + j*(stride)] = green;
224 loc32[i + j*(stride)] = green32;
230 loc[i + j*(stride)] = blue;
232 loc32[i + j*(stride)]
245 int stride = fi.line_length / (vi.bits_per_pixel >> 3); local
[all...]
/system/core/libpixelflinger/
H A Dclear.cpp54 const int32_t stride = s.stride * size; local
55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size;
58 if (ggl_likely(int32_t(w) == stride)) {
68 dst += stride;
74 dst += stride;
82 dst += stride;
H A Dbuffer.cpp62 dst->stride = src->stride;
66 if (__builtin_expect(dst->stride < 0, false)) {
68 const int32_t bpr = -dst->stride * pixelFormat.size;
95 gen.stride = s.stride;
117 int32_t index = x + (s->stride * y);
136 uint16_t v = *(reinterpret_cast<uint16_t*>(s->data) + (x + (s->stride * y)));
150 uint32_t v = *(reinterpret_cast<uint32_t*>(s->data) + (x + (s->stride * y)));
174 int32_t index = x + (s->stride *
[all...]
H A Draster.cpp107 + (xs + (cb->stride * ys)) * fp->size;
109 + (xd + (cb->stride * yd)) * fp->size;
110 const size_t bpr = cb->stride * fp->size;
H A Dscanline.cpp859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y));
951 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
968 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
993 m_stride = tx.surface.stride;
1088 m_data += (tx.surface.stride*v) << shift;
1420 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
1719 gen.stride = t.surface.stride;
2080 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
2119 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*
[all...]
H A Dtrap.cpp457 (x + (cb->stride * y)) * fp->size;
/system/core/libpixelflinger/codeflinger/
H A Dtexturing.cpp357 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].stride);
358 SMLABB(AL, Rx, Ry, txPtr.reg, Rx); // x+y*stride
569 const int stride = width; local
570 CONTEXT_LOAD(stride, generated_vars.texture[i].stride);
580 MUL(AL, 0, height, stride, height);
587 MOV(GT, 0, height, reg_imm(stride, LSL, shift));
589 MOV(GT, 0, height, stride);
626 int stride = scratches.obtain(); local
631 CONTEXT_LOAD(stride, generated_var
[all...]
H A DGGLAssembler.cpp394 CONTEXT_LOAD(Rs, state.buffers.color.stride);
427 // zbase = base + (xl-count + stride*y)*2
430 CONTEXT_LOAD(Rs, state.buffers.depth.stride);
/system/core/include/private/pixelflinger/
H A Dggl_context.h348 int32_t stride; member in struct:android::surface_t::__anon60::__anon61
482 uint32_t stride; member in struct:android::generated_tex_vars_t
/system/core/include/system/
H A Dwindow.h105 int stride; member in struct:ANativeWindowBuffer
/system/core/libion/
H A Dion_test.c24 size_t stride; variable
/system/core/include/pixelflinger/
H A Dpixelflinger.h191 GGLint stride; // stride in pixels member in struct:__anon55

Completed in 146 milliseconds