Searched refs:stride (Results 1 - 16 of 16) 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.cpp838 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y));
930 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
947 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
972 m_stride = tx.surface.stride;
1067 m_data += (tx.surface.stride*v) << shift;
1399 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
1698 gen.stride = t.surface.stride;
2059 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
2098 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*
[all...]
H A Dtrap.cpp457 (x + (cb->stride * y)) * fp->size;
/system/media/mca/filterfw/native/core/
H A Dshader_program.h248 // offset and stride to select the correct data portion.
253 // stride: The delta of one element to the next in bytes.
262 int stride,
277 int stride,
414 int stride; member in struct:android::filterfw::ShaderProgram::VertexAttrib
H A Dshader_program.cpp67 stride(0),
955 int stride,
967 attrib.stride = stride;
981 int stride,
993 attrib.stride = stride;
1033 attrib.stride = components * sizeof(float);
1079 attrib.stride,
1089 attrib.stride,
951 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument
977 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument
[all...]
/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
560 const int stride = width; local
561 CONTEXT_LOAD(stride, generated_vars.texture[i].stride);
571 MUL(AL, 0, height, stride, height);
578 MOV(GT, 0, height, reg_imm(stride, LSL, shift));
580 MOV(GT, 0, height, stride);
613 int stride = scratches.obtain(); local
614 CONTEXT_LOAD(stride, generated_var
[all...]
H A DGGLAssembler.cpp391 CONTEXT_LOAD(Rs, state.buffers.color.stride);
424 // zbase = base + (xl-count + stride*y)*2
427 CONTEXT_LOAD(Rs, state.buffers.depth.stride);
/system/media/mca/filterfw/jni/
H A Djni_shader_program.h142 jint stride,
H A Djni_shader_program.cpp301 jint stride,
319 stride,
294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
/system/core/include/private/pixelflinger/
H A Dggl_context.h328 int32_t stride; member in struct:android::surface_t::__anon313::__anon314
462 uint32_t stride; member in struct:android::generated_tex_vars_t
/system/core/include/system/
H A Dwindow.h92 int stride; member in struct:ANativeWindowBuffer
/system/core/include/pixelflinger/
H A Dpixelflinger.h191 GGLint stride; // stride in pixels member in struct:__anon309
/system/media/wilhelm/include/OMXAL/
H A DOpenMAXAL.h436 XAuint32 stride; member in struct:XADataFormat_RawImage_

Completed in 2907 milliseconds