Lines Matching refs:yuvEffect
228 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()
292 const GrYUVtoRGBEffect& yuvEffect = proc.cast<GrYUVtoRGBEffect>(); in onMakeProgramImpl() local
294 if (yuvEffect.fYUVColorSpace != kIdentity_SkYUVColorSpace) { in onMakeProgramImpl()
297 SkColorMatrix_YUV2RGB(yuvEffect.fYUVColorSpace, yuvM); in onMakeProgramImpl()