Searched refs:stride (Results 101 - 125 of 207) sorted by relevance

123456789

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h92 uint32_t stride() const { return buffer_.stride(); } function in class:android::dvr::BufferHubBuffer
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec16 void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
72 void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer )
94 void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
105 void glVertexPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
H A DGLES11Ext.spec74 void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
75 void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
/frameworks/rs/
H A DrsApiStubs.h70 extern "C" void * rsAllocationGetPointer (RsContext rsc, RsAllocation va, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t * stride, size_t stride_length);
74 extern "C" void rsAllocation2DData (RsContext 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 data_length, size_t stride);
75 extern "C" void rsAllocation3DData (RsContext 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 data_length, size_t stride);
80 extern "C" void rsAllocation2DRead (RsContext rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride);
81 extern "C" void rsAllocation3DRead (RsContext 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 data_length, size_t stride);
H A DrsApiStubs.cpp397 uint32_t z, uint32_t array, size_t * stride, size_t stride_length)
399 return RS_DISPATCH(ctxWrapper, AllocationGetPointer, va, lod, face, z, array, stride, stride_length);
422 const void * data, size_t data_length, size_t stride)
424 RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stride);
429 const void * data, size_t data_length, size_t stride)
431 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
458 void * data, size_t data_length, size_t stride)
460 RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yoff, lod, face, w, h, data, data_length, stride);
465 void * data, size_t data_length, size_t stride)
467 RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
396 rsAllocationGetPointer(RsContext ctxWrapper, RsAllocation va, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t * stride, size_t stride_length) argument
420 rsAllocation2DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void * data, size_t data_length, size_t stride) argument
427 rsAllocation3DData(RsContext ctxWrapper, 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 data_length, size_t stride) argument
456 rsAllocation2DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride) argument
463 rsAllocation3DRead(RsContext ctxWrapper, 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 data_length, size_t stride) argument
[all...]
H A Drs_hal.h250 const void *data, size_t sizeBytes, size_t stride);
254 size_t stride);
262 void *data, size_t sizeBytes, size_t stride);
266 size_t stride);
H A DrsHidlAdaptation.cpp590 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride)
597 GetIContextHandle(context)->allocation2DWrite(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, _data, stride);
601 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride)
608 GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, stride);
643 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride)
647 GetIContextHandle(context)->allocation2DRead(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, data, sizeBytes, stride);
651 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride)
655 GetIContextHandle(context)->allocation3DRead(_allocation, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
1047 uint32_t z, uint32_t array, size_t *stride, size_t strideLen)
1054 [&ptr, stride] (voi
588 Allocation2DData(RsContext context, RsAllocation allocation, 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
600 Allocation3DData(RsContext context, RsAllocation allocation, 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
641 Allocation2DRead(RsContext context, RsAllocation allocation, 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
650 Allocation3DRead(RsContext context, RsAllocation allocation, 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
1045 AllocationGetPointer(RsContext context, RsAllocation allocation, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
[all...]
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java146 public final void drawBitmap(@NonNull int[] colors, int offset, int stride, float x, float y, argument
155 if (Math.abs(stride) < width) {
156 throw new IllegalArgumentException("abs(stride) must be >= width");
158 int lastScanline = offset + (height - 1) * stride;
169 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha,
176 public final void drawBitmap(@NonNull int[] colors, int offset, int stride, int x, int y, argument
179 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height,
546 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, argument
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp269 uint32_t stride = buf->getStride(); local
270 ALOGV("%s: stride is: %" PRIu32, __FUNCTION__, stride);
271 LOG_ALWAYS_FATAL_IF(stride % 16, "Stride is not 16 pixel aligned %d", stride);
273 uint32_t cStride = ALIGN(stride / 2, 16);
277 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride;
281 crPlane, cbPlane, chromaStep, stride, cStride);
H A Dandroid_opengl_GLES31Ext.cpp48 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
50 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
53 GLsizei stride, const GLvoid *pointer, GLsizei count);
55 GLsizei stride, const GLvoid *pointer, GLsizei count);
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
59 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLsizei stride, const GLvoid *pointer, GLsizei count);
65 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
66 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
71 GLsizei stride, cons
64 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
70 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
H A Dandroid_opengl_GLES11.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
728 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
2561 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument
2776 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument
2805 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
3237 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java168 public void drawBitmap(@NonNull int[] colors, int offset, int stride, float x, float y, argument
177 if (Math.abs(stride) < width) {
178 throw new IllegalArgumentException("abs(stride) must be >= width");
180 int lastScanline = offset + (height - 1) * stride;
192 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha,
197 public void drawBitmap(@NonNull int[] colors, int offset, int stride, int x, int y, argument
200 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height,
564 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, argument
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp116 size_t rowStride = mAuxBuffer->stride;// * 3;
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.h142 jint stride,
H A Djni_shader_program.cpp294 jint stride,
312 stride,
287 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java343 int stride,
741 int stride,
868 int stride,
961 int stride,
340 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
739 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument
865 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
958 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument
/frameworks/ex/framesequence/jni/
H A DFrameSequenceJNI.cpp136 int pixelStride = info.stride >> 2;
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureGL_test.cpp244 int stride = buf->getStride(); local
245 int yuvTexStrideY = stride;
261 img[y*stride + x] = value;
281 img[y*stride + x] = value;
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
570 etc1_uint32 pixelSize, etc1_uint32 stride) {
593 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy);
512 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) argument
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp351 static void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) ;
353 int stride, const android_native_rect_t& rect) ;
536 void SurfaceMediaSourceTest::fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument
540 int yuvTexStrideY = stride;
567 int h, int stride, const android_native_rect_t& rect) {
569 int yuvTexStrideY = stride;
566 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp957 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
962 jint pixelSize, jint stride, jobject out) {
970 jint imageSize = stride * height;
977 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride,
987 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
993 jint pixelSize, jint stride) {
1001 jint imageSize = stride * height;
1009 width, height, pixelSize, stride);
960 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument
990 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { argument
99 mStride = stride;
110 public void set(boolean normalize, int offset, int stride, int components, int type, argument
115 mStride = stride;
406 int stride, int offset, boolean normalize) {
408 attr.set(normalize, offset, stride, components, type, vbo);
405 setAttributeValues(String attributeName, int vbo, int type, int components, int stride, int offset, boolean normalize) argument
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp229 uint32_t stride = 0; local
236 stride = anb->stride;
239 _hidl_cb(s, bufferId, buf, stride);
882 buffer_handle_t** buffer, int *stride)
890 *stride = anb->stride;
881 sDequeueBuffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp250 info->stride = localBitmap->rowBytes();
714 jint offset, jint stride, jint width, jint height,
720 if (n < SkAbs32(stride) * (size_t)height) {
750 GraphicsJNI::SetPixels(env, jColors, offset, stride, 0, 0, width, height, bitmap);
1386 jintArray pixelArray, jint offset, jint stride,
1410 d += stride;
1424 d += stride;
1464 jintArray pixelArray, jint offset, jint stride,
1468 GraphicsJNI::SetPixels(env, pixelArray, offset, stride,
713 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable, jfloatArray xyzD50, jobject transferParameters) argument
1385 Bitmap_getPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
1463 Bitmap_setPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
/frameworks/native/opengl/include/GLES/
H A Dgl.h649 GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
706 GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
725 GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
737 GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
757 GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer);

Completed in 220 milliseconds

123456789