Home
last modified time | relevance | path

Searched refs:format (Results 1626 - 1650 of 12981) sorted by relevance

1...<<61626364656667686970>>...520

/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_screen.c317 enum pipe_format format, in lima_screen_is_format_supported()
343 if (!lima_format_pixel_supported(format)) in lima_screen_is_format_supported()
347 if (sample_count > 1 && util_format_is_float(format)) in lima_screen_is_format_supported()
352 switch (format) { in lima_screen_is_format_supported()
363 switch (format) { in lima_screen_is_format_supported()
431 switch (format) { in lima_screen_is_format_supported()
442 return lima_format_texel_supported(format); in lima_screen_is_format_supported()
534 static bool lima_is_modifier_external_only(enum pipe_format format) in lima_is_modifier_external_only() argument
536 return util_format_is_yuv(format); in lima_is_modifier_external_only()
541 enum pipe_format format, in in lima_screen_query_dmabuf_modifiers()
316 lima_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) lima_screen_is_format_supported() argument
540 lima_screen_query_dmabuf_modifiers(struct pipe_screen *pscreen, enum pipe_format format, int max, uint64_t *modifiers, unsigned int *external_only, int *count) lima_screen_query_dmabuf_modifiers() argument
562 lima_screen_is_dmabuf_modifier_supported(struct pipe_screen *pscreen, uint64_t modifier, enum pipe_format format, bool *external_only) lima_screen_is_dmabuf_modifier_supported() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/wgl/
H A Dstw_st.c116 blit.dst.format = dst->format; in stw_pipe_blit()
121 blit.src.format = src->format; in stw_pipe_blit()
184 templ.format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()
190 enum pipe_format format; in stw_st_framebuffer_validate_locked() local
204 format = stwfb->stvis.color_format; in stw_st_framebuffer_validate_locked()
222 format = stwfb->stvis.depth_stencil_format; in stw_st_framebuffer_validate_locked()
226 format = PIPE_FORMAT_NONE; in stw_st_framebuffer_validate_locked()
230 if (format ! in stw_st_framebuffer_validate_locked()
[all...]
/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py460 def resolve_format(format):
461 if not format:
463 elif isinstance(format, str) and format in _FORMATS:
464 return format
466 return resolve_columns(format)
469 def get_renderer(format):
470 format = resolve_format(format)
471 if isinstance(format, st
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageBlockShapes.cpp63 const VkFormat format,
81 const VkFormat format, in ImageBlockShapesCase()
86 , m_format (format) in ImageBlockShapesCase()
121 const VkFormat format,
136 const VkFormat format, in ImageBlockShapesInstance()
141 , m_format (format) in ImageBlockShapesInstance()
160 imageCreateInfo.format = m_format; in iterate()
177 // Check the format supports given number of samples in iterate()
181 imageCreateInfo.format, in iterate()
188 TCU_THROW(NotSupportedError, "Image format doe in iterate()
77 ImageBlockShapesCase(tcu::TestContext& testCtx, const std::string& name, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, deUint32 numSamples) ImageBlockShapesCase() argument
133 ImageBlockShapesInstance(Context& context, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, deUint32 numSamples) ImageBlockShapesInstance() argument
467 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; createImageBlockShapesTests() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/
H A DesextcDrawBuffersIndexedColorMasks.cpp107 glw::GLenum format = WriteMasksFormats[formatId]; in iterate() local
124 gl.texStorage3D(GL_TEXTURE_2D_ARRAY, 1, format, kSize, kSize, maxDrawBuffers); in iterate()
131 switch (ReadableType(format)) in iterate()
174 switch (ReadableType(format)) in iterate()
206 int numComponents = NumComponents(format); in iterate()
214 switch (ReadableType(format)) in iterate()
233 m_testCtx.getLog() << tcu::TestLog::Message << "Write mask error in texture format " << format in iterate()
255 m_testCtx.getLog() << tcu::TestLog::Message << "Write mask error in texture format " << format in iterate()
324 NumComponents(glw::GLenum format) NumComponents() argument
363 ReadableType(glw::GLenum format) ReadableType() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.hpp57 sw::Format SelectInternalFormat(GLint format);
60 GLsizei ComputePitch(GLsizei width, GLenum format, GLenum type, GLint alignment);
61 GLsizei ComputeCompressedSize(GLsizei width, GLsizei height, GLenum format);
62 GLsizei ComputePixelSize(GLenum format, GLenum type);
63 size_t ComputePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, const PixelStorageModes &storageModes);
73 ClientBuffer(int width, int height, sw::Format format, void* buffer, size_t plane) in ClientBuffer() argument
74 : width(width), height(height), format(format), buffer(buffer), plane(plane) in ClientBuffer()
91 sw::Format format; member in egl::ClientBuffer
210 void loadImageData(GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenu
[all...]
/third_party/skia/third_party/externals/freetype/src/pfr/
H A Dpfrgload.c359 FT_UInt format, format_low, args_format = 0, args_count, n; in pfr_glyph_load_simple() local
366 format = PFR_NEXT_BYTE( p ); in pfr_glyph_load_simple()
367 format_low = format & 15; in pfr_glyph_load_simple()
369 switch ( format >> 4 ) in pfr_glyph_load_simple()
499 /* read the additional format flag for the general curve */ in pfr_glyph_load_simple()
519 switch ( format >> 4 ) in pfr_glyph_load_simple()
590 /* the PFR format is dumb, using direct file offsets to point to the */ in pfr_glyph_load_compound()
624 FT_UInt format; in pfr_glyph_load_compound() local
631 format = PFR_NEXT_BYTE( p ); in pfr_glyph_load_compound()
635 if ( format in pfr_glyph_load_compound()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesImageBlockShapes.cpp64 const VkFormat format,
83 const VkFormat format, in ImageBlockShapesCase()
88 , m_format (format) in ImageBlockShapesCase()
123 const VkFormat format,
138 const VkFormat format, in ImageBlockShapesInstance()
143 , m_format (format) in ImageBlockShapesInstance()
162 imageCreateInfo.format = m_format; in iterate()
180 // Check the format supports given number of samples in iterate()
184 imageCreateInfo.format, in iterate()
191 TCU_THROW(NotSupportedError, "Image format doe in iterate()
78 ImageBlockShapesCase(tcu::TestContext& testCtx, const std::string& name, const std::string& description, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, deUint32 numSamples) ImageBlockShapesCase() argument
135 ImageBlockShapesInstance(Context& context, const ImageType imageType, const tcu::UVec3& imageSize, const VkFormat format, deUint32 numSamples) ImageBlockShapesInstance() argument
470 VkFormat format = imageParameters[imageTypeNdx].formats[formatNdx].format; createImageBlockShapesTests() local
[all...]
/third_party/bounds_checking_function/src/
H A Dscanf_s.c23 * in format. If copying occurs between strings that overlap, the behavior is
27 * format Format control string.
39 int scanf_s(const char *format, ...) in scanf_s() argument
44 va_start(argList, format); in scanf_s()
45 ret = vscanf_s(format, argList); in scanf_s()
/device/soc/rockchip/rk3588/hardware/rga/include/
H A Dim2d.h93 * @param format
94 * Image format.
98 #define wrapbuffer_handle(handle, width, height, format, ...) \
104 im2d_api_buffer = wrapbuffer_handle_t(handle, width, height, width, height, format); \
106 im2d_api_buffer = wrapbuffer_handle_t(handle, width, height, __args[0], __args[1], format); \
112 IM_API rga_buffer_t wrapbuffer_handle_t(rga_buffer_handle_t handle, int width, int height, int wstride, int hstride, int format);
115 #define wrapbuffer_virtualaddr(vir_addr, width, height, format, ...) \
121 im2d_api_buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, width, height, format); \
123 im2d_api_buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, __args[0], __args[1], format); \
130 #define wrapbuffer_physicaladdr(phy_addr, width, height, format,
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/
H A Dmax20730.c396 * Convert discreet value to direct data format. Strictly speaking, all passed
539 .format[PSC_TEMPERATURE] = direct,
544 .format[PSC_VOLTAGE_IN] = direct,
549 .format[PSC_CURRENT_OUT] = direct,
554 .format[PSC_VOLTAGE_OUT] = linear,
568 .format[PSC_TEMPERATURE] = direct,
573 .format[PSC_VOLTAGE_IN] = direct,
588 .format[PSC_CURRENT_OUT] = direct,
593 .format[PSC_VOLTAGE_OUT] = linear,
607 .format[PSC_TEMPERATUR
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_eld.c163 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc()
164 switch (a->format) { in hdmi_update_short_audio_desc()
207 a->format = GRAB_BITS(buf, 2, 3, 5); in hdmi_update_short_audio_desc()
208 if (a->format == AUDIO_CODING_XTYPE_HE_REF_CT || in hdmi_update_short_audio_desc()
209 a->format >= AUDIO_CODING_XTYPE_FIRST_RESERVED) { in hdmi_update_short_audio_desc()
212 a->format); in hdmi_update_short_audio_desc()
213 a->format = 0; in hdmi_update_short_audio_desc()
215 a->format += AUDIO_CODING_TYPE_HE_AAC - in hdmi_update_short_audio_desc()
377 if (!a->format) in hdmi_show_short_audio_desc()
382 if (a->format in hdmi_show_short_audio_desc()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dmax20730.c396 * Convert discreet value to direct data format. Strictly speaking, all passed
539 .format[PSC_TEMPERATURE] = direct,
544 .format[PSC_VOLTAGE_IN] = direct,
549 .format[PSC_CURRENT_OUT] = direct,
554 .format[PSC_VOLTAGE_OUT] = linear,
568 .format[PSC_TEMPERATURE] = direct,
573 .format[PSC_VOLTAGE_IN] = direct,
588 .format[PSC_CURRENT_OUT] = direct,
593 .format[PSC_VOLTAGE_OUT] = linear,
607 .format[PSC_TEMPERATUR
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_eld.c163 a->format = GRAB_BITS(buf, 0, 3, 4); in hdmi_update_short_audio_desc()
164 switch (a->format) { in hdmi_update_short_audio_desc()
207 a->format = GRAB_BITS(buf, 2, 3, 5); in hdmi_update_short_audio_desc()
208 if (a->format == AUDIO_CODING_XTYPE_HE_REF_CT || in hdmi_update_short_audio_desc()
209 a->format >= AUDIO_CODING_XTYPE_FIRST_RESERVED) { in hdmi_update_short_audio_desc()
212 a->format); in hdmi_update_short_audio_desc()
213 a->format = 0; in hdmi_update_short_audio_desc()
215 a->format += AUDIO_CODING_TYPE_HE_AAC - in hdmi_update_short_audio_desc()
377 if (!a->format) in hdmi_show_short_audio_desc()
382 if (a->format in hdmi_show_short_audio_desc()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dpcm3168a.c52 unsigned int format; member
334 if (io_params->format == SND_SOC_DAIFMT_RIGHT_J) { in pcm3168a_update_fixup_pcm_stream()
355 static int pcm3168a_set_dai_fmt(struct snd_soc_dai *dai, unsigned int format) in pcm3168a_set_dai_fmt() argument
362 switch (format & SND_SOC_DAIFMT_FORMAT_MASK) { in pcm3168a_set_dai_fmt()
370 dev_err(component->dev, "unsupported dai format\n"); in pcm3168a_set_dai_fmt()
374 switch (format & SND_SOC_DAIFMT_CLOCK_PROVIDER_MASK) { in pcm3168a_set_dai_fmt()
386 switch (format & SND_SOC_DAIFMT_INV_MASK) { in pcm3168a_set_dai_fmt()
394 io_params->format = format & SND_SOC_DAIFMT_FORMAT_MASK; in pcm3168a_set_dai_fmt()
444 unsigned int format; in pcm3168a_hw_params() local
[all...]
/test/xts/acts/multimedia/av_codec/demuxer/src/
H A Dapi_test.cpp177 OH_AVFormat *format = OH_AVSource_GetSourceFormat(nullptr); in HWTEST_F() local
178 ASSERT_EQ(nullptr, format); in HWTEST_F()
188 OH_AVFormat *format = OH_AVSource_GetTrackFormat(nullptr, 0); in HWTEST_F() local
189 ASSERT_EQ(nullptr, format); in HWTEST_F()
201 OH_AVFormat *format = OH_AVSource_GetTrackFormat(source, -1); in HWTEST_F() local
202 ASSERT_EQ(nullptr, format); in HWTEST_F()
542 OH_AVFormat *format; in HWTEST_F() local
545 format = OH_AVSource_GetSourceFormat(source); in HWTEST_F()
546 ASSERT_NE(format, nullptr); in HWTEST_F()
547 format in HWTEST_F()
558 OH_AVFormat *format; HWTEST_F() local
[all...]
/third_party/ffmpeg/libavdevice/
H A Dkmsgrab.c67 enum AVPixelFormat format; member
139 .format = ctx->drm_format, in kmsgrab_get_fb()
174 "format changed: now %"PRIx32".\n", in kmsgrab_get_fb2()
198 .format = ctx->drm_format, in kmsgrab_get_fb2()
335 frame->format = AV_PIX_FMT_DRM_PRIME; in kmsgrab_read_packet()
522 "format %"PRIx32" modifier %"PRIx64" flags %"PRIx32".\n", in kmsgrab_read_header()
538 if (ctx->format != AV_PIX_FMT_NONE && in kmsgrab_read_header()
539 ctx->format != kmsgrab_formats[i].pixfmt) { in kmsgrab_read_header()
540 av_log(avctx, AV_LOG_ERROR, "Framebuffer pixel format " in kmsgrab_read_header()
541 "%"PRIx32" does not match expected format in kmsgrab_read_header()
[all...]
/third_party/ffmpeg/libavutil/
H A Dhwcontext_dxva2.c66 D3DFORMAT format; member
173 s->format = supported_formats[i].d3d_format; in dxva2_init_pool()
178 av_log(ctx, AV_LOG_ERROR, "Unsupported pixel format: %s\n", in dxva2_init_pool()
191 s->format, D3DPOOL_DEFAULT, 0, in dxva2_init_pool()
244 frame->format = AV_PIX_FMT_DXVA2_VLD; in dxva2_get_buffer()
287 nb_planes = av_pix_fmt_count_planes(dst->format); in dxva2_map_frame()
322 av_image_fill_pointers(dst->data, dst->format, surfaceDesc.Height, in dxva2_map_frame()
325 if (dst->format == AV_PIX_FMT_PAL8) in dxva2_map_frame()
340 if (src->format != ctx->sw_format) in dxva2_transfer_data_to()
346 map->format in dxva2_transfer_data_to()
[all...]
/third_party/mbedtls/scripts/
H A Dabi_check.py12 For the storage format, this script compares the automatically generated
64 **Storage format**: the goal is to check that persistent keys stored by the
132 configuration.check_storage: if true, compare storage format tests
167 raise Exception("{} not installed, aborting".format(command))
175 "Checking out git worktree for revision {} from {}".format(
188 self.log.debug("Checking out git worktree for revision {}".format(
204 self.log.debug("Commit is {}".format(version.commit))
265 return "{} ({})".format(version.revision, version.commit)
273 self.report_dir, "{}-{}-{}.dump".format(
292 """Eliminate cosmetic or irrelevant details in storage format tes
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_surface.c31 #include "util/format/u_format.h"
81 ivci.format = zink_get_format(screen, templ->format); in create_ivci()
82 assert(ivci.format != VK_FORMAT_UNDEFINED); in create_ivci()
86 const struct util_format_description *desc = util_format_description(templ->format); in create_ivci()
118 surface->info.format[0] = ivci->format; in init_surface_info()
122 surface->info.format[1] = ivci->format == cdt->formats[0] ? cdt->formats[1] : cdt->formats[0]; in init_surface_info()
146 screen->format_props[templ->format] in create_surface()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dframebuffer.c682 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
691 GLenum format, in renderbuffer_exists()
705 switch (format) { in renderbuffer_exists()
775 "Unexpected format 0x%x in renderbuffer_exists", in renderbuffer_exists()
776 format); in renderbuffer_exists()
788 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA,
793 _mesa_source_buffer_exists(struct gl_context *ctx, GLenum format) in _mesa_source_buffer_exists() argument
795 return renderbuffer_exists(ctx, ctx->ReadBuffer, format, GL_TRU in _mesa_source_buffer_exists()
689 renderbuffer_exists(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum format, GLboolean reading) renderbuffer_exists() argument
803 _mesa_dest_buffer_exists(struct gl_context *ctx, GLenum format) _mesa_dest_buffer_exists() argument
857 const mesa_format format = fb->_ColorReadBuffer->Format; _mesa_get_color_read_format() local
932 const mesa_format format = fb->_ColorReadBuffer->Format; _mesa_get_color_read_type() local
947 _mesa_get_read_renderbuffer_for_format(const struct gl_context *ctx, GLenum format) _mesa_get_read_renderbuffer_for_format() argument
[all...]
/third_party/libexif/libexif/canon/
H A Dmnote-canon-entry.c30 #include <libexif/exif-format.h>
34 #define CF(format,target,v,maxlen) \
36 if (format != target) { \
38 _("Invalid format '%s', " \
40 exif_format_get_name (format), \
516 if (entry->format != EXIF_FORMAT_SHORT) return 0; in mnote_canon_entry_count_values()
571 CF (entry->format, EXIF_FORMAT_SHORT, val, maxlen); in mnote_canon_entry_get_value()
623 CF (entry->format, EXIF_FORMAT_SHORT, val, maxlen); in mnote_canon_entry_get_value()
640 CF (entry->format, EXIF_FORMAT_SHORT, val, maxlen); in mnote_canon_entry_get_value()
695 CF (entry->format, EXIF_FORMAT_SHOR in mnote_canon_entry_get_value()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMultisampleLoadStoreTests.cpp69 VkFormat format; member
87 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(caseDef.format)); in initPrograms()
88 const std::string msImageTypeStr = getShaderImageType(mapVkFormat(caseDef.format), usedImageType, (caseDef.texture.numSamples() > 1)); in initPrograms()
92 const std::string signednessPrefix = isUintFormat(caseDef.format) ? "u" : isIntFormat(caseDef.format) ? "i" : ""; in initPrograms()
94 const int numColorComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.format).order); in initPrograms()
96 const float storeColorScale = computeStoreColorScale(caseDef.format, caseDef.texture.size()); in initPrograms()
97 const float storeColorBias = computeStoreColorBias(caseDef.format); in initPrograms()
98 DE_ASSERT(colorScaleAndBiasAreValid(caseDef.format, storeColorScale, storeColorBias)); in initPrograms()
142 const bool useExactCompare = isIntegerFormat(caseDef.format); in initPrograms()
200 insertImageViews(const DeviceInterface& vk, const VkDevice device, const CaseDef& caseDef, const VkFormat format, const VkImage image, std::vector<SharedVkImageView>* const pOutImageViews) insertImageViews() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationGL45_autogen.h40 GLenum format,
48 GLenum format,
78 GLenum format,
88 GLenum format,
100 GLenum format,
231 GLenum format,
270 GLenum format,
304 GLenum format,
315 GLenum format,
322 GLenum format,
[all...]
/third_party/python/Lib/test/
H A Dtest_locale.py144 def _test_formatfunc(self, format, value, out, func, **format_opts):
146 func(format, value, **format_opts), out)
148 def _test_format(self, format, value, out, **format_opts):
150 self._test_formatfunc(format, value, out,
151 func=locale.format, **format_opts)
153 def _test_format_string(self, format, value, out, **format_opts):
154 self._test_formatfunc(format, value, out,
206 locale.format("%-10.f", 4200, grouping=True)
235 # Test handling of pattern argument of format
240 self.assertRaises(ValueError, locale.format, "
[all...]

Completed in 19 milliseconds

1...<<61626364656667686970>>...520