Lines Matching refs:Encode
37 return SkJpegEncoder::Encode(dst, src, SkJpegEncoder::Options()); in encode()
39 return SkPngEncoder::Encode(dst, src, SkPngEncoder::Options()); in encode()
100 DEF_TEST(Encode, r) { in DEF_TEST() argument
171 if (!SkJpegEncoder::Encode(&ignored, bm.pixmap(), opts)) { in DEF_TEST()
196 success = SkJpegEncoder::Encode(&dst0, src, options); in DEF_TEST()
200 success = SkJpegEncoder::Encode(&dst1, src, options); in DEF_TEST()
204 success = SkJpegEncoder::Encode(&dst2, src, options); in DEF_TEST()
255 bool success = SkPngEncoder::Encode(&dst, src, options); in testPngComments()
308 success = SkPngEncoder::Encode(&dst0, src, options); in DEF_TEST()
312 success = SkPngEncoder::Encode(&dst1, src, options); in DEF_TEST()
316 success = SkPngEncoder::Encode(&dst2, src, options); in DEF_TEST()
401 success = SkWebpEncoder::Encode(&dst0, src, options); in DEF_TEST()
405 success = SkWebpEncoder::Encode(&dst1, src, options); in DEF_TEST()
410 success = SkWebpEncoder::Encode(&dst2, src, options); in DEF_TEST()
415 success = SkWebpEncoder::Encode(&dst3, src, options); in DEF_TEST()