Home
last modified time | relevance | path

Searched refs:imageFormat (Results 1 – 25 of 50) 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 …]
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.cpp188 VkFormat imageFormat, in ImageSamplingInstance() argument
203 , m_imageFormat (imageFormat) in ImageSamplingInstance()
224 …SupportedSamplableFormat(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat)) in ImageSamplingInstance()
225 …::NotSupportedError(std::string("Unsupported format for sampling: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
233 …Supported(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat, VK_IMAGE_TILIN… in ImageSamplingInstance()
234 …portedError(std::string("Unsupported format for linear filtering: ") + getFormatName(imageFormat)); in ImageSamplingInstance()
242 if (isCompressedFormat(imageFormat) && imageViewType == VK_IMAGE_VIEW_TYPE_3D) in ImageSamplingInstance()
249 imageFormat, in ImageSamplingInstance()
285 if (isCompressedFormat(imageFormat)) in ImageSamplingInstance()
286 …m_texture = createTestTexture(mapVkCompressedFormat(imageFormat), imageViewType, imageSize, layerC… in ImageSamplingInstance()
[all …]
DvktPipelineImageSamplingInstance.hpp54 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 …]
DvktImageMutableTests.cpp96 VkFormat imageFormat; member
1076 m_imageIsIntegerFormat = isUintFormat(m_caseDef.imageFormat) || isIntFormat(m_caseDef.imageFormat); in run()
1085 …vk, m_device, imageFlags, getImageType(m_caseDef.imageType), m_caseDef.imageFormat, m_caseDef.view… in run()
1224 const VkDeviceSize pixelSize = tcu::getPixelSize(mapVkFormat(m_caseDef.imageFormat)); in uploadCopy()
1232 const tcu::TextureFormat tcuFormat = mapVkFormat(m_caseDef.imageFormat); in uploadCopy()
1682 vki.getPhysicalDeviceFormatProperties(physDevice, caseDef.imageFormat, &imageFormatProps); in testMutable()
1739 …e.y() * caseDef.size.z() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.imageFormat)); in testMutable()
1754 …eDef.upload == UPLOAD_CLEAR || caseDef.upload == UPLOAD_COPY ? caseDef.imageFormat : caseDef.viewF… in testMutable()
/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/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp461 VkFormat imageFormat; member
542 , m_isAttachmentFormat (getIsAttachmentFormat(params.imageFormat)) in ImageClearingTestInstance()
543 , m_imageUsageFlags (getImageUsageFlags(params.imageFormat)) in ImageClearingTestInstance()
544 , m_imageAspectFlags (getImageAspectFlags(params.imageFormat)) in ImageClearingTestInstance()
552 params.imageFormat, in ImageClearingTestInstance()
560 params.imageFormat, in ImageClearingTestInstance()
564 …, m_renderPass (m_isAttachmentFormat ? createRenderPass(params.imageFormat) : vk::Move<vk::VkRe… in ImageClearingTestInstance()
657 …calDeviceImageFormatProperties(m_context.getPhysicalDevice(), m_params.imageFormat, m_params.image… in getImageFormatProperties()
905 …rmat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_params.imageFormat) : in readImage()
906 aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ? getDepthCopyFormat(m_params.imageFormat) : in readImage()
[all …]
/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.cpp860 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
869 imageFormat, in generateSwapchainConfigs()
977 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
982 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
985 m_swapchainImageView = createImageView(m_vkd, *m_device, m_swapchainImage, imageFormat); in initSwapchainResources()
DvktWsiDisplayTimingTests.cpp899 const vk::VkFormat imageFormat = formats[0].format; in createSwapchainConfig() local
908 imageFormat, in createSwapchainConfig()
983 const vk::VkFormat imageFormat = m_swapchainConfig.imageFormat; in initSwapchainResources() local
988 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
1005 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews); in initSwapchainResources()
DvktWsiIncrementalPresentTests.cpp1016 const vk::VkFormat imageFormat = formats[formatNdx].format; in generateSwapchainConfigs() local
1025 imageFormat, in generateSwapchainConfigs()
1104 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; in initSwapchainResources() local
1112 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); in initSwapchainResources()
1129 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/
DvktSynchronizationCrossInstanceSharingTests.cpp496 resourceDesc.imageFormat, in createResource()
513 …source(image, allocation, extent, resourceDesc.imageType, resourceDesc.imageFormat, subresourceRan… in createResource()
627 resourceDesc.imageFormat, in importResource()
644 …source(image, allocation, extent, resourceDesc.imageType, resourceDesc.imageFormat, subresourceRan… in importResource()
895 m_config.resource.imageFormat, in SharingTestInstance()
DvktSynchronizationOperation.cpp935 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in Support()
1707 const std::string imageFormat = getShaderImageFormatQualifier(m_resourceDesc.imageFormat); in initPrograms() local
1708 …const std::string imageType = getShaderImageType(m_resourceDesc.imageFormat, m_resourceDesc.imageT… in initPrograms()
1711 …declSrc << "layout(set = 0, binding = 0, " << imageFormat << ") readonly uniform " << imageType <… in initPrograms()
1712 …<< "layout(set = 0, binding = 1, " << imageFormat << ") writeonly uniform " << imageType << " dstI… in initPrograms()
1914 …eDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRA… in Support()
2101 …eDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRA… in Support()
2453 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); in Support()
2477 const VkClearValue clearValue = makeClearValue(m_resourceDesc.imageFormat); in initPrograms()
2478 …l isIntegerFormat = isIntFormat(m_resourceDesc.imageFormat) || isUintFormat(m_resourceDesc.image… in initPrograms()
[all …]
DvktSynchronizationWin32KeyedMutexTests.cpp397 resourceDesc.imageFormat, in importResource()
414 …source(image, allocation, extent, resourceDesc.imageType, resourceDesc.imageFormat, subresourceRan… in importResource()
688 descColor.Format = getDxgiFormat(m_resourceDesc.imageFormat); in DX11Operation()
829 SRVDesc.Format = getDxgiFormat(m_resourceDesc.imageFormat); in DX11Operation()
1470 m_config.resource.imageFormat, in Win32KeyedMutexTestInstance()
/external/skia/tools/viewer/sk_app/
DVulkanWindowContext.cpp216 swapchainCreateInfo.imageFormat = surfaceFormat; in createSwapchain()
253 this->createBuffers(swapchainCreateInfo.imageFormat); in createSwapchain()

12