Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c141 unsigned int num_formats; in xa_tracker_create() local
154 num_formats = 0; in xa_tracker_create()
156 num_formats += num_preferred[stype]; in xa_tracker_create()
158 num_formats += 1; in xa_tracker_create()
159 xa->supported_formats = calloc(num_formats, sizeof(*xa->supported_formats)); in xa_tracker_create()
164 num_formats = 1; in xa_tracker_create()
180 xa->format_map[stype][0] = num_formats; in xa_tracker_create()
181 xa->format_map[stype][1] = num_formats; in xa_tracker_create()
182 xa->supported_formats[num_formats++] = xa_format; in xa_tracker_create()
/external/mesa3d/src/gallium/state_trackers/va/
Dva_subpicture.c53 unsigned int *flags, unsigned int *num_formats) in vlVaQuerySubpictureFormats() argument
58 if (!(format_list && flags && num_formats)) in vlVaQuerySubpictureFormats()
61 num_formats[0] = VA_MAX_SUBPIC_FORMATS_SUPPORTED; in vlVaQuerySubpictureFormats()
Dva_image.c53 vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats) in vlVaQueryImageFormats() argument
58 if (!(format_list && num_formats)) in vlVaQueryImageFormats()
63 num_formats[0] = VA_MAX_IMAGE_FORMATS_SUPPORTED; in vlVaQueryImageFormats()
Dva_private.h107 VAStatus vlVaQueryImageFormats (VADriverContextP ctx,VAImageFormat *format_list,int *num_formats);
108 …ats(VADriverContextP ctx,VAImageFormat *format_list,unsigned int *flags,unsigned int *num_formats);
125 …ats(VADriverContextP ctx,VAImageFormat *format_list,unsigned int *flags,unsigned int *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/autotest/client/site_tests/camera_V4L2/src/
Dmedia_v4l2_device.h54 bool EnumFormat(uint32_t* num_formats, bool show_fmt = true);
Dmedia_v4l2_device.cc607 bool V4L2Device::EnumFormat(uint32_t* num_formats, bool show_fmt) { in EnumFormat() argument
631 if (num_formats) in EnumFormat()
632 *num_formats = i; in EnumFormat()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d.c426 int num_formats, num_configs, i, j; in egl_g3d_add_configs() local
443 num_formats = egl_g3d_fill_depth_stencil_formats(dpy, in egl_g3d_add_configs()
447 for (j = 0; j < num_formats; j++) { in egl_g3d_add_configs()
/external/mesa3d/src/gallium/state_trackers/egl/x11/
Dnative_dri2.c572 int num_formats, i; in dri2_display_convert_config() local
596 num_formats = choose_color_format(mode, formats); in dri2_display_convert_config()
597 for (i = 0; i < num_formats; i++) { in dri2_display_convert_config()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c302 int num_formats = Elements(mapping->format); in init_format_extensions() local
309 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()