HomeSort by relevance Sort by last modified time
    Searched refs:rowBytes (Results 1 - 25 of 458) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/include/core/
SkMallocPixelRef.h 19 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,
26 static sk_sp<SkPixelRef> MakeDirect(const SkImageInfo&, void* addr, size_t rowBytes);
30 * pixels. If rowBytes are 0, an optimal value will be chosen automatically.
31 * If rowBytes is > 0, then it will be respected, or NULL will be returned
32 * if rowBytes is invalid for the specified info.
38 static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes);
43 static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes);
47 * rowBytes, and optional colortable. On destruction, ReleaseProc
58 static sk_sp<SkPixelRef> MakeWithProc(const SkImageInfo& info, size_t rowBytes, void* addr,
63 * SkData, rowBytes, and optional colortable as pixel storage
    [all...]
  /external/skqp/include/core/
SkMallocPixelRef.h 19 * Return a new SkMallocPixelRef with the provided pixel storage, rowBytes,
26 static sk_sp<SkPixelRef> MakeDirect(const SkImageInfo&, void* addr, size_t rowBytes);
30 * pixels. If rowBytes are 0, an optimal value will be chosen automatically.
31 * If rowBytes is > 0, then it will be respected, or NULL will be returned
32 * if rowBytes is invalid for the specified info.
38 static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes);
43 static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes);
47 * rowBytes, and optional colortable. On destruction, ReleaseProc
58 static sk_sp<SkPixelRef> MakeWithProc(const SkImageInfo& info, size_t rowBytes, void* addr,
63 * SkData, rowBytes, and optional colortable as pixel storage
    [all...]
  /external/skia/src/core/
SkMallocPixelRef.cpp 49 size_t rowBytes) {
53 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, nullptr, nullptr));
60 size_t rowBytes = requestedRowBytes;
61 if (rowBytes == 0) {
62 rowBytes = info.minRowBytes();
63 // rowBytes can still be zero, if it overflowed (width * bytesPerPixel > size_t)
66 if (!is_valid(info) || !info.validRowBytes(rowBytes)) {
70 if (!info.isEmpty() && rowBytes) {
71 size = info.computeByteSize(rowBytes);
81 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes,
    [all...]
SkDistanceFieldGen.h 35 * @param rowBytes Size of each row in the image, in bytes
39 int w, int h, size_t rowBytes);
48 * @param rowBytes Size of each row in the image, in bytes
52 int w, int h, size_t rowBytes);
SkWritePixelsRec.h 17 SkWritePixelsRec(const SkImageInfo& info, const void* pixels, size_t rowBytes, int x, int y)
19 , fRowBytes(rowBytes)
27 , fRowBytes(pm.rowBytes())
  /external/skqp/src/core/
SkMallocPixelRef.cpp 49 size_t rowBytes) {
53 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes, nullptr, nullptr));
60 size_t rowBytes = requestedRowBytes;
61 if (rowBytes == 0) {
62 rowBytes = info.minRowBytes();
63 // rowBytes can still be zero, if it overflowed (width * bytesPerPixel > size_t)
66 if (!is_valid(info) || !info.validRowBytes(rowBytes)) {
70 if (!info.isEmpty() && rowBytes) {
71 size = info.computeByteSize(rowBytes);
81 return sk_sp<SkPixelRef>(new SkMallocPixelRef(info, addr, rowBytes,
    [all...]
SkDistanceFieldGen.h 35 * @param rowBytes Size of each row in the image, in bytes
39 int w, int h, size_t rowBytes);
48 * @param rowBytes Size of each row in the image, in bytes
52 int w, int h, size_t rowBytes);
SkWritePixelsRec.h 17 SkWritePixelsRec(const SkImageInfo& info, const void* pixels, size_t rowBytes, int x, int y)
19 , fRowBytes(rowBytes)
27 , fRowBytes(pm.rowBytes())
  /external/skia/src/image/
SkReadPixelsRec.h 17 SkReadPixelsRec(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y)
19 , fRowBytes(rowBytes)
27 , fRowBytes(pm.rowBytes())
SkSurface_Raster.cpp 40 bool SkSurfaceValidateRasterInfo(const SkImageInfo& info, size_t rowBytes) {
79 if (kIgnoreRowBytesValue == rowBytes) {
86 if (minRB > rowBytes) {
90 size_t alignedRowBytes = rowBytes >> shift << shift;
91 if (alignedRowBytes != rowBytes) {
95 uint64_t size = sk_64_mul(info.height(), rowBytes);
109 fRowBytes = 0; // don't need to track the rowbytes
117 fBitmap.setInfo(info, pr->rowBytes());
118 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match
174 SkASSERT(prev.rowBytes() == fBitmap.rowBytes())
    [all...]
  /external/skqp/src/image/
SkReadPixelsRec.h 17 SkReadPixelsRec(const SkImageInfo& info, void* pixels, size_t rowBytes, int x, int y)
19 , fRowBytes(rowBytes)
27 , fRowBytes(pm.rowBytes())
SkSurface_Raster.cpp 38 bool SkSurfaceValidateRasterInfo(const SkImageInfo& info, size_t rowBytes) {
74 if (kIgnoreRowBytesValue == rowBytes) {
81 if (minRB > rowBytes) {
85 size_t alignedRowBytes = rowBytes >> shift << shift;
86 if (alignedRowBytes != rowBytes) {
90 uint64_t size = sk_64_mul(info.height(), rowBytes);
104 fRowBytes = 0; // don't need to track the rowbytes
112 fBitmap.setInfo(info, pr->rowBytes());
113 fRowBytes = pr->rowBytes(); // we track this, so that subsequent re-allocs will match
165 SkASSERT(prev.rowBytes() == fBitmap.rowBytes())
    [all...]
  /external/skia/tests/
MallocPixelRefTest.cpp 30 // rowbytes too small.
34 size_t rowBytes = info.minRowBytes() - 1;
35 size_t size = info.computeByteSize(rowBytes);
38 SkMallocPixelRef::MakeWithData(info, rowBytes, data));
39 // rowbytes too small.
43 size_t rowBytes = info.minRowBytes() + 2;
44 size_t size = info.computeByteSize(rowBytes) - 1;
47 SkMallocPixelRef::MakeWithData(info, rowBytes, data));
51 size_t rowBytes = info.minRowBytes() + 7;
52 size_t size = info.computeByteSize(rowBytes) + 9
    [all...]
  /external/skqp/tests/
MallocPixelRefTest.cpp 30 // rowbytes too small.
34 size_t rowBytes = info.minRowBytes() - 1;
35 size_t size = info.computeByteSize(rowBytes);
38 SkMallocPixelRef::MakeWithData(info, rowBytes, data));
39 // rowbytes too small.
43 size_t rowBytes = info.minRowBytes() + 2;
44 size_t size = info.computeByteSize(rowBytes) - 1;
47 SkMallocPixelRef::MakeWithData(info, rowBytes, data));
51 size_t rowBytes = info.minRowBytes() + 7;
52 size_t size = info.computeByteSize(rowBytes) + 9
    [all...]
  /external/skia/src/codec/
SkSampler.cpp 13 void SkSampler::Fill(const SkImageInfo& info, void* dst, size_t rowBytes,
18 const size_t bytesToFill = info.computeByteSize(rowBytes);
35 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes);
56 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes);
84 dstRow = SkTAddOffset<uint64_t>(dstRow, rowBytes);
SkRawAdapterCodec.cpp 22 const SkImageInfo& info, void* pixels, size_t rowBytes,
27 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions);
SkSampledCodec.h 29 SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
54 SkCodec::Result sampledDecode(const SkImageInfo& info, void* pixels, size_t rowBytes,
SkSampler.h 58 * @param rowBytes
73 static void Fill(const SkImageInfo& info, void* dst, size_t rowBytes,
79 virtual void fill(const SkImageInfo& info, void* dst, size_t rowBytes,
SkRawAdapterCodec.h 34 SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
SkWebpAdapterCodec.h 30 SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
  /external/skqp/src/codec/
SkSampler.cpp 13 void SkSampler::Fill(const SkImageInfo& info, void* dst, size_t rowBytes,
18 const size_t bytesToFill = info.computeByteSize(rowBytes);
35 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes);
56 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes);
84 dstRow = SkTAddOffset<uint64_t>(dstRow, rowBytes);
SkRawAdapterCodec.cpp 22 const SkImageInfo& info, void* pixels, size_t rowBytes,
27 return this->codec()->getPixels(info, pixels, rowBytes, &codecOptions);
SkSampledCodec.h 29 SkCodec::Result onGetAndroidPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
54 SkCodec::Result sampledDecode(const SkImageInfo& info, void* pixels, size_t rowBytes,
SkSampler.h 58 * @param rowBytes
73 static void Fill(const SkImageInfo& info, void* dst, size_t rowBytes,
79 virtual void fill(const SkImageInfo& info, void* dst, size_t rowBytes,
  /external/skia/include/c/
sk_surface.h 33 with the specified rowbytes. If the requested surface cannot be
42 @param size_t rowBytes Specify the difference, in bytes, between
49 void* pixels, size_t rowBytes,

Completed in 744 milliseconds

1 2 3 4 5 6 7 8 91011>>