Home
last modified time | relevance | path

Searched refs:image_format_desc (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp250 cl_image_format image_format_desc; in test_min_max_read_image_args() local
261 image_format_desc.image_channel_order = CL_RGBA; in test_min_max_read_image_args()
262 image_format_desc.image_channel_data_type = CL_FLOAT; in test_min_max_read_image_args()
335 …reate_image_2d( context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, &image_format_desc, 4, 4, 0, im… in test_min_max_read_image_args()
386 cl_image_format image_format_desc; in test_min_max_write_image_args() local
394 image_format_desc.image_channel_order = CL_RGBA; in test_min_max_write_image_args()
395 image_format_desc.image_channel_data_type = CL_UNORM_INT8; in test_min_max_write_image_args()
451 …streams[i] = create_image_2d( context, CL_MEM_READ_WRITE, &image_format_desc, 16, 16, 0, NULL, &er… in test_min_max_write_image_args()
554 cl_image_format image_format_desc; in test_min_max_image_2d_width() local
574 …get_8_bit_image_format( context, CL_MEM_OBJECT_IMAGE2D, CL_MEM_READ_WRITE, 0, &image_format_desc ); in test_min_max_image_2d_width()
[all …]
/external/OpenCL-CTS/test_conformance/profiling/
DreadImage.cpp123 cl_image_format image_format_desc ) in read_image() argument
144 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in read_image()
151 if( image_format_desc.image_channel_data_type == CL_SIGNED_INT8 ) in read_image()
171 memobjs[0] = create_image_2d( context, flags, &image_format_desc, w, h, 0, NULL, &err ); in read_image()
344 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in test_read_image_float() local
347 …ge( device, context, queue, numElements, readKernelCode[0], readKernelName[0], image_format_desc ); in test_read_image_float()
354 cl_image_format image_format_desc = { CL_RGBA, CL_SIGNED_INT8 }; in test_read_image_char() local
357 …ge( device, context, queue, numElements, readKernelCode[1], readKernelName[1], image_format_desc ); in test_read_image_char()
364 cl_image_format image_format_desc = { CL_RGBA, CL_UNSIGNED_INT8 }; in test_read_image_uchar() local
367 …ge( device, context, queue, numElements, readKernelCode[2], readKernelName[2], image_format_desc ); in test_read_image_uchar()
DwriteImage.cpp405 const char *name, cl_image_format image_format_desc, int readFloat ) in write_image() argument
430 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in write_image()
437 if( image_format_desc.image_channel_data_type == CL_SIGNED_INT8 ) in write_image()
456 memobjs[0] = create_image_2d( context, flags, &image_format_desc, w, h, 0, NULL, &err ); in write_image()
641 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in test_write_image_float() local
644 … device, context, queue, numElements, readKernelCode[0], readKernelName[0], image_format_desc, 1 ); in test_write_image_float()
651 cl_image_format image_format_desc = { CL_RGBA, CL_SIGNED_INT8 }; in test_write_image_char() local
654 … device, context, queue, numElements, readKernelCode[1], readKernelName[1], image_format_desc, 0 ); in test_write_image_char()
661 cl_image_format image_format_desc = { CL_RGBA, CL_UNSIGNED_INT8 }; in test_write_image_uchar() local
664 … device, context, queue, numElements, readKernelCode[2], readKernelName[2], image_format_desc, 0 ); in test_write_image_uchar()
Dexecute.cpp174 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in kernelFilter() local
189 &image_format_desc, w, h, 0, inptr, &err); in kernelFilter()
195 …memobjs[1] = create_image_2d( context, CL_MEM_WRITE_ONLY, &image_format_desc, w, h, 0, NULL, &err … in kernelFilter()
Dcopy.cpp436 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in copy_image_size() local
475 memobjs[0] = create_image_2d(context, flags, &image_format_desc, w, h, 0, NULL, &err); in copy_image_size()
494 memobjs[2] = create_image_2d(context, flags, &image_format_desc, w, h, 0, NULL, &err); in copy_image_size()
760 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in test_copy_array_to_image() local
765 unsigned int num_channels = (unsigned int)get_format_channel_count( &image_format_desc ); in test_copy_array_to_image()
793 memobjs[0] = create_image_2d( context, flags, &image_format_desc, w, h, 0, NULL, &err ); in test_copy_array_to_image()
Dexecute_multipass.cpp95 cl_image_format image_format_desc = { CL_RGBA, CL_UNORM_INT8 }; in run_kernel() local
127 &image_format_desc, w, h, d, 0, 0, inptr, &err); in run_kernel()