Lines Matching refs:cl_float
184 ((cl_float*)outData)[i] = ((cl_float*)inputBuffer)[2 * i]; in convert_to_expected()
210 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
213 outData[ i ] = (cl_float)src[ i ] / 127.0f; in convert_to_expected()
240 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
243 outData[ i ] = (cl_float)(src[ i ]) / 256.0f; in convert_to_expected()
270 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
273 outData[ i ] = (cl_float)src[ i ] / 32768.0f; in convert_to_expected()
300 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
303 outData[ i ] = (cl_float)(src[ i ]) / 65535.0f; in convert_to_expected()
323 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
326 outData[ i ] = (cl_float)fmaxf( (float)src[ i ] / 2147483647.f, -1.f ); in convert_to_expected()
346 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
347 … const cl_float MaxValue = (glDataType == GL_UNSIGNED_INT_24_8) ? 16777215.f : 4294967295.f; in convert_to_expected()
351 outData[ i ] = (cl_float)(src[ i ] >> ShiftBits) / MaxValue; in convert_to_expected()
368 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
382 cl_float *src = (cl_float *)inputBuffer; in convert_to_expected()
447 cl_float *expected = (cl_float *)expectedResults; in validate_float_results()
448 cl_float *actual = (cl_float *)actualResults; in validate_float_results()
505 cl_float *expected = (cl_float *)expectedResults; in validate_float_results_rgb_101010()
506 cl_float *actual = (cl_float *)actualResults; in validate_float_results_rgb_101010()