Searched defs:stride (Results 51 - 75 of 86) sorted by relevance

1234

/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp471 GLboolean normalized, GLsizei stride, const GLvoid* ptr,
474 GLboolean normalized, GLsizei stride, const GLvoid* ptr,
505 // copy argument stride
509 arg_stride->add_intvalue(stride);
520 p += stride == 0 ? perVertexSize : stride;
583 GLsizei stride = glGetVertexAttrib(context, index, GL_VERTEX_ATTRIB_ARRAY_STRIDE); local
588 index, size, type, norm, stride, ptr,
469 trace_glVertexAttribPointerData(GLTraceContext *context, GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr, GLuint minIndex, GLuint maxIndex, nsecs_t startTime) argument
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp695 const uint32_t stride = gBuf->getStride(); local
703 for (unsigned int x = 0; x < stride; x++) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp97 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...]
H A DrsdRuntimeStubs.cpp625 const uint32_t stride = a->mHal.drvState.lod[0].stride; local
626 return &p[(eSize * x) + (y * stride)];
669 const uint32_t stride = a->mHal.drvState.lod[0].stride; local
670 return &p[(eSize * x) + (y * stride)];
/frameworks/rs/
H A DrsAllocation.cpp113 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
114 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
120 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
121 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
143 if (!stride) {
144 stride = lineSize;
153 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
157 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) {
160 if (!stride) {
112 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
118 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
139 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
156 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
499 size_t stride = 0; local
559 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
565 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
725 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
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp1414 int32_t width, height, stride, sliceHeight, colorFormat; local
1417 CHECK(meta->findInt32(kKeyStride, &stride));
1424 enc_meta->setInt32(kKeyStride, stride);
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp545 jintArray jcolors, int offset, int stride,
556 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride,
544 drawBitmapArray(JNIEnv* env, jobject, SkCanvas* canvas, jintArray jcolors, int offset, int stride, jfloat x, jfloat y, int width, int height, jboolean hasAlpha, SkPaint* paint) argument
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp887 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
892 jint pixelSize, jint stride, jobject out) {
900 jint imageSize = stride * height;
909 stride,
919 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
925 jint pixelSize, jint stride) {
933 jint imageSize = stride * height;
943 stride);
890 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
922 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp409 OpenGLRenderer* renderer, jintArray colors, jint offset, jint stride,
420 if (!GraphicsJNI::SetPixels(env, colors, offset, stride, 0, 0, width, height, *bitmap, true)) {
408 android_view_GLES20Canvas_drawBitmapData(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jintArray colors, jint offset, jint stride, jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) argument
H A Dandroid_opengl_GLES10.cpp45 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
47 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
63 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
68 GLsizei stride, cons
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
483 android_glColorPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
2399 android_glNormalPointerBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument
2658 android_glTexCoordPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
3032 android_glVertexPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
[all...]
H A Dandroid_opengl_GLES11Ext.cpp45 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
47 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
63 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
68 GLsizei stride, cons
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
2770 android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
2794 android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java831 * @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,
1288 * 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
1309 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1349 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1423 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1568 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1587 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1593 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
[all...]
H A DCanvas.java1214 * @param stride The number of colors in the array between rows (must be
1225 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, argument
1234 if (Math.abs(stride) < width) {
1235 throw new IllegalArgumentException("abs(stride) must be >= width");
1237 int lastScanline = offset + (height - 1) * stride;
1248 native_drawBitmap(mNativeCanvas, colors, offset, stride, x, y, width, height, hasAlpha,
1254 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, argument
1257 drawBitmap(colors, offset, stride, (float)x, (float)y, width, height,
1800 int offset, int stride, float x,
1799 native_drawBitmap(int nativeCanvas, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, int nativePaintOrZero) argument
/frameworks/base/opengl/java/android/opengl/
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...]
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...]
/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/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java890 int offset, int stride, final float x,
898 image.setRGB(0, 0, width, height, colors, offset, stride);
889 native_drawBitmap(int nativeCanvas, int[] colors, int offset, int stride, final float x, final float y, int width, int height, boolean hasAlpha, int nativePaintOrZero) argument
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp458 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
685 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument
689 int yuvTexStrideY = stride;
715 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, argument
718 int yuvTexStrideY = stride;
739 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) {
743 off_t offset = (y * stride + x) * PIXEL_SIZE;
753 void fillRGBA8BufferSolid(uint8_t* buf, int w, int h, int stride, uint8_t r,
758 off_t offset = (y * stride + x) * PIXEL_SIZE;
991 int stride local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp277 /* the filter is implemented with the assumption that the width is equal to stride */
308 /* the filter is implemented with the assumption that the width is equal to stride */
2989 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride,
2995 plane[0].u_stride = stride;
2988 prepareYV12ImagePlane(M4VIFI_ImagePlane *plane, M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer) argument
/frameworks/av/media/libstagefright/
H A DACodec.cpp1827 int32_t stride; local
1828 if (!msg->findInt32("stride", &stride)) {
1829 stride = width;
1832 video_def->nStride = stride;
2514 notify->setInt32("stride", videoDef->nStride);
H A DOMXCodec.cpp783 int32_t width, height, frameRate, bitRate, stride, sliceHeight; local
788 success = success && meta->findInt32(kKeyStride, &stride);
791 CHECK(stride != 0);
825 stride > 0? stride: -stride, sliceHeight);
831 video_def->nStride = stride;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java901 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, argument
911 if (Math.abs(stride) < width) {
912 throw new IllegalArgumentException("abs(stride) must be >= width");
915 int lastScanline = offset + (height - 1) * stride;
927 nDrawBitmap(mRenderer, colors, offset, stride, x, y,
934 private static native void nDrawBitmap(int renderer, int[] colors, int offset, int stride, argument
938 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, argument
941 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint);
/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/libagl/
H A Dcontext.h182 GLsizei stride; member in struct:android::gl::array_t
192 return (const GLubyte*)physical_pointer + i * stride;

Completed in 502 milliseconds

1234