Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp20 static void border_colors(const GrYUVATextureProxies& yuvaProxies, float planeBorders[4][4]) { in border_colors() argument
22 SkColorMatrix_RGB2YUV(yuvaProxies.yuvaInfo().yuvColorSpace(), m); in border_colors()
24 auto [plane, channel] = yuvaProxies.yuvaLocations()[i]; in border_colors()
33 std::unique_ptr<GrFragmentProcessor> GrYUVtoRGBEffect::Make(const GrYUVATextureProxies& yuvaProxies, in Make() argument
39 SkASSERT(!subset || SkRect::Make(yuvaProxies.yuvaInfo().dimensions()).contains(*subset)); in Make()
41 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make()
42 if (!yuvaProxies.isValid()) { in Make()
50 border_colors(yuvaProxies, planeBorders); in Make()
57 GrSurfaceProxyView view = yuvaProxies.makeView(i); in Make()
58 SkMatrix planeMatrix = yuvaProxies.yuvaInfo().originMatrix(); in Make()
[all …]
DGrYUVtoRGBEffect.h19 static std::unique_ptr<GrFragmentProcessor> Make(const GrYUVATextureProxies& yuvaProxies,
/third_party/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.cpp346 GrYUVATextureProxies yuvaProxies(yuvaPixmaps.yuvaInfo(), views, pixmapColorTypes); in textureProxyViewFromPlanes() local
347 SkAssertResult(yuvaProxies.isValid()); in textureProxyViewFromPlanes()
350 yuvaProxies, in textureProxyViewFromPlanes()