Home
last modified time | relevance | path

Searched refs:format_info (Results 1 – 25 of 31) sorted by relevance

12

/third_party/boost/boost/tuple/
Dtuple_io.hpp45 class format_info { class
60 format_info(const format_info&);
61 format_info();
77 case detail::format_info::open : c = i.widen('('); break; in get_manipulator()
78 case detail::format_info::close : c = i.widen(')'); break; in get_manipulator()
79 case detail::format_info::delimiter : c = i.widen(' '); break; in get_manipulator()
101 const detail::format_info::manipulator_type mt;
104 explicit tuple_manipulator(detail::format_info::manipulator_type m, in tuple_manipulator()
110 detail::format_info::set_manipulator(io, mt, f_c); in set()
132 return tuple_manipulator<CharType>(detail::format_info::open, c); in set_open()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sndfile/
Dgstsfelement.c36 SF_FORMAT_INFO format_info; in gst_sf_create_audio_template_caps() local
43 format_info.format = k; in gst_sf_create_audio_template_caps()
44 sf_command (NULL, SFC_GET_FORMAT_MAJOR, &format_info, sizeof (format_info)); in gst_sf_create_audio_template_caps()
46 switch (format_info.format) { in gst_sf_create_audio_template_caps()
84 GST_LOG ("skipping format '%s'", format_info.name); in gst_sf_create_audio_template_caps()
97 GST_WARNING ("format 0x%x: '%s' is not mapped", format_info.format, in gst_sf_create_audio_template_caps()
98 format_info.name); in gst_sf_create_audio_template_caps()
/third_party/libdrm/tests/util/
Dformat.c41 static const struct util_format_info format_info[] = { variable
107 for (i = 0; i < ARRAY_SIZE(format_info); i++) in util_format_fourcc()
108 if (!strcmp(format_info[i].name, name)) in util_format_fourcc()
109 return format_info[i].format; in util_format_fourcc()
118 for (i = 0; i < ARRAY_SIZE(format_info); i++) in util_format_info_find()
119 if (format_info[i].format == format) in util_format_info_find()
120 return &format_info[i]; in util_format_info_find()
/third_party/libsnd/tests/
Dcommand_test.c461 { SF_FORMAT_INFO format_info ; in format_tests() local
481 format_info.format = 0 ; in format_tests()
482 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
484 last_name = format_info.name ; in format_tests()
486 { format_info.format = k ; in format_tests()
487 sf_command (NULL, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ; in format_tests()
488 if (strcmp (last_name, format_info.name) >= 0) in format_tests()
489 …\n\nLine %d: format names out of sequence `%s' < `%s'.\n", __LINE__, last_name, format_info.name) ; in format_tests()
492 sfinfo.format = format_info.format ; in format_tests()
496 printf (" Name : %s\n", format_info.name) ; in format_tests()
[all …]
/third_party/NuttX/drivers/usbdev/gadget/
Dusbd_video.c138 return (enum format_switch_status)fuvc->format_info.status; in uvc_format_status_check()
143 struct uvc_format_info *format_info; in uvc_format_info_get() local
158 format_info = &fuvc->format_info; in uvc_format_info_get()
159 if (format_info->status == FORMAT_SWITCH_PENDING) in uvc_format_info_get()
161 if (format_info->format != V4L2_PIX_FMT_YUYV && in uvc_format_info_get()
162 format_info->format != V4L2_PIX_FMT_H264 && in uvc_format_info_get()
163 format_info->format != V4L2_PIX_FMT_MJPEG) in uvc_format_info_get()
168 info->height = format_info->height; in uvc_format_info_get()
169 info->width = format_info->width; in uvc_format_info_get()
170 info->format = format_info->format; in uvc_format_info_get()
[all …]
Df_uvc.c1019 void fuvc_frame_descriptors_get(struct fuvc_format_info *format_info) in fuvc_frame_descriptors_get() argument
1024 if (format_info == NULL) in fuvc_frame_descriptors_get()
1032 while (format_info->frames[nframes].width != 0) in fuvc_frame_descriptors_get()
1043 if (format_info->fcc == V4L2_PIX_FMT_YUYV) in fuvc_frame_descriptors_get()
1047 format_info->frames, (sizeof(struct fuvc_frame_info) * nframes)); in fuvc_frame_descriptors_get()
1055 else if (format_info->fcc == V4L2_PIX_FMT_H264) in fuvc_frame_descriptors_get()
1059 format_info->frames, (sizeof(struct fuvc_frame_info) * nframes)); in fuvc_frame_descriptors_get()
1067 else if (format_info->fcc == V4L2_PIX_FMT_MJPEG) in fuvc_frame_descriptors_get()
1071 format_info->frames, (sizeof(struct fuvc_frame_info) * nframes)); in fuvc_frame_descriptors_get()
1085 static void frames_descriptors_update(struct fuvc_format_info *format_info, uint32_t *index) in frames_descriptors_update() argument
[all …]
Df_uvc.h726 struct uvc_format_info format_info; member
833 extern void fuvc_frame_descriptors_get(struct fuvc_format_info *format_info);
/third_party/pulseaudio/
DPROTOCOL224 format_info format1
226 format_info formatn
230 format_info format
236 format_info format1
238 format_info formatn
243 format_info format
250 format_info format1
252 format_info formatn
262 format_info format
268 format_info format1
[all …]
/third_party/libsnd/docs/
Dcommand.md648 SF_FORMAT_INFO format_info ;
654 { format_info.format = k ;
655 sf_command (sndfile, SFC_GET_SIMPLE_FORMAT, &format_info, sizeof (format_info)) ;
656 printf ("%08x %s %s\n", format_info.format, format_info.name, format_info.extension) ;
708 SF_FORMAT_INFO format_info ;
710 format_info.format = SF_FORMAT_WAV ;
711 sf_command (sndfile, SFC_GET_FORMAT_INFO, &format_info, sizeof (format_info)) ;
712 printf ("%08x %s %s\n", format_info.format, format_info.name, format_info.extension) ;
714 format_info.format = SF_FORMAT_ULAW ;
715 sf_command (sndfile, SFC_GET_FORMAT_INFO, &format_info, sizeof (format_info)) ;
[all …]
/third_party/python/Lib/distutils/
Darchive_util.py237 format_info = ARCHIVE_FORMATS[format]
241 func = format_info[0]
242 for arg, val in format_info[1]:
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.h40 const VkPhysicalDeviceImageFormatInfo2 *format_info,
101 UNUSED const VkPhysicalDeviceImageFormatInfo2 *format_info, in vn_android_get_drm_format_modifier_info() argument
Dvn_android.c865 const VkPhysicalDeviceImageFormatInfo2 *format_info, in vn_android_get_drm_format_modifier_info() argument
877 assert(format_info->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT); in vn_android_get_drm_format_modifier_info()
879 format = vn_android_ahb_format_from_vk_format(format_info->format); in vn_android_get_drm_format_modifier_info()
883 usage = vn_android_get_ahb_usage(format_info->usage, format_info->flags); in vn_android_get_drm_format_modifier_info()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_storage_image.c238 struct format_info { struct
244 static struct format_info argument
249 return (struct format_info) { in get_format_info()
276 struct format_info image = get_format_info(image_fmt); in convert_color_for_load()
277 struct format_info lower = get_format_info(lower_fmt); in convert_color_for_load()
457 struct format_info image = get_format_info(image_fmt); in convert_color_for_store()
458 struct format_info lower = get_format_info(lower_fmt); in convert_color_for_store()
/third_party/mesa3d/docs/relnotes/
D10.4.7.rst59 - mesa: rename format_info.c to format_info.h
D18.1.2.rst79 - intel/isl: Add bounds-checking assertions for the format_info table
D10.3.1.rst126 - st/mesa: Generate format_info.c in Android builds
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c333 const GstVideoFormatInfo *format_info; in gst_video_crop_transform_planar() local
337 format_info = in_frame->info.finfo; in gst_video_crop_transform_planar()
362 sub_w_factor = 1 << GST_VIDEO_FORMAT_INFO_W_SUB (format_info, p); in gst_video_crop_transform_planar()
363 sub_h_factor = 1 << GST_VIDEO_FORMAT_INFO_H_SUB (format_info, p); in gst_video_crop_transform_planar()
368 GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (format_info, p, in gst_video_crop_transform_planar()
371 GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (format_info, p, in gst_video_crop_transform_planar()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_angle_format_table.py335 format_info = json_data[format_id] if format_id in json_data else {}
336 table_data += json_to_table_data(format_id, format_info, angle_to_gl)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dgen_angle_format_table.py373 format_info = json_data[format_id] if format_id in json_data else {}
374 table_data += json_to_table_data(format_id, format_info, angle_to_gl)
/third_party/mesa3d/src/intel/isl/
Disl_format.c101 static const struct surface_format_info format_info[] = { variable
686 return format < ARRAY_SIZE(format_info) && format_info[format].exists; in format_info_exists()
696 return devinfo->verx10 >= format_info[format].render_target; in isl_format_supports_rendering()
706 return devinfo->verx10 >= format_info[format].alpha_blend; in isl_format_supports_alpha_blending()
749 return devinfo->verx10 >= format_info[format].sampling; in isl_format_supports_sampling()
760 assert(format_info[format].filtering == format_info[format].sampling); in isl_format_supports_filtering()
764 return devinfo->verx10 >= format_info[format].filtering; in isl_format_supports_filtering()
778 return 75 >= format_info[format].input_vb; in isl_format_supports_vertex_fetch()
780 return devinfo->verx10 >= format_info[format].input_vb; in isl_format_supports_vertex_fetch()
793 return devinfo->verx10 >= format_info[format].typed_write; in isl_format_supports_typed_writes()
[all …]
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c223 VkPhysicalDeviceImageFormatInfo2 format_info = { in wsi_create_native_image() local
236 __vk_append_struct(&format_info, &format_list); in wsi_create_native_image()
243 __vk_append_struct(&format_info, &mod_info); in wsi_create_native_image()
245 &format_info, in wsi_create_native_image()
/third_party/python/Lib/
Dshutil.py1072 format_info = _ARCHIVE_FORMATS[format]
1076 func = format_info[0]
1077 for arg, val in format_info[1]:
1249 format_info = _UNPACK_FORMATS[format]
1253 func = format_info[1]
1254 func(filename, extract_dir, **dict(format_info[2]))
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoaggregator.c1004 GstVideoFormatInfo *format_info = vagg->priv->supported_formats->pdata[i]; in gst_video_aggregator_supports_format() local
1006 if (GST_VIDEO_FORMAT_INFO_FORMAT (format_info) == format) in gst_video_aggregator_supports_format()
1120 GstVideoFormatInfo *format_info = vagg->priv->supported_formats->pdata[i]; in gst_video_aggregator_find_best_format() local
1124 if (!need_alpha || GST_VIDEO_FORMAT_INFO_HAS_ALPHA (format_info)) { in gst_video_aggregator_find_best_format()
1125 gst_video_info_set_format (best_info, format_info->format, in gst_video_aggregator_find_best_format()
3098 GstVideoFormatInfo *format_info = in gst_video_aggregator_init() local
3100 g_ptr_array_add (vagg->priv->supported_formats, format_info); in gst_video_aggregator_init()
3111 GstVideoFormatInfo *format_info = in gst_video_aggregator_init() local
3113 g_ptr_array_add (vagg->priv->supported_formats, format_info); in gst_video_aggregator_init()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.cpp810 struct d3d12_format_info format_info = d3d12_get_format_info(state->format, state->target); in d3d12_create_sampler_view() local
812 format_info.swizzle[sampler_view->base.swizzle_r], in d3d12_create_sampler_view()
813 format_info.swizzle[sampler_view->base.swizzle_g], in d3d12_create_sampler_view()
814 format_info.swizzle[sampler_view->base.swizzle_b], in d3d12_create_sampler_view()
815 format_info.swizzle[sampler_view->base.swizzle_a] in d3d12_create_sampler_view()
867 desc.Texture2D.PlaneSlice = format_info.plane_slice; in d3d12_create_sampler_view()
880 desc.Texture2DArray.PlaneSlice = format_info.plane_slice; in d3d12_create_sampler_view()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp1540 const GstVideoFormatInfo *format_info; in gst_mf_video_enc_enum_internal() local
1547 format_info = gst_video_format_get_info (format); in gst_mf_video_enc_enum_internal()
1548 if (GST_VIDEO_FORMAT_INFO_IS_RGB (format_info)) { in gst_mf_video_enc_enum_internal()
1550 GST_VIDEO_FORMAT_INFO_NAME (format_info)); in gst_mf_video_enc_enum_internal()

12