/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1214 * @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/av/libvideoeditor/lvpp/ |
H A D | NativeWindowRenderer.cpp | 415 int srcWidth, int srcHeight, int stride) { 416 int strideUV = (stride / 2 + 0xf) & ~0xf; 421 dst += stride; 414 copyI420Buffer(MediaBuffer* src, uint8_t* dst, int srcWidth, int srcHeight, int stride) argument
|
H A D | VideoEditorTools.h | 109 M4OSA_UInt32 width, M4OSA_UInt32 height, M4OSA_UInt32 stride, M4VIFI_UInt8 *buffer);
|
/frameworks/rs/ |
H A D | rsMesh.cpp | 218 uint32_t stride = 0; local 221 // First we need to find the position ptr and stride 229 stride = bufferElem->getSizeBytes() / sizeof(float); 258 posPtr += stride;
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.h | 128 int format, int stride);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegCompressor.cpp | 116 size_t rowStride = mAuxBuffer->stride;// * 3;
|
H A D | CallbackProcessor.cpp | 363 destYStride = imgBuffer.stride; 463 // Copy Y plane, adjusting for stride 468 ySrc += src.stride;
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.h | 142 jint stride,
|
H A D | jni_shader_program.cpp | 301 jint stride, 319 stride, 294 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 D | GL10.java | 343 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/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 509 // 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/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11Ext.spec | 74 void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 75 void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer )
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 80 int stride; local 127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 356 static void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) ; 358 int stride, const android_native_rect_t& rect) ; 542 void SurfaceMediaSourceTest::fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument 546 int yuvTexStrideY = stride; 573 int h, int stride, const android_native_rect_t& rect) { 575 int yuvTexStrideY = stride; 572 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 D | util.cpp | 887 * 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | ImageShader.java | 96 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/native/libs/gui/ |
H A D | Surface.cpp | 687 const size_t dbpr = dst->stride * bpp; 688 const size_t sbpr = src->stride * bpp; 695 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp; 696 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp; 815 outBuffer->stride = backBuffer->stride;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 471 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/libs/gui/tests/ |
H A D | SurfaceTexture_test.cpp | 458 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/native/opengl/include/GLES/ |
H A D | gl.h | 649 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);
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 810 mtls->fep.yStrideIn = ain->mHal.drvState.lod[0].stride; 818 mtls->fep.yStrideOut = aout->mHal.drvState.lod[0].stride; 952 size_t stride = elem->getSizeBytes(); local 956 cVal += stride; 963 oldVal += stride;
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 562 buffer_handle_t** buffer, int *stride) 570 *stride = anb->stride; 561 __dequeue_buffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride) argument
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_GLImpl.cpp | 49 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); 415 /* void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) */ 418 (JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) { 433 (GLsizei)stride, 417 android_glColorPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3231 android_glNormalPointerBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3490 android_glTexCoordPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3908 android_glVertexPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 4356 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 6097 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 6300 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 6323 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 6753 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 7169 android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 7193 android_glMatrixIndexPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 7205 android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 7229 android_glWeightPointerOES__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
H A D | android_view_TextureView.cpp | 153 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES20.java | 1872 // C function void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLint offset ) 1879 int stride, 1883 // C function void glVertexAttribPointer ( GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *ptr ) 1890 int stride, 1900 int stride, 1908 stride, 1874 glVertexAttribPointer( int indx, int size, int type, boolean normalized, int stride, int offset ) argument 1885 glVertexAttribPointerBounds( int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr, int remaining ) argument 1895 glVertexAttribPointer( int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr ) argument
|