Home
last modified time | relevance | path

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

12

/external/OpenCL-CTS/test_conformance/basic/
Dtest_imagearraycopy3d.cpp120 cl_uint num_formats; in test_imagearraycopy3d() local
126 context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, 0, NULL, &num_formats); in test_imagearraycopy3d()
129 formats = (cl_image_format *)malloc(num_formats * sizeof(cl_image_format)); in test_imagearraycopy3d()
132 CL_MEM_OBJECT_IMAGE3D, num_formats, formats, in test_imagearraycopy3d()
136 for (i = 0; i < num_formats; i++) { in test_imagearraycopy3d()
Dtest_imagearraycopy.cpp123 cl_uint num_formats; in test_imagearraycopy() local
128 …GetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &num_formats); in test_imagearraycopy()
131 formats = (cl_image_format *)malloc(num_formats * sizeof(cl_image_format)); in test_imagearraycopy()
133 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, num_formats, f… in test_imagearraycopy()
136 for (i = 0; i < num_formats; i++) { in test_imagearraycopy()
Dtest_arrayimagecopy3d.cpp124 cl_uint num_formats; in test_arrayimagecopy3d() local
130 context, CL_MEM_READ_ONLY, CL_MEM_OBJECT_IMAGE3D, 0, NULL, &num_formats); in test_arrayimagecopy3d()
133 formats = (cl_image_format *)malloc(num_formats * sizeof(cl_image_format)); in test_arrayimagecopy3d()
136 CL_MEM_OBJECT_IMAGE3D, num_formats, formats, in test_arrayimagecopy3d()
140 for (i = 0; i < num_formats; i++) { in test_arrayimagecopy3d()
Dtest_arrayimagecopy.cpp123 cl_uint num_formats; in test_arrayimagecopy() local
128 …GetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &num_formats); in test_arrayimagecopy()
131 formats = (cl_image_format *)malloc(num_formats * sizeof(cl_image_format)); in test_arrayimagecopy()
133 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, num_formats, f… in test_arrayimagecopy()
136 for (i = 0; i < num_formats; i++) { in test_arrayimagecopy()
/external/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()
/external/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
/external/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.h373 VAStatus vlVaQueryImageFormats(VADriverContextP ctx, VAImageFormat *format_list, int *num_formats);
375 unsigned int *flags, unsigned int *num_formats);
386 unsigned int *flags, unsigned int *num_formats);
/external/mesa3d/src/gallium/frontends/wgl/
Dstw_pixelformat.c294 unsigned num_formats; in stw_pixelformat_init() local
300 num_formats = add_color_format_variants(stw_pf_color, in stw_pixelformat_init()
302 assert(num_formats > 0); in stw_pixelformat_init()
/external/minigbm/
Ddrv_helpers.h41 void drv_add_combinations(struct driver *drv, const uint32_t *formats, uint32_t num_formats,
Dmsm.c182 uint32_t num_formats, struct format_metadata *metadata, in msm_add_ubwc_combinations() argument
185 for (uint32_t i = 0; i < num_formats; i++) { in msm_add_ubwc_combinations()
Ddrv_helpers.c521 void drv_add_combinations(struct driver *drv, const uint32_t *formats, uint32_t num_formats, in drv_add_combinations() argument
526 for (i = 0; i < num_formats; i++) { in drv_add_combinations()
/external/igt-gpu-tools/overlay/x11/
Dx11-overlay.c159 for (j = 0; j < info[j].num_formats; j++) { in x11_overlay_create()
324 for (j = 0; j < info[j].num_formats; j++) { in x11_overlay_stop()
/external/angle/src/libANGLE/renderer/
DDisplayImpl.cpp150 egl::Error DisplayImpl::queryDmaBufFormats(EGLint max_formats, EGLint *formats, EGLint *num_formats) in queryDmaBufFormats() argument
DDisplayImpl.h127 virtual egl::Error queryDmaBufFormats(EGLint max_formats, EGLint *formats, EGLint *num_formats);
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c1352 int num_formats = 0, i; in intel_query_dma_buf_formats() local
1368 num_formats++; in intel_query_dma_buf_formats()
1372 formats[num_formats - 1] = intel_image_formats[i].fourcc; in intel_query_dma_buf_formats()
1373 if (num_formats >= max) in intel_query_dma_buf_formats()
1377 *count = num_formats; in intel_query_dma_buf_formats()
2280 unsigned num_formats = ARRAY_SIZE(formats); in intel_screen_make_configs() local
2285 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
2330 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
2373 for (unsigned i = 0; i < num_formats; i++) { in intel_screen_make_configs()
/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.py284 num_formats = len(ARCHIVE_FORMATS.keys())
287 self.assertEqual(len(output), num_formats)
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_sdist.py279 num_formats = len(ARCHIVE_FORMATS.keys())
282 self.assertEqual(len(output), num_formats)
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c637 int num_formats = ARRAY_SIZE(mapping->format); in init_format_extensions() local
644 for (j = 0; j < num_formats && mapping[i].format[j]; j++) { in init_format_extensions()
669 unsigned num_formats, in get_max_samples_for_formats() argument
677 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats()
689 unsigned num_formats, in get_max_samples_for_formats_advanced() argument
698 for (f = 0; f < num_formats; f++) { in get_max_samples_for_formats_advanced()
/external/mesa3d/src/egl/main/
Degldriver.h208 EGLint *num_formats);
/external/angle/src/libEGL/
DlibEGL_autogen.cpp684 EGLint *num_formats) in eglQueryDmaBufFormatsEXT() argument
687 return EGL_QueryDmaBufFormatsEXT(dpy, max_formats, formats, num_formats); in eglQueryDmaBufFormatsEXT()
/external/angle/src/libGLESv2/
Dentry_points_egl_ext_autogen.h170 EGLint *num_formats);

12