Home
last modified time | relevance | path

Searched refs:format (Results 6076 - 6100 of 11519) sorted by relevance

1...<<241242243244245246247248249250>>...461

/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.c400 res_tmpl.format = PIPE_FORMAT_R32_FLOAT; in vl_zscan_layout()
434 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_layout()
515 res_tmpl.format = PIPE_FORMAT_R8_UNORM; in vl_zscan_init_buffer()
528 u_sampler_view_default_template(&sv_tmpl, res, res->format); in vl_zscan_init_buffer()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dtests.rs213 format!("{}.{}", maj, min) in compare_generated_header()
215 expectation.push(format!("libclang-{}", version_str)); in compare_generated_header()
283 return Err(Error::new(ErrorKind::Other, format!("Checking CLI flags roundtrip errored! You probably need to fix Builder::command_line_flags. {}", e))); in compare_generated_header()
384 // We format in `compare_generated_header` ourselves to have a little in create_bindgen_builder()
697 .map(|x| format!("{}", shlex::quote(x))) in build_flags_output_helper()
/third_party/python/Lib/test/
H A Dtest_calendar.py388 result_2004_html.format(**format_).encode(res)
422 return [[[' '.join('{:02d}/{:02d}/{}'.format(
489 calendar.format(["1", "2", "3"], colwidth=3, spacing=1)
951 result_2004_html.format(**default_format).encode('ascii'))
965 'different_locale', 'c', 'prweek', 'week', 'format',
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassTestsUtil.cpp54 format = format_; in AttachmentDescription1()
78 format = format_; in AttachmentDescription2()
519 Attachment::Attachment (VkFormat format, in Attachment() argument
531 : m_format (format) in Attachment()
622 attachment.getFormat(), // VkFormat format; || VkFormat format; in createAttachmentDescription()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DStateManagerGL.h121 const angle::Format *format = &angle::Format::Get(angle::FormatID::R32G32B32A32_FLOAT); member
186 GLenum format);
405 : texture(0), level(0), layered(false), layer(0), access(GL_READ_ONLY), format(GL_R32UI) in ImageUnitBinding()
413 GLenum format; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
H A DDIE.cpp89 LLVM_DEBUG(dbgs() << "Invalid form " << format("0x%x", AttrData.getForm()) in Emit()
111 << format("0x%lx", (long)(intptr_t)this) in print()
249 O << Indent << "Die: " << format("0x%lx", (long)(intptr_t) this) in print()
685 llvm_unreachable("Invalid DWARF format");
694 O << format("Die: 0x%lx", (long)(intptr_t)&Entry);
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArrayColorDepthAttachments.cpp411 /* Current format does not work too well, try another one */ in determineSupportedDepthFormat()
432 throw tcu::NotSupportedError("Implementation does not support any known depth format"); in determineSupportedDepthFormat()
536 /* Determine which depth format can be used as a depth attachment without in initTest()
566 TCU_FAIL("Unrecognized depth internal format"); in initTest()
733 glw::GLenum format = GL_NONE; in prepareMutableTextureObject() local
737 /* Set internal_format, format and type accordingly to requested texture type */ in prepareMutableTextureObject()
741 format = m_color_format; in prepareMutableTextureObject()
747 format = m_depth_format; in prepareMutableTextureObject()
757 n_cubemaps * 6 /* layer-faces per cube-map */, 0 /* border */, format, type, in prepareMutableTextureObject()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkObjUtil.cpp257 VK_FORMAT_R32G32B32A32_SFLOAT, // VkFormat format in makeGraphicsPipeline()
593 colorFormat, // VkFormat format in makeRenderPass()
606 depthStencilFormat, // VkFormat format in makeRenderPass()
669 const VkFormat format, in makeImageView()
680 format, // VkFormat format; in makeImageView()
690 const VkFormat format, in makeBufferView()
700 format, // VkFormat format; in makeBufferView()
665 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange, const VkImageViewUsageCreateInfo* imageUsageCreateInfo) makeImageView() argument
687 makeBufferView(const DeviceInterface& vk, const VkDevice vkDevice, const VkBuffer buffer, const VkFormat format, const VkDeviceSize offset, const VkDeviceSize size) makeBufferView() argument
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_gles_2_0_autogen.h73 GLenum format,
207 GLenum format,
244 GLenum format,
257 GLenum format,
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
H A Dtest_new_connection.c45 spdylay_printf(const char *format, ...) in spdylay_printf() argument
47 (void)format; in spdylay_printf()
53 spdylay_fprintf(FILE *stream, const char *format, ...) in spdylay_fprintf() argument
56 (void)format; in spdylay_fprintf()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
H A DRenderPipelineVk.cpp41 VkFormat VulkanVertexFormat(wgpu::VertexFormat format) { in VulkanVertexFormat() argument
42 switch (format) { in VulkanVertexFormat()
586 attributeDesc->format = VulkanVertexFormat(attributeInfo.format); in ComputeVertexInputDesc()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilCopyTests.cpp51 texDescriptor.format = wgpu::TextureFormat::Depth24PlusStencil8; in CreateDepthStencilTexture()
63 texDescriptor.format = wgpu::TextureFormat::Depth32Float; in CreateDepthTexture()
70 wgpu::TextureFormat format, in PopulatePipelineDescriptorWriteDepth()
80 wgpu::DepthStencilState* depthStencil = desc->EnableDepthStencil(format); in PopulatePipelineDescriptorWriteDepth()
69 PopulatePipelineDescriptorWriteDepth(utils::ComboRenderPipelineDescriptor* desc, wgpu::TextureFormat format, float regionDepth) PopulatePipelineDescriptorWriteDepth() argument
H A DIndexFormatTests.cpp33 wgpu::RenderPipeline MakeTestPipeline(wgpu::IndexFormat format, in MakeTestPipeline() argument
58 descriptor.primitive.stripIndexFormat = format; in MakeTestPipeline()
62 descriptor.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in MakeTestPipeline()
63 descriptor.cTargets[0].format = renderPass.colorFormat; in MakeTestPipeline()
69 // Test that the Uint32 index format is correctly interpreted
97 // Test that the Uint16 index format is correctly interpreted
124 // Test that the index format used is the format of the last set pipeline. This is to
125 // prevent a case in D3D12 where the index format would be captured from the last
157 // for backends where the index format i
[all...]
/third_party/pulseaudio/src/modules/rtp/
H A Drtp-gstreamer.c51 * 127 for anything other than format == S16BE and rate == 44.1 KHz,
73 if (ss->format != PA_SAMPLE_S16BE && ss->format != PA_SAMPLE_S16LE) in caps_from_sample_spec()
77 "format", G_TYPE_STRING, enable_opus ? "S16LE" : "S16BE", in caps_from_sample_spec()
114 pa_log("Unsupported format to payload"); in init_send_pipeline()
129 g_object_set(appsrc, "caps", caps, "is-live", TRUE, "blocksize", mtu, "format", 3 /* time */, NULL); in init_send_pipeline()
355 if (ss->format != PA_SAMPLE_S16BE && ss->format != PA_SAMPLE_S16LE) in rtp_caps_from_sample_spec()
457 pa_log("Unsupported format to payload"); in init_receive_pipeline()
467 "format", G_TYPE_STRIN in init_receive_pipeline()
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DDrawVertexAndIndexBufferOOBValidationTests.cpp70 wgpu::VertexFormat format; member
154 descriptor.cAttributes[attributeCount].format = attribute.format; in CreateRenderPipelineWithBufferDesc()
164 descriptor.cTargets[0].format = renderPass.colorFormat; in CreateRenderPipelineWithBufferDesc()
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_images.py237 self.assertEqual(image['format'], '')
238 image.configure(file=self.testfile, format='gif')
239 self.assertEqual(image['format'], ('gif',) if self.wantobjects
349 format='ppm',
358 image.write(os_helper.TESTFN, format='gif', from_coords=(4, 6, 6, 9))
360 format='gif',
/third_party/python/Lib/
H A Dtokenize.py178 .format(row, col, self.prev_row, self.prev_col))
338 msg = '{} for {!r}'.format(msg, filename)
352 msg = "unknown encoding for {!r}: {}".format(filename,
362 msg = 'encoding problem for {!r}: utf-8'.format(filename)
/third_party/spirv-tools/source/opt/
H A Dtrim_capabilities_pass.cpp315 const uint32_t format = type->GetSingleWordInOperand(kOpTypeImageFormatIndex); in Handler_OpImageRead_StorageImageReadWithoutFormat() local
317 const bool is_unknown = spv::ImageFormat(format) == spv::ImageFormat::Unknown; in Handler_OpImageRead_StorageImageReadWithoutFormat()
336 const uint32_t format = type->GetSingleWordInOperand(kOpTypeImageFormatIndex); in Handler_OpImageSparseRead_StorageImageReadWithoutFormat() local
338 return spv::ImageFormat(format) == spv::ImageFormat::Unknown in Handler_OpImageSparseRead_StorageImageReadWithoutFormat()
345 // clang-format off
356 // clang-format on
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderHelperInvocationTests.cpp203 FboHelper (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples);
220 FboHelper::FboHelper (const glu::RenderContext& renderCtx, int width, int height, deUint32 format, int numSamples) in FboHelper() argument
233 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, m_numSamples, format, width, height); in FboHelper()
245 gl.renderbufferStorage(GL_RENDERBUFFER, format, width, height); in FboHelper()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassTestsUtil.cpp54 format = format_; in AttachmentDescription1()
78 format = format_; in AttachmentDescription2()
519 Attachment::Attachment (VkFormat format, in Attachment() argument
531 : m_format (format) in Attachment()
622 attachment.getFormat(), // VkFormat format; || VkFormat format; in createAttachmentDescription()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES.cpp41 // List of compressed format that require that the texture size is smaller than or a multiple of in CompressedTextureFormatRequiresExactSize()
133 bool ValidReadPixelsFormatEnum(const Context *context, GLenum format) in ValidReadPixelsFormatEnum() argument
135 switch (format) in ValidReadPixelsFormatEnum()
194 GLenum format, in ValidReadPixelsFormatType()
202 switch (format) in ValidReadPixelsFormatType()
221 return (format == GL_RGBA && type == GL_BYTE && info->pixelBytes >= 1) || in ValidReadPixelsFormatType()
222 (context->getExtensions().textureNorm16EXT && format == GL_RGBA && in ValidReadPixelsFormatType()
226 return (format == GL_RGBA_INTEGER && type == GL_INT); in ValidReadPixelsFormatType()
229 return (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_INT); in ValidReadPixelsFormatType()
232 switch (format) in ValidReadPixelsFormatType()
192 ValidReadPixelsFormatType(const Context *context, const gl::InternalFormat *info, GLenum format, GLenum type) ValidReadPixelsFormatType() argument
1166 ValidImageDataSize(const Context *context, angle::EntryPoint entryPoint, TextureType texType, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels, GLsizei imageSize) ValidImageDataSize() argument
1922 const auto &format = *(texture->getFormat(baseTarget, effectiveBaseLevel).info); ValidateGenerateMipmapBase() local
1985 ValidateReadPixelsRobustANGLE(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const GLsizei *length, const GLsizei *columns, const GLsizei *rows, const void *pixels) ValidateReadPixelsRobustANGLE() argument
2026 ValidateReadnPixelsEXT(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void *pixels) ValidateReadnPixelsEXT() argument
2047 ValidateReadnPixelsRobustANGLE(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const GLsizei *length, const GLsizei *columns, const GLsizei *rows, const void *data) ValidateReadnPixelsRobustANGLE() argument
6950 ValidatePixelPack(const Context *context, angle::EntryPoint entryPoint, GLenum format, GLenum type, GLint x, GLint y, GLsizei width, GLsizei height, GLsizei bufSize, GLsizei *length, const void *pixels) ValidatePixelPack() argument
7045 ValidateReadPixelsBase(const Context *context, angle::EntryPoint entryPoint, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei *length, GLsizei *columns, GLsizei *rows, const void *pixels) ValidateReadPixelsBase() argument
8243 ValidateTexImage2DExternalANGLE(const Context *context, angle::EntryPoint entryPoint, TextureTarget target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type) ValidateTexImage2DExternalANGLE() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp215 static bool FormatIsASTC(VkFormat format) in FormatIsASTC() argument
217 return deInRange32(format, VK_FORMAT_ASTC_4x4_UNORM_BLOCK, VK_FORMAT_ASTC_12x12_SRGB_BLOCK); in FormatIsASTC()
234 const VkFormat format,
361 const VkFormat format, in generateData()
429 deUint32 seed = (layer << 24) ^ (level << 16) ^ static_cast<deUint32>(format); in generateData()
437 // Remove certain values that may not be preserved based on the uncompressed view format in generateData()
442 // SNORM fix: due to write operation in SNORM format in generateData()
970 m_parameters.formatCompressed, // VkFormat format; in createImageInfos()
987 if (m_context.getInstanceInterface().getPhysicalDeviceImageFormatProperties(m_context.getPhysicalDevice(), compressedInfo.format, compressedInfo.imageType, compressedInfo.tiling, compressedInfo.usage, compressedInfo.flags, &imageFormatProperties) != VK_SUCCESS) in createImageInfos()
1013 m_parameters.formatUncompressed, // VkFormat format; in createImageInfos()
359 generateData(deUint8* toFill, const size_t size, const VkFormat format, const deUint32 layer, const deUint32 level) generateData() argument
1971 makeCreateImageInfo(const VkFormat format, const ImageType type, const UVec3& size, const VkImageUsageFlags usageFlags, const VkImageCreateFlags* createFlags, const deUint32 levels, const deUint32 layers) makeCreateImageInfo() argument
2016 getCompressedImageData(const VkFormat format, const UVec3& size, std::vector<deUint8>& data, const deUint32 layer, const deUint32 level) getCompressedImageData() argument
2030 getUncompressedImageData(const VkFormat format, const UVec3& size, std::vector<deUint8>& data, const deUint32 layer, const deUint32 level) getUncompressedImageData() argument
2989 getUnniceResolution(const VkFormat format, const deUint32 layers) getUnniceResolution() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageCompressionTranscodingSupport.cpp215 static bool FormatIsASTC(VkFormat format) in FormatIsASTC() argument
217 return deInRange32(format, VK_FORMAT_ASTC_4x4_UNORM_BLOCK, VK_FORMAT_ASTC_12x12_SRGB_BLOCK); in FormatIsASTC()
234 const VkFormat format,
361 const VkFormat format, in generateData()
429 deUint32 seed = (layer << 24) ^ (level << 16) ^ static_cast<deUint32>(format); in generateData()
437 // Remove certain values that may not be preserved based on the uncompressed view format in generateData()
442 // SNORM fix: due to write operation in SNORM format in generateData()
959 m_parameters.formatCompressed, // VkFormat format; in createImageInfos()
976 if (m_context.getInstanceInterface().getPhysicalDeviceImageFormatProperties(m_context.getPhysicalDevice(), compressedInfo.format, compressedInfo.imageType, compressedInfo.tiling, compressedInfo.usage, compressedInfo.flags, &imageFormatProperties) != VK_SUCCESS) in createImageInfos()
1002 m_parameters.formatUncompressed, // VkFormat format; in createImageInfos()
359 generateData(deUint8* toFill, const size_t size, const VkFormat format, const deUint32 layer, const deUint32 level) generateData() argument
1956 makeCreateImageInfo(const VkFormat format, const ImageType type, const UVec3& size, const VkImageUsageFlags usageFlags, const VkImageCreateFlags* createFlags, const deUint32 levels, const deUint32 layers) makeCreateImageInfo() argument
2001 getCompressedImageData(const VkFormat format, const UVec3& size, std::vector<deUint8>& data, const deUint32 layer, const deUint32 level) getCompressedImageData() argument
2015 getUncompressedImageData(const VkFormat format, const UVec3& size, std::vector<deUint8>& data, const deUint32 layer, const deUint32 level) getUncompressedImageData() argument
2975 getUnniceResolution(const VkFormat format, const deUint32 layers) getUnniceResolution() argument
[all...]
/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/vulkan/
H A Dvulkan_example.cpp267 createInfo.imageFormat = surfaceFormat.format; in CreateSwapChain()
297 swapChainImageFormat = surfaceFormat.format; in CreateSwapChain()
310 createInfo.format = swapChainImageFormat; in CreateImageViews()
328 colorAttachment.format = swapChainImageFormat; in CreateRenderPass()
463 vertexInputAttributes[0].format = VK_FORMAT_R32G32B32_SFLOAT; in PrepareVertexInputState()
470 vertexInputAttributes[1].format = VK_FORMAT_R32G32B32_SFLOAT; in PrepareVertexInputState()
941 if (availableFormat.format == VK_FORMAT_B8G8R8A8_SRGB && in ChooseSwapSurfaceFormat()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c279 u32 format; member
507 u32 lanes, u32 format, unsigned int *lane_mbps) in dw_mipi_dsi_get_lane_mbps()
526 dsi->format = format; in dw_mipi_dsi_get_lane_mbps()
527 bpp = mipi_dsi_pixel_format_to_bpp(dsi->format); in dw_mipi_dsi_get_lane_mbps()
529 DRM_DEV_ERROR(dsi->dev, "failed to get bpp for pixel format %d\n", dsi->format); in dw_mipi_dsi_get_lane_mbps()
683 switch (dsi->format) { in dw_mipi_dsi_encoder_atomic_check()
506 dw_mipi_dsi_get_lane_mbps(void *priv_data, const struct drm_display_mode *mode, unsigned long mode_flags, u32 lanes, u32 format, unsigned int *lane_mbps) dw_mipi_dsi_get_lane_mbps() argument

Completed in 42 milliseconds

1...<<241242243244245246247248249250>>...461