Home
last modified time | relevance | path

Searched refs:channelIdx (Results 1 - 8 of 8) sorted by relevance

/third_party/skia/src/core/
H A DSkYUVAInfo.cpp143 int channelIdx, in channel_index_to_channel()
148 if (channelIdx == 0) { in channel_index_to_channel()
154 switch (channelIdx) { in channel_index_to_channel()
161 if (channelIdx == 0) { in channel_index_to_channel()
167 if (channelIdx == 0 || channelIdx == 1) { in channel_index_to_channel()
168 *channel = static_cast<SkColorChannel>(channelIdx); in channel_index_to_channel()
173 if (channelIdx >= 0 && channelIdx <= 2) { in channel_index_to_channel()
174 *channel = static_cast<SkColorChannel>(channelIdx); in channel_index_to_channel()
142 channel_index_to_channel(uint32_t channelFlags, int channelIdx, SkColorChannel* channel) channel_index_to_channel() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureConversionTests.cpp73 int channelIdx);
136 int SnormLinearClampInstance::lim (const tcu::TextureFormat& format, int channelIdx) in lim() argument
139 return channelBits[channelIdx] ? (-deIntMaxValue32(channelBits[channelIdx])) : (-1); in lim()
H A DvktTextureFilteringExplicitLodTests.cpp81 for (int channelIdx = 0; channelIdx < 4; channelIdx++) in getPrecision()
86 floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channelDepth[channelIdx] + fpPrecisionDelta - 1)))); in getPrecision()
90 floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channelDepth[channelIdx] + fpPrecisionDelta)))); in getPrecision()
94 if (channelDepth[channelIdx] == 16) in getPrecision()
100 DE_ASSERT(channelDepth[channelIdx] == 32 || channelDepth[channelIdx] == 0); in getPrecision()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureConversionTests.cpp73 int channelIdx);
136 int SnormLinearClampInstance::lim (const tcu::TextureFormat& format, int channelIdx) in lim() argument
139 return channelBits[channelIdx] ? (-deIntMaxValue32(channelBits[channelIdx])) : (-1); in lim()
H A DvktTextureFilteringExplicitLodTests.cpp81 for (int channelIdx = 0; channelIdx < 4; channelIdx++) in getPrecision()
86 floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channelDepth[channelIdx] + fpPrecisionDelta - 1)))); in getPrecision()
90 floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channelDepth[channelIdx] + fpPrecisionDelta)))); in getPrecision()
94 if (channelDepth[channelIdx] == 16) in getPrecision()
100 DE_ASSERT(channelDepth[channelIdx] == 32 || channelDepth[channelIdx] == 0); in getPrecision()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1204 for (deUint32 channelIdx = 0; channelIdx < 4; channelIdx++)
1205 floatFormats.push_back(tcu::FloatFormat(0, 0, channelDepth[channelIdx], false, tcu::YES));
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.cpp1203 for (deUint32 channelIdx = 0; channelIdx < 4; channelIdx++)
1204 floatFormats.push_back(tcu::FloatFormat(0, 0, channelDepth[channelIdx], false, tcu::YES));
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageSparseResidency.cpp71 const auto channelIdx = channel.first; in getFormatValueString() local
72 usedValues[channelIdx] = formatValueStrings[channelIdx]; in getFormatValueString()

Completed in 13 milliseconds