Home
last modified time | relevance | path

Searched refs:imageFormat (Results 1 – 25 of 60) sorted by relevance

123

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp59 VkFormat imageFormat,
92 VkFormat imageFormat,
108 VkFormat imageFormat,
124 VkFormat imageFormat,
144 VkFormat imageFormat,
164 VkFormat imageFormat,
187 VkFormat imageFormat,
211 VkFormat imageFormat, in SamplerTest() argument
216 , m_imageFormat (imageFormat) in SamplerTest()
497 VkFormat imageFormat, in SamplerMagFilterTest() argument
[all …]
DvktPipelineImageViewTests.cpp59 VkFormat imageFormat,
87 VkFormat imageFormat, in ImageViewTest() argument
94 , m_imageFormat (imageFormat) in ImageViewTest()
332 …ateSubresourceRangeTests(tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) in createSubresourceRangeTests() argument
356 imageFormat, config.samplerLod, componentMapping, \ in createSubresourceRangeTests()
600 …teComponentSwizzleTests (tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) in createComponentSwizzleTests() argument
645 imageFormat, in createComponentSwizzleTests()
DvktPipelineImageTests.cpp59 VkFormat imageFormat,
92 VkFormat imageFormat, in ImageTest() argument
101 , m_imageFormat (imageFormat) in ImageTest()
414 …VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int imageCount) in createImageSizeTests() argument
549 imageFormat, in createImageSizeTests()
559 …allocationKind, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) in createImageCountTests() argument
575 …teImageSizeTests(testCtx, allocationKind, samplingType, imageViewType, imageFormat, imageCounts[co… in createImageCountTests()
DvktPipelineImageSamplingInstance.cpp192 VkFormat imageFormat, in ImageSamplingInstance() argument
207 , m_imageFormat (imageFormat) in ImageSamplingInstance()
233 …SupportedSamplableFormat(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat)) in ImageSamplingInstance()
234 …::NotSupportedError(std::string("Unsupported format for sampling: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
242 …Supported(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat, VK_IMAGE_TILIN… in ImageSamplingInstance()
243 …portedError(std::string("Unsupported format for linear filtering: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
255 …Supported(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat, VK_IMAGE_TILIN… in ImageSamplingInstance()
256 …ortedError(std::string("Unsupported format for min/max filtering: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
299 …if ((isCompressedFormat(imageFormat) || isDepthStencilFormat(imageFormat)) && imageViewType == VK_… in ImageSamplingInstance()
306 imageFormat, in ImageSamplingInstance()
[all …]
DvktPipelineImageSamplingInstance.hpp54 vk::VkFormat imageFormat,
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp92 vk::VkFormat imageFormat; member
98 , imageFormat (vk::VK_FORMAT_UNDEFINED) in Params()
108 , imageFormat (imageFormat_) in Params()
115 …rams.shaderType) ^ deInt32Hash(params.accessType) ^ deInt32Hash(params.imageFormat) ^ deInt32Hash(… in getSeedValue()
253 , m_validator (params.imageFormat) in ImageAccessTestCase()
272 const tcu::TextureFormat& texFormat = mapVkFormat(m_params.imageFormat); in initPrograms()
273 const std::string imageFormat = getShaderImageFormatQualifier(texFormat); in initPrograms() local
276 const std::string colorVecType = isIntFormat(m_params.imageFormat) ? "ivec4" : in initPrograms()
277 isUintFormat(m_params.imageFormat) ? "uvec4" : "vec4"; in initPrograms()
351 << (isUintFormat(m_params.imageFormat) ? "uint" : "int") in initPrograms()
[all …]
DvktProtectedMemImageValidator.hpp46 ImageValidator (vk::VkFormat imageFormat = vk::VK_FORMAT_R8G8B8A8_UNORM) in ImageValidator() argument
47 : m_imageFormat (imageFormat) in ImageValidator()
55 const vk::VkFormat imageFormat,
DvktProtectedMemImageValidator.cpp114 …const vk::VkImage image, const vk::VkFormat imageFormat, const vk::VkImageLayout imageLayout) const in validateImage() argument
171 imageFormat, // format in validateImage()
DvktProtectedMemWsiSwapchainTests.cpp285 baseParameters.imageFormat, in generateSwapchainParameterCases()
398 cases.back().imageFormat = curFmt->format; in generateSwapchainParameterCases()
446 baseParameters.imageFormat, in generateSwapchainParameterCases()
488 baseParameters.imageFormat, in generateSwapchainParameterCases()
536 baseParameters.imageFormat, in generateSwapchainParameterCases()
1130 swapchainInfo.imageFormat, in basicRenderTest()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCameraEnumerationAndroid.java74 public final int imageFormat = ImageFormat.NV21; field in CameraEnumerationAndroid.CaptureFormat
86 return frameSize(width, height, imageFormat); in frameSize()
93 public static int frameSize(int width, int height, int imageFormat) { in frameSize() argument
94 if (imageFormat != ImageFormat.NV21) { in frameSize()
98 return (width * height * ImageFormat.getBitsPerPixel(imageFormat)) / 8; in frameSize()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp189 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, … in generateReferenceImage() argument
193 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); in generateReferenceImage()
196 const float storeColorScale = computeStoreColorScale(imageFormat, imageSize); in generateReferenceImage()
197 const float storeColorBias = computeStoreColorBias(imageFormat); in generateReferenceImage()
199 const bool intFormat = isIntegerFormat(imageFormat); in generateReferenceImage()
217 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
219 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
225 … tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat) in generateReferenceImage() argument
227 return generateReferenceImage(imageSize, imageFormat, imageFormat); in generateReferenceImage()
805 const VkFormat imageFormat,
[all …]
DvktImageMutableTests.cpp107 VkFormat imageFormat; member
175 format = caseDef.imageFormat; in getClearValueInt()
278 if (isSRGB(mapVkFormat(caseDef.imageFormat))) in isSRGBConversionRequired()
1058 m_imageIsIntegerFormat = isUintFormat(m_caseDef.imageFormat) || isIntFormat(m_caseDef.imageFormat); in runSwapchain()
1107 m_imageIsIntegerFormat = isUintFormat(m_caseDef.imageFormat) || isIntFormat(m_caseDef.imageFormat); in run()
1117 …vk, m_device, imageFlags, getImageType(m_caseDef.imageType), m_caseDef.imageFormat, m_caseDef.view… in run()
1258 const VkDeviceSize pixelSize = tcu::getPixelSize(mapVkFormat(m_caseDef.imageFormat)); in uploadCopy()
1266 const tcu::TextureFormat tcuFormat = mapVkFormat(m_caseDef.imageFormat); in uploadCopy()
1673 vki.getPhysicalDeviceFormatProperties(physDevice, caseDef.imageFormat, &imageFormatProps); in testMutable()
1748 …e.y() * caseDef.size.z() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.imageFormat)); in testMutable()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DC_B_D_T_.py20 def getImageFormatClass(self, imageFormat): argument
22 return E_B_D_T_.table_E_B_D_T_.getImageFormatClass(self, imageFormat)
24 return cbdt_bitmap_classes[imageFormat]
DE_B_L_C_.py108 (indexFormat, imageFormat, imageDataOffset) = tup
116 indexSubTable.imageFormat = imageFormat
352 return struct.pack(indexSubHeaderFormat, self.indexFormat, self.imageFormat, self.imageDataOffset)
359 ('imageFormat', self.imageFormat),
379 self.imageFormat = safeEval(attrs['imageFormat'])
DE_B_D_T_.py35 def getImageFormatClass(self, imageFormat): argument
36 return ebdt_bitmap_classes[imageFormat]
66 imageFormatClass = self.getImageFormatClass(indexSubTable.imageFormat)
165 imageFormat = safeEval(name[len(_bitmapGlyphSubclassPrefix):])
167 imageFormatClass = self.getImageFormatClass(imageFormat)
/external/skia/src/gpu/vk/
DGrVkImage.h56 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() function
59 SkASSERT(this->imageFormat() == VK_FORMAT_UNDEFINED); in getBackendFormat()
62 SkASSERT(this->imageFormat() != VK_FORMAT_UNDEFINED); in getBackendFormat()
63 return GrBackendFormat::MakeVk(this->imageFormat()); in getBackendFormat()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp658 …const string imageFormat = (testType == TESTTYPE_OPTYPEIMAGE_MISMATCH) ? optypeimageFormatMismatch… in getImageSamplerTypeStr() local
664 … %Image = OpTypeImage %f32 2D " + de::toString(depthProperty) + " 0 0 2 " + imageFormat + "\n" in getImageSamplerTypeStr()
669 … %Image = OpTypeImage %f32 2D " + de::toString(depthProperty) + " 0 0 1 " + imageFormat + "\n" in getImageSamplerTypeStr()
679 … %Image = OpTypeImage %f32 2D " + de::toString(depthProperty) + " 0 0 1 " + imageFormat + "\n" in getImageSamplerTypeStr()
685 … %Image = OpTypeImage %f32 2D " + de::toString(depthProperty) + " 0 0 1 " + imageFormat + "\n" in getImageSamplerTypeStr()
695 … %Image = OpTypeImage %f32 2D " + de::toString(depthProperty) + " 0 0 1 " + imageFormat + "\n" in getImageSamplerTypeStr()
1218 const VkFormat imageFormat = getImageFormat((ReadOp)opNdx); in addGraphicsDepthPropertyTest() local
1219 const bool hasDpethComponent = tcu::hasDepthComponent(vk::mapVkFormat(imageFormat).order); in addGraphicsDepthPropertyTest()
1222 resources.inputFormat = imageFormat; in addGraphicsDepthPropertyTest()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp464 VkFormat imageFormat; member
546 , m_isAttachmentFormat (getIsAttachmentFormat(params.imageFormat, params.imageTiling)) in ImageClearingTestInstance()
547 , m_imageUsageFlags (getImageUsageFlags(params.imageFormat)) in ImageClearingTestInstance()
548 , m_imageAspectFlags (getImageAspectFlags(params.imageFormat)) in ImageClearingTestInstance()
556 params.imageFormat, in ImageClearingTestInstance()
565 params.imageFormat, in ImageClearingTestInstance()
569 …, m_renderPass (m_isAttachmentFormat ? createRenderPass(params.imageFormat) : vk::Move<vk::VkRe… in ImageClearingTestInstance()
661 …calDeviceImageFormatProperties(m_context.getPhysicalDevice(), m_params.imageFormat, m_params.image… in getImageFormatProperties()
887 …rmat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_params.imageFormat) : in readImage()
888 aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ? getDepthCopyFormat(m_params.imageFormat) : in readImage()
[all …]
/external/deqp/framework/qphelper/
DqpTestLog.c740 static deBool compressImagePNG (Buffer* buffer, qpImageFormat imageFormat, int width, int height, i… in compressImagePNG() argument
746 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; in compressImagePNG()
750 DE_ASSERT(imageFormat == QP_IMAGE_FORMAT_RGB888 || imageFormat == QP_IMAGE_FORMAT_RGBA8888); in compressImagePNG()
861 qpImageFormat imageFormat, in qpTestLog_writeImage() argument
899 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data); in qpTestLog_writeImage()
919 int pixelSize = imageFormat == QP_IMAGE_FORMAT_RGB888 ? 3 : 4; in qpTestLog_writeImage()
963 …ibs[numAttribs++] = qpSetStringAttrib("Format", QP_LOOKUP_STRING(s_qpImageFormatMap, imageFormat)); in qpTestLog_writeImage()
/external/skqp/src/gpu/vk/
DGrVkImage.h56 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() function
58 return GrBackendFormat::MakeVk(this->imageFormat()); in getBackendFormat()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp676 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
685 imageFormat, in generateSwapchainConfigs()
791 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
796 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
799 m_swapchainImageView = createImageView(m_vkd, *m_device, m_swapchainImage, imageFormat); in initSwapchainResources()
DvktWsiIncrementalPresentTests.cpp772 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
781 imageFormat, in generateSwapchainConfigs()
806 imageFormat, in generateSwapchainConfigs()
883 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
891 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
908 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews); in initSwapchainResources()
DvktWsiDisplayTimingTests.cpp660 const vk::VkFormat imageFormat = formats[0].format; in createSwapchainConfig() local
669 imageFormat, in createSwapchainConfig()
744 const vk::VkFormat imageFormat = m_swapchainConfig.imageFormat; in initSwapchainResources() local
749 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
766 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews); in initSwapchainResources()
/external/skqp/src/sfnt/
DSkOTTable_EBLC.h93 SK_OT_USHORT imageFormat; //format of 'EBDT' image data member
/external/skia/src/sfnt/
DSkOTTable_EBLC.h93 SK_OT_USHORT imageFormat; //format of 'EBDT' image data member

123