Home
last modified time | relevance | path

Searched refs:SkJFIFInfo (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPDFJpegEmbedTest.cpp86 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()
[all …]
/external/skqp/tests/
DPDFJpegEmbedTest.cpp87 struct SkJFIFInfo { struct
94 bool SkIsJFIF(const SkData* data, SkJFIFInfo* info) { in SkIsJFIF() argument
104 *info = {jpegSize, yuv ? SkJFIFInfo::kYCbCr : SkJFIFInfo::kGrayscale}; in SkIsJFIF()
116 SkJFIFInfo::Type type; in DEF_TEST()
117 } kTests[] = {{"images/CMYK.jpg", false, SkJFIFInfo::kGrayscale}, in DEF_TEST()
118 {"images/color_wheel.jpg", true, SkJFIFInfo::kYCbCr}, in DEF_TEST()
119 {"images/grayscale.jpg", true, SkJFIFInfo::kGrayscale}, in DEF_TEST()
120 {"images/mandrill_512_q075.jpg", true, SkJFIFInfo::kYCbCr}, in DEF_TEST()
121 {"images/randPixels.jpg", true, SkJFIFInfo::kYCbCr}}; in DEF_TEST()
127 SkJFIFInfo info; in DEF_TEST()
[all …]