Searched refs:yuvFormat (Results 1 – 2 of 2) sorted by relevance
90 static bool format_uses_16_bpp(YUVFormat yuvFormat) { in format_uses_16_bpp() argument91 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() argument97 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() argument103 return kP016_YUVFormat == yuvFormat || // bc missing SkColorType::kRG_1616 and kR_16 in format_cant_be_represented_with_pixmaps()[all …]
540 YUVFormat yuvFormat, in create_YUV() argument545 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() argument725 rowLabel.printf("%s", kYUVFormatNames[yuvFormat]); in draw_row_label()