Home
last modified time | relevance | path

Searched refs:yuvaProxies (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp21 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()
[all …]
DGrYUVtoRGBEffect.h19 static std::unique_ptr<GrFragmentProcessor> Make(const GrYUVATextureProxies& yuvaProxies,
/external/skia/src/image/
DSkImage_GpuYUVA.cpp244 GrYUVATextureProxies yuvaProxies(yuvaTextures.yuvaInfo(), in MakeFromYUVATextures() local
248 if (!yuvaProxies.isValid()) { in MakeFromYUVATextures()
254 yuvaProxies, in MakeFromYUVATextures()
321 GrYUVATextureProxies yuvaProxies(pixmapsToUpload->yuvaInfo(), views, pixmapColorTypes); in MakeFromYUVAPixmaps() local
322 SkASSERT(yuvaProxies.isValid()); in MakeFromYUVAPixmaps()
325 std::move(yuvaProxies), in MakeFromYUVAPixmaps()
DSkImage_Lazy.cpp342 GrYUVATextureProxies yuvaProxies(yuvaPixmaps.yuvaInfo(), views, pixmapColorTypes); in textureProxyViewFromPlanes() local
343 SkAssertResult(yuvaProxies.isValid()); in textureProxyViewFromPlanes()
346 yuvaProxies, in textureProxyViewFromPlanes()