Home
last modified time | relevance | path

Searched refs:get_format_channel_count (Results 1 – 13 of 13) sorted by relevance

/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h86 extern size_t get_format_channel_count( const cl_image_format *format );
216 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
224 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
232 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
240 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
248 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
256 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
264 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
272 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
280 for( i = 0; i < get_format_channel_count( format ); i++ ) in read_image_pixel()
[all …]
DimageHelpers.cpp135 size_t get_format_channel_count( const cl_image_format *format ) in get_format_channel_count() function
295 return get_format_channel_count( format ); in get_pixel_size()
305 return get_format_channel_count( format ) * sizeof( cl_ushort ); in get_pixel_size()
309 return get_format_channel_count( format ) * sizeof( cl_int ); in get_pixel_size()
332 return get_format_channel_count( format ) * sizeof( cl_float ); in get_pixel_size()
359 …if ( !channelCount || ( channelCount && ( get_format_channel_count( &formatList[ i ] ) == channelC… in get_8_bit_image_format()
389 …if ( !channelCount || ( channelCount && ( get_format_channel_count( &formatList[ i ] ) == channelC… in get_32_bit_image_format()
1425 size_t channelCount = get_format_channel_count( format ); in read_image_pixel_float()
2379 size_t vectorSize = get_format_channel_count( imageInfo->format ); in debug_find_pixel_in_image()
2414 size_t vectorSize = get_format_channel_count( imageInfo->format ); in debug_find_pixel_in_image()
[all …]
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_loops.cpp139 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_loops.cpp289 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
Dtest_iterations.cpp1168 …if( memcmp( expected, actual, sizeof( cl_float ) * get_format_channel_count( imageInfo->format ) )… in validate_float_write_results()
1171 for ( size_t j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in validate_float_write_results()
1188 …if (memcmp(expected, actual, sizeof( cl_half ) * get_format_channel_count(imageInfo->format)) != 0… in validate_half_write_results()
1191 for ( size_t j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) { in validate_half_write_results()
Dtest_write_1D.cpp333 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_1D()
Dtest_write_1D_array.cpp352 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_1D_array()
Dtest_write_2D_array.cpp373 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_2D_array()
Dtest_write_3D.cpp380 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_3D()
Dtest_write_image.cpp398 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image()
/external/OpenCL-CTS/test_conformance/profiling/
DreadImage.cpp147 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in read_image()
DwriteImage.cpp433 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in write_image()
Dcopy.cpp776 unsigned int num_channels = (unsigned int)get_format_channel_count( &image_format_desc ); in test_copy_array_to_image()