Home
last modified time | relevance | path

Searched refs:ycbcrKey (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/gpu/vk/
DGrVkSamplerYcbcrConversion.cpp115 uint8_t ycbcrKey = static_cast<uint8_t>(ycbcrInfo.fYcbcrModel); in GenerateKey() local
116 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYcbcrRange) << kRangeShift); in GenerateKey()
117 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fXChromaOffset) << kXChromaOffsetShift); in GenerateKey()
118 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYChromaOffset) << kYChromaOffsetShift); in GenerateKey()
119 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fChromaFilter) << kChromaFilterShift); in GenerateKey()
120 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fForceExplicitReconstruction) << kReconShift); in GenerateKey()
122 return Key{ycbcrInfo.fFormat, ycbcrInfo.fExternalFormat, ycbcrKey}; in GenerateKey()
DGrVkSampler.h30 Key(uint8_t samplerKey, const GrVkSamplerYcbcrConversion::Key& ycbcrKey) { in Key()
35 fYcbcrKey = ycbcrKey; in Key()