Home
last modified time | relevance | path

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

123456789

/external/skqp/src/core/
DSkMallocPixelRef.cpp49 size_t rowBytes) { in MakeDirect()
60 size_t rowBytes = requestedRowBytes; in MakeUsing() local
85 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate()
90 size_t rowBytes) { in MakeZeroed()
99 size_t rowBytes, in MakeWithProc()
113 size_t rowBytes, in MakeWithData()
136 size_t rowBytes, in SkMallocPixelRef()
DSkPixelRef.cpp28 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) in SkPixelRef()
44 void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { in android_only_reset()
/external/skia/src/gpu/
DGrPixmap.h21 size_t rowBytes() const { return fRowBytes; } in rowBytes() function
63 GrPixmapBase(GrImageInfo info, T* addr, size_t rowBytes) in GrPixmapBase()
70 GrPixmapBase(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmapBase()
91 GrPixmap(GrImageInfo info, void* addr, size_t rowBytes) : GrPixmapBase(info, addr, rowBytes) {} in GrPixmap()
110 GrPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrPixmap()
137 GrCPixmap(GrImageInfo info, const void* addr, size_t rowBytes) in GrCPixmap()
141 GrCPixmap(GrImageInfo info, sk_sp<SkData> storage, size_t rowBytes) in GrCPixmap()
DGrSurfaceContext.cpp721 size_t rowBytes(int i) const override { return fPlanes[i].rowBytes(); } in rowBytes() function in GrSurfaceContext::AsyncReadResult
725 size_t rowBytes, in addTransferResult()
745 void addCpuPlane(sk_sp<SkData> data, size_t rowBytes) { in addCpuPlane()
752 void addMappedPlane(const void* data, size_t rowBytes, sk_sp<GrGpuBuffer> mappedBuffer) { in addMappedPlane()
762 Plane(sk_sp<GrGpuBuffer> buffer, size_t rowBytes) in Plane()
764 Plane(sk_sp<SkData> data, size_t rowBytes) : fData(std::move(data)), fRowBytes(rowBytes) {} in Plane()
791 size_t rowBytes() const { return fRowBytes; } in rowBytes() function in GrSurfaceContext::AsyncReadResult::Plane
857 size_t rowBytes = context->fSize.width() * SkColorTypeBytesPerPixel(context->fColorType); in asyncReadPixels() local
1078 size_t rowBytes = SkToSizeT(context->fSize.width()); in asyncRescaleAndReadPixelsYUV420() local
1340 size_t rowBytes = GrColorTypeBytesPerPixel(supportedRead.fColorType) * rect.width(); in transferPixels() local
/external/skia/src/opts/
DSkUtils_opts.h44 static void rect_memsetT(T buffer[], T value, int count, size_t rowBytes, int height) { in rect_memsetT()
52 size_t rowBytes, int height) { in rect_memset16()
56 size_t rowBytes, int height) { in rect_memset32()
60 size_t rowBytes, int height) { in rect_memset64()
/external/skia/tests/
DMallocPixelRefTest.cpp32 size_t rowBytes = info.minRowBytes() - 1; in DEF_TEST() local
41 size_t rowBytes = info.minRowBytes() + info.bytesPerPixel(); in DEF_TEST() local
49 size_t rowBytes = info.minRowBytes() + info.bytesPerPixel(); in DEF_TEST() local
/external/skqp/tests/
DMallocPixelRefTest.cpp34 size_t rowBytes = info.minRowBytes() - 1; in DEF_TEST() local
43 size_t rowBytes = info.minRowBytes() + 2; in DEF_TEST() local
51 size_t rowBytes = info.minRowBytes() + 7; in DEF_TEST() local
/external/skia/src/core/
DSkPixelRef.cpp30 SkPixelRef::SkPixelRef(int width, int height, void* pixels, size_t rowBytes) in SkPixelRef()
46 void SkPixelRef::android_only_reset(int width, int height, size_t rowBytes) { in android_only_reset()
135 sk_sp<SkPixelRef> SkMakePixelRefWithProc(int width, int height, size_t rowBytes, void* addr, in SkMakePixelRefWithProc()
DSkMallocPixelRef.cpp24 sk_sp<SkPixelRef> SkMallocPixelRef::MakeAllocate(const SkImageInfo& info, size_t rowBytes) { in MakeAllocate()
55 size_t rowBytes, in MakeWithData()
DSkOpts_erms.cpp73 size_t rowBytes, int height) { in rect_memset16()
82 size_t rowBytes, int height) { in rect_memset32()
91 size_t rowBytes, int height) { in rect_memset64()
/external/skqp/tools/gpu/
DProxyUtils.h25 size_t rowBytes) { in MakeTextureProxyFromData()
34 size_t rowBytes) { in MakeTextureProxyFromData()
/external/skia/docs/examples/
DBitmap_tryAllocPixels_4.cpp8 LargePixelRef(const SkImageInfo& info, char* storage, size_t rowBytes) in LargePixelRef()
19 uint64_t rowBytes = info.minRowBytes64(); in allocPixelRef() local
DImageInfo_validRowBytes.cpp8 for (size_t rowBytes = 60; rowBytes < 72; rowBytes += sizeof(SkPMColor)) { in draw() local
DImage_MakeRasterData.cpp7 size_t rowBytes = image->width() * SkColorTypeBytesPerPixel(kRGBA_8888_SkColorType); in draw() local
DPixmap_scalePixels.cpp9 int rowBytes = image->width() * 4; in draw() local
DPixmap_readPixels_2.cpp9 const int rowBytes = image->width() * 4; in draw() local
DPixmap_readPixels_3.cpp9 const int rowBytes = image->width() * 4; in draw() local
DImage_scalePixels.cpp9 int rowBytes = quarterWidth * 4; in draw() local
/external/skia/src/image/
DSkRescaleAndReadPixels.cpp135 size_t rowBytes = resultInfo.minRowBytes(); in SkRescaleAndReadPixels() local
141 Result(std::unique_ptr<const char[]> data, size_t rowBytes) in SkRescaleAndReadPixels()
145 size_t rowBytes(int i) const override { return fRowBytes; } in SkRescaleAndReadPixels() function in SkRescaleAndReadPixels::Result
DSkSurface_Raster.cpp39 bool SkSurfaceValidateRasterInfo(const SkImageInfo& info, size_t rowBytes) { in SkSurfaceValidateRasterInfo()
169 sk_sp<SkSurface> SkSurface::MakeRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes, in MakeRasterDirect()
174 sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, in MakeRaster()
/external/skqp/src/gpu/
DGrSurface.cpp99 size_t* rowBytes) { in adjust_params()
125 size_t* rowBytes) { in AdjustReadPixelParams()
135 size_t* rowBytes) { in AdjustWritePixelParams()
/external/skqp/src/codec/
DSkCodec.cpp198 bool zero_rect(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, in zero_rect()
231 SkCodec::Result SkCodec::handleFrameIndex(const SkImageInfo& info, void* pixels, size_t rowBytes, in handleFrameIndex()
308 SkCodec::Result SkCodec::getPixels(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, in getPixels()
384 size_t rowBytes, const SkCodec::Options* options) { in startIncrementalDecode()
515 int SkCodec::getScanlines(void* dst, int countLines, size_t rowBytes) { in getScanlines()
570 void SkCodec::fillIncompleteImage(const SkImageInfo& info, void* dst, size_t rowBytes, in fillIncompleteImage()
/external/skqp/src/image/
DSkSurface_Raster.cpp40 bool SkSurfaceValidateRasterInfo(const SkImageInfo& info, size_t rowBytes) { in SkSurfaceValidateRasterInfo()
181 sk_sp<SkSurface> SkSurface::MakeRasterDirect(const SkImageInfo& info, void* pixels, size_t rowBytes, in MakeRasterDirect()
186 sk_sp<SkSurface> SkSurface::MakeRaster(const SkImageInfo& info, size_t rowBytes, in MakeRaster()
/external/skia/src/codec/
DSkCodec.cpp250 bool zero_rect(const SkImageInfo& dstInfo, void* pixels, size_t rowBytes, in zero_rect()
277 SkCodec::Result SkCodec::handleFrameIndex(const SkImageInfo& info, void* pixels, size_t rowBytes, in handleFrameIndex()
375 SkCodec::Result SkCodec::getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, in getPixels()
466 size_t rowBytes, const SkCodec::Options* options) { in startIncrementalDecode()
584 int SkCodec::getScanlines(void* dst, int countLines, size_t rowBytes) { in getScanlines()
639 void SkCodec::fillIncompleteImage(const SkImageInfo& info, void* dst, size_t rowBytes, in fillIncompleteImage()
/external/OpenCL-CTS/test_common/harness/
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

123456789