Home
last modified time | relevance | path

Searched defs:rowBytes (Results 1 – 25 of 138) sorted by relevance

123456

/aosp_15_r20/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp123 bool Bitmap::computeAllocationSize(size_t rowBytes, int height, size_t* size) { in computeAllocationSize()
142 const size_t rowBytes = bitmap->rowBytes(); in allocateBitmap() local
172 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateAshmemBitmap()
220 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap()
256 const size_t rowBytes = info.bytesPerPixel() * bufferStride; in createFrom() local
261 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, in createFrom()
303 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes) { in reconfigure()
311 Bitmap::Bitmap(void* address, size_t size, const SkImageInfo& info, size_t rowBytes) in Bitmap()
332 size_t rowBytes, uint64_t id) in Bitmap()
344 Bitmap::Bitmap(AHardwareBuffer* buffer, const SkImageInfo& info, size_t rowBytes, in Bitmap()
[all …]
H A DImageDecoder.cpp110 size_t rowBytes = info.minRowBytes(); in setTargetSize() local
355 size_t rowBytes) { in handleRestorePrevious()
398 SkCodec::Result ImageDecoder::decode(void* pixels, size_t rowBytes) { in decode()
/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DGrPixmap.h35 size_t rowBytes() const { return fRowBytes; } in rowBytes() function
77 GrPixmapBase(GrImageInfo info, T* addr, size_t rowBytes) in GrPixmapBase()
84 GrPixmapBase(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmapBase()
105 GrPixmap(GrImageInfo info, void* addr, size_t rowBytes) in GrPixmap()
125 GrPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmap()
152 GrCPixmap(GrImageInfo info, const void* addr, size_t rowBytes) in GrCPixmap()
156 GrCPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrCPixmap()
/aosp_15_r20/external/skia/src/gpu/
H A DAsyncReadTypes.h149 size_t rowBytes(int i) const override { return fPlanes[i].rowBytes(); } in rowBytes() function
153 size_t rowBytes, in addTransferResult()
172 void addCpuPlane(sk_sp<SkData> data, size_t rowBytes) { in addCpuPlane()
179 void addMappedPlane(const void* data, size_t rowBytes, sk_sp<T> mappedBuffer) { in addMappedPlane()
189 Plane(sk_sp<T> buffer, size_t rowBytes) in Plane()
191 Plane(sk_sp<SkData> data, size_t rowBytes) : fData(std::move(data)), fRowBytes(rowBytes) {} in Plane()
217 size_t rowBytes() const { return fRowBytes; } in rowBytes() function
H A DAtlasTypes.cpp104 size_t rowBytes = width * fBytesPerPixel; in copySubImage() local
138 size_t rowBytes = fBytesPerPixel * fWidth; in prepareForUpload() local
/aosp_15_r20/external/skia/src/opts/
H A DSkMemset_opts.h49 static void rect_memsetT(T buffer[], T value, int count, size_t rowBytes, int height) { in rect_memsetT()
57 size_t rowBytes, int height) { in rect_memset16()
61 size_t rowBytes, int height) { in rect_memset32()
65 size_t rowBytes, int height) { in rect_memset64()
/aosp_15_r20/external/skia/src/image/
H A DSkSurface_Raster.cpp36 bool SkSurfaceValidateRasterInfo(const SkImageInfo& info, size_t rowBytes) { in SkSurfaceValidateRasterInfo()
162 size_t rowBytes, in WrapPixels()
181 size_t rowBytes, in WrapPixels()
186 sk_sp<SkSurface> Raster(const SkImageInfo& info, size_t rowBytes, const SkSurfaceProps* props) { in Raster()
H A DSkRescaleAndReadPixels.cpp146 size_t rowBytes = resultInfo.minRowBytes(); in SkRescaleAndReadPixels() local
152 Result(std::unique_ptr<const char[]> data, size_t rowBytes) in SkRescaleAndReadPixels()
156 size_t rowBytes(int i) const override { return fRowBytes; } in SkRescaleAndReadPixels() function in SkRescaleAndReadPixels::Result
H A DSkImage_RasterFactories.cpp33 static bool valid_args(const SkImageInfo& info, size_t rowBytes, size_t* minSize) { in valid_args()
86 sk_sp<SkImage> RasterFromData(const SkImageInfo& info, sk_sp<SkData> data, size_t rowBytes) { in RasterFromData()
/aosp_15_r20/external/skia/src/codec/
H A DSkCodec.cpp358 bool zero_rect(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, in zero_rect()
385 SkCodec::Result SkCodec::handleFrameIndex(const SkImageInfo& info, void* pixels, size_t rowBytes, in handleFrameIndex()
482 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels()
591 size_t rowBytes, const SkCodec::Options* options) { in startIncrementalDecode()
709 int SkCodec::getScanlines(void* dst, int countLines, size_t rowBytes) { in getScanlines()
764 void SkCodec::fillIncompleteImage(const SkImageInfo& info, void* dst, size_t rowBytes, in fillIncompleteImage()
H A DSkPngCodec.cpp441 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows()
470 void setRange(int firstRow, int lastRow, void* dst, size_t rowBytes) override { in setRange()
595 Result decodeAllRows(void* dst, size_t rowBytes, int* rowsDecoded) override { in decodeAllRows()
624 void setRange(int firstRow, int lastRow, void* dst, size_t rowBytes) override { in setRange()
979 size_t rowBytes, const Options& options, in onGetPixels()
995 void* dst, size_t rowBytes, const SkCodec::Options& options) { in onStartIncrementalDecode()
H A DSkSampledCodec.cpp79 size_t rowBytes, const AndroidOptions& options) { in onGetAndroidPixels()
168 size_t rowBytes, const AndroidOptions& options) { in sampledDecode()
H A DSkWuffsCodec.cpp442 size_t rowBytes, in onGetPixels()
458 size_t rowBytes, in onStartIncrementalDecode()
524 size_t rowBytes, in onStartIncrementalDecodeOnePass()
/aosp_15_r20/external/skia/tests/
H A DMallocPixelRefTest.cpp38 size_t rowBytes = info.minRowBytes() - 1; in DEF_TEST() local
47 size_t rowBytes = info.minRowBytes() + info.bytesPerPixel(); in DEF_TEST() local
55 size_t rowBytes = info.minRowBytes() + info.bytesPerPixel(); in DEF_TEST() local
/aosp_15_r20/external/skia/src/core/
H A DSkPixelRef.cpp32 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) in SkPixelRef()
48 void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { in android_only_reset()
137 sk_sp<SkPixelRef> SkMakePixelRefWithProc(int width, int height, size_t rowBytes, void* addr, in SkMakePixelRefWithProc()
H A DSkMemset_opts_erms.cpp72 static inline void rect_memset16(uint16_t* dst, uint16_t v, int n, size_t rowBytes, int height) { in rect_memset16()
80 static inline void rect_memset32(uint32_t* dst, uint32_t v, int n, size_t rowBytes, int height) { in rect_memset32()
88 static inline void rect_memset64(uint64_t* dst, uint64_t v, int n, size_t rowBytes, int height) { in rect_memset64()
H A DSkBitmap.cpp114 bool SkBitmap::setInfo(const SkImageInfo& info, size_t rowBytes) { in setInfo()
193 size_t rowBytes = this->rowBytes(); in setPixelRef() local
258 void SkBitmap::allocPixels(const SkImageInfo& info, size_t rowBytes) { in allocPixels()
271 bool SkBitmap::tryAllocPixels(const SkImageInfo& requestedInfo, size_t rowBytes) { in tryAllocPixels()
H A DSkMallocPixelRef.cpp29 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate()
60 size_t rowBytes, in MakeWithData()
H A DSkDistanceFieldGen.cpp481 int width, int height, size_t rowBytes) { in SkGenerateDistanceFieldFromA8Image()
509 int w, int h, size_t rowBytes) { in SkGenerateDistanceFieldFromLCD16Mask()
539 int width, int height, size_t rowBytes) { in SkGenerateDistanceFieldFromBWImage()
/aosp_15_r20/external/OpenCL-CTS/test_common/harness/
H A DtypeWrappers.cpp71 size_t rowBytes = ROUND_SIZE_UP(width * pixelBytes, kPageSize); in Create() local
168 size_t rowBytes = ROUND_SIZE_UP(width * pixelBytes, kPageSize); in Create() local
269 size_t rowBytes = ROUND_SIZE_UP(width * pixelBytes, kPageSize); in Create() local
377 size_t rowBytes = ROUND_SIZE_UP(width * pixelBytes, kPageSize); in Create() local
/aosp_15_r20/external/skia/docs/examples/
H A DBitmap_tryAllocPixels_4.cpp7 LargePixelRef(const SkImageInfo& info, char* storage, size_t rowBytes) in LargePixelRef()
18 uint64_t rowBytes = info.minRowBytes64(); in allocPixelRef() local
/aosp_15_r20/external/angle/src/libANGLE/renderer/gl/
H A DFramebufferGL.cpp286 GLuint rowBytes, in Initialize()
344 GLuint rowBytes, in RearrangeEXTTextureNorm16Pixels()
765 GLuint rowBytes = 0; in readPixels() local
1593 GLuint rowBytes = 0; in readPixelsRowByRow() local
1648 GLuint rowBytes = 0; in readPixelsAllAtOnce() local
/aosp_15_r20/external/skia/src/ports/
H A DSkImageGeneratorWIC.cpp196 bool ImageGeneratorWIC::onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in onGetPixels()
231 size_t rowBytes = pm.rowBytes(); in onGetPixels() local
/aosp_15_r20/hardware/google/gfxstream/host/tests/
DGLTestUtils.cpp21 testing::AssertionResult RowMatches(int rowIndex, size_t rowBytes, in RowMatches()
43 size_t rowBytes = width * bpp; in ImageMatches() local
/aosp_15_r20/external/skia/include/core/
H A DSkPixmap.h72 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes) in SkPixmap()
145 size_t rowBytes() const { return fRowBytes; } in rowBytes() function

123456