Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmap.h51 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
53 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
55 size_t rowBytes, SkColorTable* ctable);
67 size_t rowBytes() const;
72 void reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
DGraphics.cpp476 int32_t rowBytes32 = SkToS32(bitmap.rowBytes()); in computeAllocationSize()
501 const size_t rowBytes = bitmap->rowBytes(); in allocateJavaPixelRef() local
516 info, rowBytes, ctable); in allocateJavaPixelRef()
553 const size_t rowBytes = bitmap->rowBytes(); in allocatePixels() local
561 SkMallocPixelRef* pr = SkMallocPixelRef::NewWithProc(info, rowBytes, ctable, addr, in allocatePixels()
596 const size_t rowBytes = bitmap->rowBytes(); in allocateAshmemPixelRef() local
616 android::Bitmap* wrapper = new android::Bitmap(addr, fd, size, info, rowBytes, ctable); in allocateAshmemPixelRef()
645 const size_t rowBytes = bitmap->rowBytes(); in mapAshmemPixelRef() local
647 android::Bitmap* wrapper = new android::Bitmap(addr, fd, size, info, rowBytes, ctable); in mapAshmemPixelRef()
711 const size_t rowBytes = maxInfo.minRowBytes(); in allocPixelRef() local
[all …]
DBitmap.cpp39 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in WrappedPixelRef() argument
43 reconfigure(info, rowBytes, ctable); in WrappedPixelRef()
53 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { in reconfigure() argument
57 mRowBytes = rowBytes; in reconfigure()
91 size_t rowBytes() const { return mRowBytes; } in rowBytes() function in android::WrappedPixelRef
131 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument
136 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable)); in Bitmap()
143 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument
148 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable)); in Bitmap()
155 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) in Bitmap() argument
[all …]
DBitmapFactory.cpp180 const int64_t size64 = info.getSafeSize64(bitmap->rowBytes()); in allocPixelRef()
193 mBitmap->reconfigure(info, bitmap->rowBytes(), ctable); in allocPixelRef()
417 decodingBitmap.rowBytes(), &codecOptions); in doDecode()
/frameworks/base/libs/hwui/
DGradientCache.cpp224 const GLsizei rowBytes = width * bytesPerPixel(); in generateTexture() local
225 uint8_t pixels[rowBytes * height]; in generateTexture()
266 memcpy(pixels + rowBytes, pixels, rowBytes); in generateTexture()
DTextureCache.cpp126 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in getCachedTexture()
182 const uint32_t size = bitmap->rowBytes() * bitmap->height(); in get()
DFontRenderer.cpp292 int srcStride = glyph.rowBytes(); in cacheBitmap()
362 int rowBytes = srcStride; in cacheBitmap() local
367 while (--rowBytes >= 0) { in cacheBitmap()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp36 info->stride = bm.rowBytes(); in AndroidBitmap_getInfo()
/frameworks/base/libs/hwui/utils/
DTestWindowContext.cpp159 nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0); in capturePixels()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp180 const size_t rowBytes = in nativeScreenshotBitmap() local
189 screenshotInfo, rowBytes, nullptr); in nativeScreenshotBitmap()
Dandroid_hardware_camera2_DngCreator.cpp615 uint8_t* rowBytes = row.editArray(); in writeToStream() local
622 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize); in writeToStream()
646 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK || in writeToStream()
Dcom_google_android_gles_jni_EGLImpl.cpp295 pixmap.stride = nativeBitmap.rowBytes() / nativeBitmap.bytesPerPixel(); in jni_eglCreatePixmapSurface()
/frameworks/base/tools/aapt2/compile/
DPng.cpp142 const uint32_t rowBytes = png_get_rowbytes(readPtr, infoPtr); in readPng() local
145 outInfo->rows[i] = new png_byte[rowBytes]; in readPng()