Searched refs:stride (Results 51 - 75 of 207) sorted by relevance

123456789

/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp52 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
54 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLsizei stride, const GLvoid *pointer, GLsizei count);
63 GLsizei stride, const GLvoid *pointer, GLsizei count);
65 GLsizei stride, const GLvoid *pointer, GLsizei count);
/frameworks/rs/
H A DrsAllocation.cpp173 uint32_t z, uint32_t array, size_t *stride) {
188 if ((stride != nullptr) && mHal.drvState.lod[0].dimY) {
189 *stride = mHal.drvState.lod[lod].stride;
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
220 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
243 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
246 if (!stride) {
172 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
212 data(Context *rsc, 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
218 data(Context *rsc, 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
242 read(Context *rsc, 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
261 read(Context *rsc, 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
631 size_t stride = 0; local
701 rsi_Allocation2DData(Context *rsc, RsAllocation va, 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
707 rsi_Allocation3DData(Context *rsc, RsAllocation va, 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
888 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
909 rsi_Allocation2DRead(Context *rsc, RsAllocation va, 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
916 rsi_Allocation3DRead(Context *rsc, RsAllocation va, 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/native/libs/ui/
H A DGraphicBuffer.cpp52 stride =
90 uint32_t stride)
94 layerCount, usage, stride);
180 stride = static_cast<int>(outStride);
188 uint32_t stride)
192 ANativeWindowBuffer::stride = static_cast<int>(stride); member in class:android::ANativeWindowBuffer
345 buf[3] = stride;
390 width = height = stride = format = layerCount = usage = 0;
411 stride
86 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
185 initWithHandle(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
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, pixelSize, stride, compressedImage);
H A DGLES11Ext.java879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
884 int stride,
892 int stride,
898 stride,
909 (stride >= 0)) {
914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
919 int stride,
927 int stride,
933 stride,
881 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
889 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
916 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument
924 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
H A DGLErrorWrapper.java161 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument
163 mgl.glColorPointer(size, type, stride, pointer);
601 public void glNormalPointer(int type, int stride, Buffer pointer) { argument
603 mgl.glNormalPointer(type, stride, pointer);
737 int stride, Buffer pointer) {
739 mgl.glTexCoordPointer(size, type, stride, pointer);
834 int stride, Buffer pointer) {
836 mgl.glVertexPointer(size, type, stride, pointer);
985 public void glColorPointer(int size, int type, int stride, int offset) { argument
987 mgl11.glColorPointer(size, type, stride, offse
736 glTexCoordPointer(int size, int type, int stride, Buffer pointer) argument
833 glVertexPointer(int size, int type, int stride, Buffer pointer) argument
1232 glNormalPointer(int type, int stride, int offset) argument
1274 glPointSizePointerOES(int type, int stride, Buffer pointer) argument
1280 glTexCoordPointer(int size, int type, int stride, int offset) argument
1335 glVertexPointer(int size, int type, int stride, int offset) argument
1353 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument
1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
1367 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument
1374 glWeightPointerOES(int size, int type, int stride, int offset) argument
[all...]
H A DGLLogWrapper.java242 private void argPointer(int size, int type, int stride, Buffer pointer) { argument
245 arg("stride", stride);
1072 builder.append("invalid stride");
1076 int stride = pointer.getStride();
1081 int byteOffset = stride * index;
1328 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument
1330 argPointer(size, type, stride, pointer);
1332 mColorPointer = new PointerInfo(size, type, stride, pointer);
1334 mgl.glColorPointer(size, type, stride, pointe
2146 glNormalPointer(int type, int stride, Buffer pointer) argument
2385 glTexCoordPointer(int size, int type, int stride, Buffer pointer) argument
2566 glVertexPointer(int size, int type, int stride, Buffer pointer) argument
3238 glPointSizePointerOES(int type, int stride, Buffer pointer) argument
3334 glColorPointer(int size, int type, int stride, int offset) argument
3365 glNormalPointer(int type, int stride, int offset) argument
3374 glTexCoordPointer(int size, int type, int stride, int offset) argument
3384 glVertexPointer(int size, int type, int stride, int offset) argument
3409 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument
3418 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument
3430 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument
3439 glWeightPointerOES(int size, int type, int stride, int offset) argument
3908 PointerInfo(int size, int type, int stride, Buffer pointer) argument
[all...]
/frameworks/native/include/ui/
H A DGraphicBuffer.h123 uint64_t usage, uint32_t stride);
129 uint32_t usage, uint32_t stride)
131 static_cast<uint64_t>(usage), stride) {}
143 uint32_t getStride() const { return static_cast<uint32_t>(stride); }
226 uint64_t usage, uint32_t stride);
126 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint32_t usage, uint32_t stride) argument
H A DANativeObjectBase.h32 int32_t stride; member in struct:egl_native_pixmap_t
/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp94 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/graphics/java/android/graphics/
H A DBitmap.java1053 * @param stride Number of colors in the array between rows (must be >=
1063 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride, argument
1065 return createBitmap(null, colors, offset, stride, width, height, config);
1080 * @param stride Number of colors in the array between rows (must be >=
1091 @NonNull @ColorInt int[] colors, int offset, int stride,
1095 if (Math.abs(stride) < width) {
1096 throw new IllegalArgumentException("abs(stride) must be >= width");
1098 int lastScanline = offset + (height - 1) * stride;
1107 Bitmap bm = nativeCreate(colors, offset, stride, width, height,
1616 * a packed int representing a {@link Color}. The stride paramete
1090 createBitmap(@onNull DisplayMetrics display, @NonNull @ColorInt int[] colors, int offset, int stride, int width, int height, @NonNull Config config) argument
1639 getPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1681 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1756 setPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1917 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable, @Nullable @Size(9) float[] xyzD50, @Nullable ColorSpace.Rgb.TransferParameters p) argument
1939 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1944 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/rs/support/jni/
H A Dandroid_rscompat_usage_io_driver.cpp29 alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes;
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10Ext.cpp49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
60 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLsizei stride, const GLvoid *pointer, GLsizei count);
66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
72 GLsizei stride, cons
65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.h104 status_t setParams(size_t stride);
/frameworks/base/libs/hwui/
H A DGlop.h109 GLsizei stride; member in struct:android::uirenderer::Glop::Mesh::Vertices
/frameworks/native/libs/nativewindow/include/android/
H A Dnative_window.h95 int32_t stride; member in struct:ANativeWindow_Buffer
H A Dhardware_buffer.h145 uint32_t stride; // Stride in pixels, ignored for AHardwareBuffer_allocate() member in struct:AHardwareBuffer_Desc
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp152 sur.stride= native_buffer->stride;
182 surface.stride = s;
214 mipmap.stride = s;
H A Dtexture.cpp270 (dst.stride == src.stride) &&
273 (dst.stride > 0) &&
279 const size_t size = src.height * src.stride * pixelFormat.size;
369 // figure out the size we need as well as the stride
374 const int32_t stride = bpr / pixelFormat.size; local
380 width, height, stride, formatIdx, compressedFormat, bpr);
391 width, height, stride, formatIdx, compressedFormat, bpr);
445 void *surface, int stride, int format)
491 uint8_t* p = (uint8_t*)surface + y*stride*
444 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument
[all...]
H A Darray.cpp313 GLint size, GLenum type, GLsizei stride,
316 if (!stride) {
317 stride = size;
321 stride *= 2;
325 stride *= 4;
331 this->stride = stride;
970 const size_t stride = c->arrays.vertex.stride; local
980 vp += stride;
312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument
1239 glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
1260 glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
1280 glNormalPointer( GLenum type, GLsizei stride, const GLvoid *pointer) argument
1301 glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument
[all...]
/frameworks/rs/driver/
H A DrsdAllocation.h118 const void *data, size_t sizeBytes, size_t stride);
123 size_t stride);
133 void *data, size_t sizeBytes, size_t stride);
138 size_t stride);
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp318 meshState().bindPositionVertexPointer(vertices.position, vertices.stride);
346 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride);
354 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, vertices.color);
362 glVertexAttribPointer(alphaLocation, 1, GL_FLOAT, GL_FALSE, vertices.stride, alphaCoords);
423 meshState().bindPositionVertexPointer(vertexData, vertices.stride);
426 vertexData + kMeshTextureOffset, vertices.stride);
431 vertexData += (drawCount / 6) * 4 * vertices.stride;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java198 int stride,
430 int stride,
468 int stride,
475 int stride,
546 int stride,
195 glColorPointer( int size, int type, int stride, int offset ) argument
428 glNormalPointer( int type, int stride, int offset ) argument
466 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument
472 glTexCoordPointer( int size, int type, int stride, int offset ) argument
543 glVertexPointer( int size, int type, int stride, int offset ) argument
/frameworks/av/media/libaudioprocessing/tests/
H A Dresampler_tests.cpp44 const size_t stride = 8; local
46 for (size_t j = 0; j < stride && i < size; ++j) {
163 double signalEnergy(T *start, T *end, unsigned stride) argument
167 for (T *p = start; p < end; p += stride) {
170 unsigned count = (end - start + stride - 1) / stride;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp88 const int stride = skBitmap.width() * 4; local
91 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);

Completed in 3644 milliseconds

123456789