Searched refs:rowBytes (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 243 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()
|
D | TextureCache.cpp | 165 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()
|
D | FontRenderer.cpp | 300 int srcStride = glyph.rowBytes(); in cacheBitmap() 370 int rowBytes = srcStride; in cacheBitmap() local 375 while (--rowBytes >= 0) { in cacheBitmap()
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo()
|
/frameworks/base/core/jni/android/graphics/ |
D | GraphicsJNI.h | 113 AndroidPixelRef(JNIEnv* env, const SkImageInfo& info, void* storage, size_t rowBytes, 122 size_t rowBytes, SkColorTable* ctable);
|
D | Graphics.cpp | 491 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()
|
D | Bitmap.cpp | 136 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()
|
D | BitmapFactory.cpp | 182 const int64_t size64 = info.getSafeSize64(bitmap->rowBytes()); in allocPixelRef() 197 info, bitmap->rowBytes(), ctable); in allocPixelRef()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 171 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()
|
D | android_hardware_camera2_DngCreator.cpp | 472 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()
|
D | com_google_android_gles_jni_EGLImpl.cpp | 299 pixmap.stride = nativeBitmap->rowBytes() / nativeBitmap->bytesPerPixel(); in jni_eglCreatePixmapSurface()
|