Home
last modified time | relevance | path

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

12

/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/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/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.h383 VAStatus vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats);
385 unsigned int *flags, unsigned int *num_formats);
396 unsigned int *flags, unsigned int *num_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.c323 unsigned num_formats; in stw_pixelformat_init() local
330 num_formats = add_color_format_variants(stw_pf_color, in stw_pixelformat_init()
332 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/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/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/state_tracker/
Dst_extensions.c675 int num_formats = ARRAY_SIZE(mapping->format); in init_format_extensions() local
682 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()
707 unsigned num_formats, in get_max_samples_for_formats() argument
715 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats()
727 unsigned num_formats, in get_max_samples_for_formats_advanced() argument
736 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats_advanced()
/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/egl/main/
Degldriver.h206 EGLint *num_formats);
Deglapi.c2565 EGLint *formats, EGLint *num_formats) in eglQueryDmaBufFormatsEXT() argument
2574 ret = disp->Driver->QueryDmaBufFormatsEXT(disp, max_formats, formats, num_formats); in eglQueryDmaBufFormatsEXT()
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c275 for (i = 0; i < formats->num_formats; i++) in dri2_wl_formats_fini()
291 formats->num_formats = ARRAY_SIZE(dri2_wl_visuals); in dri2_wl_formats_init()
292 formats->formats_bitmap = calloc(BITSET_WORDS(formats->num_formats), in dri2_wl_formats_init()
299 formats->modifiers = calloc(formats->num_formats, in dri2_wl_formats_init()
304 for (i = 0; i < formats->num_formats; i++) in dri2_wl_formats_init()
2727 0, dri2_dpy->formats.num_formats)) in dri2_initialize_wayland_swrast()
Degl_dri2.h183 unsigned int num_formats; member
/third_party/openssl/ssl/statem/
Dextensions_clnt.c159 size_t num_formats; in tls_construct_ctos_ec_pt_formats() local
171 tls1_get_formatlist(s, &pformats, &num_formats); in tls_construct_ctos_ec_pt_formats()
176 || !WPACKET_sub_memcpy_u8(pkt, pformats, num_formats) in tls_construct_ctos_ec_pt_formats()
/third_party/node/deps/openssl/openssl/ssl/statem/
Dextensions_clnt.c159 size_t num_formats; in tls_construct_ctos_ec_pt_formats() local
171 tls1_get_formatlist(s, &pformats, &num_formats); in tls_construct_ctos_ec_pt_formats()
176 || !WPACKET_sub_memcpy_u8(pkt, pformats, num_formats) in tls_construct_ctos_ec_pt_formats()
/third_party/node/deps/openssl/openssl/ssl/
Dt1_lib.c852 size_t *num_formats) in tls1_get_formatlist() argument
859 *num_formats = s->ext.ecpointformats_len; in tls1_get_formatlist()
864 *num_formats = sizeof(ecformats_default) - 1; in tls1_get_formatlist()
866 *num_formats = sizeof(ecformats_default); in tls1_get_formatlist()
/third_party/openssl/ssl/
Dt1_lib.c831 size_t *num_formats) in tls1_get_formatlist() argument
838 *num_formats = s->ext.ecpointformats_len; in tls1_get_formatlist()
843 *num_formats = sizeof(ecformats_default) - 1; in tls1_get_formatlist()
845 *num_formats = sizeof(ecformats_default); in tls1_get_formatlist()
/third_party/skia/third_party/externals/egl-registry/api/EGL/
Deglext.h768 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
771 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
/third_party/skia/third_party/externals/swiftshader/include/EGL/
Deglext.h768 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
771 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
/third_party/skia/third_party/externals/angle2/include/EGL/
Deglext.h770 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
773 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
/third_party/mesa3d/include/EGL/
Deglext.h804 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
807 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
/third_party/EGL/api/EGL/
Deglext.h805 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
808 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);

12