/external/skia/src/gpu/vk/ |
H A D | GrVkImage.h | 39 VkFormat imageFormat() const { return fInfo.fFormat; } function in class:GrVkImage
|
/external/skqp/src/gpu/vk/ |
H A D | GrVkImage.h | 39 VkFormat imageFormat() const { return fInfo.fFormat; } function in class:GrVkImage
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | CameraEnumerationAndroid.java | 74 public final int imageFormat = ImageFormat.NV21; field in class:CameraEnumerationAndroid.CaptureFormat 86 return frameSize(width, height, imageFormat); 93 public static int frameSize(int width, int height, int imageFormat) { argument 94 if (imageFormat != ImageFormat.NV21) { 98 return (width * height * ImageFormat.getBitsPerPixel(imageFormat)) / 8;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageTests.cpp | 59 VkFormat imageFormat, 92 VkFormat imageFormat, 101 , m_imageFormat (imageFormat) 414 de::MovePtr<tcu::TestCaseGroup> createImageSizeTests (tcu::TestContext& testCtx, AllocationKind allocationKind, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, int imageCount) argument 549 imageFormat, 559 void createImageCountTests (tcu::TestCaseGroup* parentGroup, tcu::TestContext& testCtx, AllocationKind allocationKind, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat) argument 575 de::MovePtr<tcu::TestCaseGroup> sizeTests = createImageSizeTests(testCtx, allocationKind, samplingType, imageViewType, imageFormat, imageCounts[countNdx]); 86 ImageTest(tcu::TestContext& testContext, const char* name, const char* description, AllocationKind allocationKind, VkDescriptorType samplingType, VkImageViewType imageViewType, VkFormat imageFormat, const tcu::IVec3& imageSize, int imageCount, int arraySize) argument
|
H A D | vktPipelineImageViewTests.cpp | 59 VkFormat imageFormat, 87 VkFormat imageFormat, 94 , m_imageFormat (imageFormat) 332 static de::MovePtr<tcu::TestCaseGroup> createSubresourceRangeTests(tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) argument 356 imageFormat, config.samplerLod, componentMapping, \ 600 static de::MovePtr<tcu::TestCaseGroup> createComponentSwizzleTests (tcu::TestContext& testCtx, VkImageViewType viewType, VkFormat imageFormat) argument 645 imageFormat, 83 ImageViewTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, float samplerLod, const VkComponentMapping& componentMapping, const VkImageSubresourceRange& subresourceRange) argument
|
H A D | vktPipelineSamplerTests.cpp | 59 VkFormat imageFormat, 90 VkFormat imageFormat, 106 VkFormat imageFormat, 122 VkFormat imageFormat, 145 VkFormat imageFormat, 169 VkFormat imageFormat, 174 , m_imageFormat (imageFormat) 413 VkFormat imageFormat, 415 : SamplerTest (testContext, name, description, imageViewType, imageFormat, 8, 0.0f) 435 VkFormat imageFormat, 165 SamplerTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, int imageSize, float samplerLod) argument 409 SamplerMagFilterTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, VkFilter magFilter) argument 431 SamplerMinFilterTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, VkFilter minFilter) argument 455 SamplerLodTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, VkSamplerMipmapMode mipmapMode, float minLod, float maxLod, float mipLodBias, float samplerLod) argument 488 SamplerAddressModesTest(tcu::TestContext& testContext, const char* name, const char* description, VkImageViewType imageViewType, VkFormat imageFormat, VkSamplerAddressMode addressU, VkSamplerAddressMode addressV, VkSamplerAddressMode addressW, VkBorderColor borderColor) argument 569 createSamplerMagFilterTests(tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) argument 580 createSamplerMinFilterTests(tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) argument 591 createSamplerLodTests(tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat, VkSamplerMipmapMode mipmapMode) argument 626 createSamplerMipmapTests(tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) argument 689 createSamplerAddressModesTests(tcu::TestContext& testCtx, VkImageViewType imageViewType, VkFormat imageFormat) argument [all...] |
H A D | vktPipelineImageSamplingInstance.cpp | 188 VkFormat imageFormat, 203 , m_imageFormat (imageFormat) 224 if (!isSupportedSamplableFormat(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat)) 225 throw tcu::NotSupportedError(std::string("Unsupported format for sampling: ") + getFormatName(imageFormat)); 233 !isLinearFilteringSupported(context.getInstanceInterface(), context.getPhysicalDevice(), imageFormat, VK_IMAGE_TILING_OPTIMAL)) 234 throw tcu::NotSupportedError(std::string("Unsupported format for linear filtering: ") + getFormatName(imageFormat)); 242 if (isCompressedFormat(imageFormat) && imageViewType == VK_IMAGE_VIEW_TYPE_3D) 249 imageFormat, 283 if (isCompressedFormat(imageFormat)) 284 m_texture = createTestTexture(mapVkCompressedFormat(imageFormat), imageViewTyp 185 ImageSamplingInstance(Context& context, const tcu::UVec2& renderSize, VkImageViewType imageViewType, VkFormat imageFormat, const tcu::IVec3& imageSize, int layerCount, const VkComponentMapping& componentMapping, const VkImageSubresourceRange& subresourceRange, const VkSamplerCreateInfo& samplerParams, float samplerLod, const std::vector<Vertex4Tex4>& vertices, VkDescriptorType samplingType, int imageCount, AllocationKind allocationKind) argument [all...] |
H A D | vktPipelineSpecConstantTests.cpp | 575 const VkFormat imageFormat = VK_FORMAT_R8G8B8A8_UNORM; local 576 const Image colorImage (vk, device, allocator, makeImageCreateInfo(renderSize, imageFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT), MemoryRequirement::Any); 577 const Unique<VkImageView> colorImageView(makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, imageFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, 1u))); 623 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, imageFormat));
|
/external/skia/src/sfnt/ |
H A D | SkOTTable_EBLC.h | 93 SK_OT_USHORT imageFormat; //format of 'EBDT' image data member in struct:IndexSubHeader
|
/external/skqp/src/sfnt/ |
H A D | SkOTTable_EBLC.h | 93 SK_OT_USHORT imageFormat; //format of 'EBDT' image data member in struct:IndexSubHeader
|
/external/deqp/executor/ |
H A D | xeTestResultParser.cpp | 227 static ri::Image::Format getImageFormat (const char* imageFormat) argument 229 return (ri::Image::Format)getEnumValue("image format", s_imageFormatMap, DE_LENGTH_OF_ARRAY(s_imageFormatMap), imageFormat);
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationUtil.hpp | 204 vk::VkFormat imageFormat; member in struct:vkt::synchronization::ResourceDescription
|
H A D | vktSynchronizationOperation.cpp | 935 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); 1707 const std::string imageFormat = getShaderImageFormatQualifier(m_resourceDesc.imageFormat); local 1708 const std::string imageType = getShaderImageType(m_resourceDesc.imageFormat, m_resourceDesc.imageType); 1711 declSrc << "layout(set = 0, binding = 0, " << imageFormat << ") readonly uniform " << imageType << " srcImg;\n" 1712 << "layout(set = 0, binding = 1, " << imageFormat << ") writeonly uniform " << imageType << " dstImg;\n"; 1914 , m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRAPHICS_BIT : VK_QUEUE_TRANSFER_BIT) 2101 , m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceDesc.imageFormat) ? VK_QUEUE_GRAPHICS_BIT : VK_QUEUE_TRANSFER_BIT) 2453 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); 2477 const VkClearValue clearValue = makeClearValue(m_resourceDesc.imageFormat); [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-cbdt-table.hh | 106 UINT16 imageFormat; member in struct:OT::IndexSubtableHeader 170 *format = u.header.imageFormat;
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageLoadStoreTests.cpp | 187 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat readFormat) argument 191 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); 194 const float storeColorScale = computeStoreColorScale(imageFormat, imageSize); 195 const float storeColorBias = computeStoreColorBias(imageFormat); 197 const bool intFormat = isIntegerFormat(imageFormat); 215 if (isFloatFormat(readFormat) && imageFormat != readFormat) 217 if (isSnormFormat(readFormat) && imageFormat != readFormat) 223 inline tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat) argument 225 return generateReferenceImage(imageSize, imageFormat, imageFormat); 815 LoadStoreTest(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const deUint32 flags) argument 907 LoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const bool declareImageFormatInShader, const bool singleLayerBind) argument 996 ImageLoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const bool declareImageFormatInShader, const bool singleLayerBind) argument 1159 BufferLoadStoreTestInstance(Context& context, const Texture& texture, const VkFormat format, const VkFormat imageFormat, const bool declareImageFormatInShader) argument [all...] |
H A D | vktImageMutableTests.cpp | 97 VkFormat imageFormat; member in struct:vkt::image::CaseDef 1077 m_imageIsIntegerFormat = isUintFormat(m_caseDef.imageFormat) || isIntFormat(m_caseDef.imageFormat); 1086 m_image = makeImage(m_vk, m_device, imageFlags, getImageType(m_caseDef.imageType), m_caseDef.imageFormat, m_caseDef.viewFormat, 1226 const VkDeviceSize pixelSize = tcu::getPixelSize(mapVkFormat(m_caseDef.imageFormat)); 1234 const tcu::TextureFormat tcuFormat = mapVkFormat(m_caseDef.imageFormat); 1653 vki.getPhysicalDeviceFormatProperties(physDevice, caseDef.imageFormat, &imageFormatProps); 1710 const VkDeviceSize colorBufferSize = caseDef.size.x() * caseDef.size.y() * caseDef.size.z() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.imageFormat)); 1725 const VkFormat format = caseDef.upload == UPLOAD_CLEAR || caseDef.upload == UPLOAD_COPY ? caseDef.imageFormat : caseDef.viewFormat;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiImageClearingTests.cpp | 463 VkFormat imageFormat; member in struct:vkt::api::__anon4258::TestParams 544 , m_isAttachmentFormat (getIsAttachmentFormat(params.imageFormat)) 545 , m_imageUsageFlags (getImageUsageFlags(params.imageFormat)) 546 , m_imageAspectFlags (getImageAspectFlags(params.imageFormat)) 554 params.imageFormat, 562 params.imageFormat, 566 , m_renderPass (m_isAttachmentFormat ? createRenderPass(params.imageFormat) : vk::Move<vk::VkRenderPass>()) 657 const VkResult result = m_vki.getPhysicalDeviceImageFormatProperties(m_context.getPhysicalDevice(), m_params.imageFormat, m_params.imageType, 905 const TextureFormat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_params.imageFormat) : 906 aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ? getDepthCopyFormat(m_params.imageFormat) [all...] |
H A D | vktApiCopiesAndBlittingTests.cpp | 805 const tcu::TextureFormat imageFormat = mapVkFormat(parms.format); local 806 de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(imageFormat, parms.extent.width >> mipLevel, parms.extent.height >> mipLevel, parms.extent.depth)); 808 if (tcu::isCombinedDepthStencilType(imageFormat.type)) 810 if (tcu::hasDepthComponent(imageFormat.order)) 812 tcu::TextureLevel depthTexture (mapCombinedToDepthTransferFormat(imageFormat), parms.extent.width, parms.extent.height, parms.extent.depth); 817 if (tcu::hasStencilComponent(imageFormat.order)) 819 tcu::TextureLevel stencilTexture (tcu::getEffectiveDepthStencilTextureFormat(imageFormat, tcu::Sampler::MODE_STENCIL), parms.extent.width, parms.extent.height, parms.extent.depth);
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemShaderImageAccessTests.cpp | 91 vk::VkFormat imageFormat; member in struct:vkt::ProtectedMem::__anon4439::Params 97 , imageFormat (vk::VK_FORMAT_UNDEFINED) 107 , imageFormat (imageFormat_) 114 return deInt32Hash(params.shaderType) ^ deInt32Hash(params.accessType) ^ deInt32Hash(params.imageFormat) ^ deInt32Hash(params.atomicOperation); 256 , m_validator (params.imageFormat) 275 const tcu::TextureFormat& texFormat = mapVkFormat(m_params.imageFormat); 276 const std::string imageFormat = getShaderImageFormatQualifier(texFormat); local 279 const std::string colorVecType = isIntFormat(m_params.imageFormat) ? "ivec4" : 280 isUintFormat(m_params.imageFormat) ? "uvec4" : "vec4"; 354 << (isUintFormat(m_params.imageFormat) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiDisplayTimingTests.cpp | 900 const vk::VkFormat imageFormat = formats[0].format; local 909 imageFormat, 984 const vk::VkFormat imageFormat = m_swapchainConfig.imageFormat; local 989 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); 1006 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews);
|
H A D | vktWsiIncrementalPresentTests.cpp | 1017 const vk::VkFormat imageFormat = formats[formatNdx].format; local 1026 imageFormat, 1105 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; local 1113 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); 1130 initImageViews(m_vkd, *m_device, m_swapchainImages, imageFormat, m_swapchainImageViews);
|
H A D | vktWsiSharedPresentableImageTests.cpp | 863 const vk::VkFormat imageFormat = formats[formatNdx].format; local 872 imageFormat, 980 const vk::VkFormat imageFormat = m_swapchainConfigs[m_swapchainConfigNdx].imageFormat; local 985 m_renderPass = createRenderPass(m_vkd, *m_device, imageFormat); 988 m_swapchainImageView = createImageView(m_vkd, *m_device, m_swapchainImage, imageFormat);
|
/external/deqp/framework/qphelper/ |
H A D | qpTestLog.c | 691 static deBool compressImagePNG (Buffer* buffer, qpImageFormat imageFormat, int width, int height, int rowStride, const void* data) argument 697 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; 701 DE_ASSERT(imageFormat == QP_IMAGE_FORMAT_RGB888 || imageFormat == QP_IMAGE_FORMAT_RGBA8888); 800 * \param imageFormat Color format 812 qpImageFormat imageFormat, 850 deBool compressOk = compressImagePNG(&compressedBuffer, imageFormat, width, height, stride, data); 870 int pixelSize = imageFormat == QP_IMAGE_FORMAT_RGB888 ? 3 : 4; 914 attribs[numAttribs++] = qpSetStringAttrib("Format", QP_LOOKUP_STRING(s_qpImageFormatMap, imageFormat)); 807 qpTestLog_writeImage( qpTestLog* log, const char* name, const char* description, qpImageCompressionMode compressionMode, qpImageFormat imageFormat, int width, int height, int stride, const void* data) argument
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderImageLoadStoreTests.cpp | 1289 ImageLoadAndStoreCase (Context& context, const char* name, const char* description, const TextureFormat& textureFormat, const TextureFormat& imageFormat, TextureType textureType, deUint32 caseFlags = 0) argument 1292 , m_imageFormat (imageFormat) 1297 DE_ASSERT(textureFormat.getPixelSize() == imageFormat.getPixelSize()); 1305 static void replaceBadFloatReinterpretValues (LayeredImage& image, const TextureFormat& imageFormat); 1315 void ImageLoadAndStoreCase::replaceBadFloatReinterpretValues (LayeredImage& image, const TextureFormat& imageFormat) argument 1318 const int pixelSize = imageFormat.getPixelSize(); 1319 const int imageNumChannels = imageFormat.order == tcu::TextureFormat::R ? 1 1320 : imageFormat.order == tcu::TextureFormat::RGBA ? 4
|
/external/mesa3d/include/vulkan/ |
H A D | vulkan.h | 3319 VkFormat imageFormat; member in struct:VkSwapchainCreateInfoKHR
|