Home
last modified time | relevance | path

Searched refs:num_formats (Results 1 – 22 of 22) 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.cc260 V4L2Device::GetSupportedDecodeProfiles(const size_t num_formats, in GetSupportedDecodeProfiles() argument
273 EnumerateSupportedDecodeProfiles(num_formats, pixelformats); in GetSupportedDecodeProfiles()
348 V4L2Device::EnumerateSupportedDecodeProfiles(const size_t num_formats, in EnumerateSupportedDecodeProfiles() argument
356 if (std::find(pixelformats, pixelformats + num_formats, pixelformat) == in EnumerateSupportedDecodeProfiles()
357 pixelformats + num_formats) in EnumerateSupportedDecodeProfiles()
Dv4l2_device.h113 const size_t num_formats,
124 const size_t num_formats,
/external/libdrm/tests/kms/
Dlibkms-test-plane.c64 plane->num_formats = p->count_formats; in kms_plane_probe()
130 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.c73 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats) in vlVaQueryImageFormats() argument
84 if (!(format_list && num_formats)) in vlVaQueryImageFormats()
87 *num_formats = 0; in vlVaQueryImageFormats()
94 format_list[(*num_formats)++] = formats[i]; in vlVaQueryImageFormats()
Dva_private.h351 VAStatus vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats);
353 unsigned int *flags, unsigned int *num_formats);
364 unsigned int *flags, unsigned int *num_formats);
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.c227 unsigned num_formats; in dri_fill_in_modes() local
229 num_formats = ARRAY_SIZE(mesa_formats); in dri_fill_in_modes()
231 num_formats = ARRAY_SIZE(mesa_formats) - 2; /* all - RGBA_ORDERING formats */ in dri_fill_in_modes()
234 for (format = 0; format < num_formats; format++) { in dri_fill_in_modes()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_pixelformat.c292 unsigned num_formats; in stw_pixelformat_init() local
298 num_formats = add_color_format_variants(stw_pf_color, in stw_pixelformat_init()
300 assert(num_formats > 0); in stw_pixelformat_init()
/external/minigbm/
Dhelpers.h31 void drv_add_combinations(struct driver *drv, const uint32_t *formats, uint32_t num_formats,
Dhelpers.c492 void drv_add_combinations(struct driver *drv, const uint32_t *formats, uint32_t num_formats, in drv_add_combinations() argument
497 for (i = 0; i < num_formats; i++) { in drv_add_combinations()
/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.cc657 bool V4L2Device::EnumFormat(uint32_t* num_formats, bool show_fmt) { in EnumFormat() argument
681 if (num_formats) in EnumFormat()
682 *num_formats = i; in EnumFormat()
/external/python/cpython3/Lib/distutils/tests/
Dtest_sdist.py283 num_formats = len(ARCHIVE_FORMATS.keys())
286 self.assertEqual(len(output), num_formats)
/external/python/cpython2/Lib/distutils/tests/
Dtest_sdist.py295 num_formats = len(ARCHIVE_FORMATS.keys())
298 self.assertEqual(len(output), num_formats)
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c2083 unsigned num_formats; in intel_screen_make_configs() local
2085 num_formats = ARRAY_SIZE(formats); in intel_screen_make_configs()
2087 num_formats = ARRAY_SIZE(formats) - 2; /* all - RGBA_ORDERING formats */ in intel_screen_make_configs()
2094 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
2136 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
2173 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c556 int num_formats = ARRAY_SIZE(mapping->format); in init_format_extensions() local
563 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()
588 unsigned num_formats, in get_max_samples_for_formats() argument
596 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats()
/external/mesa3d/src/egl/main/
Deglapi.h206 EGLint *num_formats);
Deglapi.c2489 EGLint *formats, EGLint *num_formats) in eglQueryDmaBufFormatsEXT() argument
2500 num_formats); in eglQueryDmaBufFormatsEXT()
/external/mesa3d/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);
/external/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);