Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c155 unsigned int num_formats; in xa_tracker_create() local
174 num_formats = 0; in xa_tracker_create()
176 num_formats += num_preferred[stype]; in xa_tracker_create()
178 num_formats += 1; in xa_tracker_create()
179 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
184 num_formats = 1; in xa_tracker_create()
201 xa->format_map[stype][0] = num_formats; in xa_tracker_create()
202 xa->format_map[stype][1] = num_formats; in xa_tracker_create()
203 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
/external/v4l2_codec2/vda/
Dv4l2_device.cc273 V4L2Device::GetSupportedDecodeProfiles(const size_t num_formats, in GetSupportedDecodeProfiles() argument
286 EnumerateSupportedDecodeProfiles(num_formats, pixelformats); in GetSupportedDecodeProfiles()
361 V4L2Device::EnumerateSupportedDecodeProfiles(const size_t num_formats, in EnumerateSupportedDecodeProfiles() argument
369 if (std::find(pixelformats, pixelformats + num_formats, pixelformat) == in EnumerateSupportedDecodeProfiles()
370 pixelformats + num_formats) in EnumerateSupportedDecodeProfiles()
Dv4l2_device.h114 const size_t num_formats,
125 const size_t num_formats,
/external/libdrm/tests/kms/
Dlibkms-test-plane.c68 plane->num_formats = p->count_formats; in kms_plane_probe()
134 for (i = 0; i < plane->num_formats; i++) in kms_plane_supports_format()
Dlibkms-test.h110 unsigned int num_formats; member
/external/mesa3d/src/gallium/state_trackers/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.c71 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats) in vlVaQueryImageFormats() argument
82 if (!(format_list && num_formats)) in vlVaQueryImageFormats()
85 *num_formats = 0; in vlVaQueryImageFormats()
92 format_list[(*num_formats)++] = formats[i]; in vlVaQueryImageFormats()
Dva_private.h322 VAStatus vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats);
324 unsigned int *flags, unsigned int *num_formats);
335 unsigned int *flags, unsigned int *num_formats);
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_pixelformat.c293 unsigned num_formats; in stw_pixelformat_init() local
299 num_formats = add_color_format_variants(stw_pf_color, in stw_pixelformat_init()
301 assert(num_formats > 0); in stw_pixelformat_init()
/external/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_device.h70 bool EnumFormat(uint32_t* num_formats, bool show_fmt = true);
Dmedia_v4l2_device.cc658 bool V4L2Device::EnumFormat(uint32_t* num_formats, bool show_fmt) { in EnumFormat() argument
682 if (num_formats) in EnumFormat()
683 *num_formats = i; in EnumFormat()
/external/python/cpython2/Lib/distutils/tests/
Dtest_sdist.py295 num_formats = len(ARCHIVE_FORMATS.keys())
298 self.assertEqual(len(output), num_formats)
/external/python/cpython3/Lib/distutils/tests/
Dtest_sdist.py275 num_formats = len(ARCHIVE_FORMATS.keys())
278 self.assertEqual(len(output), num_formats)
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c506 int num_formats = ARRAY_SIZE(mapping->format); in init_format_extensions() local
513 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()
538 unsigned num_formats, in get_max_samples_for_formats() argument
546 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats()
/external/swiftshader/include/EGL/
Deglext.h718 …RYDMABUFFORMATSEXTPROC) (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);
721 …glQueryDmaBufFormatsEXT (EGLDisplay dpy, EGLint max_formats, EGLint *formats, EGLint *num_formats);