/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 620 width = (buffer->width + buffer->stride * (buffer->height - 1)) * 4; 681 rStride = buffer->stride; 682 dataSize = buffer->stride * (buffer->height - 1) + buffer->width; 692 cr = buffer->data + (buffer->stride * buffer->height); 710 // Y and C stride need to be 16 pixel aligned. 711 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, 712 "Stride is not 16 pixel aligned %d", buffer->stride); 714 ySize = buffer->stride * buffer->height; 715 cStride = ALIGN(buffer->stride / 2, 16); 728 rStride = (idx == 0) ? buffer->stride [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 7 void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 31 void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) 36 void glPointSizePointerOES ( GLenum type, GLsizei stride, const GLvoid *pointer ) 37 void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 44 void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicConvolve3x3.cpp | 189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2); 194 const uchar4 *py1 = (const uchar4 *)(pin + stride * info->current.y); 195 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1); 236 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2); 241 const uchar2 *py1 = (const uchar2 *)(pin + stride * info->current.y); 242 const uchar2 *py2 = (const uchar2 *)(pin + stride * y 281 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 326 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 371 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 415 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local [all...] |
H A D | rsCpuIntrinsicBlur.cpp | 158 extern void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct); 301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local 309 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * info->current.y), 311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); 328 const uchar *pi = pin + (y - cp->mIradius) * stride; 329 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, info->dim.x); 333 OneVU4(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius); 372 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 71 CHECK(format->findInt32("stride", &widthNew)); 282 buf->stride, buf->height, 295 size_t dst_y_size = buf->stride * buf->height; 296 size_t dst_c_stride = ALIGN(buf->stride / 2, 16); 301 dst_y += mCropTop * buf->stride + mCropLeft; 309 dst_y += buf->stride; 331 size_t dst_y_size = buf->stride * buf->height; 332 size_t dst_c_stride = ALIGN(buf->stride / 2, 16); 337 dst_y += mCropTop * buf->stride + mCropLeft; 347 dst_y += buf->stride; [all...] |
/frameworks/ml/nn/common/include/ |
H A D | OperationsUtils.h | 70 inline uint32_t computeOutSize(uint32_t imageSize, uint32_t filterSize, uint32_t stride, argument 72 return (imageSize - filterSize + stride + paddingHead + paddingTail) / stride; 103 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, argument 110 int32_t out_size = (in_size + stride - 1) / stride; 111 int32_t tmp = (out_size - 1) * stride + filter_size;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_allocation.c | 69 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; local 71 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + 72 (z * stride * dimY)]; 80 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 83 uint8_t *dp = &p[(sizeOf * x) + (y * stride) + 84 (z * stride * dimY)]; 204 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 213 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 230 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 239 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local 322 const size_t stride = alloc->mHal.drvState.lod[1].stride; local 336 const size_t stride = alloc->mHal.drvState.lod[2].stride; local [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 91 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride; 92 ptr += yoff * alloc->mHal.drvState.lod[lod].stride; 272 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16); 274 (state->lod[0].stride * state->lod[0].dimY); 275 uvSize += state->lod[2].stride * state->lod[2].dimY; 277 state->lod[1].stride = state->lod[2].stride; 279 (state->lod[2].stride * state->lod[2].dimY); 280 uvSize += state->lod[1].stride * stat 305 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); local 615 size_t stride = alloc->mHal.state.elementSizeBytes; local 847 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 909 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 960 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 989 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...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 382 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 387 int stride, 395 int stride, 401 stride, 409 (stride >= 0)) { 945 // C function void glNormalPointer ( GLenum type, GLsizei stride, const GLvoid *pointer ) 949 int stride, 956 int stride, 961 stride, 969 (stride > 384 glColorPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 392 glColorPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 947 glNormalPointerBounds( int type, int stride, java.nio.Buffer pointer, int remaining ) argument 954 glNormalPointer( int type, int stride, java.nio.Buffer pointer ) argument 1138 glTexCoordPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1146 glTexCoordPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument 1283 glVertexPointerBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 1291 glVertexPointer( int size, int type, int stride, java.nio.Buffer pointer ) argument [all...] |
H A D | GLES11.java | 218 // 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 D | ETC1Util.java | 84 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);
|
/frameworks/base/packages/PrintSpooler/jni/ |
H A D | com_android_printspooler_util_BitmapSerializeUtils.cpp | 108 || readInfo.stride != targetInfo.stride || readInfo.format != targetInfo.format 123 size_t byteCount = readInfo.stride * readInfo.height; 162 size_t byteCount = info.stride * info.height;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 25 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 28 GLsizei stride, const GLvoid *pointer, GLsizei count); 30 GLsizei stride, const GLvoid *pointer, GLsizei count); 32 GLsizei stride, const GLvoid *pointer, GLsizei count); 34 GLsizei stride, const GLvoid *pointer, GLsizei count); 36 GLsizei stride, const GLvoid *pointer, GLsizei count); 40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 46 GLsizei stride, cons 39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/native/include/gui/ |
H A D | CpuConsumer.h | 52 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer 65 // contains the Y channel, and stride is the Y channel stride. For other 77 stride(0),
|
/frameworks/native/libs/gui/include/gui/ |
H A D | CpuConsumer.h | 52 uint32_t stride; member in struct:android::CpuConsumer::LockedBuffer 65 // contains the Y channel, and stride is the Y channel stride. For other 77 stride(0),
|
/frameworks/rs/ |
H A D | rsAllocation.h | 87 size_t stride; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState 134 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride); 136 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride); 140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride); 142 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride); 192 uint32_t z, uint32_t array, size_t *stride); 201 p += y * mHal.drvState.lod[lod].stride; 202 p += z * mHal.drvState.lod[lod].stride * mHal.drvState.lod[lod].dimY;
|
H A D | rsAllocation.cpp | 173 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 D | GraphicBuffer.cpp | 53 stride = 90 uint32_t stride) 94 layerCount, usage, stride); 182 stride = static_cast<int>(outStride); 190 uint32_t stride) 194 ANativeWindowBuffer::stride = static_cast<int>(stride); member in class:android::ANativeWindowBuffer 206 layerCount, format, usage, stride, &importedHandle); 349 buf[3] = stride; 405 width = height = 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 187 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/native/opengl/libagl/ |
H A D | dxt.cpp | 195 void *surface, int stride, 212 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) { 287 for (int y = 0; y < 4; y++, blockRowPtr += stride) { 308 void *surface, int stride) 324 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) { 393 for (int y = 0; y < 4; y++, blockRowPtr += stride) { 417 void *surface, int stride) 448 for (int base_y = 0; base_y < height; base_y += 4, rowPtr += 4*stride) { 550 for (int y = 0; y < 4; y++, blockRowPtr += stride) { 581 * 'stride' 194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument 307 decodeDXT3(const GLvoid *data, int width, int height, void *surface, int stride) argument 416 decodeDXT5(const GLvoid *data, int width, int height, void *surface, int stride) argument 599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument [all...] |
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 51 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 53 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 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); 64 GLsizei stride, const GLvoid *pointer, GLsizei count);
|
/frameworks/native/include/ui/ |
H A D | GraphicBuffer.h | 124 uint64_t usage, uint32_t stride); 130 uint32_t usage, uint32_t stride) 132 static_cast<uint64_t>(usage), stride) {} 144 uint32_t getStride() const { return static_cast<uint32_t>(stride); } 232 uint64_t usage, uint32_t stride); 127 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
|
/frameworks/native/libs/ui/include/ui/ |
H A D | GraphicBuffer.h | 124 uint64_t usage, uint32_t stride); 130 uint32_t usage, uint32_t stride) 132 static_cast<uint64_t>(usage), stride) {} 144 uint32_t getStride() const { return static_cast<uint32_t>(stride); } 232 uint64_t usage, uint32_t stride); 127 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
|
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | GraphicBuffer.h | 124 uint64_t usage, uint32_t stride); 130 uint32_t usage, uint32_t stride) 132 static_cast<uint64_t>(usage), stride) {} 144 uint32_t getStride() const { return static_cast<uint32_t>(stride); } 232 uint64_t usage, uint32_t stride); 127 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
|
/frameworks/av/media/libstagefright/filters/ |
H A D | ColorConvert.cpp | 94 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/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 83 const int stride = skBitmap.width() * 4; local 86 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);
|