• Home
  • Raw
  • Download

Lines Matching refs:SkPngEncoder

21 static_assert(PNG_FILTER_NONE  == (int)SkPngEncoder::FilterFlag::kNone,  "Skia libpng filter err.");
22 static_assert(PNG_FILTER_SUB == (int)SkPngEncoder::FilterFlag::kSub, "Skia libpng filter err.");
23 static_assert(PNG_FILTER_UP == (int)SkPngEncoder::FilterFlag::kUp, "Skia libpng filter err.");
24 static_assert(PNG_FILTER_AVG == (int)SkPngEncoder::FilterFlag::kAvg, "Skia libpng filter err.");
25 static_assert(PNG_FILTER_PAETH == (int)SkPngEncoder::FilterFlag::kPaeth, "Skia libpng filter err.");
26 static_assert(PNG_ALL_FILTERS == (int)SkPngEncoder::FilterFlag::kAll, "Skia libpng filter err.");
54 bool setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options);
98 bool SkPngEncoderMgr::setHeader(const SkImageInfo& srcInfo, const SkPngEncoder::Options& options) { in setHeader()
162 int filters = (int)options.fFilterFlags & (int)SkPngEncoder::FilterFlag::kAll; in setHeader()
316 std::unique_ptr<SkEncoder> SkPngEncoder::Make(SkWStream* dst, const SkPixmap& src, in Make()
341 return std::unique_ptr<SkPngEncoder>(new SkPngEncoder(std::move(encoderMgr), src)); in Make()
344 SkPngEncoder::SkPngEncoder(std::unique_ptr<SkPngEncoderMgr> encoderMgr, const SkPixmap& src) in SkPngEncoder() function in SkPngEncoder
349 SkPngEncoder::~SkPngEncoder() {} in ~SkPngEncoder()
351 bool SkPngEncoder::onEncodeRows(int numRows) { in onEncodeRows()
374 bool SkPngEncoder::Encode(SkWStream* dst, const SkPixmap& src, const Options& options) { in Encode()
375 auto encoder = SkPngEncoder::Make(dst, src, options); in Encode()