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