Lines Matching refs:SkJFIFInfo
86 struct SkJFIFInfo { struct
93 bool SkIsJFIF(const SkData* data, SkJFIFInfo* info) { in SkIsJFIF() argument
103 *info = {jpegSize, yuv ? SkJFIFInfo::kYCbCr : SkJFIFInfo::kGrayscale}; in SkIsJFIF()
115 SkJFIFInfo::Type type; in DEF_TEST()
116 } kTests[] = {{"images/CMYK.jpg", false, SkJFIFInfo::kGrayscale}, in DEF_TEST()
117 {"images/color_wheel.jpg", true, SkJFIFInfo::kYCbCr}, in DEF_TEST()
118 {"images/grayscale.jpg", true, SkJFIFInfo::kGrayscale}, in DEF_TEST()
119 {"images/mandrill_512_q075.jpg", true, SkJFIFInfo::kYCbCr}, in DEF_TEST()
120 {"images/randPixels.jpg", true, SkJFIFInfo::kYCbCr}}; in DEF_TEST()
126 SkJFIFInfo info; in DEF_TEST()
144 SkJFIFInfo info; in DEF_TEST()
175 REPORTER_ASSERT(r, info.fType == SkJFIFInfo::kYCbCr); in DEF_TEST()