Home
last modified time | relevance | path

Searched refs:formatInfo (Results 1 – 17 of 17) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp42 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(format); in defaultClearColor() local
43 return (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale; in defaultClearColor()
49 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(format); in defaultClearColorInt() local
50 …const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.looku… in defaultClearColorInt()
60 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(format); in defaultClearColorUint() local
61 …const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.looku… in defaultClearColorUint()
DvktPipelineBlendTests.cpp673 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(mapVkFormat(m_colorFormat)); in BlendTestInstance() local
675 …vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.loo… in BlendTestInstance()
DvktPipelineImageUtil.cpp865 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(levelAccess.getFormat()); in fillWithGradient() local
866 tcu::fillWithComponentGradients(levelAccess, formatInfo.valueMin, formatInfo.valueMax); in fillWithGradient()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp387 FormatInfo formatInfo; in format() local
389 formatInfo = *fFormatInfo; in format()
401 formatInfo.currency.NumDigits = (UINT) numDigits; in format()
405 formatInfo.currency.Grouping = 0; in format()
408 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format()
414 … int newLength = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, NULL, 0); in format()
418 … GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, newLength); in format()
423 formatInfo.number.NumDigits = (UINT) numDigits; in format()
427 formatInfo.number.Grouping = 0; in format()
430 … result = GetNumberFormatEx(localeName, 0, nBuffer, &formatInfo.number, buffer, STACK_BUFFER_SIZE); in format()
[all …]
/external/mesa3d/src/amd/addrlib/core/
Daddrelemlib.cpp1080 ADDR_PIXEL_FORMATINFO formatInfo; in PixGetExportNorm() local
1082 PixGetColorCompInfo(colorFmt, numberFmt, swap, &formatInfo); in PixGetExportNorm()
1088 if (((formatInfo.compBit[c] > 11) || (formatInfo.numType[c] > ADDR_USCALED)) && in PixGetExportNorm()
1089 (formatInfo.numType[c] != ADDR_U4FLOATC) && in PixGetExportNorm()
1090 (formatInfo.numType[c] != ADDR_S5FLOAT) && in PixGetExportNorm()
1091 (formatInfo.numType[c] != ADDR_S5FLOATM) && in PixGetExportNorm()
1092 (formatInfo.numType[c] != ADDR_U5FLOAT) && in PixGetExportNorm()
1093 (formatInfo.numType[c] != ADDR_U3FLOATM)) in PixGetExportNorm()
1101 if ((formatInfo.compBit[c] > 11) || (formatInfo.numType[c] > ADDR_USCALED)) in PixGetExportNorm()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureCompressedFormatTests.cpp94 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(textureFormat); in iterate() local
104 sampleParams.colorBias = formatInfo.lookupBias; in iterate()
105 sampleParams.colorScale = formatInfo.lookupScale; in iterate()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp2073 tcu::PixelBufferAccess getChannelAccess (const PlanarFormatDescription& formatInfo, in getChannelAccess() argument
2079 DE_ASSERT(formatInfo.hasChannelNdx(channelNdx)); in getChannelAccess()
2081 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess()
2082 const deUint32 planeOffsetBytes = formatInfo.channels[channelNdx].offsetBits / 8; in getChannelAccess()
2083 const deUint32 valueOffsetBits = formatInfo.channels[channelNdx].offsetBits % 8; in getChannelAccess()
2084 const deUint32 pixelStrideBytes = formatInfo.channels[channelNdx].strideBytes; in getChannelAccess()
2086 DE_ASSERT(size.x() % formatInfo.planes[planeNdx].widthDivisor == 0); in getChannelAccess()
2087 DE_ASSERT(size.y() % formatInfo.planes[planeNdx].heightDivisor == 0); in getChannelAccess()
2089 deUint32 accessWidth = size.x() / formatInfo.planes[planeNdx].widthDivisor; in getChannelAccess()
2090 const deUint32 accessHeight = size.y() / formatInfo.planes[planeNdx].heightDivisor; in getChannelAccess()
[all …]
DvkImageUtil.hpp120 tcu::PixelBufferAccess getChannelAccess (const PlanarFormatDescription& formatInfo,
125 tcu::ConstPixelBufferAccess getChannelAccess (const PlanarFormatDescription& formatInfo,
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp257 const PlanarFormatDescription& formatInfo = imageData->getDescription(); in fillGradient() local
263 if (formatInfo.hasChannelNdx(channelNdx)) in fillGradient()
1045 const vk::PlanarFormatDescription& formatInfo, in getChannelAccess() argument
1049 DE_ASSERT(formatInfo.hasChannelNdx(channelNdx)); in getChannelAccess()
1051 const deUint32 planeNdx = formatInfo.channels[channelNdx].planeNdx; in getChannelAccess()
1052 const deUint32 valueOffsetBits = formatInfo.channels[channelNdx].offsetBits; in getChannelAccess()
1053 const deUint32 pixelStrideBytes = formatInfo.channels[channelNdx].strideBytes; in getChannelAccess()
1055 const deUint8 sizeBits = formatInfo.channels[channelNdx].sizeBits; in getChannelAccess()
1057 DE_ASSERT(size.x() % formatInfo.planes[planeNdx].widthDivisor == 0); in getChannelAccess()
1058 DE_ASSERT(size.y() % formatInfo.planes[planeNdx].heightDivisor == 0); in getChannelAccess()
[all …]
DvktYCbCrViewTests.cpp480 const PlanarFormatDescription formatInfo = getPlanarFormatDescription(format); in testPlaneView() local
482 const UVec2 planeSize (size.x() / formatInfo.planes[params.planeNdx].widthDivisor, in testPlaneView()
483 size.y() / formatInfo.planes[params.planeNdx].heightDivisor); in testPlaneView()
645 if (formatInfo.hasChannelNdx(channelNdx)) in testPlaneView()
DvktYCbCrFormatTests.cpp302 const PlanarFormatDescription formatInfo = getPlanarFormatDescription(format); in testFormat() local
420 if (formatInfo.hasChannelNdx(channelNdx)) in testFormat()
DvktYCbCrUtil.hpp164 const vk::PlanarFormatDescription& formatInfo,
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyDisplayInfoProvider.java118 CurrencyFormatInfo formatInfo = null; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.FormattingData
234 return formattingData.formatInfo; in getFormatInfo()
462 if (array.getSize() > 2 && formattingData.formatInfo == null) { in consumeCurrenciesEntry()
471 formattingData.formatInfo = new CurrencyFormatInfo( in consumeCurrenciesEntry()
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyDisplayInfoProvider.java114 CurrencyFormatInfo formatInfo = null; field in ICUCurrencyDisplayInfoProvider.ICUCurrencyDisplayInfo.FormattingData
230 return formattingData.formatInfo; in getFormatInfo()
458 if (array.getSize() > 2 && formattingData.formatInfo == null) { in consumeCurrenciesEntry()
467 formattingData.formatInfo = new CurrencyFormatInfo( in consumeCurrenciesEntry()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.hpp241 struct formatInfo struct in glcts::TextureCubeMapArraySamplingTest
243 formatInfo(glw::GLenum internal_format, glw::GLenum format, glw::GLenum type, bool is_compressed);
263 formatInfo m_source;
264 formatInfo m_destination;
DesextcTextureCubeMapArraySampling.cpp4239 TextureCubeMapArraySamplingTest::formatInfo::formatInfo(glw::GLenum internal_format, glw::GLenum fo… function in glcts::TextureCubeMapArraySamplingTest::formatInfo
/external/vulkan-validation-layers/include/vulkan/
Dvulkan.hpp30679 …parseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2KHR & formatInfo ) const;
31369 …SparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2KHR & formatInfo ) const in getSparseImageFormatProperties2KHR()
31373 …, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2KHR*>( &formatInfo ), &propertyCoun… in getSparseImageFormatProperties2KHR()
31375 …, reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2KHR*>( &formatInfo ), &propertyCoun… in getSparseImageFormatProperties2KHR()