Lines Matching refs:yuvaProxies
21 static void border_colors(const GrYUVATextureProxies& yuvaProxies, float planeBorders[4][4]) { in border_colors() argument
23 SkColorMatrix_RGB2YUV(yuvaProxies.yuvaInfo().yuvColorSpace(), m); in border_colors()
25 auto [plane, channel] = yuvaProxies.yuvaLocations()[i]; in border_colors()
34 std::unique_ptr<GrFragmentProcessor> GrYUVtoRGBEffect::Make(const GrYUVATextureProxies& yuvaProxies, in Make() argument
40 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make()
41 if (!yuvaProxies.isValid()) { in Make()
49 border_colors(yuvaProxies, planeBorders); in Make()
55 GrSurfaceProxyView view = yuvaProxies.makeView(i); in Make()
56 SkMatrix planeMatrix = yuvaProxies.yuvaInfo().originMatrix(); in Make()
62 auto [ssx, ssy] = yuvaProxies.yuvaInfo().planeSubsamplingFactors(i); in Make()
75 SkASSERT(yuvaProxies.yuvaInfo().sitingX() == SkYUVAInfo::Siting::kCentered); in Make()
76 SkASSERT(yuvaProxies.yuvaInfo().sitingY() == SkYUVAInfo::Siting::kCentered); in Make()
173 yuvaProxies.yuvaLocations(), in Make()
175 yuvaProxies.yuvaInfo().yuvColorSpace())); in Make()