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

/frameworks/base/libs/hwui/
H A DGradientCache.cpp236 const GLsizei rowBytes = width * bytesPerPixel(); local
237 uint8_t pixels[rowBytes * texture->height];
278 memcpy(pixels + rowBytes, pixels, rowBytes);
H A DFontRenderer.cpp286 int srcStride = glyph.rowBytes();
356 int rowBytes = srcStride; local
361 while (--rowBytes >= 0) {
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp172 const size_t rowBytes = local
181 screenshotInfo, rowBytes, nullptr);
H A Dandroid_hardware_camera2_DngCreator.cpp607 uint8_t* rowBytes = row.editArray(); local
614 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize);
638 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK ||
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp37 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
41 reconfigure(info, rowBytes, ctable);
51 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) { argument
55 mRowBytes = rowBytes;
84 // Can't mark as override since SkPixelRef::rowBytes isn't virtual
86 // on calling rowBytes() on an unlocked pixelref, which it will be
89 size_t rowBytes() const { return mRowBytes; } function in class:android::WrappedPixelRef
129 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
134 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
141 const SkImageInfo& info, size_t rowBytes, SkColorTabl
36 WrappedPixelRef(Bitmap* wrapper, void* storage, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
128 Bitmap(JNIEnv* env, jbyteArray storageObj, void* address, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
140 Bitmap(void* address, void* context, FreeFunc freeFunc, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
152 Bitmap(void* address, int fd, const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
224 size_t Bitmap::rowBytes() const { function in class:android::Bitmap
251 reconfigure(const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable) argument
948 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
[all...]
/frameworks/base/tools/aapt2/
H A DPng.cpp144 const uint32_t rowBytes = png_get_rowbytes(readPtr, infoPtr); local
147 outInfo->rows[i] = new png_byte[rowBytes];

Completed in 159 milliseconds