Home
last modified time | relevance | path

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

/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp90 static bool format_uses_16_bpp(YUVFormat yuvFormat) { in format_uses_16_bpp() argument
91 return kP016_YUVFormat == yuvFormat || in format_uses_16_bpp()
92 kP010_YUVFormat == yuvFormat || in format_uses_16_bpp()
93 kY416_YUVFormat == yuvFormat; in format_uses_16_bpp()
96 static bool format_has_builtin_alpha(YUVFormat yuvFormat) { in format_has_builtin_alpha() argument
97 return kY416_YUVFormat == yuvFormat || in format_has_builtin_alpha()
98 kAYUV_YUVFormat == yuvFormat || in format_has_builtin_alpha()
99 kY410_YUVFormat == yuvFormat; in format_has_builtin_alpha()
102 static bool format_cant_be_represented_with_pixmaps(YUVFormat yuvFormat) { in format_cant_be_represented_with_pixmaps() argument
103 return kP016_YUVFormat == yuvFormat || // bc missing SkColorType::kRG_1616 and kR_16 in format_cant_be_represented_with_pixmaps()
[all …]
/third_party/skia/gm/
Dwacky_yuv_formats.cpp540 YUVFormat yuvFormat, in create_YUV() argument
545 switch (yuvFormat) { in create_YUV()
608 [tenBitsPP = (yuvFormat == kP010_YUVFormat)] in create_YUV()
615 [tenBitsPP = (yuvFormat == kP010_YUVFormat)] in create_YUV()
624 [tenBitsPP = (yuvFormat == kP010_YUVFormat)] in create_YUV()
679 if (!opaque && !has_alpha_channel(yuvFormat)) { in create_YUV()
712 static void draw_row_label(SkCanvas* canvas, int y, int yuvFormat) { in draw_row_label() argument
725 rowLabel.printf("%s", kYUVFormatNames[yuvFormat]); in draw_row_label()