Home
last modified time | relevance | path

Searched refs:rowBytes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
DGradientCache.cpp243 const GLsizei rowBytes = width * bytesPerPixel(); in generateTexture() local
244 uint8_t pixels[rowBytes * texture->height]; in generateTexture()
285 memcpy(pixels + rowBytes, pixels, rowBytes); in generateTexture()
DTextureCache.cpp165 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in getCachedTexture()
215 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in get()
227 texture->bitmapSize = bitmap->rowBytes() * bitmap->height(); in getTransient()
DFontRenderer.cpp300 int srcStride = glyph.rowBytes(); in cacheBitmap()
370 int rowBytes = srcStride; in cacheBitmap() local
375 while (--rowBytes >= 0) { in cacheBitmap()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo()
/frameworks/base/core/jni/android/graphics/
DGraphicsJNI.h113 AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage, size_t rowBytes,
122 size_t rowBytes, SkColorTable* ctable);
DGraphics.cpp491 size_t rowBytes, jbyteArray storageObj, SkColorTable* ctable) : in AndroidPixelRef() argument
492 SkMallocPixelRef(info, storage, rowBytes, ctable, (storageObj == NULL)), in AndroidPixelRef()
507 size_t rowBytes, SkColorTable* ctable) : in AndroidPixelRef() argument
508 SkMallocPixelRef(info, wrappedPixelRef.getAddr(), rowBytes, ctable, false), in AndroidPixelRef()
558 bitmap->rowBytes(), arrayObj, ctable); in allocateJavaPixelRef()
DBitmap.cpp136 dst = (char*)dst + dstBitmap.rowBytes(); in SetPixels()
492 return static_cast<jint>(bitmap->rowBytes()); in Bitmap_rowBytes()
566 const int rowBytes = p->readInt32(); in Bitmap_createFromParcel() local
580 bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType), rowBytes); in Bitmap_createFromParcel()
638 p->writeInt32(bitmap->rowBytes()); in Bitmap_writeToParcel()
746 src = (void*)((const char*)src + bitmap->rowBytes()); in Bitmap_getPixels()
DBitmapFactory.cpp182 const int64_t size64 = info.getSafeSize64(bitmap->rowBytes()); in allocPixelRef()
197 info, bitmap->rowBytes(), ctable); in allocPixelRef()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp171 const ssize_t rowBytes = in nativeScreenshotBitmap() local
175 bitmap->setInfo(screenshotInfo, (size_t)rowBytes); in nativeScreenshotBitmap()
179 (size_t) rowBytes, NULL, (void*) screenshot->getPixels(), &DeleteScreenshot, in nativeScreenshotBitmap()
Dandroid_hardware_camera2_DngCreator.cpp472 uint8_t* rowBytes = row.editArray(); in writeToStream() local
479 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize); in writeToStream()
503 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK || in writeToStream()
Dcom_google_android_gles_jni_EGLImpl.cpp299 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()