Home
last modified time | relevance | path

Searched refs:format (Results 226 - 250 of 7431) sorted by relevance

12345678910>>...298

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsClusteredTests.cpp56 VkFormat format; member
108 subgroups::getAdditionalExtensionForFormat(caseDef.format); in getExtHeader()
113 const string formatName = subgroups::getFormatNameForGLSL(caseDef.format); in getTestSrc()
115 const string identity = getIdentity(caseDef.op, caseDef.format); in getTestSrc()
116 const string opOperation = getOpOperation(caseDef.op, caseDef.format, "ref", "data[index]"); in getTestSrc()
117 const string compare = getCompare(caseDef.op, caseDef.format, "ref", "op"); in getTestSrc()
164 subgroups::initStdFrameBufferPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDef.geometryPointSizeSupported, extHeader, testSrc, ""); in initFrameBufferPrograms()
179 subgroups::initStdPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDef.geometryPointSizeSupported, extHeader, testSrc, ""); in initPrograms()
190 if (!subgroups::isFormatSupportedForDevice(context, caseDef.format)) in supportedCheck()
191 TCU_THROW(NotSupportedError, "Device does not support the specified format i in supportedCheck()
409 const VkFormat format = formats[formatIndex]; createSubgroupsClusteredTests() local
514 const VkFormat format = formats[formatIndex]; createSubgroupsClusteredTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsArithmeticTests.cpp71 VkFormat format; member
178 subgroups::getAdditionalExtensionForFormat(caseDef.format); in getExtHeader()
198 " " + subgroups::getFormatNameForGLSL(caseDef.format) + " ref = " in getTestSrc()
199 + getIdentity(caseDef.op, caseDef.format) + ";\n" in getTestSrc()
205 " ref = " + getOpOperation(caseDef.op, caseDef.format, "ref", "data[index]") + ";\n" in getTestSrc()
208 " tempRes = " + getCompare(caseDef.op, caseDef.format, "ref", getOpTypeName(caseDef.op, caseDef.scanType) + "(data[gl_SubgroupInvocationID])") + " ? 0x1 : 0;\n" in getTestSrc()
212 " ref = " + getIdentity(caseDef.op, caseDef.format) + ";\n" in getTestSrc()
217 " ref = " + getOpOperation(caseDef.op, caseDef.format, "ref", "data[index]") + ";\n" in getTestSrc()
220 " tempRes |= " + getCompare(caseDef.op, caseDef.format, "ref", getOpTypeName(caseDef.op, caseDef.scanType) + "(data[gl_SubgroupInvocationID])") + " ? 0x2 : 0;\n" in getTestSrc()
234 subgroups::initStdFrameBufferPrograms(programCollection, buildOptions, caseDef.shaderStage, caseDef.format, *caseDe in initFrameBufferPrograms()
466 const VkFormat format = formats[formatIndex]; createSubgroupsArithmeticTests() local
566 const VkFormat format = formats[formatIndex]; createSubgroupsArithmeticTests() local
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DScriptIDModuleWriter.java46 MessageFormat format = new MessageFormat(scriptPreamble); in writeScriptHeader()
56 output.println(format.format(args)); in writeScriptHeader()
60 format = new MessageFormat(scriptPreambleStable); in writeScriptHeader()
61 output.println(format.format(args)); in writeScriptHeader()
85 format = new MessageFormat(scriptPreambleStable); in writeScriptHeader()
87 output.println(format.format(args)); in writeScriptHeader()
133 MessageFormat format in writeLanguageHeader()
[all...]
/third_party/libsnd/src/
H A Dcommand.c115 if (data->format < 0 || data->format >= (SIGNED_SIZEOF (simple_formats) / SIGNED_SIZEOF (SF_FORMAT_INFO))) in psf_get_format_simple()
118 indx = data->format ; in psf_get_format_simple()
125 ** Major format info.
146 { SF_FORMAT_OGG, "OGG (OGG Container format)", "oga" },
174 if (data->format < 0 || data->format >= (SIGNED_SIZEOF (major_formats) / SIGNED_SIZEOF (SF_FORMAT_INFO))) in psf_get_format_major()
177 indx = data->format ; in psf_get_format_major()
184 ** Subtype format info.
248 if (data->format < in psf_get_format_subtype()
264 { int k, format ; psf_get_format_info() local
[all...]
/third_party/pulseaudio/src/modules/oss/
H A Doss-util.c159 int format, channels, speed, reqformat; in pa_oss_auto_format() local
186 orig_format = ss->format; in pa_oss_auto_format()
188 reqformat = format = format_trans[ss->format]; in pa_oss_auto_format()
189 if (reqformat == AFMT_QUERY || ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != reqformat) { in pa_oss_auto_format()
190 format = AFMT_S16_NE; in pa_oss_auto_format()
191 if (ioctl(fd, SNDCTL_DSP_SETFMT, &format) < 0 || format != AFMT_S16_NE) { in pa_oss_auto_format()
193 format in pa_oss_auto_format()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dformat_info.py60 sys.exit("error, could not determine base format for {0}, check swizzle".format(fmat.name));
185 print(' [{0}] = {{'.format(fmat.name))
186 print(' .Name = {0},'.format(fmat.name))
187 print(' .StrName = "{0}",'.format(fmat.name))
188 print(' .Layout = {0},'.format('MESA_FORMAT_LAYOUT_' + fmat.layout.upper()))
189 print(' .BaseFormat = {0},'.format(get_gl_base_format(fmat)))
190 print(' .DataType = {0},'.format(get_gl_data_type(fmat)))
193 print(' {0},'.format(', '.join(format_channel_bits(fmat, bits))))
195 print(' {0},'.format(', '
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_blit.h6 #include "util/format/u_format.h"
89 return (util_format_is_depth_or_stencil(info->src.format) || in nv50_blit_get_filter()
90 util_format_is_pure_integer(info->src.format)) ? 0 : 1; in nv50_blit_get_filter()
108 nv50_blit_zeta_to_colour_format(enum pipe_format format) in nv50_blit_zeta_to_colour_format() argument
110 switch (format) { in nv50_blit_zeta_to_colour_format()
139 switch (info->dst.format) { in nv50_blit_derive_color_mask()
172 switch (info->dst.format) { in nv50_blit_eng2d_get_mask()
198 nv50_2d_dst_format_faithful(enum pipe_format format) in nv50_2d_dst_format_faithful() argument
203 uint8_t id = nv50_format_table[format].rt; in nv50_2d_dst_format_faithful()
207 nv50_2d_src_format_faithful(enum pipe_format format) in nv50_2d_src_format_faithful() argument
217 nv50_2d_format_supported(enum pipe_format format) nv50_2d_format_supported() argument
225 nv50_2d_dst_format_ops_supported(enum pipe_format format) nv50_2d_dst_format_ops_supported() argument
[all...]
/third_party/python/Tools/msi/
H A Dcsv_to_wxs.py69 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
71 lines.append(' <Directory Id="{}_{}" Name="{}" />'.format(dir_parent, make_id(dir_name), dir_name))
74 lines.append(' <DirectoryRef Id="{}">'.format(dir_parent))
75 lines.append(' <Directory Id="{}___pycache__" Name="__pycache__" />'.format(dir_parent))
82 ' <ComponentGroup Id="{}">'.format(group),
85 lines.append(' <Component Id="{}" Directory="{}" Guid="*">'.format(make_id(target), make_id(target.parent)))
87 lines.append(' <Condition>{}</Condition>'.format(condition))
90 lines.append(' <File Id="{}" Name="{}" Source="{}" DiskId="{}" />'.format(make_id(target), target.name, source, disk_id))
92 lines.append(' <File Id="{}" Name="{}" Source="{}" />'.format(make_id(target), target.name, source))
100 lines.append(' <Component Id="{}__pycache__folders" Directory="TARGETDIR" Guid="{}">'.format(grou
[all...]
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dfish.rs15 format!("{name}.fish") in file_name()
59 let mut basic_template = format!("complete -c {root_command}"); in gen_fish_inner()
67 format!( in gen_fish_inner()
71 .map(|command| format!("__fish_seen_subcommand_from {command}")) in gen_fish_inner()
74 .map(|command| format!("not __fish_seen_subcommand_from {command}")) in gen_fish_inner()
90 template.push_str(format!(" -s {short}").as_str()); in gen_fish_inner()
96 template.push_str(format!(" -l {}", escape_string(long, false)).as_str()); in gen_fish_inner()
102 .push_str(format!(" -d '{}'", escape_string(&data.to_string(), false)).as_str()); in gen_fish_inner()
116 template.push_str(format!(" -s {short}").as_str()); in gen_fish_inner()
122 template.push_str(format!(" in gen_fish_inner()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Draw_logging.cc89 // sprintf the format to the buffer, adjusting *buf and *size to reflect the
93 bool VADoRawLog(char** buf, int* size, const char* format, va_list ap)
95 bool VADoRawLog(char** buf, int* size, const char* format, va_list ap) { in VADoRawLog() argument
96 int n = vsnprintf(*buf, *size, format, ap); in VADoRawLog()
120 bool DoRawLog(char** buf, int* size, const char* format, ...)
122 bool DoRawLog(char** buf, int* size, const char* format, ...) { in DoRawLog() argument
124 va_start(ap, format); in DoRawLog()
125 int n = vsnprintf(*buf, *size, format, ap); in DoRawLog()
134 const char* format, va_list ap) ABSL_PRINTF_ATTRIBUTE(4, 0);
136 const char* format, va_lis in RawLogVA()
135 RawLogVA(absl::LogSeverity severity, const char* file, int line, const char* format, va_list ap) RawLogVA() argument
212 RawLog(absl::LogSeverity severity, const char* file, int line, const char* format, ...) RawLog() argument
[all...]
/third_party/backends/backend/genesys/
H A Dimage_pipeline.cpp42 std::size_t width, std::size_t height, PixelFormat format, std::size_t input_batch_size, in ImagePipelineNodeBufferedCallableSource()
46 format_{format},
72 PixelFormat format, in ImagePipelineNodeArraySource()
76 format_{format},
189 auto format = get_format(); in get_next_row_data() local
203 auto pixel = get_raw_pixel_from_row(in_data, input_offset + ipixel, format); in get_next_row_data()
204 set_raw_pixel_to_row(out_data, output_offset + ipixel, pixel, format); in get_next_row_data()
310 auto format = source_.get_format(); in get_next_row_data() local
313 std::uint16_t ch0 = get_raw_channel_from_row(row0, x, 0, format); in get_next_row_data()
314 std::uint16_t ch1 = get_raw_channel_from_row(row1, x, 0, format); in get_next_row_data()
41 ImagePipelineNodeBufferedCallableSource( std::size_t width, std::size_t height, PixelFormat format, std::size_t input_batch_size, ProducerCallback producer) ImagePipelineNodeBufferedCallableSource() argument
71 ImagePipelineNodeArraySource(std::size_t width, std::size_t height, PixelFormat format, std::vector<std::uint8_t> data) ImagePipelineNodeArraySource() argument
375 auto format = source_.get_format(); get_next_row_data() local
512 auto format = get_format(); get_next_row_data() local
555 auto format = get_format(); get_next_row_data() local
596 auto format = get_format(); get_next_row_data() local
661 auto format = get_format(); get_next_row_data() local
728 auto format = get_format(); get_next_row_data() local
783 auto format = get_format(); get_next_row_data() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.cpp63 const tcu::TextureFormat& format) in SparseImage()
69 allocateAndBindSparseImage(vkd, device, physicalDevice, vki, createInfo, m_semaphore.get(), sparseQueue, allocator, m_allocations, format, m_image.get()); in SparseImage()
261 vertexFormatPosition, // VkFormat format; in makeGraphicsPipeline()
361 inputFormat, // VkFormat format; in makeRenderPass()
373 colorFormat, // VkFormat format; in makeRenderPass()
439 tcu::UVec3 getCompressedImageResolutionInBlocks (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionInBlocks() argument
441 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionInBlocks()
442 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionInBlocks()
453 tcu::UVec3 getCompressedImageResolutionBlockCeil (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionBlockCeil() argument
455 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionBlockCeil()
56 SparseImage(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkPhysicalDevice physicalDevice, const vk::InstanceInterface& vki, const vk::VkImageCreateInfo& createInfo, const vk::VkQueue sparseQueue, vk::Allocator& allocator, const tcu::TextureFormat& format) SparseImage() argument
467 getCompressedImageSizeInBytes(const vk::VkFormat format, const tcu::UVec3& size) getCompressedImageSizeInBytes() argument
476 getUncompressedImageSizeInBytes(const vk::VkFormat format, const tcu::UVec3& size) getUncompressedImageSizeInBytes() argument
545 getFormatPrefix(const tcu::TextureFormat& format) getFormatPrefix() argument
552 getShaderImageType(const tcu::TextureFormat& format, const ImageType imageType, const bool multisample) getShaderImageType() argument
589 getShaderImageFormatQualifier(const tcu::TextureFormat& format) getShaderImageFormatQualifier() argument
656 getGlslSamplerType(const tcu::TextureFormat& format, VkImageViewType type) getGlslSamplerType() argument
681 getGlslInputFormatType(const vk::VkFormat format) getGlslInputFormatType() argument
712 getGlslFormatType(const vk::VkFormat format) getGlslFormatType() argument
743 getGlslAttachmentType(const vk::VkFormat format) getGlslAttachmentType() argument
767 getGlslInputAttachmentType(const vk::VkFormat format) getGlslInputAttachmentType() argument
791 isPackedType(const vk::VkFormat format) isPackedType() argument
828 isComponentSwizzled(const vk::VkFormat format) isComponentSwizzled() argument
849 getNumUsedChannels(const vk::VkFormat format) getNumUsedChannels() argument
859 isFormatImageLoadStoreCapable(const vk::VkFormat format) isFormatImageLoadStoreCapable() argument
910 getFormatShortString(const VkFormat format) getFormatShortString() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTestsUtil.cpp63 const tcu::TextureFormat& format) in SparseImage()
69 allocateAndBindSparseImage(vkd, device, physicalDevice, vki, createInfo, m_semaphore.get(), sparseQueue, allocator, m_allocations, format, m_image.get()); in SparseImage()
261 vertexFormatPosition, // VkFormat format; in makeGraphicsPipeline()
361 inputFormat, // VkFormat format; in makeRenderPass()
373 colorFormat, // VkFormat format; in makeRenderPass()
439 tcu::UVec3 getCompressedImageResolutionInBlocks (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionInBlocks() argument
441 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionInBlocks()
442 deUint32 blockHeight = getBlockHeight(format); in getCompressedImageResolutionInBlocks()
453 tcu::UVec3 getCompressedImageResolutionBlockCeil (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionBlockCeil() argument
455 deUint32 blockWidth = getBlockWidth(format); in getCompressedImageResolutionBlockCeil()
56 SparseImage(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkPhysicalDevice physicalDevice, const vk::InstanceInterface& vki, const vk::VkImageCreateInfo& createInfo, const vk::VkQueue sparseQueue, vk::Allocator& allocator, const tcu::TextureFormat& format) SparseImage() argument
467 getCompressedImageSizeInBytes(const vk::VkFormat format, const tcu::UVec3& size) getCompressedImageSizeInBytes() argument
476 getUncompressedImageSizeInBytes(const vk::VkFormat format, const tcu::UVec3& size) getUncompressedImageSizeInBytes() argument
545 getFormatPrefix(const tcu::TextureFormat& format) getFormatPrefix() argument
552 getShaderImageType(const tcu::TextureFormat& format, const ImageType imageType, const bool multisample) getShaderImageType() argument
589 getShaderImageFormatQualifier(const tcu::TextureFormat& format) getShaderImageFormatQualifier() argument
656 getGlslSamplerType(const tcu::TextureFormat& format, VkImageViewType type) getGlslSamplerType() argument
681 getGlslInputFormatType(const vk::VkFormat format) getGlslInputFormatType() argument
712 getGlslFormatType(const vk::VkFormat format) getGlslFormatType() argument
743 getGlslAttachmentType(const vk::VkFormat format) getGlslAttachmentType() argument
767 getGlslInputAttachmentType(const vk::VkFormat format) getGlslInputAttachmentType() argument
791 isPackedType(const vk::VkFormat format) isPackedType() argument
828 isComponentSwizzled(const vk::VkFormat format) isComponentSwizzled() argument
849 getNumUsedChannels(const vk::VkFormat format) getNumUsedChannels() argument
859 isFormatImageLoadStoreCapable(const vk::VkFormat format) isFormatImageLoadStoreCapable() argument
910 getFormatShortString(const VkFormat format) getFormatShortString() argument
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/test-runner/
H A Dmain.go79 flag.StringVar(&formatList, "format", "wgsl,spvasm,msl,hlsl", "comma separated list of formats to emit. Possible values are: all, wgsl, spvasm, msl, hlsl, glsl")
148 // Parse --format into a list of outputFormat
166 return fmt.Errorf("unknown format '%s'", f)
220 for _, format := range formats {
221 fileResults[format] = make(chan status, 1)
242 for _, format := range formats { // For each output format...
246 format: format,
247 result: results[i][format],
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureTests.cpp125 * @param format Texture internal format
130 void SparseTextureUtils::getTexturePageSizes(const glw::Functions& gl, glw::GLint target, glw::GLint format, in getTexturePageSizes() argument
133 gl.getInternalformativ(target, format, GL_VIRTUAL_PAGE_SIZE_X_ARB, 1, &pageSizeX); in getTexturePageSizes()
136 gl.getInternalformativ(target, format, GL_VIRTUAL_PAGE_SIZE_Y_ARB, 1, &pageSizeY); in getTexturePageSizes()
139 gl.getInternalformativ(target, format, GL_VIRTUAL_PAGE_SIZE_Z_ARB, 1, &pageSizeZ); in getTexturePageSizes()
220 * @param internal_format Internal format of texture
261 * @param format Format of data
265 void Texture::GetData(const glw::Functions& gl, glw::GLint level, glw::GLenum target, glw::GLenum format, in GetData() argument
268 gl.getTexImage(target, level, format, typ in GetData()
286 SubImage(const glw::Functions& gl, glw::GLenum target, glw::GLint level, glw::GLint x, glw::GLint y, glw::GLint z, glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format, glw::GLenum type, const glw::GLvoid* pixels) SubImage() argument
881 const GLint& format = *formIter; iterate() local
1095 const GLint& format = *formIter; iterate() local
1098 mLog << "Testing sparse texture allocation for target: " << target << ", format: " << format << " - "; iterate() local
1122 const GLint& format = *formIter; iterate() local
1125 mLog << "Testing sparse texture allocation for target [full array]: " << target << ", format: " << format iterate() local
1151 positiveTesting(const Functions& gl, GLint target, GLint format) positiveTesting() argument
1201 verifyTexParameterErrors(const Functions& gl, GLint target, GLint format) verifyTexParameterErrors() argument
1304 verifyTexStorageVirtualPageSizeIndexError(const Functions& gl, GLint target, GLint format) verifyTexStorageVirtualPageSizeIndexError() argument
1363 verifyTexStorageFullArrayCubeMipmapsError(const Functions& gl, GLint target, GLint format) verifyTexStorageFullArrayCubeMipmapsError() argument
1439 verifyTexStorageInvalidValueErrors(const Functions& gl, GLint target, GLint format) verifyTexStorageInvalidValueErrors() argument
1712 const GLint& format = *formIter; iterate() local
1718 mLog << "Testing sparse texture commitment for target: " << target << ", format: " << format << " - "; iterate() local
1771 texPageCommitment(const glw::Functions& gl, glw::GLint target, glw::GLint format, glw::GLuint& texture, GLint level, GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth, GLboolean commit) texPageCommitment() argument
1789 caseAllowed(GLint target, GLint format) caseAllowed() argument
1805 prepareTexture(const Functions& gl, GLint target, GLint format, GLuint& texture) prepareTexture() argument
1841 sparseAllocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels) sparseAllocateTexture() argument
1870 allocateTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint levels) allocateTexture() argument
1898 writeDataToTexture(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) writeDataToTexture() argument
1944 verifyTextureData(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) verifyTextureData() argument
2063 commitTexturePage(const Functions& gl, GLint target, GLint format, GLuint& texture, GLint level) commitTexturePage() argument
2157 verifyInvalidOperationErrors(const Functions& gl, GLint target, GLint format, GLuint& texture) verifyInvalidOperationErrors() argument
2278 verifyInvalidValueErrors(const Functions& gl, GLint target, GLint format, GLuint& texture) verifyInvalidValueErrors() argument
2370 const GLint& format = *formIter; iterate() local
2373 mLog << "Testing DSA sparse texture commitment for target: " << target << ", format: " << format << " - "; iterate() local
2422 texPageCommitment(const glw::Functions& gl, glw::GLint target, glw::GLint format, glw::GLuint& texture, GLint level, GLint xOffset, GLint yOffset, GLint zOffset, GLint width, GLint height, GLint depth, GLboolean commit) texPageCommitment() argument
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_formats.h23 bool tu6_format_vtx_supported(VkFormat format);
24 struct tu_native_format tu6_format_vtx(VkFormat format);
25 bool tu6_format_color_supported(enum pipe_format format);
26 struct tu_native_format tu6_format_color(enum pipe_format format, enum a6xx_tile_mode tile_mode);
27 bool tu6_format_texture_supported(enum pipe_format format);
28 struct tu_native_format tu6_format_texture(enum pipe_format format, enum a6xx_tile_mode tile_mode);
31 tu6_base_format(enum pipe_format format) in tu6_base_format() argument
34 return tu6_format_color(format, TILE6_LINEAR).fmt; in tu6_base_format()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_format.h31 nv30_format_info(struct pipe_screen *pscreen, enum pipe_format format) in nv30_format_info() argument
33 return &nv30_format_info_table[format]; in nv30_format_info()
38 nv30_format(struct pipe_screen *pscreen, enum pipe_format format) in nv30_format() argument
40 return &nv30_format_table[format]; in nv30_format()
45 nv30_vtxfmt(struct pipe_screen *pscreen, enum pipe_format format) in nv30_vtxfmt() argument
47 return &nv30_vtxfmt_table[format]; in nv30_vtxfmt()
52 nv30_texfmt(struct pipe_screen *pscreen, enum pipe_format format) in nv30_texfmt() argument
54 return &nv30_texfmt_table[format]; in nv30_texfmt()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_sampler_view.c27 #include "util/format/u_format.h"
347 * Given a user-specified texture base format, the actual gallium texture
348 * format and the current GL_DEPTH_MODE, return a texture swizzle.
351 * format the driver actually uses an RGBA format. The A component should
441 * with depth component data specified with a sized internal format. in get_texture_format_swizzle()
458 /* Combine the texture format swizzle with user's swizzle */ in get_texture_format_swizzle()
508 * Determine the format for the texture sampler view.
515 enum pipe_format format; in st_get_sampler_view_format() local
518 format in st_get_sampler_view_format()
588 st_create_texture_sampler_view_from_stobj(struct st_context *st, struct gl_texture_object *texObj, enum pipe_format format, bool glsl130_or_later) st_create_texture_sampler_view_from_stobj() argument
669 enum pipe_format format = st_get_sampler_view_format(st, texObj, st_get_texture_sampler_view_from_stobj() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c51 tex->stride = align(util_format_get_stride(templ->format, width), RAND_NUM_SIZE); in alloc_cpu_texture()
52 tex->layer_stride = util_format_get_2d_size(templ->format, tex->stride, height); in alloc_cpu_texture()
66 unsigned num_y_blocks = util_format_get_nblocksy(tex->format, height); in set_random_pixels()
94 /* tex1 and tex2 are assumed to be the same size, format, and layout */ in set_random_pixels_for_2_textures()
100 unsigned width = align(u_minify(tex1->width0, level), util_format_get_blockwidth(tex1->format)); in set_random_pixels_for_2_textures()
101 unsigned height = align(u_minify(tex1->height0, level), util_format_get_blockheight(tex1->format)); in set_random_pixels_for_2_textures()
102 unsigned num_y_blocks = util_format_get_nblocksy(tex1->format, height); in set_random_pixels_for_2_textures()
146 unsigned stride = util_format_get_stride(tex->format, width); in compare_textures()
147 unsigned num_y_blocks = util_format_get_nblocksy(tex->format, height); in compare_textures()
173 /* tex1 and tex2 are assumed to be the same size, format, an in compare_gpu_textures()
236 enum pipe_format format = (rand() % (PIPE_FORMAT_COUNT - 1)) + 1; get_random_format() local
[all...]
/third_party/icu/icu4c/source/test/iotest/
H A Diotest.cpp210 UChar format[512]; in DataDrivenPrintf() local
245 tempStr=testCase->getString("format", errorCode); in DataDrivenPrintf()
246 tempStr.extract(format, UPRV_LENGTHOF(format), errorCode); in DataDrivenPrintf()
251 u_austrncpy(cBuffer, format, sizeof(cBuffer)); in DataDrivenPrintf()
258 log_verbose("Test %d: format=\"%s\"\n", i, cBuffer); in DataDrivenPrintf()
262 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); in DataDrivenPrintf()
263 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, dbl); in DataDrivenPrintf()
267 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8); in DataDrivenPrintf()
268 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, i in DataDrivenPrintf()
412 UChar format[512]; DataDrivenScanf() local
615 UChar format[512]; DataDrivenPrintfPrecision() local
[all...]
/third_party/libexif/libexif/olympus/
H A Dmnote-olympus-entry.c28 #include <libexif/exif-format.h>
33 #define CF(format,target,v,maxlen) \
35 if (format != target) { \
37 _("Invalid format '%s', " \
39 exif_format_get_name (format), \
45 #define CF2(format,target1,target2,v,maxlen) \
47 if ((format != target1) && (format != target2)) { \
49 _("Invalid format '%s', " \
51 exif_format_get_name (format), \
[all...]
/third_party/alsa-lib/test/
H A Dchmap.c21 " -f format PCM format\n" in usage()
52 static int setup_pcm(snd_pcm_t *pcm, int format, int channels, int rate) in setup_pcm() argument
61 if (format != SND_PCM_FORMAT_UNKNOWN) { in setup_pcm()
62 if (snd_pcm_hw_params_set_format(pcm, params, format) < 0) { in setup_pcm()
63 printf("Cannot set format %s\n", in setup_pcm()
64 snd_pcm_format_name(format)); in setup_pcm()
87 static int get_chmap(snd_pcm_t *pcm, int format, int channels, int rate) in get_chmap() argument
91 if (setup_pcm(pcm, format, channels, rate)) in get_chmap()
104 static int set_chmap(snd_pcm_t *pcm, int format, in argument
156 int format = SND_PCM_FORMAT_UNKNOWN; main() local
[all...]
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
H A Dh264dinport.c71 OMX_VIDEO_PORTDEFINITIONTYPE * p_def = &(p_prc->out_port_def_.format.video); in h264d_inport_SetParameter()
75 if ((p_def->nFrameWidth == i_def->format.video.nFrameWidth) && in h264d_inport_SetParameter()
76 (p_def->nFrameHeight == i_def->format.video.nFrameHeight) && in h264d_inport_SetParameter()
77 (p_def->eCompressionFormat == i_def->format.video.eCompressionFormat)) in h264d_inport_SetParameter()
81 if (i_def->format.video.nStride == 0) in h264d_inport_SetParameter()
82 i_def->format.video.nStride = i_def->format.video.nFrameWidth; in h264d_inport_SetParameter()
83 if (i_def->format.video.nSliceHeight == 0) in h264d_inport_SetParameter()
84 i_def->format.video.nSliceHeight = i_def->format in h264d_inport_SetParameter()
[all...]
/third_party/ntfs-3g/include/ntfs-3g/
H A Dlogging.h38 u32 level, void *data, const char *format, va_list args);
42 __attribute__((format(printf, 6, 0))));
45 ntfs_log_handler ntfs_log_handler_syslog __attribute__((format(printf, 6, 0)));
46 ntfs_log_handler ntfs_log_handler_fprintf __attribute__((format(printf, 6, 0)));
47 ntfs_log_handler ntfs_log_handler_null __attribute__((format(printf, 6, 0)));
48 ntfs_log_handler ntfs_log_handler_stdout __attribute__((format(printf, 6, 0)));
49 ntfs_log_handler ntfs_log_handler_outerr __attribute__((format(printf, 6, 0)));
50 ntfs_log_handler ntfs_log_handler_stderr __attribute__((format(printf, 6, 0)));
66 u32 level, void *data, const char *format, ...)
67 __attribute__((format(print
[all...]
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DDebug.cpp102 void logv(Level level, const char *format, va_list args) in logv() argument
108 vsnprintf(buffer, sizeof(buffer), format, args); in logv()
127 vfprintf(file, format, args); in logv()
138 void trace(const char *format, ...) in trace() argument
141 va_start(vararg, format); in trace()
142 logv(Level::Debug, format, vararg); in trace()
146 void warn(const char *format, ...) in warn() argument
149 va_start(vararg, format); in warn()
150 logv(Level::Warn, format, vararg); in warn()
154 void abort(const char *format, argument
[all...]

Completed in 15 milliseconds

12345678910>>...298