/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 396 depth.stride = depth.width; // use the width here 397 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * 399 if (depth.stride < 0 || depth.height > INT_MAX || 472 const size_t dbpr = dst->stride * bpp; 473 const size_t sbpr = src->stride * bpp; 484 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp; 485 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp; 556 depth.stride = buffer->stride; 557 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 60 stride(0), 948 int stride, 960 attrib.stride = stride; 974 int stride, 986 attrib.stride = stride; 1026 attrib.stride = components * sizeof(float); 1072 attrib.stride, 1082 attrib.stride, 944 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument 970 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument [all...] |
/frameworks/rs/cpp/ |
H A D | Allocation.cpp | 169 void * Allocation::getPointer(size_t *stride) { argument 183 RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, 0, 0, stride, sizeof(size_t)); 343 const void *data, size_t stride) { 347 w * h * mType->getElement()->getSizeBytes(), stride)); 350 void Allocation::copy2DStridedFrom(const void* data, size_t stride) { argument 351 copy2DStridedFrom(0, 0, mCurrentDimX, mCurrentDimY, data, stride); 355 void *data, size_t stride) { 359 w * h * mType->getElement()->getSizeBytes(), stride)); 362 void Allocation::copy2DStridedTo(void* data, size_t stride) { argument 363 copy2DStridedTo(0, 0, mCurrentDimX, mCurrentDimY, data, stride); 342 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument 354 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument [all...] |
/frameworks/rs/ |
H A D | rs.spec | 161 param size_t *stride 200 param size_t stride 213 param size_t stride 252 param size_t stride 265 param size_t stride
|
H A D | rsType.cpp | 324 uint32_t stride = e->getSizeBytes(); local 326 p += stride * startOff; 330 p += stride; 341 uint32_t stride = e->getSizeBytes(); local 343 p += stride * startOff; 347 p += stride;
|
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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 229 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument 237 image.setRGB(0, 0, width, height, colors, offset, stride); 380 int stride, int x, int y, int width, int height) { 386 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride); 402 int stride, int x, int y, int width, int height) { 408 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride); 379 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 401 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.h | 105 status_t setParams(size_t stride);
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 113 status_t setParams(size_t stride);
|
/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/native/libs/gui/tests/ |
H A D | MultiTextureConsumer_test.cpp | 109 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
|
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/rs/cpu_ref/ |
H A D | rsCpuScriptGroup.cpp | 74 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y); 79 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->lid); 101 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->current.y; 106 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->lid;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 65 size_t stride; member in struct:Allocation::__anon1567::DrvState::LodState
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.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); 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 693 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 2422 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 2625 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2648 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 3056 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 280 uint32_t stride = buf->getStride(); local 281 ALOGV("%s: stride is: %" PRIu32, __FUNCTION__, stride); 282 LOG_ALWAYS_FATAL_IF(stride % 16, "Stride is not 16 pixel aligned %d", stride); 284 uint32_t cStride = ALIGN(stride / 2, 16); 288 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride; 292 crPlane, cbPlane, chromaStep, stride, cStride);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 257 const int stride = skBitmap.width() * 4; local 260 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES10.spec | 16 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 )
|
/frameworks/native/services/surfaceflinger/tests/ |
H A D | Transaction_test.cpp | 43 uint8_t* pixel = img + (4 * (y*outBuffer.stride + x)); 74 const uint8_t* pixel = img + (4 * (y * mBuf.stride + x));
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegCompressor.cpp | 116 size_t rowStride = mAuxBuffer->stride;// * 3;
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_shader_program.h | 142 jint stride,
|
/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/ex/framesequence/jni/ |
H A D | FrameSequenceJNI.cpp | 132 int pixelStride = info.stride >> 2;
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 91 uint32_t getStride() const { return static_cast<uint32_t>(stride); }
|
/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
|