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

12345

/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp42 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
44 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
47 GLsizei stride, const GLvoid *pointer, GLsizei count);
49 GLsizei stride, const GLvoid *pointer, GLsizei count);
51 GLsizei stride, const GLvoid *pointer, GLsizei count);
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
60 glColorPointer(size, type, stride, ptr);
62 void glNormalPointerBounds(GLenum type, GLsizei stride, argument
66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.h29 void *surface, int stride, int format);
H A Dmipmap.cpp52 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/compile/libbcc/lib/Renderscript/runtime/
H A Drs_allocation.c49 const uint32_t stride = alloc->mHal.drvState.stride; local
50 return &p[(eSize * x) + (y * stride)];
58 const uint32_t stride = alloc->mHal.drvState.stride; local
60 return &p[(eSize * x) + (y * stride) + (z * stride * dimY)];
/frameworks/rs/driver/
H A DrsdVertexArray.cpp48 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 DrsdVertexArray.h40 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);
/frameworks/native/opengl/include/ETC1/
H A Detc1.h62 // 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/android/opengl/
H A DETC1.java91 * 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
H A DGLES10.java382 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
387 int stride,
395 int stride,
401 stride,
409 (stride >= 0)) {
961 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer )
965 int stride,
972 int stride,
977 stride,
985 (stride >
384 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
392 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
963 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
970 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument
1154 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1162 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
1299 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
1307 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
[all...]
H A DGLES11.java218 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
223 int stride,
546 // C function void glNormalPointer ( GLenum type, GLsizei stride, GLint offset )
550 int stride,
598 // C function void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer )
602 int stride,
609 int stride,
614 stride,
620 (stride >= 0)) {
625 // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLin
220 glColorPointer( int size, int type, int stride, int offset ) argument
548 glNormalPointer( int type, int stride, int offset ) argument
600 glPointSizePointerOESBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument
607 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument
627 glTexCoordPointer( int size, int type, int stride, int offset ) argument
720 glVertexPointer( int size, int type, int stride, int offset ) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java128 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/native/libs/gui/tests/
H A DCpuConsumer_test.cpp166 bPtr += y * buf.stride + x;
190 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride);
195 void fillBayerRawBuffer(uint8_t* buf, int w, int h, int stride) { argument
196 ALOGVV("fillBayerRawBuffer: %p with %d x %d, stride %d", buf, w, h ,stride);
201 uint16_t *bPtr1 = ((uint16_t*)buf) + stride*y;
202 uint16_t *bPtr2 = bPtr1 + stride;
261 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride,
264 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride);
266 void fillRGBA8BufferSolid(uint8_t* buf, int w, int h, int stride, uint8_
298 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument
355 uint32_t stride; local
390 uint32_t stride[numInQueue]; local
432 uint32_t stride; local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp85 // Provides a buffer and associated stride
97 void PreviewRenderer::getBufferYV12(uint8_t **data, size_t *stride) { argument
116 *stride = mBuf->stride;
H A DPreviewRenderer.h40 void getBufferYV12(uint8_t **data, size_t *stride);
/frameworks/native/include/android/
H A Dbitmap.h43 uint32_t stride; member in struct:__anon1312
H A Dnative_window.h47 int32_t stride; member in struct:ANativeWindow_Buffer
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp43 stride =
56 stride =
72 stride = inStride;
85 stride = buffer->stride;
147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
204 buf[3] = stride;
246 stride = buf[3];
254 width = height = stride = format = usage = 0;
H A DGraphicBufferAllocator.cpp94 int usage, buffer_handle_t* handle, int32_t* stride)
105 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
122 rec.s = *stride;
125 rec.size = h * stride[0] * bpp;
93 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java196 // 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/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec7 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 DBitmap.java713 * @param stride Number of colors in the array between rows (must be >=
723 public static Bitmap createBitmap(int colors[], int offset, int stride, argument
725 return createBitmap(null, colors, offset, stride, width, height, config);
738 * @param stride Number of colors in the array between rows (must be >=
749 int offset, int stride, int width, int height, Config config) {
752 if (Math.abs(stride) < width) {
753 throw new IllegalArgumentException("abs(stride) must be >= width");
755 int lastScanline = offset + (height - 1) * stride;
764 Bitmap bm = nativeCreate(colors, offset, stride, width, height,
1113 * a packed int representing a {@link Color}. The stride paramete
748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
1134 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1174 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1248 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1393 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1411 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1417 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp164 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/include/gui/
H A DCpuConsumer.h50 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DGLES10cHeader.cpp31 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
33 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
36 GLsizei stride, const GLvoid *pointer, GLsizei count);
38 GLsizei stride, const GLvoid *pointer, GLsizei count);
/frameworks/av/services/camera/libcameraservice/camera2/
H A DBurstCapture.cpp87 imgEncoded->stride = imgBuffer->stride;

Completed in 1332 milliseconds

12345