#include <SkPngEncoderImpl.h>
Definition at line 18 of file SkPngEncoderImpl.h.
◆ SkPngEncoderImpl()
Definition at line 447 of file SkPngEncoderImpl.cpp.
SkEncoder(const SkPixmap &src, size_t storageBytes)
std::unique_ptr< SkPngEncoderMgr > fEncoderMgr
◆ ~SkPngEncoderImpl()
SkPngEncoderImpl::~SkPngEncoderImpl |
( |
| ) |
|
|
override |
◆ onEncodeRows()
bool SkPngEncoderImpl::onEncodeRows |
( |
int |
numRows | ) |
|
|
overrideprotectedvirtual |
Implements SkEncoder.
Definition at line 453 of file SkPngEncoderImpl.cpp.
453 {
455 return false;
456 }
457
459 for (
int y = 0;
y < numRows;
y++) {
463 (const char*)srcRow,
466
469 srcRow = SkTAddOffset<const void>(srcRow,
fSrc.
rowBytes());
470 }
471
475 }
476
477 return true;
478}
SK_API int SkColorTypeBytesPerPixel(SkColorType ct)
static void sk_msan_assert_initialized(const void *begin, const void *end)
skia_private::AutoTMalloc< uint8_t > fStorage
SkColorType colorType() const
const void * addr() const
int shiftPerPixel() const
◆ fEncoderMgr
The documentation for this class was generated from the following files: