Home
last modified time | relevance | path

Searched refs:ycbcrInfo (Results 1 – 22 of 22) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkSamplerYcbcrConversion.cpp78 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument
79 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrModel <= 7)); in GenerateKey()
81 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrRange) <= 1); in GenerateKey()
83 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey()
85 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey()
87 SkASSERT(static_cast<int>(ycbcrInfo.fChromaFilter) <= 1); in GenerateKey()
89 SkASSERT(static_cast<int>(ycbcrInfo.fForceExplicitReconstruction) <= 1); in GenerateKey()
92 uint8_t ycbcrKey = static_cast<uint8_t>(ycbcrInfo.fYcbcrModel); in GenerateKey()
93 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYcbcrRange) << kRangeShift); in GenerateKey()
94 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fXChromaOffset) << kXChromaOffsetShift); in GenerateKey()
[all …]
DGrVkSampler.cpp30 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument
71 if (ycbcrInfo.isValid()) { in Create()
75 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
86 const VkFormatFeatureFlags& flags = ycbcrInfo.fExternalFormatFeatures; in Create()
94 createInfo.magFilter = ycbcrInfo.fChromaFilter; in Create()
95 createInfo.minFilter = ycbcrInfo.fChromaFilter; in Create()
112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
130 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument
143 return {samplerKey, GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)}; in GenerateKey()
DGrVkImageView.cpp15 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument
21 if (ycbcrInfo.isValid()) { in Create()
25 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
DGrVkResourceProvider.cpp227 const GrSamplerState& params, const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSampler() argument
228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler()
230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler()
242 const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSamplerYcbcrConversion() argument
244 fYcbcrConversions.find(GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)); in findOrCreateCompatibleSamplerYcbcrConversion()
246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
DGrVkResourceProvider.h106 const GrVkYcbcrConversionInfo& ycbcrInfo);
111 const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkImageView.h27 const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkSamplerYcbcrConversion.h42 static Key GenerateKey(const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkCaps.cpp812 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getConfigFromBackendFormat() local
813 if (!vkFormat || !ycbcrInfo) { in getConfigFromBackendFormat()
816 return validate_image_info(*vkFormat, ct, ycbcrInfo->isValid()); in getConfigFromBackendFormat()
DGrVkGpu.cpp2381 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getExtraSamplerKeyForProgram() local
2382 SkASSERT(ycbcrInfo); in getExtraSamplerKeyForProgram()
2383 if (!ycbcrInfo->isValid()) { in getExtraSamplerKeyForProgram()
2388 samplerState, *ycbcrInfo); in getExtraSamplerKeyForProgram()
/external/skia/src/gpu/vk/
DGrVkSamplerYcbcrConversion.cpp78 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument
79 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrModel <= 7)); in GenerateKey()
81 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrRange) <= 1); in GenerateKey()
83 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey()
85 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey()
87 SkASSERT(static_cast<int>(ycbcrInfo.fChromaFilter) <= 1); in GenerateKey()
89 SkASSERT(static_cast<int>(ycbcrInfo.fForceExplicitReconstruction) <= 1); in GenerateKey()
92 uint8_t ycbcrKey = static_cast<uint8_t>(ycbcrInfo.fYcbcrModel); in GenerateKey()
93 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYcbcrRange) << kRangeShift); in GenerateKey()
94 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fXChromaOffset) << kXChromaOffsetShift); in GenerateKey()
[all …]
DGrVkSampler.cpp30 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument
71 if (ycbcrInfo.isValid()) { in Create()
75 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
86 const VkFormatFeatureFlags& flags = ycbcrInfo.fExternalFormatFeatures; in Create()
94 createInfo.magFilter = ycbcrInfo.fChromaFilter; in Create()
95 createInfo.minFilter = ycbcrInfo.fChromaFilter; in Create()
112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create()
130 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument
143 return {samplerKey, GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)}; in GenerateKey()
DGrVkImageView.cpp15 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument
21 if (ycbcrInfo.isValid()) { in Create()
25 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
DGrVkResourceProvider.cpp227 const GrSamplerState& params, const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSampler() argument
228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler()
230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler()
242 const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSamplerYcbcrConversion() argument
244 fYcbcrConversions.find(GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)); in findOrCreateCompatibleSamplerYcbcrConversion()
246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
DGrVkResourceProvider.h113 const GrVkYcbcrConversionInfo& ycbcrInfo);
118 const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkImageView.h27 const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkSamplerYcbcrConversion.h42 static Key GenerateKey(const GrVkYcbcrConversionInfo& ycbcrInfo);
DGrVkCaps.cpp899 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getConfigFromBackendFormat() local
900 if (!vkFormat || !ycbcrInfo) { in getConfigFromBackendFormat()
903 return validate_image_info(*vkFormat, ct, ycbcrInfo->isValid()); in getConfigFromBackendFormat()
DGrVkGpu.cpp2429 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getExtraSamplerKeyForProgram() local
2430 SkASSERT(ycbcrInfo); in getExtraSamplerKeyForProgram()
2431 if (!ycbcrInfo->isValid()) { in getExtraSamplerKeyForProgram()
2436 samplerState, *ycbcrInfo); in getExtraSamplerKeyForProgram()
/external/skia/src/gpu/
DGrBackendSurface.cpp66 GrBackendFormat GrBackendFormat::MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo) { in MakeVk() argument
68 return GrBackendFormat(VK_FORMAT_UNDEFINED, ycbcrInfo); in MakeVk()
74 GrBackendFormat::GrBackendFormat(VkFormat vkFormat, const GrVkYcbcrConversionInfo& ycbcrInfo) in GrBackendFormat() argument
83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
135 if (const GrVkYcbcrConversionInfo* ycbcrInfo = this->getVkYcbcrConversionInfo()) { in makeTexture2D() local
136 if (ycbcrInfo->isValid()) { in makeTexture2D()
/external/skqp/src/gpu/
DGrBackendSurface.cpp66 GrBackendFormat GrBackendFormat::MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo) { in MakeVk() argument
68 return GrBackendFormat(VK_FORMAT_UNDEFINED, ycbcrInfo); in MakeVk()
74 GrBackendFormat::GrBackendFormat(VkFormat vkFormat, const GrVkYcbcrConversionInfo& ycbcrInfo) in GrBackendFormat() argument
83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
/external/skia/include/gpu/
DGrBackendSurface.h57 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);
/external/skqp/include/gpu/
DGrBackendSurface.h57 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);