Searched refs:get_format_channel_count (Results 1 – 13 of 13) sorted by relevance
86 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 …]
135 size_t get_format_channel_count( const cl_image_format *format ) in get_format_channel_count() function295 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 …]
139 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
289 (int)get_format_channel_count( &formatList[ f ] ) ); in test_image_set()
1168 …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()
333 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_1D()
352 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_1D_array()
373 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_2D_array()
380 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image_3D()
398 … for( unsigned int j = 0; j < get_format_channel_count( imageInfo->format ); j++ ) in test_write_image()
147 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in read_image()
433 element_nbytes = channel_nbytes * get_format_channel_count( &image_format_desc ); in write_image()
776 unsigned int num_channels = (unsigned int)get_format_channel_count( &image_format_desc ); in test_copy_array_to_image()