/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glBindVertexBuffer.cpp | 1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */ 4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) { 13 (GLsizei)stride 3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
|
/frameworks/native/include/android/ |
H A D | native_window.h | 69 int32_t stride; member in struct:ANativeWindow_Buffer
|
H A D | bitmap.h | 72 uint32_t stride; member in struct:__anon1240
|
/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/libs/gui/tests/ |
H A D | FillBuffer.cpp | 25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument 29 int yuvTexStrideY = stride; 54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, argument 57 int yuvTexStrideY = stride; 78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { 82 off_t offset = (y * stride + x) * PIXEL_SIZE;
|
H A D | SurfaceTextureFBO.h | 59 void fillRGBA8BufferSolid(uint8_t* buf, int w, int h, int stride, argument 64 off_t offset = (y * stride + x) * PIXEL_SIZE;
|
H A D | SurfaceTextureGL_test.cpp | 237 int stride = buf->getStride(); local 238 int yuvTexStrideY = stride; 254 img[y*stride + x] = value; 274 img[y*stride + x] = value;
|
/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 ) argument 67 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 72 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument 82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Mesh.cpp | 34 size_t stride = vertexSize + texCoordSize; local 35 size_t remainder = (stride * vertexCount) / vertexCount; 36 // Since all of the input parameters are unsigned, if stride is less than 38 // will be equal to stride as long as stride * vertexCount doesn't overflow. 39 if ((stride < vertexSize) || (remainder != stride)) { 51 mVertices = new float[stride * vertexCount]; 52 mStride = stride;
|
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/rs/driver/ |
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, size_t offset, const char *name);
|
H A D | rsdMeshObj.cpp | 102 uint32_t stride = elem->mHal.state.elementSizeBytes; local 114 mAttribs[userNum].stride = stride;
|
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%p", 77 mAttribs[idx].stride, 114 mAttribs[ct].stride,
|
/frameworks/av/media/libstagefright/filters/ |
H A D | ColorConvert.cpp | 94 uint8_t *src, int32_t width, int32_t height, uint32_t stride, 107 src += (stride - width) * 4; 93 convertRGBAToARGB( uint8_t *src, int32_t width, int32_t height, uint32_t stride, uint8_t *dest) argument
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | MeshState.cpp | 71 ALOGD("MeshState vertices: vertex data %p, stride %d", 73 ALOGD("MeshState texCoord: data %p, stride %d", 107 void MeshState::bindPositionVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument 108 if (force || vertices != mCurrentPositionPointer || stride != mCurrentPositionStride) { 109 glVertexAttribPointer(Program::kBindingPosition, 2, GL_FLOAT, GL_FALSE, stride, vertices); 111 mCurrentPositionStride = stride; 115 void MeshState::bindTexCoordsVertexPointer(bool force, const GLvoid* vertices, GLsizei stride) { argument 116 if (force || vertices != mCurrentTexCoordsPointer || stride != mCurrentTexCoordsStride) { 117 glVertexAttribPointer(Program::kBindingTexCoords, 2, GL_FLOAT, GL_FALSE, stride, vertices); 119 mCurrentTexCoordsStride = stride; [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
|
H A D | ETC1Util.java | 84 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, pixelSize, stride, compressedImage);
|
/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 51 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer 64 // contains the Y channel, and stride is the Y channel stride. For other
|
/frameworks/native/include/ui/ |
H A D | ANativeObjectBase.h | 34 int32_t stride; member in struct:egl_native_pixmap_t
|
H A D | GraphicBufferAllocator.h | 65 buffer_handle_t* handle, uint32_t* stride); 76 uint32_t stride; member in struct:android::GraphicBufferAllocator::alloc_rec_t
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 69 rec.width, rec.stride, rec.height, rec.format, rec.usage); 73 rec.width, rec.stride, rec.height, rec.format, rec.usage); 95 uint32_t* stride) 114 *stride = static_cast<uint32_t>(outStride); 126 rec.stride = *stride; 129 rec.size = static_cast<size_t>(height * (*stride) * bpp); 93 alloc(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, buffer_handle_t* handle, uint32_t* stride) argument
|
/frameworks/native/opengl/libagl/ |
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/av/services/audioflinger/tests/ |
H A D | resampler_tests.cpp | 149 double signalEnergy(T *start, T *end, unsigned stride) argument 153 for (T *p = start; p < end; p += stride) { 156 unsigned count = (end - start + stride - 1) / stride;
|
/frameworks/base/libs/hwui/ |
H A D | Glop.h | 104 GLsizei stride; member in struct:android::uirenderer::Glop::Mesh::Vertices
|
H A D | TextureCache.cpp | 339 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, argument 342 const bool useStride = stride != width 344 if ((stride == width) || useStride) { 346 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride); 360 // if the stride doesn't match the width 370 pSrc += stride * bpp;
|