Lines Matching refs:SkEncodedImageFormat
1059 sk_sp<SkData>(sk_tool_utils::EncodeImageToData(bm1, SkEncodedImageFormat::kPNG, 100)); in check_round_trip()
1456 SkEncodedImageFormat format) { in encode_format()
1462 case SkEncodedImageFormat::kPNG: in encode_format()
1465 case SkEncodedImageFormat::kJPEG: in encode_format()
1468 case SkEncodedImageFormat::kWEBP: in encode_format()
1477 static void test_encode_icc(skiatest::Reporter* r, SkEncodedImageFormat format, in test_encode_icc()
1516 test_encode_icc(r, SkEncodedImageFormat::kPNG, SkTransferFunctionBehavior::kRespect); in DEF_TEST()
1517 test_encode_icc(r, SkEncodedImageFormat::kJPEG, SkTransferFunctionBehavior::kRespect); in DEF_TEST()
1518 test_encode_icc(r, SkEncodedImageFormat::kWEBP, SkTransferFunctionBehavior::kRespect); in DEF_TEST()
1519 test_encode_icc(r, SkEncodedImageFormat::kPNG, SkTransferFunctionBehavior::kIgnore); in DEF_TEST()
1520 test_encode_icc(r, SkEncodedImageFormat::kJPEG, SkTransferFunctionBehavior::kIgnore); in DEF_TEST()
1521 test_encode_icc(r, SkEncodedImageFormat::kWEBP, SkTransferFunctionBehavior::kIgnore); in DEF_TEST()