Home
last modified time | relevance | path

Searched refs:num_formats (Results 1 – 25 of 44) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/tests/icles/
Dbenchmark-video-conversion.c36 gint num_formats = 100; in get_num_formats() local
38 while (gst_video_format_to_string (num_formats) == NULL) in get_num_formats()
39 --num_formats; in get_num_formats()
40 GST_INFO ("number of known video formats: %d", num_formats); in get_num_formats()
41 return num_formats + 1; in get_num_formats()
51 gint num_formats; in do_benchmark_conversions() local
55 num_formats = get_num_formats (); in do_benchmark_conversions()
57 for (infmt = GST_VIDEO_FORMAT_I420; infmt < num_formats; infmt++) { in do_benchmark_conversions()
71 for (outfmt = GST_VIDEO_FORMAT_I420; outfmt < num_formats; outfmt++) { in do_benchmark_conversions()
/third_party/ffmpeg/libavresample/tests/
Davresample.c210 int num_formats, num_rates, num_layouts; in main() local
213 num_formats = 2; in main()
223 num_formats = strtol(argv[1], NULL, 0); in main()
224 num_formats = av_clip(num_formats, 1, FF_ARRAY_ELEMS(formats)); in main()
257 for (i = 0; i < num_formats; i++) { in main()
274 for (j = 0; j < num_formats; j++) { in main()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dvideoconvert.c52 guint i, num_formats; in check_pad_template() local
54 num_formats = get_num_formats (); in check_pad_template()
55 formats_supported = g_new0 (gboolean, num_formats); in check_pad_template()
87 for (i = 2; i < num_formats; ++i) { in check_pad_template()
Dvideoscale.c53 guint i, num_formats; in check_pad_template() local
55 num_formats = get_num_formats (); in check_pad_template()
56 formats_supported = g_new0 (gboolean, num_formats); in check_pad_template()
89 for (i = 2; i < num_formats; ++i) { in check_pad_template()
/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c169 unsigned int num_formats; in xa_tracker_create() local
184 num_formats = 0; in xa_tracker_create()
186 num_formats += num_preferred[stype]; in xa_tracker_create()
188 num_formats += 1; in xa_tracker_create()
189 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
194 num_formats = 1; in xa_tracker_create()
211 xa->format_map[stype][0] = num_formats; in xa_tracker_create()
212 xa->format_map[stype][1] = num_formats; in xa_tracker_create()
213 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_mandatory_format_support_table.py116 num_formats = len(vk_format_enums)
130 num_formats=num_formats,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgsteglimage.c739 EGLint num_formats; in gst_egl_image_check_dmabuf_direct() local
748 EGLint max_formats, EGLint * formats, EGLint * num_formats); in gst_egl_image_check_dmabuf_direct()
776 ret = gst_eglQueryDmaBufFormatsEXT (egl_display, 0, NULL, &num_formats); in gst_egl_image_check_dmabuf_direct()
777 if (!ret || num_formats == 0) in gst_egl_image_check_dmabuf_direct()
780 formats = g_new (EGLint, num_formats); in gst_egl_image_check_dmabuf_direct()
782 ret = gst_eglQueryDmaBufFormatsEXT (egl_display, num_formats, formats, in gst_egl_image_check_dmabuf_direct()
783 &num_formats); in gst_egl_image_check_dmabuf_direct()
784 if (!ret || num_formats == 0) { in gst_egl_image_check_dmabuf_direct()
789 for (i = 0; i < num_formats; i++) { in gst_egl_image_check_dmabuf_direct()
794 if (i == num_formats) { in gst_egl_image_check_dmabuf_direct()
/third_party/libdrm/tests/kms/
Dlibkms-test-plane.c66 plane->num_formats = p->count_formats; in kms_plane_probe()
132 for (i = 0; i < plane->num_formats; i++) in kms_plane_supports_format()
Dlibkms-test.h110 unsigned int num_formats; member
/third_party/mesa3d/src/gallium/frontends/va/
Dsubpicture.c50 unsigned int *flags, unsigned int *num_formats) in vlVaQuerySubpictureFormats() argument
55 if (!(format_list && flags && num_formats)) in vlVaQuerySubpictureFormats()
58 *num_formats = sizeof(subpic_formats)/sizeof(VAImageFormat); in vlVaQuerySubpictureFormats()
Dimage.c75 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats) in vlVaQueryImageFormats() argument
86 if (!(format_list && num_formats)) in vlVaQueryImageFormats()
89 *num_formats = 0; in vlVaQueryImageFormats()
96 format_list[(*num_formats)++] = formats[i]; in vlVaQueryImageFormats()
Dva_private.h378 VAStatus vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats);
380 unsigned int *flags, unsigned int *num_formats);
391 unsigned int *flags, unsigned int *num_formats);
/third_party/weston/libweston/renderer-mix/
Dmix_renderer.cpp94 int **formats, int *num_formats) in mix_renderer_query_dmabuf_formats() argument
96 compositor->hdi_renderer->query_dmabuf_formats(compositor, formats, num_formats); in mix_renderer_query_dmabuf_formats()
/third_party/ffmpeg/libavdevice/
Dxv.c111 int num_formats = 0, j, tag, ret; in xv_write_header() local
177 fv = XvListImageFormats(xv->display, xv->xv_port, &num_formats); in xv_write_header()
182 for (j = 0; j < num_formats; j++) { in xv_write_header()
189 if (j >= num_formats) { in xv_write_header()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c313 unsigned num_formats; in stw_pixelformat_init() local
320 num_formats = add_color_format_variants(stw_pf_color, in stw_pixelformat_init()
322 assert(num_formats > 0); in stw_pixelformat_init()
/third_party/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c415 uint32_t num_formats = sNetToNative32(parse_msg); in sProcessMessage() local
417 for (; num_formats; num_formats--) in sProcessMessage()
/third_party/flutter/skia/third_party/externals/imgui/examples/libs/usynergy/
DuSynergy.c415 uint32_t num_formats = sNetToNative32(parse_msg); in sProcessMessage() local
417 for (; num_formats; num_formats--) in sProcessMessage()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideo.c371 gint num_formats = 200; in get_num_formats() local
372 fail_unless (gst_video_format_to_string (num_formats) == NULL); in get_num_formats()
373 while (gst_video_format_to_string (num_formats) == NULL) in get_num_formats()
374 --num_formats; in get_num_formats()
375 GST_INFO ("number of known video formats: %d", num_formats); in get_num_formats()
376 return num_formats + 1; in get_num_formats()
384 guint num, n, num_formats; in GST_START_TEST() local
386 num_formats = get_num_formats (); in GST_START_TEST()
406 fail_unless_equals_int (num, num_formats - 2); in GST_START_TEST()
417 guint n, num_formats; in GST_START_TEST() local
[all …]
/third_party/skia/third_party/externals/egl-registry/extensions/EXT/
DEGL_EXT_image_dma_buf_import_modifiers.txt66 EGLint *num_formats)
163 EGLint *num_formats)
174 of formats is returned in <num_formats>, and no error is generated.
/third_party/weston/libweston/
Dlinux-dmabuf.c535 int num_formats, num_modifiers; in bind_linux_dmabuf() local
554 &num_formats); in bind_linux_dmabuf()
556 for (i = 0; i < num_formats; i++) { in bind_linux_dmabuf()
/third_party/EGL/extensions/EXT/
DEGL_EXT_image_dma_buf_import_modifiers.txt66 EGLint *num_formats)
165 EGLint *num_formats)
176 of formats is returned in <num_formats>, and no error is generated.
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_screen.c1381 int num_formats = 0, i; in brw_query_dma_buf_formats() local
1397 num_formats++; in brw_query_dma_buf_formats()
1401 formats[num_formats - 1] = brw_image_formats[i].fourcc; in brw_query_dma_buf_formats()
1402 if (num_formats >= max) in brw_query_dma_buf_formats()
1406 *count = num_formats; in brw_query_dma_buf_formats()
2249 unsigned num_formats = ARRAY_SIZE(formats); in brw_screen_make_configs() local
2254 for (unsigned i = 0; i < num_formats; i++) { in brw_screen_make_configs()
2298 for (unsigned i = 0; i < num_formats; i++) { in brw_screen_make_configs()
2341 for (unsigned i = 0; i < num_formats; i++) { in brw_screen_make_configs()
/third_party/weston/shared/
Dweston-egl-ext.h142 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
/third_party/python/Lib/distutils/tests/
Dtest_sdist.py284 num_formats = len(ARCHIVE_FORMATS.keys())
287 self.assertEqual(len(output), num_formats)
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c688 int num_formats = ARRAY_SIZE(mapping->format); in init_format_extensions() local
695 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()
720 unsigned num_formats, in get_max_samples_for_formats() argument
728 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats()
740 unsigned num_formats, in get_max_samples_for_formats_advanced() argument
749 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats_advanced()

12