Lines Matching refs:formatList
341 cl_image_format formatList[ 128 ]; in get_8_bit_image_format() local
347 …if ((error = clGetSupportedImageFormats( context, flags, objType, 128, formatList, &outFormatCount… in get_8_bit_image_format()
354 if( formatList[ i ].image_channel_data_type == CL_SNORM_INT8 || in get_8_bit_image_format()
355 formatList[ i ].image_channel_data_type == CL_UNORM_INT8 || in get_8_bit_image_format()
356 formatList[ i ].image_channel_data_type == CL_SIGNED_INT8 || in get_8_bit_image_format()
357 formatList[ i ].image_channel_data_type == CL_UNSIGNED_INT8 ) in get_8_bit_image_format()
359 …if ( !channelCount || ( channelCount && ( get_format_channel_count( &formatList[ i ] ) == channelC… in get_8_bit_image_format()
361 *outFormat = formatList[ i ]; in get_8_bit_image_format()
372 cl_image_format formatList[ 128 ]; in get_32_bit_image_format() local
378 …if ((error = clGetSupportedImageFormats( context, flags, objType, 128, formatList, &outFormatCount… in get_32_bit_image_format()
384 if( formatList[ i ].image_channel_data_type == CL_UNORM_INT_101010 || in get_32_bit_image_format()
385 formatList[ i ].image_channel_data_type == CL_FLOAT || in get_32_bit_image_format()
386 formatList[ i ].image_channel_data_type == CL_SIGNED_INT32 || in get_32_bit_image_format()
387 formatList[ i ].image_channel_data_type == CL_UNSIGNED_INT32 ) in get_32_bit_image_format()
389 …if ( !channelCount || ( channelCount && ( get_format_channel_count( &formatList[ i ] ) == channelC… in get_32_bit_image_format()
391 *outFormat = formatList[ i ]; in get_32_bit_image_format()
3665 bool find_format( cl_image_format *formatList, unsigned int numFormats, cl_image_format *formatToFi… in find_format() argument
3669 if( formatList[ i ].image_channel_order == formatToFind->image_channel_order && in find_format()
3670 formatList[ i ].image_channel_data_type == formatToFind->image_channel_data_type ) in find_format()