Home
last modified time | relevance | path

Searched refs:format (Results 401 - 425 of 10967) sorted by relevance

1...<<11121314151617181920>>...439

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsPartitionedTests.cpp72 VkFormat format; member
187 + subgroups::getAdditionalExtensionForFormat(caseDef.format); in getExtHeader()
197 string fmt = subgroups::getFormatNameForGLSL(caseDef.format); in getTestString()
209 " if (" + getCompare(op, caseDef.format, "allResult", "refResult") + ") {\n" in getTestString()
220 " if (" + getCompare(op, caseDef.format, "allResult", "refResult") + ") {\n" in getTestString()
231 expectedSelfResult = getIdentity(op, caseDef.format); in getTestString()
236 " if (" + getCompare(op, caseDef.format, "selfResult", expectedSelfResult) + ") {\n" in getTestString()
251 " if (" + getCompare(op, caseDef.format, "idhashFmt", "iFmt") + ") {\n" in getTestString()
253 " tempResult |= " + getCompare(op, caseDef.format, "partitionedResult", "subsetResult") + " ? (0x4 << N) : 0;\n" in getTestString()
265 " if (" + getCompare(op, caseDef.format, "idhashFm in getTestString()
509 const VkFormat format = formats[formatIndex]; createSubgroupsPartitionedTests() local
616 const VkFormat format = formats[formatIndex]; createSubgroupsPartitionedTests() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dflvenc.c30 int format; in ff_flv_encode_picture_header() local
41 format = 2; in ff_flv_encode_picture_header()
43 format = 3; in ff_flv_encode_picture_header()
45 format = 4; in ff_flv_encode_picture_header()
47 format = 5; in ff_flv_encode_picture_header()
49 format = 6; in ff_flv_encode_picture_header()
51 format = 0; /* use 1 byte width & height */ in ff_flv_encode_picture_header()
53 format = 1; /* use 2 bytes width & height */ in ff_flv_encode_picture_header()
54 put_bits(&s->pb, 3, format); /* PictureSize */ in ff_flv_encode_picture_header()
55 if (format in ff_flv_encode_picture_header()
[all...]
/third_party/lame/ACM/ADbg/
H A DADbg.cpp64 inline int ADbg::_OutPut(const char * format,va_list params) const in _OutPut() argument
83 format); in _OutPut()
94 format); in _OutPut()
97 wsprintf( myformat, "%s\r\n", format); in _OutPut()
99 wsprintf( myformat, "%s - %s\r\n", prefix, format); in _OutPut()
116 int ADbg::OutPut(int forLevel, const char * format,...) const in OutPut() argument
124 va_start(tstlist, format); in OutPut()
126 result = _OutPut(format,tstlist); in OutPut()
133 int ADbg::OutPut(const char * format,...) const in OutPut() argument
137 va_start(tstlist, format); in OutPut()
[all...]
/third_party/mesa3d/src/util/
H A Dlog.c69 mesa_log(enum mesa_log_level level, const char *tag, const char *format, ...) in mesa_log() argument
73 va_start(va, format); in mesa_log()
74 mesa_log_v(level, tag, format, va); in mesa_log()
79 mesa_log_v(enum mesa_log_level level, const char *tag, const char *format, in mesa_log_v() argument
83 __android_log_vprint(level_to_android(level), tag, format, va); in mesa_log_v() local
89 vfprintf(stderr, format, va); in mesa_log_v()
90 if (format[strlen(format) - 1] != '\n') in mesa_log_v()
138 void mesa_log_stream_printf(struct log_stream *stream, const char *format, ...) in mesa_log_stream_printf() argument
143 va_start(va, format); in mesa_log_stream_printf()
[all...]
H A Du_debug_describe.c28 #include "util/format/u_format.h"
44 sprintf(buf, "pipe_buffer<%u>", (unsigned)util_format_get_stride(ptr->format, ptr->width0)); in debug_describe_resource()
47 sprintf(buf, "pipe_texture1d<%u,%s,%u>", ptr->width0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
50 sprintf(buf, "pipe_texture2d<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
53 sprintf(buf, "pipe_texture_rect<%u,%u,%s>", ptr->width0, ptr->height0, util_format_short_name(ptr->format)); in debug_describe_resource()
56 sprintf(buf, "pipe_texture_cube<%u,%u,%s,%u>", ptr->width0, ptr->height0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
59 sprintf(buf, "pipe_texture3d<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->depth0, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
62 sprintf(buf, "pipe_texture_1darray<%u,%u,%s,%u>", ptr->width0, ptr->array_size, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
65 sprintf(buf, "pipe_texture_2darray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, util_format_short_name(ptr->format), ptr->last_level); in debug_describe_resource()
68 sprintf(buf, "pipe_texture_cubearray<%u,%u,%u,%s,%u>", ptr->width0, ptr->height0, ptr->array_size, util_format_short_name(ptr->format), pt in debug_describe_resource()
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_etc2.c32 #include "util/format/u_format.h"
39 if (!util_format_is_etc(prsc->format)) in etna_etc2_needs_patching()
45 switch (prsc->format) { in etna_etc2_needs_patching()
80 enum pipe_format format, in etna_etc2_calculate_blocks()
83 const unsigned bw = util_format_get_blockwidth(format); in etna_etc2_calculate_blocks()
84 const unsigned bh = util_format_get_blockheight(format); in etna_etc2_calculate_blocks()
85 const unsigned bs = util_format_get_blocksize(format); in etna_etc2_calculate_blocks()
90 if (format == PIPE_FORMAT_ETC2_RGB8A1 || in etna_etc2_calculate_blocks()
91 format == PIPE_FORMAT_ETC2_SRGB8A1) in etna_etc2_calculate_blocks()
94 if (format in etna_etc2_calculate_blocks()
78 etna_etc2_calculate_blocks(uint8_t *buffer, unsigned stride, unsigned width, unsigned height, enum pipe_format format, struct util_dynarray *offsets) etna_etc2_calculate_blocks() argument
[all...]
H A Detnaviv_clear_blit.c73 etna_clear_blit_pack_rgba(enum pipe_format format, const union pipe_color_union *color) in etna_clear_blit_pack_rgba() argument
77 util_pack_color_union(format, &uc, color); in etna_clear_blit_pack_rgba()
79 switch (util_format_get_blocksize(format)) { in etna_clear_blit_pack_rgba()
113 util_format_short_name(info.src.resource->format), in etna_blit()
114 util_format_short_name(info.dst.resource->format)); in etna_blit()
193 assert(src->format == dst->format); in etna_copy_resource()
198 blit.mask = util_format_get_mask(dst->format); in etna_copy_resource()
201 blit.src.format = src->format; in etna_copy_resource()
[all...]
/third_party/mesa3d/src/glx/
H A Drenderpix.c69 * \param format Format of the image
83 GLenum format, GLenum type, const GLvoid * src, in __glXSendLargeImage()
95 __glFillImage(gc, dim, width, height, depth, format, type, in __glXSendLargeImage()
121 GLsizei width, GLsizei height, GLenum format, in __indirect_glSeparableFilter2D()
129 compsize = __glImageSize(width, 1, 1, format, type, 0); in __indirect_glSeparableFilter2D()
130 compsize2 = __glImageSize(height, 1, 1, format, type, 0); in __indirect_glSeparableFilter2D()
146 __GLX_PUT_LONG(16, format); in __indirect_glSeparableFilter2D()
150 __glFillImage(gc, 1, width, 1, 1, format, type, row, pc, in __indirect_glSeparableFilter2D()
155 __glFillImage(gc, 1, height, 1, 1, format, type, column, pc, NULL); in __indirect_glSeparableFilter2D()
175 __GLX_PUT_LONG(16, format); in __indirect_glSeparableFilter2D()
81 __glXSendLargeImage(struct glx_context * gc, GLint compsize, GLint dim, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid * src, GLubyte * pc, GLubyte * modes) __glXSendLargeImage() argument
120 __indirect_glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) __indirect_glSeparableFilter2D() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DExternalTexture.cpp26 wgpu::TextureFormat format) { in ValidateExternalTexturePlane()
27 if (textureView->GetFormat().format != format) { in ValidateExternalTexturePlane()
29 "The external texture descriptor specifies a texture format that is different from " in ValidateExternalTexturePlane()
60 const Format* format; in ValidateExternalTextureDescriptor() local
61 DAWN_TRY_ASSIGN(format, device->GetInternalFormat(descriptor->format)); in ValidateExternalTextureDescriptor()
62 DAWN_UNUSED(format); in ValidateExternalTextureDescriptor()
64 switch (descriptor->format) { in ValidateExternalTextureDescriptor()
69 ValidateExternalTexturePlane(descriptor->plane0, descriptor->format), in ValidateExternalTextureDescriptor()
25 ValidateExternalTexturePlane(const TextureViewBase* textureView, wgpu::TextureFormat format) ValidateExternalTexturePlane() argument
[all...]
/third_party/vk-gl-cts/framework/common/
H A DtcuCompressedTexture.hpp97 int getBlockSize (CompressedTexFormat format);
98 IVec3 getBlockPixelSize (CompressedTexFormat format);
100 bool isEtcFormat (CompressedTexFormat format);
101 bool isAstcFormat (CompressedTexFormat format);
102 bool isAstcSRGBFormat (CompressedTexFormat format);
103 bool isBcFormat (CompressedTexFormat format);
104 bool isBcBitExactFormat (CompressedTexFormat format);
105 bool isBcSRGBFormat (CompressedTexFormat format);
107 TextureFormat getUncompressedFormat (CompressedTexFormat format);
134 CompressedTexture (CompressedTexFormat format, in
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dtexgetimage.c83 GLenum format, GLenum type, GLvoid *pixels, in get_tex_depth()
106 width, height, format, type, in get_tex_depth()
132 GLenum format, GLenum type, GLvoid *pixels, in get_tex_depth_stencil()
137 assert(format == GL_DEPTH_STENCIL); in get_tex_depth_stencil()
152 width, height, format, type, in get_tex_depth_stencil()
188 GLenum format, GLenum type, GLvoid *pixels, in get_tex_stencil()
193 assert(format == GL_STENCIL_INDEX); in get_tex_stencil()
209 width, height, format, type, in get_tex_stencil()
234 GLenum format, GLenum type, GLvoid *pixels, in get_tex_ycbcr()
252 width, height, format, typ in get_tex_ycbcr()
80 get_tex_depth(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_depth() argument
129 get_tex_depth_stencil(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_depth_stencil() argument
185 get_tex_stencil(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_stencil() argument
231 get_tex_ycbcr(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_ycbcr() argument
317 get_tex_rgba_compressed(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage, GLbitfield transferOps) get_tex_rgba_compressed() argument
400 _mesa_base_pack_format(GLenum format) _mesa_base_pack_format() argument
434 get_tex_rgba_uncompressed(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage, GLbitfield transferOps) get_tex_rgba_uncompressed() argument
574 get_tex_rgba(struct gl_context *ctx, GLuint dimensions, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_rgba() argument
619 get_tex_memcpy(struct gl_context *ctx, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) get_tex_memcpy() argument
695 _mesa_GetTexSubImage_sw(struct gl_context *ctx, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, struct gl_texture_image *texImage) _mesa_GetTexSubImage_sw() argument
1095 pbo_error_check(struct gl_context *ctx, GLenum target, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei clientMemSize, GLvoid *pixels, const char *caller) pbo_error_check() argument
1139 teximage_error_check(struct gl_context *ctx, struct gl_texture_image *texImage, GLenum format, const char *caller) teximage_error_check() argument
1211 common_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) common_error_check() argument
1263 getteximage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) getteximage_error_check() argument
1305 gettexsubimage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) gettexsubimage_error_check() argument
1386 get_texture_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, const char *caller) get_texture_image() argument
1453 _get_texture_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) _get_texture_image() argument
1486 _mesa_GetnTexImageARB(GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels) _mesa_GetnTexImageARB() argument
1503 _mesa_GetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels ) _mesa_GetTexImage() argument
1520 _mesa_GetTextureImage(GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels) _mesa_GetTextureImage() argument
1543 _mesa_GetTextureImageEXT(GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) _mesa_GetTextureImageEXT() argument
1567 _mesa_GetMultiTexImageEXT(GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) _mesa_GetMultiTexImageEXT() argument
1605 _mesa_GetTextureSubImage(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels) _mesa_GetTextureSubImage() argument
1645 packed_compressed_size(GLuint dimensions, mesa_format format, GLsizei width, GLsizei height, GLsizei depth, const struct gl_pixelstore_attrib *packing) packed_compressed_size() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_blit.c27 #include "util/format/u_format.h"
125 util_format_description(texture->resource.b.b.format); in r600_blit_decompress_depth()
172 surf_tmpl.format = texture->resource.b.b.format; in r600_blit_decompress_depth()
179 surf_tmpl.format = flushed_depth_texture->resource.b.b.format; in r600_blit_decompress_depth()
227 surf_tmpl.format = texture->resource.b.b.format; in r600_blit_decompress_depth_in_place()
358 surf_tmpl.format = rtex->resource.b.b.format; in r600_blit_decompress_color()
823 enum pipe_format format = info->src.format; do_hardware_msaa_resolve() local
[all...]
/third_party/alsa-utils/bat/
H A Dcommon.c40 fprintf(bat->err, _("Invalid format: sample size=%d\n"), in update_fmt_to_bat()
76 /* If the format header is larger, skip the rest */ in read_chunk_fmt()
166 wav->format.magic = WAV_FMT; in prepare_wav_info()
167 wav->format.fmt_size = 16; in prepare_wav_info()
168 wav->format.format = WAV_FORMAT_PCM; in prepare_wav_info()
169 wav->format.channels = bat->channels; in prepare_wav_info()
170 wav->format.sample_rate = bat->rate; in prepare_wav_info()
171 wav->format.sample_length = bat->sample_size * 8; in prepare_wav_info()
172 wav->format in prepare_wav_info()
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dprintf.cpp56 std::string format = (char *)fmt.strings.data(); in print_formatted() local
60 printf("%s", format.c_str()); in print_formatted()
66 const size_t spec_pos = util_printf_next_spec_pos(format.c_str(), fmt_pos); in print_formatted()
67 const size_t cur_tok = format.rfind('%', spec_pos); in print_formatted()
68 const size_t next_spec = util_printf_next_spec_pos(format.c_str(), spec_pos); in print_formatted()
70 format.rfind('%', next_spec); in print_formatted()
72 size_t vec_pos = format.find_first_of("v", cur_tok + 1); in print_formatted()
73 size_t mod_pos = format.find_first_of("hl", cur_tok + 1); in print_formatted()
75 // print the part before the format token in print_formatted()
77 std::string s = format in print_formatted()
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_fragtex.c49 const struct nv30_texfmt *fmt = nv30_texfmt(pscreen, sv->pipe.format); in nv30_fragtex_validate()
54 u32 format = sv->fmt | ss->fmt; in nv30_fragtex_validate() local
77 format |= NV40_3D_TEX_FORMAT_FORMAT_A8L8; in nv30_fragtex_validate()
80 format |= NV40_3D_TEX_FORMAT_FORMAT_A16L16; in nv30_fragtex_validate()
82 format |= fmt->nv40; in nv30_fragtex_validate()
84 format |= fmt->nv40; in nv30_fragtex_validate()
100 format |= NV30_3D_TEX_FORMAT_FORMAT_A8L8; in nv30_fragtex_validate()
102 format |= NV30_3D_TEX_FORMAT_FORMAT_A8L8_RECT; in nv30_fragtex_validate()
106 format |= NV30_3D_TEX_FORMAT_FORMAT_HILO16; in nv30_fragtex_validate()
108 format | in nv30_fragtex_validate()
[all...]
/third_party/libinput/tools/
H A Dlibinput-measure-touchpad-tap.py35 print("Error: {}".format(e), file=sys.stderr)
97 print("Using {}: {}\n".format(self.name, self.path))
134 msg("\rTouch sequences detected: {}".format(len(self.touches)), end="")
184 print(" Max delta: {}ms".format(int(dmax)))
185 print(" Min delta: {}ms".format(int(dmin)))
186 print(" Average delta: {}ms".format(int(davg)))
187 print(" Median delta: {}ms".format(int(dmedian)))
188 print(" 90th percentile: {}ms".format(int(d90pc)))
189 print(" 95th percentile: {}ms".format(int(d95pc)))
229 def print(self, format)
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_image.c43 VkFormat format) in radv_choose_tiling()
54 if (!vk_format_is_compressed(format) && !vk_format_is_depth_or_stencil(format) && in radv_choose_tiling()
70 VkFormat format) in radv_use_tc_compat_htile_for_image()
93 if (pCreateInfo->samples >= 2 && format == VK_FORMAT_D32_SFLOAT_S8_UINT) in radv_use_tc_compat_htile_for_image()
101 if (format != VK_FORMAT_D32_SFLOAT_S8_UINT && format != VK_FORMAT_D32_SFLOAT && in radv_use_tc_compat_htile_for_image()
102 format != VK_FORMAT_D16_UNORM) in radv_use_tc_compat_htile_for_image()
159 VkFormat format, VkImageCreateFlags flags, bool *sign_reinterpret) in radv_are_formats_dcc_compatible()
163 if (!radv_is_colorbuffer_format_supported(pdev, format, in radv_are_formats_dcc_compatible()
42 radv_choose_tiling(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, VkFormat format) radv_choose_tiling() argument
69 radv_use_tc_compat_htile_for_image(struct radv_device *device, const VkImageCreateInfo *pCreateInfo, VkFormat format) radv_use_tc_compat_htile_for_image() argument
158 radv_are_formats_dcc_compatible(const struct radv_physical_device *pdev, const void *pNext, VkFormat format, VkImageCreateFlags flags, bool *sign_reinterpret) radv_are_formats_dcc_compatible() argument
195 radv_format_is_atomic_allowed(struct radv_device *device, VkFormat format) radv_format_is_atomic_allowed() argument
204 radv_formats_is_atomic_allowed(struct radv_device *device, const void *pNext, VkFormat format, VkImageCreateFlags flags) radv_formats_is_atomic_allowed() argument
228 radv_use_dcc_for_image_early(struct radv_device *device, struct radv_image *image, const VkImageCreateInfo *pCreateInfo, VkFormat format, bool *sign_reinterpret) radv_use_dcc_for_image_early() argument
543 etc2_emulation_format(VkFormat format) etc2_emulation_format() argument
586 VkFormat format = radv_image_get_plane_format(device->physical_device, image, plane_id); radv_get_surface_flags() local
941 vi_alpha_is_on_msb(struct radv_device *device, VkFormat format) vi_alpha_is_on_msb() argument
1061 uint32_t format; gfx10_make_texture_descriptor() local
1613 VkFormat format = radv_image_get_plane_format(pdev, image, i); radv_image_reset_layout() local
1778 radv_select_modifier(const struct radv_device *dev, VkFormat format, const struct VkImageDrmFormatModifierListCreateInfoEXT *mod_list) radv_select_modifier() argument
1824 VkFormat format = radv_select_android_external_format(pCreateInfo->pNext, pCreateInfo->format); radv_image_create() local
2202 VkFormat format = vk_format_get_plane_format(iview->vk.view_format, i); radv_image_view_init() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_drm_plane.c48 state->pending.format = DRM_FORMAT_RGB565; in mtk_plane_reset()
71 uint32_t format, in mtk_plane_format_mod_supported()
83 if (format != DRM_FORMAT_XRGB8888 && in mtk_plane_format_mod_supported()
84 format != DRM_FORMAT_ARGB8888 && in mtk_plane_format_mod_supported()
85 format != DRM_FORMAT_BGRX8888 && in mtk_plane_format_mod_supported()
86 format != DRM_FORMAT_BGRA8888 && in mtk_plane_format_mod_supported()
87 format != DRM_FORMAT_ABGR8888 && in mtk_plane_format_mod_supported()
88 format != DRM_FORMAT_XBGR8888 && in mtk_plane_format_mod_supported()
89 format != DRM_FORMAT_RGB888 && in mtk_plane_format_mod_supported()
90 format ! in mtk_plane_format_mod_supported()
70 mtk_plane_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) mtk_plane_format_mod_supported() argument
139 unsigned int pitch, format; mtk_plane_update_new_state() local
[all...]
/third_party/icu/icu4c/source/samples/date/
H A Ddate.c52 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status);
53 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *locale, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status);
77 const char *format = NULL; in main() local
104 /* display date in long format */ in main()
108 /* display date in medium format */ in main()
112 /* display date in short format */ in main()
116 else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) { in main()
119 format = argv[optInd]; in main()
173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main()
175 format in main()
253 date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status ) date() argument
305 getWhen(const char *millis, const char *seconds, const char *format, const char *locale, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status) getWhen() argument
[all...]
/third_party/libsnd/programs/
H A Dsndfile-convert.c96 " The format of the output file is determined by the file extension of the\n" in usage_exit()
108 { int old_format = sfinfo->format ; in report_format_error_exit()
109 int endian = sfinfo->format & SF_FORMAT_ENDMASK ; in report_format_error_exit()
112 sfinfo->format = old_format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK) ; in report_format_error_exit()
115 { printf ("Error : output file format does not support %s endian-ness.\n", sfe_endian_name (endian)) ; in report_format_error_exit()
121 { printf ("Error : output file format does not support %d channels.\n", channels) ; in report_format_error_exit()
126 "Error : output file format is invalid.\n" in report_format_error_exit()
129 sfe_container_name (sfinfo->format), sfe_codec_name (sfinfo->format), program_name (argv0)) ; in report_format_error_exit()
300 infileminor = sfinfo.format in main()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_device.c57 vk_format_description(bc_info->format); in encode_border_color()
59 const struct v3dv_format *format = v3dX(get_format)(bc_info->format); in encode_border_color() local
61 /* We use the swizzle in our format table to determine swizzle configuration in encode_border_color()
65 * Our format table assumes that Reverse happens first and R/B Swap second. in encode_border_color()
71 if (v3dv_format_swizzle_needs_reverse(format->swizzle) && in encode_border_color()
72 v3dv_format_swizzle_needs_rb_swap(format->swizzle)) { in encode_border_color()
78 memcpy(swizzle, format->swizzle, sizeof (swizzle)); in encode_border_color()
83 if (format->swizzle[i] <= 3) in encode_border_color()
90 if (vk_format_has_depth(bc_info->format) in encode_border_color()
[all...]
/third_party/skia/third_party/externals/icu/source/samples/date/
H A Ddate.c52 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status);
53 static UDate getWhen(const char *millis, const char *seconds, const char *format, const char *locale, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status);
77 const char *format = NULL; in main() local
104 /* display date in long format */ in main()
108 /* display date in medium format */ in main()
112 /* display date in short format */ in main()
116 else if(strcmp(arg, "-F") == 0 || strcmp(arg, "--format") == 0) { in main()
119 format = argv[optInd]; in main()
173 when = getWhen(millis, seconds, format, locale, style, parse, tz, &status); in main()
175 format in main()
253 date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, const char *locale, UErrorCode *status ) date() argument
305 getWhen(const char *millis, const char *seconds, const char *format, const char *locale, UDateFormatStyle style, const char *parse, const UChar *tz, UErrorCode *status) getWhen() argument
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp321 sdf->format(today,fmtOffset, pos); in TestWallyWedel()
409 logln(s + " P> " + fullFmt.format(d, str)); in TestTwoDigitYearDSTParse()
608 logln((UnicodeString)" Result = " + df->format(aug13, buf.remove())); in TestFieldPosition()
614 df->format(aug13, buf, pos); in TestFieldPosition()
629 df->format(aug13, buf, &posIter, status); in TestFieldPosition()
645 dateFormats[0]->format(aug13, buf, NULL, status); in TestFieldPosition()
657 * General parse/format tests. Add test cases as needed.
663 // Milliseconds are left-justified, since they format as fractions of a second in TestGeneral()
702 DateFormatTest::tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expected) in tryPat994() argument
708 format in tryPat994()
1017 UnicodeString format; TestBadInput135() local
4556 showParse(DateFormat &format, const UnicodeString &formattedString) showParse() argument
[all...]
/kernel/linux/linux-5.10/tools/objtool/
H A Dwarn.h43 #define WARN(format, ...) \
45 "%s: warning: objtool: " format "\n", \
48 #define WARN_FUNC(format, sec, offset, ...) \
51 WARN("%s: " format, _str, ##__VA_ARGS__); \
55 #define BT_FUNC(format, insn, ...) \
59 WARN(" %s: " format, _str, ##__VA_ARGS__); \
63 #define WARN_ELF(format, ...) \
64 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
/third_party/mesa3d/src/mapi/glapi/gen/
H A Dapi_exec_init.py103 'Unrecognized exec flavor {0!r}'.format(f.exec_flavor))
113 no_error_condition = '_mesa_is_no_error_enabled(ctx) && ({0})'.format(condition)
114 error_condition = '!_mesa_is_no_error_enabled(ctx) && ({0})'.format(condition)
116 'SET_{0}(exec, {1}{0}_no_error);'.format(f.name, prefix, f.name))
118 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name))
121 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name))
125 print(' if ({0}) {{'.format(condition))
127 print(' {0}'.format(setting))

Completed in 17 milliseconds

1...<<11121314151617181920>>...439