Searched refs:sRGBmap (Results 1 – 12 of 12) sorted by relevance
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_read_1D.cpp | 523 float err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_1D() 524 sRGBmap(expected[0])); in test_read_image_1D() 525 float err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_1D() 526 sRGBmap(expected[1])); in test_read_image_1D() 527 float err3 = ABS_ERROR(sRGBmap(resultPtr[2]), in test_read_image_1D() 528 sRGBmap(expected[2])); in test_read_image_1D() 548 err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_1D() 549 sRGBmap(expected[0])); in test_read_image_1D() 550 err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_1D() 551 sRGBmap(expected[1])); in test_read_image_1D() [all …]
|
D | test_read_1D_array.cpp | 619 float err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_1D_array() 620 sRGBmap(expected[0])); in test_read_image_1D_array() 621 float err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_1D_array() 622 sRGBmap(expected[1])); in test_read_image_1D_array() 623 float err3 = ABS_ERROR(sRGBmap(resultPtr[2]), in test_read_image_1D_array() 624 sRGBmap(expected[2])); in test_read_image_1D_array() 643 err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_1D_array() 644 sRGBmap(expected[0])); in test_read_image_1D_array() 645 err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_1D_array() 646 sRGBmap(expected[1])); in test_read_image_1D_array() [all …]
|
D | test_read_3D.cpp | 640 ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_3D() 641 sRGBmap(expected[0])); in test_read_image_3D() 643 ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_3D() 644 sRGBmap(expected[1])); in test_read_image_3D() 646 ABS_ERROR(sRGBmap(resultPtr[2]), in test_read_image_3D() 647 sRGBmap(expected[2])); in test_read_image_3D() 672 ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_3D() 673 sRGBmap(expected[0])); in test_read_image_3D() 675 ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_3D() 676 sRGBmap(expected[1])); in test_read_image_3D() [all …]
|
D | test_read_2D_array.cpp | 763 ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_2D_array() 764 sRGBmap(expected[0])); in test_read_image_2D_array() 766 ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_2D_array() 767 sRGBmap(expected[1])); in test_read_image_2D_array() 769 ABS_ERROR(sRGBmap(resultPtr[2]), in test_read_image_2D_array() 770 sRGBmap(expected[2])); in test_read_image_2D_array() 790 ABS_ERROR(sRGBmap(resultPtr[0]), in test_read_image_2D_array() 791 sRGBmap(expected[0])); in test_read_image_2D_array() 793 ABS_ERROR(sRGBmap(resultPtr[1]), in test_read_image_2D_array() 794 sRGBmap(expected[1])); in test_read_image_2D_array() [all …]
|
D | test_iterations.cpp | 1009 float err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in validate_image_2D_sRGB_results() 1010 sRGBmap(expected[0])); in validate_image_2D_sRGB_results() 1011 float err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in validate_image_2D_sRGB_results() 1012 sRGBmap(expected[1])); in validate_image_2D_sRGB_results() 1013 float err3 = ABS_ERROR(sRGBmap(resultPtr[2]), in validate_image_2D_sRGB_results() 1014 sRGBmap(expected[2])); in validate_image_2D_sRGB_results() 1038 err1 = ABS_ERROR(sRGBmap(resultPtr[0]), in validate_image_2D_sRGB_results() 1039 sRGBmap(expected[0])); in validate_image_2D_sRGB_results() 1040 err2 = ABS_ERROR(sRGBmap(resultPtr[1]), in validate_image_2D_sRGB_results() 1041 sRGBmap(expected[1])); in validate_image_2D_sRGB_results() [all …]
|
D | test_write_1D.cpp | 337 expected[j] = sRGBmap(input_values[j]); in test_write_image_1D()
|
D | test_write_1D_array.cpp | 356 expected[j] = sRGBmap(input_values[j]); in test_write_image_1D_array()
|
D | test_write_2D_array.cpp | 377 expected[j] = sRGBmap(input_values[j]); in test_write_image_2D_array()
|
D | test_write_3D.cpp | 384 expected[j] = sRGBmap(input_values[j]); in test_write_image_3D()
|
D | test_write_image.cpp | 402 expected[j] = sRGBmap(input_values[j]); in test_write_image()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.h | 655 extern double sRGBmap(float fc);
|
D | imageHelpers.cpp | 39 sRGBmap(float fc) in sRGBmap() function 2661 ptr[ 0 ] = (unsigned char)( sRGBmap( srcVector[ 0 ] ) + 0.5 ); in pack_image_pixel() 2662 ptr[ 1 ] = (unsigned char)( sRGBmap( srcVector[ 1 ] ) + 0.5 ); in pack_image_pixel() 2663 ptr[ 2 ] = (unsigned char)( sRGBmap( srcVector[ 2 ] ) + 0.5 ); in pack_image_pixel()
|