Home
last modified time | relevance | path

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

/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp228 const GrYUVtoRGBEffect& yuvEffect = args.fFp.cast<GrYUVtoRGBEffect>(); in onMakeProgramImpl() local
230 int numPlanes = yuvEffect.numChildProcessors(); in onMakeProgramImpl()
233 if (yuvEffect.fSnap[0] || yuvEffect.fSnap[1]) { in onMakeProgramImpl()
235 if (yuvEffect.fSnap[0]) { in onMakeProgramImpl()
238 if (yuvEffect.fSnap[1]) { in onMakeProgramImpl()
245 const bool hasAlpha = yuvEffect.fLocations[SkYUVAInfo::YUVAChannels::kA].fPlane >= 0; in onMakeProgramImpl()
251 auto [yuvPlane, yuvChannel] = yuvEffect.fLocations[locIdx]; in onMakeProgramImpl()
272 if (kIdentity_SkYUVColorSpace != yuvEffect.fYUVColorSpace) { in onMakeProgramImpl()
273 fColorSpaceMatrixVar = args.fUniformHandler->addUniform(&yuvEffect, in onMakeProgramImpl()
275 fColorSpaceTranslateVar = args.fUniformHandler->addUniform(&yuvEffect, in onMakeProgramImpl()
[all …]