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

/frameworks/base/core/jni/android/graphics/
H A DBitmap.h51 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
53 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
54 Bitmap(void* address, int fd, const SkImageInfo& info, size_t rowBytes,
67 size_t rowBytes() const;
72 void reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable);
H A DGraphics.cpp476 int32_t rowBytes32 = SkToS32(bitmap.rowBytes());
499 // we must respect the rowBytes value already set on the bitmap instead of
501 const size_t rowBytes = bitmap->rowBytes(); local
516 info, rowBytes, ctable);
551 // we must respect the rowBytes value already set on the bitmap instead of
553 const size_t rowBytes = bitmap->rowBytes(); local
561 SkMallocPixelRef* pr = SkMallocPixelRef::NewWithProc(info, rowBytes, ctable, addr,
594 // we must respect the rowBytes valu
596 const size_t rowBytes = bitmap->rowBytes(); local
644 const size_t rowBytes = bitmap->rowBytes(); local
710 const size_t rowBytes = maxInfo.minRowBytes(); local
[all...]
H A DBitmap.cpp38 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
42 reconfigure(info, rowBytes, ctable);
52 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { argument
56 mRowBytes = rowBytes;
85 // Can't mark as override since SkPixelRef::rowBytes isn't virtual
87 // on calling rowBytes() on an unlocked pixelref, which it will be
90 size_t rowBytes() const { return mRowBytes; } function in class:android::WrappedPixelRef
130 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
135 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
142 const SkImageInfo& info, size_t rowBytes, SkColorTabl
37 WrappedPixelRef(Bitmap* wrapper, void* storage, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
129 Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
141 Bitmap(void* address, void* context, FreeFunc freeFunc, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
153 Bitmap(void* address, int fd, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
225 size_t Bitmap::rowBytes() const { function in class:android::Bitmap
252 reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
960 const int rowBytes = p->readInt32(); local
[all...]
H A DBitmapFactory.cpp180 const int64_t size64 = info.getSafeSize64(bitmap->rowBytes());
193 mBitmap->reconfigure(info, bitmap->rowBytes(), ctable);
402 // should only only fail if the calculated value for rowBytes is too
417 decodingBitmap.rowBytes(), &codecOptions);
/frameworks/base/libs/hwui/
H A DGradientCache.cpp224 const GLsizei rowBytes = width * bytesPerPixel(); local
225 uint8_t pixels[rowBytes * height];
266 memcpy(pixels + rowBytes, pixels, rowBytes);
H A DTextureCache.cpp126 const uint32_t size = bitmap->rowBytes() * bitmap->height();
178 const uint32_t size = bitmap->rowBytes() * bitmap->height();
H A DFontRenderer.cpp292 int srcStride = glyph.rowBytes();
362 int rowBytes = srcStride; local
367 while (--rowBytes >= 0) {
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp36 info->stride = bm.rowBytes();
/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.cpp159 nativeWrapper.readPixels(destinationConfig, bmp->getPixels(), bmp->rowBytes(), 0, 0);
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp180 const size_t rowBytes = local
189 screenshotInfo, rowBytes, nullptr);
H A Dandroid_hardware_camera2_DngCreator.cpp615 uint8_t* rowBytes = row.editArray(); local
622 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize);
646 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK ||
H A Dcom_google_android_gles_jni_EGLImpl.cpp295 pixmap.stride = nativeBitmap.rowBytes() / nativeBitmap.bytesPerPixel();
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp142 const uint32_t rowBytes = png_get_rowbytes(readPtr, infoPtr); local
145 outInfo->rows[i] = new png_byte[rowBytes];

Completed in 119 milliseconds