Searched defs:stride (Results 1 - 25 of 62) sorted by relevance

123

/frameworks/base/native/include/android/
H A Dnative_window.h47 int32_t stride; member in struct:ANativeWindow_Buffer
H A Dbitmap.h43 uint32_t stride; member in struct:__anon960
/frameworks/base/libs/rs/driver/
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);
H A DrsdMeshObj.cpp107 uint32_t stride = elem->getSizeBytes(); local
119 mAttribs[userNum].stride = stride;
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 LOGV("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 DrsdAllocation.cpp298 uint32_t stride = e->getSizeBytes(); local
299 memset(((uint8_t *)drv->mallocPtr) + stride * oldDimX, 0, stride * (dimX - oldDimX));
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dps_decode_bs_utils.cpp155 Int32 stride,
179 if (stride == 1)
201 if (stride == 2)
150 differential_Decoding(Int32 enable, Int32 *aIndex, Int32 *aPrevFrameIndex, Int32 DtDf, Int32 nrElements, Int32 stride, Int32 minIdx, Int32 maxIdx) argument
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp85 // Provides a buffer and associated stride
97 void PreviewRenderer::getBufferYV12(uint8_t **data, size_t *stride) { argument
117 *stride = mBuf->stride;
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h35 int32_t stride; member in struct:egl_native_pixmap_t
/frameworks/base/libs/ui/
H A DGraphicBufferAllocator.cpp92 int usage, buffer_handle_t* handle, int32_t* stride)
102 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
119 rec.s = *stride;
122 rec.size = h * stride[0] * bpp;
91 alloc(uint32_t w, uint32_t h, PixelFormat format, int usage, buffer_handle_t* handle, int32_t* stride) argument
H A DFramebufferNativeWindow.cpp84 int stride; local
114 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->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 DETC1Util.java84 int stride = pixelSize * width;
85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height)
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
189 * @param stride the width of a line of the image in bytes
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ argument
196 ETC1.encodeImage(input, width, height, 3, stride, compressedImage);
/frameworks/base/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/base/opengl/libagl/
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/base/opengl/tools/glgen/stubs/gles11/
H A DGLES20cHeader.cpp124 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
125 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
123 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
/frameworks/base/include/ui/
H A DInputTransport.h160 /* Adds the SampleData stride to the given pointer. */
161 static inline SampleData* sampleDataPtrIncrement(SampleData* ptr, size_t stride) { argument
162 return reinterpret_cast<InputMessage::SampleData*>(reinterpret_cast<char*>(ptr) + stride);
/frameworks/base/libs/rs/
H A DrsMesh.cpp219 uint32_t stride = 0; local
221 // First we need to find the position ptr and stride
229 stride = bufferElem->getSizeBytes() / sizeof(float);
255 posPtr += stride;
/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/base/opengl/libs/GLES2_dbg/src/
H A Ddbgcontext.cpp133 ptr += index * vertexAttribs[i].stride;
303 GLboolean normalized, GLsizei stride, const GLvoid* ptr)
329 if (0 == stride)
330 stride = vertexAttribs[indx].elemSize;
331 vertexAttribs[indx].stride = stride;
302 glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr) argument
H A Dheader.h100 unsigned stride; // calculated number of bytes between elements member in struct:android::DbgContext::VertexAttrib
106 VertexAttrib() : type(0), size(0), stride(0), ptr(NULL), elemSize(0),
145 GLboolean normalized, GLsizei stride, const GLvoid* ptr);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java200 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
208 image.setRGB(0, 0, width, height, colors, offset, stride);
351 int stride, int x, int y, int width, int height) {
357 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
373 int stride, int x, int y, int width, int height) {
379 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
350 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
372 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java130 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, argument
132 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
137 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, argument
139 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp214 int offset, int stride, int width, int height,
218 if (n < SkAbs32(stride) * (size_t)height) {
234 GraphicsJNI::SetPixels(env, jColors, offset, stride,
511 jintArray pixelArray, int offset, int stride,
529 d += stride;
554 jintArray pixelArray, int offset, int stride,
556 GraphicsJNI::SetPixels(env, pixelArray, offset, stride,
213 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
510 Bitmap_getPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height) argument
553 Bitmap_setPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height) argument
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c434 Word16 stride) /*!< Stride of input vector */
441 absVal = abs_s(vector[i*stride]);
432 getScalefactorOfShortVectorStride(const Word16 *vector, Word16 len, Word16 stride) argument

Completed in 313 milliseconds

123