Lines Matching refs:SkJpegEncoder
39 bool setParams(const SkImageInfo& srcInfo, const SkJpegEncoder::Options& options);
69 bool SkJpegEncoderMgr::setParams(const SkImageInfo& srcInfo, const SkJpegEncoder::Options& options) in setParams()
73 SkJpegEncoder::AlphaOption::kIgnore == options.fAlphaOption) in setParams()
108 if (SkJpegEncoder::AlphaOption::kBlendOnBlack == options.fAlphaOption) { in setParams()
128 SkJpegEncoder::AlphaOption::kIgnore == options.fAlphaOption) in setParams()
149 case SkJpegEncoder::Downsample::k420: in setParams()
157 case SkJpegEncoder::Downsample::k422: in setParams()
165 case SkJpegEncoder::Downsample::k444: in setParams()
183 std::unique_ptr<SkEncoder> SkJpegEncoder::Make(SkWStream* dst, const SkPixmap& src, in Make()
216 return std::unique_ptr<SkJpegEncoder>(new SkJpegEncoder(std::move(encoderMgr), src)); in Make()
219 SkJpegEncoder::SkJpegEncoder(std::unique_ptr<SkJpegEncoderMgr> encoderMgr, const SkPixmap& src) in SkJpegEncoder() function in SkJpegEncoder
224 SkJpegEncoder::~SkJpegEncoder() {} in ~SkJpegEncoder()
226 bool SkJpegEncoder::onEncodeRows(int numRows) { in onEncodeRows()
252 bool SkJpegEncoder::Encode(SkWStream* dst, const SkPixmap& src, const Options& options) { in Encode()
253 auto encoder = SkJpegEncoder::Make(dst, src, options); in Encode()