Searched defs:rowBytes (Results 1 - 7 of 7) sorted by path

/frameworks/base/core/jni/android/graphics/
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 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...]
/frameworks/base/core/jni/
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 Dandroid_view_SurfaceControl.cpp180 const size_t rowBytes = local
189 screenshotInfo, rowBytes, nullptr);
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp292 int srcStride = glyph.rowBytes();
362 int rowBytes = srcStride; local
367 while (--rowBytes >= 0) {
H A DGradientCache.cpp224 const GLsizei rowBytes = width * bytesPerPixel(); local
225 uint8_t pixels[rowBytes * height];
266 memcpy(pixels + rowBytes, pixels, rowBytes);
/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 171 milliseconds