Lines Matching defs:ycbcrConversion
134 GrVkYcbcrConversionInfo ycbcrConversion;
135 ycbcrConversion.fYcbcrModel = hwbFormatProps.suggestedYcbcrModel;
136 ycbcrConversion.fYcbcrRange = hwbFormatProps.suggestedYcbcrRange;
137 ycbcrConversion.fXChromaOffset = hwbFormatProps.suggestedXChromaOffset;
138 ycbcrConversion.fYChromaOffset = hwbFormatProps.suggestedYChromaOffset;
139 ycbcrConversion.fForceExplicitReconstruction = VK_FALSE;
140 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat;
141 ycbcrConversion.fFormatFeatures = hwbFormatProps.formatFeatures;
144 ycbcrConversion.fChromaFilter = VK_FILTER_LINEAR;
146 ycbcrConversion.fChromaFilter = VK_FILTER_NEAREST;
149 return GrBackendFormat::MakeVk(ycbcrConversion);
347 const GrVkYcbcrConversionInfo* ycbcrConversion = backendFormat.getVkYcbcrConversionInfo();
348 if (!ycbcrConversion) {
358 SkASSERT(!ycbcrConversion->isValid());
360 SkASSERT(ycbcrConversion->isValid());
364 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat);
496 imageInfo.fYcbcrConversionInfo = *ycbcrConversion;