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

1 2 3 4 56 7 8 91011>>

  /external/skia/src/codec/
SkJpegCodec.h 123 int readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, const Options&);
131 int onGetScanlines(void* dst, int count, size_t rowBytes) override;
  /external/skia/src/core/
SkImageInfoPriv.h 47 static inline size_t SkColorTypeComputeOffset(SkColorType ct, int x, int y, size_t rowBytes) {
51 return y * rowBytes + (x << SkColorTypeShiftPerPixel(ct));
  /external/skqp/include/core/
SkImageGenerator.h 63 * least (info.fHeight - 1) * rowBytes + (info.fWidth *
92 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes, const Options* options);
97 bool getPixels(const SkImageInfo& info, void* pixels, size_t rowBytes);
SkPixmap.h 45 addr points to pixels, or nullptr. rowBytes should be info.width() times
49 addr and rowBytes agree with info.
59 @param rowBytes size of one row of addr; width times pixel size, or larger
62 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes)
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
76 Sets row bytes from rowBytes, which should be info.width() times
79 Does not check addr. Asserts if built with SK_DEBUG defined and if rowBytes is
87 @param rowBytes size of one row of addr; width times pixel size, or larger
89 void reset(const SkImageInfo& info, const void* addr, size_t rowBytes);
137 size_t rowBytes() const { return fRowBytes;
    [all...]
  /external/skqp/src/codec/
SkJpegCodec.h 123 int readRows(const SkImageInfo& dstInfo, void* dst, size_t rowBytes, int count, const Options&);
131 int onGetScanlines(void* dst, int count, size_t rowBytes) override;
  /external/skia/include/core/
SkPixmap.h 45 addr points to pixels, or nullptr. rowBytes should be info.width() times
49 addr and rowBytes agree with info.
59 @param rowBytes size of one row of addr; width times pixel size, or larger
62 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes)
63 : fPixels(addr), fRowBytes(rowBytes), fInfo(info)
76 Sets row bytes from rowBytes, which should be info.width() times
79 Does not check addr. Asserts if built with SK_DEBUG defined and if rowBytes is
87 @param rowBytes size of one row of addr; width times pixel size, or larger
89 void reset(const SkImageInfo& info, const void* addr, size_t rowBytes);
129 size_t rowBytes() const { return fRowBytes;
    [all...]
  /external/skia/src/utils/mac/
SkCreateCGImageRef.cpp 116 bm.readPixels(copy->info(), copy->getPixels(), copy->rowBytes(), 0, 0);
149 bitmap->rowBytes(), colorSpace, info, dataRef,
195 size_t rb = pmap.addr() ? pmap.rowBytes() : 0;
203 bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* pixels,
222 rowBytes, cs, cg_bitmap_info);
247 if (!SkCopyPixelsFromCGImage(tmp.info(), tmp.rowBytes(), tmp.getPixels(), image)) {
  /external/skia/tests/
TransferPixelsTest.cpp 79 size_t rowBytes = kBufferWidth * sizeof(GrColor);
86 size_t size = rowBytes*kBufferHeight;
127 buffer.get(), 0, rowBytes);
132 dstBuffer.get(), rowBytes);
159 buffer.get(), offset, rowBytes);
164 dstBuffer.get(), rowBytes);
CodecTest.cpp 81 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes());
107 bm.rowBytes()));
141 bm.rowBytes(), &options)) {
164 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes());
184 bm565.getPixels(), bm565.rowBytes()));
207 grayBm.getPixels(), grayBm.rowBytes()));
338 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes())
388 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts);
431 REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes()));
581 size_t rowBytes = scaledDims.width() * sizeof(SkPMColor)
    [all...]
  /external/skqp/src/utils/mac/
SkCreateCGImageRef.cpp 116 bm.readPixels(copy->info(), copy->getPixels(), copy->rowBytes(), 0, 0);
149 bitmap->rowBytes(), colorSpace, info, dataRef,
195 size_t rb = pmap.addr() ? pmap.rowBytes() : 0;
203 bool SkCopyPixelsFromCGImage(const SkImageInfo& info, size_t rowBytes, void* pixels,
222 rowBytes, cs, cg_bitmap_info);
247 if (!SkCopyPixelsFromCGImage(tmp.info(), tmp.rowBytes(), tmp.getPixels(), image)) {
  /external/skqp/tests/
TransferPixelsTest.cpp 86 size_t rowBytes = kBufferWidth * sizeof(GrColor);
93 size_t size = rowBytes*kBufferHeight;
122 config, buffer.get(), 0, rowBytes);
127 config, dstBuffer.get(), rowBytes);
154 buffer.get(), offset, rowBytes);
159 config, dstBuffer.get(), rowBytes);
CodecTest.cpp 79 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes());
105 bm.rowBytes()));
139 bm.rowBytes(), &options)) {
162 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes());
182 bm565.getPixels(), bm565.rowBytes()));
205 grayBm.getPixels(), grayBm.rowBytes()));
336 REPORTER_ASSERT(r, codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes())
386 const auto result = codec->getPixels(bm.info(), bm.getPixels(), bm.rowBytes(), &opts);
429 REPORTER_ASSERT(r, gen->getPixels(info, bm.getPixels(), bm.rowBytes()));
579 size_t rowBytes = scaledDims.width() * sizeof(SkPMColor)
    [all...]
  /external/skqp/src/core/
SkPixmap.cpp 32 void SkPixmap::reset(const SkImageInfo& info, const void* addr, size_t rowBytes) {
34 SkASSERT(info.validRowBytes(rowBytes));
37 fRowBytes = rowBytes;
89 SkConvertPixels(rec.fInfo, rec.fPixels, rec.fRowBytes, srcInfo, srcPixels, this->rowBytes(),
118 const int rowBytes = this->rowBytes();
124 memset(this->writable_addr(), 0, height * rowBytes);
139 p += rowBytes;
147 p += rowBytes;
172 p = (uint16_t*)((char*)p + rowBytes);
    [all...]
  /external/skia/src/image/
SkImage.cpp 204 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint);
229 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) {
327 const size_t rowBytes = info.minRowBytes();
328 size_t size = info.computeByteSize(rowBytes);
339 return SkImage::MakeRasterData(info, std::move(data), rowBytes);
420 size_t rowBytes = info.minRowBytes();
421 size_t size = info.computeByteSize(rowBytes);
430 SkPixmap pm(info, data->writable_data(), rowBytes);
436 return SkImage::MakeRasterData(info.makeColorSpace(sk_ref_sp(colorSpace)), data, rowBytes);
  /external/skqp/src/image/
SkImage.cpp 204 return this->readPixels(pmap.info(), pmap.writable_addr(), pmap.rowBytes(), srcX, srcY, chint);
229 if (!this->readPixels(bitmap->info(), bitmap->getPixels(), bitmap->rowBytes(), 0, 0)) {
329 const size_t rowBytes = info.minRowBytes();
330 size_t size = info.computeByteSize(rowBytes);
341 return SkImage::MakeRasterData(info, std::move(data), rowBytes);
454 size_t rowBytes = info.minRowBytes();
455 size_t size = info.computeByteSize(rowBytes);
464 SkPixmap pm(info, data->writable_data(), rowBytes);
470 return SkImage::MakeRasterData(info.makeColorSpace(sk_ref_sp(colorSpace)), data, rowBytes);
  /external/skia/src/gpu/
GrContext.cpp 749 size_t rowBytes, uint32_t pixelOpsFlags) {
752 buffer, rowBytes, pixelOpsFlags);
792 &width, &height, &buffer, &rowBytes)) {
829 if (!sw_convert_to_premul(srcColorType, width, height, rowBytes, buffer, tmpRowBytes,
833 rowBytes = tmpRowBytes;
857 tempDrawInfo.fWriteColorType, buffer, rowBytes)) {
    [all...]
GrContextPriv.h 139 * @param rowBytes number of bytes bewtween consecutive rows. Zero means rows are tightly
148 size_t rowBytes = 0, uint32_t pixelOpsFlags = 0);
163 * @param rowBytes number of bytes between consecutive rows. Zero
171 const void* buffer, size_t rowBytes, uint32_t pixelOpsFlags = 0);
174 const void* buffer, size_t rowBytes, uint32_t pixelOpsFlags = 0);
  /external/skia/src/gpu/mock/
GrMockGpu.h 83 bool onGetReadPixelsInfo(GrSurface*, GrSurfaceOrigin, int width, int height, size_t rowBytes,
94 GrColorType, void* buffer, size_t rowBytes) override {
105 GrBuffer* transferBuffer, size_t offset, size_t rowBytes) override {
  /external/skia/src/gpu/mtl/
GrMtlGpu.h 35 int readHeight, size_t rowBytes, GrColorType readConfig,
111 GrColorType, void* buffer, size_t rowBytes) override {
124 size_t offset, size_t rowBytes) override {
  /external/skia/src/images/
SkWebpEncoder.cpp 175 const size_t rowBytes = pixmap.rowBytes();
181 proc((char*) &rgb[y * rgbStride], (const char*) &src[y * rowBytes], pic.width, bpp, colors);
  /external/skia/src/ports/
SkImageGeneratorWIC.cpp 139 bool SkImageGeneratorWIC::onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
171 hr = formatConverterSrc->CopyPixels(nullptr, (UINT) rowBytes, (UINT) rowBytes * info.height(),
  /external/skqp/src/gpu/ddl/
GrDDLGpu.h 24 int readWidth, int readHeight, size_t rowBytes,
135 size_t rowBytes) override {
151 size_t offset, size_t rowBytes) override {
  /external/skqp/src/gpu/mock/
GrMockGpu.h 29 int readWidth, int readHeight, size_t rowBytes,
102 size_t rowBytes) override {
116 size_t offset, size_t rowBytes) override {
  /external/skqp/src/gpu/mtl/
GrMtlGpu.h 35 int readWidth, int readHeight, size_t rowBytes,
116 size_t rowBytes) override {
130 size_t offset, size_t rowBytes) override {
  /external/skqp/src/images/
SkWebpEncoder.cpp 175 const size_t rowBytes = pixmap.rowBytes();
181 proc((char*) &rgb[y * rgbStride], (const char*) &src[y * rowBytes], pic.width, bpp, colors);

Completed in 8934 milliseconds

1 2 3 4 56 7 8 91011>>