Lines Matching refs:format
64 MultiPlaneImageData::MultiPlaneImageData (VkFormat format, const UVec2& size)
65 : m_format (format)
66 , m_description (getPlanarFormatDescription(format))
190 void checkImageSupport (Context& context, VkFormat format, VkImageCreateFlags createFlags, VkImageTiling tiling)
207 format);
213 TCU_THROW(NotSupportedError, "YCbCr conversion is not supported for format");
216 TCU_THROW(NotSupportedError, "Disjoint planes are not supported for format");
220 void fillRandomNoNaN(de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format)
225 switch (format)
262 // Set first bit of each channel to 0 to avoid NaNs, only format is B10G11R11
297 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format, const bool noNan)
305 fillRandomNoNaN(randomGen, planePtr, (deUint32)planeSize, format);
352 VkFormat format,
360 const deUint32 numPlanes = getPlaneCount(format);
1021 bool isXChromaSubsampled (vk::VkFormat format)
1023 switch (format)
1056 bool isYChromaSubsampled (vk::VkFormat format)
1058 switch (format)
1134 tcu::UVec4 getYCbCrBitDepth (vk::VkFormat format)
1136 switch (format)
1195 return tcu::getTextureFormatBitDepth(vk::mapVkFormat(format)).cast<deUint32>();
1199 std::vector<tcu::FloatFormat> getPrecision (VkFormat format)
1202 UVec4 channelDepth = getYCbCrBitDepth (format);
1210 deUint32 getYCbCrFormatChannelCount (vk::VkFormat format)
1212 switch (format)