Lines Matching refs:ycbcrConversion
196 const GrVkYcbcrConversionInfo* ycbcrConversion = backendFormat.getVkYcbcrConversionInfo(); in make_vk_backend_texture() local
197 if (!ycbcrConversion) { in make_vk_backend_texture()
207 SkASSERT(!ycbcrConversion->isValid()); in make_vk_backend_texture()
209 SkASSERT(ycbcrConversion->isValid()); in make_vk_backend_texture()
213 SkASSERT(hwbFormatProps.externalFormat == ycbcrConversion->fExternalFormat); in make_vk_backend_texture()
336 imageInfo.fYcbcrConversionInfo = *ycbcrConversion; in make_vk_backend_texture()
514 GrVkYcbcrConversionInfo ycbcrConversion; in get_backend_format() local
515 ycbcrConversion.fYcbcrModel = hwbFormatProps.suggestedYcbcrModel; in get_backend_format()
516 ycbcrConversion.fYcbcrRange = hwbFormatProps.suggestedYcbcrRange; in get_backend_format()
517 ycbcrConversion.fXChromaOffset = hwbFormatProps.suggestedXChromaOffset; in get_backend_format()
518 ycbcrConversion.fYChromaOffset = hwbFormatProps.suggestedYChromaOffset; in get_backend_format()
519 ycbcrConversion.fForceExplicitReconstruction = VK_FALSE; in get_backend_format()
520 ycbcrConversion.fExternalFormat = hwbFormatProps.externalFormat; in get_backend_format()
521 ycbcrConversion.fExternalFormatFeatures = hwbFormatProps.formatFeatures; in get_backend_format()
524 ycbcrConversion.fChromaFilter = VK_FILTER_LINEAR; in get_backend_format()
526 ycbcrConversion.fChromaFilter = VK_FILTER_NEAREST; in get_backend_format()
529 return GrBackendFormat::MakeVk(ycbcrConversion); in get_backend_format()