Home
last modified time | relevance | path

Searched refs:ycbcrConversion (Results 1 – 25 of 56) sorted by relevance

123

/external/skia/src/gpu/vk/
DGrVkImageView.cpp21 GrVkSamplerYcbcrConversion* ycbcrConversion = nullptr; in Make() local
26 ycbcrConversion = in Make()
28 if (!ycbcrConversion) { in Make()
34 conversionInfo.conversion = ycbcrConversion->ycbcrConversion(); in Make()
63 return sk_sp<const GrVkImageView>(new GrVkImageView(gpu, imageView, ycbcrConversion)); in Make()
DGrVkSamplerYcbcrConversion.h22 VkSamplerYcbcrConversion ycbcrConversion() const { return fYcbcrConversion; } in ycbcrConversion() function
47 static const Key& GetKey(const GrVkSamplerYcbcrConversion& ycbcrConversion) { in GetKey() argument
48 return ycbcrConversion.fKey; in GetKey()
61 GrVkSamplerYcbcrConversion(const GrVkGpu* gpu, VkSamplerYcbcrConversion ycbcrConversion, in GrVkSamplerYcbcrConversion() argument
64 , fYcbcrConversion(ycbcrConversion) in GrVkSamplerYcbcrConversion()
DGrVkSampler.cpp80 GrVkSamplerYcbcrConversion* ycbcrConversion = nullptr; in Create() local
84 ycbcrConversion = in Create()
86 if (!ycbcrConversion) { in Create()
92 conversionInfo.conversion = ycbcrConversion->ycbcrConversion(); in Create()
119 ycbcrConversion->unref(); in Create()
123 return new GrVkSampler(gpu, sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
DGrVkImageView.h39 GrVkSamplerYcbcrConversion* ycbcrConversion) in GrVkImageView() argument
40 : INHERITED(gpu), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkResourceProvider.cpp240 GrVkSamplerYcbcrConversion* ycbcrConversion = in findOrCreateCompatibleSamplerYcbcrConversion() local
242 if (!ycbcrConversion) { in findOrCreateCompatibleSamplerYcbcrConversion()
243 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
244 if (!ycbcrConversion) { in findOrCreateCompatibleSamplerYcbcrConversion()
247 fYcbcrConversions.add(ycbcrConversion); in findOrCreateCompatibleSamplerYcbcrConversion()
249 SkASSERT(ycbcrConversion); in findOrCreateCompatibleSamplerYcbcrConversion()
250 ycbcrConversion->ref(); in findOrCreateCompatibleSamplerYcbcrConversion()
251 return ycbcrConversion; in findOrCreateCompatibleSamplerYcbcrConversion()
DGrVkSampler.h62 GrVkSamplerYcbcrConversion* ycbcrConversion, Key key) in GrVkSampler() argument
65 , fYcbcrConversion(ycbcrConversion) in GrVkSampler()
/external/skqp/src/gpu/vk/
DGrVkImageView.cpp19 GrVkSamplerYcbcrConversion* ycbcrConversion = nullptr; in Create() local
24 ycbcrConversion = in Create()
26 if (!ycbcrConversion) { in Create()
32 conversionInfo.conversion = ycbcrConversion->ycbcrConversion(); in Create()
61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
DGrVkSamplerYcbcrConversion.h22 VkSamplerYcbcrConversion ycbcrConversion() const { return fYcbcrConversion; } in ycbcrConversion() function
44 static const Key& GetKey(const GrVkSamplerYcbcrConversion& ycbcrConversion) { in GetKey() argument
45 return ycbcrConversion.fKey; in GetKey()
58 GrVkSamplerYcbcrConversion(VkSamplerYcbcrConversion ycbcrConversion, Key key) in GrVkSamplerYcbcrConversion() argument
60 , fYcbcrConversion(ycbcrConversion) in GrVkSamplerYcbcrConversion()
DGrVkSampler.cpp70 GrVkSamplerYcbcrConversion* ycbcrConversion = nullptr; in Create() local
74 ycbcrConversion = in Create()
76 if (!ycbcrConversion) { in Create()
82 conversionInfo.conversion = ycbcrConversion->ycbcrConversion(); in Create()
112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
DGrVkImageView.h38 GrVkImageView(VkImageView imageView, GrVkSamplerYcbcrConversion* ycbcrConversion) in GrVkImageView() argument
39 : INHERITED(), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkResourceProvider.cpp243 GrVkSamplerYcbcrConversion* ycbcrConversion = in findOrCreateCompatibleSamplerYcbcrConversion() local
245 if (!ycbcrConversion) { in findOrCreateCompatibleSamplerYcbcrConversion()
246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
247 if (!ycbcrConversion) { in findOrCreateCompatibleSamplerYcbcrConversion()
250 fYcbcrConversions.add(ycbcrConversion); in findOrCreateCompatibleSamplerYcbcrConversion()
252 SkASSERT(ycbcrConversion); in findOrCreateCompatibleSamplerYcbcrConversion()
253 ycbcrConversion->ref(); in findOrCreateCompatibleSamplerYcbcrConversion()
254 return ycbcrConversion; in findOrCreateCompatibleSamplerYcbcrConversion()
DGrVkSampler.h61 GrVkSampler(VkSampler sampler, GrVkSamplerYcbcrConversion* ycbcrConversion, Key key) in GrVkSampler() argument
64 , fYcbcrConversion(ycbcrConversion) in GrVkSampler()
/external/swiftshader/src/Vulkan/
DVkSampler.cpp19 … VkSamplerCreateInfo *pCreateInfo, const vk::SamplerYcbcrConversion *ycbcrConversion, VkSamplerFil… in SamplerState() argument
38 if(ycbcrConversion) in SamplerState()
40 ycbcrModel = ycbcrConversion->ycbcrModel; in SamplerState()
41 studioSwing = (ycbcrConversion->ycbcrRange == VK_SAMPLER_YCBCR_RANGE_ITU_NARROW); in SamplerState()
42 swappedChroma = (ycbcrConversion->components.r != VK_COMPONENT_SWIZZLE_R); in SamplerState()
DVkImageView.hpp71 … VkImageViewCreateInfo *pCreateInfo, void *mem, const vk::SamplerYcbcrConversion *ycbcrConversion);
131 const vk::SamplerYcbcrConversion *ycbcrConversion = nullptr; member in vk::ImageView
DVkImageView.cpp98 …t VkImageViewCreateInfo *pCreateInfo, void *mem, const vk::SamplerYcbcrConversion *ycbcrConversion) in ImageView() argument
104 , ycbcrConversion(ycbcrConversion) in ImageView()
DVkSampler.hpp29 … VkSamplerCreateInfo *pCreateInfo, const vk::SamplerYcbcrConversion *ycbcrConversion, VkSamplerFil…
DVkPromotedExtensions.cpp187 …ySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllo… in vkDestroySamplerYcbcrConversionKHR() argument
189 vkDestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocator); in vkDestroySamplerYcbcrConversionKHR()
DlibVulkan.cpp1881 const vk::SamplerYcbcrConversion *ycbcrConversion = nullptr; in vkCreateImageView() local
1896 ycbcrConversion = vk::Cast(samplerYcbcrConversionInfo->conversion); in vkCreateImageView()
1898 if(ycbcrConversion) in vkCreateImageView()
1915 VkResult result = vk::ImageView::Create(pAllocator, pCreateInfo, pView, ycbcrConversion); in vkCreateImageView()
2119 const vk::SamplerYcbcrConversion *ycbcrConversion = nullptr; in vkCreateSampler() local
2129 ycbcrConversion = vk::Cast(samplerYcbcrConversionInfo->conversion); in vkCreateSampler()
2149 vk::SamplerState samplerState(pCreateInfo, ycbcrConversion, filteringPrecision); in vkCreateSampler()
3578 …troySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConversion ycbcrConversion, const VkAllo… in vkDestroySamplerYcbcrConversion() argument
3581 device, static_cast<void *>(ycbcrConversion), pAllocator); in vkDestroySamplerYcbcrConversion()
3583 vk::destroy(ycbcrConversion, pAllocator); in vkDestroySamplerYcbcrConversion()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp134 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()
[all …]
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp196 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()
[all …]
/external/vulkan-validation-layers/layers/generated/
Dobject_tracker.cpp2225 VkSamplerYcbcrConversion ycbcrConversion, in PreCallValidateDestroySamplerYcbcrConversion() argument
2229 …skip |= ValidateObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion, true, "VU… in PreCallValidateDestroySamplerYcbcrConversion()
2230 …skip |= ValidateDestroyObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion, pA… in PreCallValidateDestroySamplerYcbcrConversion()
2237 VkSamplerYcbcrConversion ycbcrConversion, in PreCallRecordDestroySamplerYcbcrConversion() argument
2239 RecordDestroyObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion); in PreCallRecordDestroySamplerYcbcrConversion()
3381 VkSamplerYcbcrConversion ycbcrConversion, in PreCallValidateDestroySamplerYcbcrConversionKHR() argument
3385 …skip |= ValidateObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion, true, "VU… in PreCallValidateDestroySamplerYcbcrConversionKHR()
3386 …skip |= ValidateDestroyObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion, pA… in PreCallValidateDestroySamplerYcbcrConversionKHR()
3393 VkSamplerYcbcrConversion ycbcrConversion, in PreCallRecordDestroySamplerYcbcrConversionKHR() argument
3395 RecordDestroyObject(device, ycbcrConversion, kVulkanObjectTypeSamplerYcbcrConversion); in PreCallRecordDestroySamplerYcbcrConversionKHR()
Dobject_tracker.h1011 VkSamplerYcbcrConversion ycbcrConversion,
1015 VkSamplerYcbcrConversion ycbcrConversion,
1546 VkSamplerYcbcrConversion ycbcrConversion,
1550 VkSamplerYcbcrConversion ycbcrConversion,
Dthread_safety.cpp2719 VkSamplerYcbcrConversion ycbcrConversion, in PreCallRecordDestroySamplerYcbcrConversion() argument
2722 StartWriteObject(ycbcrConversion); in PreCallRecordDestroySamplerYcbcrConversion()
2728 VkSamplerYcbcrConversion ycbcrConversion, in PostCallRecordDestroySamplerYcbcrConversion() argument
2731 FinishWriteObject(ycbcrConversion); in PostCallRecordDestroySamplerYcbcrConversion()
3814 VkSamplerYcbcrConversion ycbcrConversion, in PreCallRecordDestroySamplerYcbcrConversionKHR() argument
3817 StartWriteObject(ycbcrConversion); in PreCallRecordDestroySamplerYcbcrConversionKHR()
3823 VkSamplerYcbcrConversion ycbcrConversion, in PostCallRecordDestroySamplerYcbcrConversionKHR() argument
3826 FinishWriteObject(ycbcrConversion); in PostCallRecordDestroySamplerYcbcrConversionKHR()
Dlayer_chassis_dispatch.cpp3520 VkSamplerYcbcrConversion ycbcrConversion, in DispatchDestroySamplerYcbcrConversion() argument
3524 …yer_data->device_dispatch_table.DestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocator); in DispatchDestroySamplerYcbcrConversion()
3525 uint64_t ycbcrConversion_id = reinterpret_cast<uint64_t &>(ycbcrConversion); in DispatchDestroySamplerYcbcrConversion()
3528 ycbcrConversion = (VkSamplerYcbcrConversion)iter->second; in DispatchDestroySamplerYcbcrConversion()
3530 ycbcrConversion = (VkSamplerYcbcrConversion)0; in DispatchDestroySamplerYcbcrConversion()
3532 …layer_data->device_dispatch_table.DestroySamplerYcbcrConversion(device, ycbcrConversion, pAllocato… in DispatchDestroySamplerYcbcrConversion()
4726 VkSamplerYcbcrConversion ycbcrConversion, in DispatchDestroySamplerYcbcrConversionKHR() argument
4730 …_data->device_dispatch_table.DestroySamplerYcbcrConversionKHR(device, ycbcrConversion, pAllocator); in DispatchDestroySamplerYcbcrConversionKHR()
4731 uint64_t ycbcrConversion_id = reinterpret_cast<uint64_t &>(ycbcrConversion); in DispatchDestroySamplerYcbcrConversionKHR()
4734 ycbcrConversion = (VkSamplerYcbcrConversion)iter->second; in DispatchDestroySamplerYcbcrConversionKHR()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c1161 VkSamplerYcbcrConversion ycbcrConversion, in tu_DestroySamplerYcbcrConversion() argument
1165 TU_FROM_HANDLE(tu_sampler_ycbcr_conversion, ycbcr_conversion, ycbcrConversion); in tu_DestroySamplerYcbcrConversion()

123