/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 41 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 44 GLsizei stride, const GLvoid *pointer, GLsizei count); 46 GLsizei stride, const GLvoid *pointer, GLsizei count); 48 GLsizei stride, const GLvoid *pointer, GLsizei count); 50 GLsizei stride, const GLvoid *pointer, GLsizei count); 52 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument 57 glColorPointer(size, type, stride, ptr); 59 void glNormalPointerBounds(GLenum type, GLsizei stride, argument 63 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 67 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 72 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/rs/tests/cppstrided/ |
H A D | compute.cpp | 13 uint32_t stride = 1025; local 18 printf("stride must be greater than or equal to 1024\n"); 21 stride = (uint32_t) tempStride; 40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); 48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems); 52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); 56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); 60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2) { 61 printf("Mismatch at location %d, %d: %u\n", i, ct, *(buf+(stride*i)+ct)); 67 printf("Test successful with %u stride!\ [all...] |
/frameworks/native/opengl/libagl/ |
H A D | dxt.h | 29 void *surface, int stride, int format);
|
H A D | mipmap.cpp | 52 int stride = w; local 53 int bs = base->stride; 74 dst[x + y*stride] = rgb; 94 dst[x + y*stride] = (r<<11)|(g<<6)|(b<<1)|a; 121 dst[x + y*stride] = rgba; 140 stride *= skip; 149 dst[x + y*stride + c] = (p00 + p10 + p01 + p11) >> 2; 172 dst[x + y*stride] = rgba;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sample.c | 85 getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument 86 p += y * stride; 92 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument 93 p += y * stride; 100 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument 101 p += y * stride; 108 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument 109 p += y * stride; 116 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument 117 p += y * stride; 189 getSample_A(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 202 getSample_L(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 215 getSample_LA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 228 getSample_RGB(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 241 getSample_RGBA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 253 getSample_565(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument 324 size_t stride = alloc->mHal.drvState.lod[lod].stride; local 390 size_t stride = alloc->mHal.drvState.lod[lod].stride; local [all...] |
H A D | rs_allocation.c | 110 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 112 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + 113 (z * stride * dimY)]; 175 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 176 return &p[(eSize * x) + (y * stride)]; 184 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 186 return &p[(eSize * x) + (y * stride) 201 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 210 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 272 const size_t stride = alloc->mHal.drvState.lod[1].stride; local 286 const size_t stride = alloc->mHal.drvState.lod[2].stride; local [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 48 stride = 0; 54 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument 62 this->stride = stride; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 77 mAttribs[idx].stride, 114 mAttribs[ct].stride,
|
H A D | rsdVertexArray.h | 40 uint32_t stride; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, uint32_t offset, const char *name);
|
H A D | rsdAllocation.cpp | 97 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 98 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 270 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16); 272 (state->lod[0].stride * state->lod[0].dimY); 273 uvSize += state->lod[2].stride * state->lod[2].dimY; 275 state->lod[1].stride = state->lod[2].stride; 277 (state->lod[2].stride * state->lod[2].dimY); 278 uvSize += state->lod[1].stride * stat 310 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); local 544 size_t stride = alloc->mHal.state.elementSizeBytes; local 798 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument 858 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument 909 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument 938 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1.java | 91 * pixel (x,y) is at pIn + pixelSize * x + stride * y; 98 int pixelSize, int stride, Buffer out); 104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 110 int width, int height, int pixelSize, int stride); 97 encodeImage(Buffer in, int width, int height, int pixelSize, int stride, Buffer out) argument 109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
|
/frameworks/native/opengl/include/ETC1/ |
H A D | etc1.h | 62 // pixel (x,y) is at pIn + pixelSize * x + stride * y; 68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 73 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 80 etc1_uint32 pixelSize, etc1_uint32 stride);
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 128 int stride, 135 int stride, 142 int stride, 149 int stride, 125 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 132 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument 139 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 146 glWeightPointerOES( int size, int type, int stride, int offset ) argument
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicConvolve5x5.cpp | 358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local 366 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0); 367 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1); 368 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2); 369 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3); 370 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4); 407 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local 415 const uchar2 *py0 = (const uchar2 *)(pin + stride * y 456 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local 505 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local 554 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local 603 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local [all...] |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 196 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 200 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); 201 const uchar4 *py1 = (const uchar4 *)(pin + stride * p->y); 202 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1); 243 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 247 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); 248 const uchar2 *py1 = (const uchar2 *)(pin + stride * p->y); 249 const uchar2 *py2 = (const uchar2 *)(pin + stride * y 288 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 378 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 422 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewRenderer.cpp | 85 // Provides a buffer and associated stride 97 void PreviewRenderer::getBufferYV12(uint8_t **data, size_t *stride) { argument 116 *stride = mBuf->stride;
|
H A D | PreviewRenderer.h | 40 void getBufferYV12(uint8_t **data, size_t *stride);
|
/frameworks/native/include/android/ |
H A D | bitmap.h | 46 uint32_t stride; member in struct:__anon1330
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 172 bPtr += y * buf.stride + x; 191 bPtr += y * buf.stride + x; 197 // stride is in pixels, not in bytes 198 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x; 206 bPtr += (y * buf.stride + x) * bytesPerPixel; 221 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride); 225 void fillGreyscaleBuffer(T* buf, int w, int h, int stride, int bpp) { argument 233 // stride is in pixels, not in bytes 234 int yuvTexStrideY = stride; 254 void fillRgba8888Buffer(uint8_t* buf, int w, int h, int stride) argument 281 fillBayerRawBuffer(uint8_t* buf, int w, int h, int stride) argument 484 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument 553 uint32_t stride; local 588 uint32_t stride[numInQueue]; local 630 uint32_t stride; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 25 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 28 GLsizei stride, const GLvoid *pointer, GLsizei count); 30 GLsizei stride, const GLvoid *pointer, GLsizei count); 32 GLsizei stride, const GLvoid *pointer, GLsizei count); 34 GLsizei stride, const GLvoid *pointer, GLsizei count); 36 GLsizei stride, const GLvoid *pointer, GLsizei count); 40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 46 GLsizei stride, cons 39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 196 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 201 int stride, 209 int stride, 215 stride, 223 (stride >= 0)) { 770 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer ) 774 int stride, 781 int stride, 786 stride, 794 (stride > 198 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 206 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 772 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 779 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument 963 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 971 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 1108 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1116 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 1232 glColorPointer( int size, int type, int stride, int offset ) argument 1543 glNormalPointer( int type, int stride, int offset ) argument 1595 glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1602 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument 1622 glTexCoordPointer( int size, int type, int stride, int offset ) argument 1715 glVertexPointer( int size, int type, int stride, int offset ) argument 1827 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1835 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 1862 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument 1871 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1879 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 1896 glWeightPointerOES( int size, int type, int stride, int offset ) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.h | 36 * VertexArray handles the stride automatically. 43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } argument 76 // return stride in bytes 79 // return stride in floats
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 7 void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 31 void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) 36 void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer ) 37 void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 44 void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 831 * @param stride Number of colors in the array between rows (must be >= 841 public static Bitmap createBitmap(int colors[], int offset, int stride, argument 843 return createBitmap(null, colors, offset, stride, width, height, config); 856 * @param stride Number of colors in the array between rows (must be >= 867 int offset, int stride, int width, int height, Config config) { 870 if (Math.abs(stride) < width) { 871 throw new IllegalArgumentException("abs(stride) must be >= width"); 873 int lastScanline = offset + (height - 1) * stride; 882 Bitmap bm = nativeCreate(colors, offset, stride, width, height, 1283 * a packed int representing a {@link Color}. The stride paramete 866 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument 1304 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1344 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1418 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1563 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument 1582 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument 1588 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 164 buf->stride, buf->height, 172 size_t dst_y_size = buf->stride * buf->height; 173 size_t dst_c_stride = ALIGN(buf->stride / 2, 16); 182 dst_y += buf->stride; 205 size_t dst_y_size = buf->stride * buf->height; 206 size_t dst_c_stride = ALIGN(buf->stride / 2, 16); 215 dst_y += buf->stride;
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 42 stride = 55 stride = 71 stride = inStride; 84 stride = buffer->stride; 146 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride); 222 buf[3] = stride; 268 stride = buf[3]; 276 width = height = stride = format = usage = 0;
|