Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerTests.cpp59 VkFormat imageFormat,
90 VkFormat imageFormat,
106 VkFormat imageFormat,
122 VkFormat imageFormat,
145 VkFormat imageFormat,
169 VkFormat imageFormat, in SamplerTest() argument
174 , m_imageFormat (imageFormat) in SamplerTest()
413 VkFormat imageFormat, in SamplerMagFilterTest() argument
415 : SamplerTest (testContext, name, description, imageViewType, imageFormat, 8, 0.0f) in SamplerMagFilterTest()
435 VkFormat imageFormat, in SamplerMinFilterTest() argument
[all …]
DvktPipelineImageTests.cpp57 VkFormat imageFormat,
88 VkFormat imageFormat, in ImageTest() argument
96 , m_imageFormat (imageFormat) in ImageTest()
409 …VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int imageCount) in createImageSizeTests() argument
543 imageFormat, in createImageSizeTests()
553 …ntext& testCtx, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) in createImageCountTests() argument
562 …sizeTests = createImageSizeTests(testCtx, samplingType, imageViewType, imageFormat, imageCounts[co… in createImageCountTests()
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()
DvktPipelineImageSamplingInstance.cpp128 VkFormat imageFormat, in ImageSamplingInstance() argument
141 , m_imageFormat (imageFormat) in ImageSamplingInstance()
160 …SupportedSamplableFormat(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat)) in ImageSamplingInstance()
161 …::NotSupportedError(std::string("Unsupported format for sampling: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
169 …Supported(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat, VK_IMAGE_TILIN… in ImageSamplingInstance()
170 …portedError(std::string("Unsupported format for linear filtering: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
178 if (isCompressedFormat(imageFormat) && imageViewType == VK_IMAGE_VIEW_TYPE_3D) in ImageSamplingInstance()
185 imageFormat, in ImageSamplingInstance()
213 if (isCompressedFormat(imageFormat)) in ImageSamplingInstance()
214 …m_texture = createTestTexture(mapVkCompressedFormat(imageFormat), imageViewType, imageSize, layerC… in ImageSamplingInstance()
[all …]
DvktPipelineImageSamplingInstance.hpp48 vk::VkFormat imageFormat,
DvktPipelineSpecConstantTests.cpp575 const VkFormat imageFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
576 … colorImage (vk, device, allocator, makeImageCreateInfo(renderSize, imageFormat, VK_IMAGE_USAGE… in iterate()
577 …mageView(makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, imageFormat, makeImageSubre… in iterate()
623 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, imageFormat)); in iterate()
/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.cpp187 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, … in generateReferenceImage() argument
191 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); in generateReferenceImage()
194 const float storeColorScale = computeStoreColorScale(imageFormat, imageSize); in generateReferenceImage()
195 const float storeColorBias = computeStoreColorBias(imageFormat); in generateReferenceImage()
197 const bool intFormat = isIntegerFormat(imageFormat); in generateReferenceImage()
215 if (isFloatFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
217 if (isSnormFormat(readFormat) && imageFormat != readFormat) in generateReferenceImage()
223 … tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat) in generateReferenceImage() argument
225 return generateReferenceImage(imageSize, imageFormat, imageFormat); in generateReferenceImage()
770 const VkFormat imageFormat,
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp324 VkFormat imageFormat; member
396 , m_isAttachmentFormat (getIsAttachmentFormat(params.imageFormat)) in ImageClearingTestInstance()
397 , m_imageUsageFlags (getImageUsageFlags(params.imageFormat)) in ImageClearingTestInstance()
398 , m_imageAspectFlags (getImageAspectFlags(params.imageFormat)) in ImageClearingTestInstance()
406 params.imageFormat, in ImageClearingTestInstance()
413 params.imageFormat, in ImageClearingTestInstance()
416 …, m_renderPass (m_isAttachmentFormat ? createRenderPass(params.imageFormat) : vk::Move<vk::VkRe… in ImageClearingTestInstance()
498 …calDeviceImageFormatProperties(m_context.getPhysicalDevice(), m_params.imageFormat, m_params.image… in getImageFormatProperties()
770 …rmat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_params.imageFormat) : in readImage()
771 aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ? getDepthCopyFormat(m_params.imageFormat) : in readImage()
[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_.py102 (indexFormat, imageFormat, imageDataOffset) = tup
110 indexSubTable.imageFormat = imageFormat
346 return struct.pack(indexSubHeaderFormat, self.indexFormat, self.imageFormat, self.imageDataOffset)
353 ('imageFormat', self.imageFormat),
373 self.imageFormat = safeEval(attrs['imageFormat'])
DE_B_D_T_.py31 def getImageFormatClass(self, imageFormat): argument
32 return ebdt_bitmap_classes[imageFormat]
62 imageFormatClass = self.getImageFormatClass(indexSubTable.imageFormat)
161 imageFormat = safeEval(name[len(_bitmapGlyphSubclassPrefix):])
163 imageFormatClass = self.getImageFormatClass(imageFormat)
/external/deqp/framework/qphelper/
DqpTestLog.c720 static deBool compressImagePNG (Buffer* buffer, qpImageFormat imageFormat, int width, int height, i… in compressImagePNG() argument
726 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; in compressImagePNG()
730 DE_ASSERT(imageFormat == QP_IMAGE_FORMAT_RGB888 || imageFormat == QP_IMAGE_FORMAT_RGBA8888); in compressImagePNG()
841 qpImageFormat imageFormat, in qpTestLog_writeImage() argument
879 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data); in qpTestLog_writeImage()
899 int pixelSize = imageFormat == QP_IMAGE_FORMAT_RGB888 ? 3 : 4; in qpTestLog_writeImage()
943 …ibs[numAttribs++] = qpSetStringAttrib("Format", QP_LOOKUP_STRING(s_qpImageFormatMap, imageFormat)); in qpTestLog_writeImage()
/external/harfbuzz_ng/src/
Dhb-ot-cbdt-table.hh106 USHORT imageFormat; member
170 *format = u.header.imageFormat; in get_image_data()
/external/vulkan-validation-layers/layers/
Dimage.cpp501 VkFormat imageFormat = imageEntry->format; in CreateImageView() local
508 …if (vk_format_get_compatibility_class(imageFormat) != vk_format_get_compatibility_class(ivciFormat… in CreateImageView()
512 …<< string_VkFormat(imageFormat) << ". Images created with the VK_IMAGE_CREATE_MUTABLE_FORMAT BIT " in CreateImageView()
519 if (imageFormat != ivciFormat) { in CreateImageView()
522 << (uint64_t)pCreateInfo->image << " format " << string_VkFormat(imageFormat) in CreateImageView()
530 if (vk_format_is_color(imageFormat)) { in CreateImageView()
548 … << "color formats. ImageFormat is " << string_VkFormat(imageFormat) << " ImageViewFormat is " in CreateImageView()
556 } else if (vk_format_is_depth_and_stencil(imageFormat)) { in CreateImageView()
573 } else if (vk_format_is_depth_only(imageFormat)) { in CreateImageView()
588 } else if (vk_format_is_stencil_only(imageFormat)) { in CreateImageView()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp890 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
899 imageFormat, in generateSwapchainConfigs()
1007 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
1012 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
1015 m_swapchainImageView = createImageView(m_vkd, *m_device, m_swapchainImage, imageFormat); in initSwapchainResources()
DvktWsiIncrementalPresentTests.cpp1018 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
1027 imageFormat, in generateSwapchainConfigs()
1106 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
1113 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
1130 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews); in initSwapchainResources()
DvktWsiDisplayTimingTests.cpp944 const vk::VkFormat imageFormat = formats[0].format; in createSwapchainConfig() local
953 imageFormat, in createSwapchainConfig()
1028 const vk::VkFormat imageFormat = m_swapchainConfig.imageFormat; in initSwapchainResources() local
1033 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
1050 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews); in initSwapchainResources()
/external/skia/src/sfnt/
DSkOTTable_EBLC.h93 SK_OT_USHORT imageFormat; //format of 'EBDT' image data member
/external/skia/src/gpu/vk/
DGrVkImage.h45 VkFormat imageFormat() const { return fInfo.fFormat; } in imageFormat() function
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp913 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in Support()
1685 const std::string imageFormat = getShaderImageFormatQualifier(m_resourceDesc.imageFormat); in initPrograms() local
1686 …const std::string imageType = getShaderImageType(m_resourceDesc.imageFormat, m_resourceDesc.imageT… in initPrograms()
1689 …declSrc << "layout(set = 0, binding = 0, " << imageFormat << ") readonly uniform " << imageType <… in initPrograms()
1690 …<< "layout(set = 0, binding = 1, " << imageFormat << ") writeonly uniform " << imageType << " dstI… in initPrograms()
1892 …eDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRA… in Support()
2079 …eDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRA… in Support()
2431 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); in Support()
2455 const VkClearValue clearValue = makeClearValue(m_resourceDesc.imageFormat); in initPrograms()
2456 …l isIntegerFormat = isIntFormat(m_resourceDesc.imageFormat) || isUintFormat(m_resourceDesc.image… in initPrograms()
[all …]
DvktSynchronizationUtil.hpp193 vk::VkFormat imageFormat; member
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp210 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
247 this->createBuffers(swapchainCreateInfo.imageFormat); in createSwapchain()
/external/deqp/executor/
DxeTestResultParser.cpp227 static ri::Image::Format getImageFormat (const char* imageFormat) in getImageFormat() argument
229 …)getEnumValue("image format", s_imageFormatMap, DE_LENGTH_OF_ARRAY(s_imageFormatMap), imageFormat); in getImageFormat()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp1289 … description, const TextureFormat& textureFormat, const TextureFormat& imageFormat, TextureType te… in ImageLoadAndStoreCase() argument
1292 , m_imageFormat (imageFormat) in ImageLoadAndStoreCase()
1297 DE_ASSERT(textureFormat.getPixelSize() == imageFormat.getPixelSize()); in ImageLoadAndStoreCase()
1305 … void replaceBadFloatReinterpretValues (LayeredImage& image, const TextureFormat& imageFormat);
1315 …StoreCase::replaceBadFloatReinterpretValues (LayeredImage& image, const TextureFormat& imageFormat) in replaceBadFloatReinterpretValues() argument
1318 const int pixelSize = imageFormat.getPixelSize(); in replaceBadFloatReinterpretValues()
1319 const int imageNumChannels = imageFormat.order == tcu::TextureFormat::R ? 1 in replaceBadFloatReinterpretValues()
1320 : imageFormat.order == tcu::TextureFormat::RGBA ? 4 in replaceBadFloatReinterpretValues()

12