Home
last modified time | relevance | path

Searched refs:sRGBmap (Results 1 – 12 of 12) sorted by relevance

/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_1D.cpp523 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 …]
Dtest_read_1D_array.cpp619 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 …]
Dtest_read_3D.cpp640 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 …]
Dtest_read_2D_array.cpp763 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 …]
Dtest_iterations.cpp1009 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 …]
Dtest_write_1D.cpp337 expected[j] = sRGBmap(input_values[j]); in test_write_image_1D()
Dtest_write_1D_array.cpp356 expected[j] = sRGBmap(input_values[j]); in test_write_image_1D_array()
Dtest_write_2D_array.cpp377 expected[j] = sRGBmap(input_values[j]); in test_write_image_2D_array()
Dtest_write_3D.cpp384 expected[j] = sRGBmap(input_values[j]); in test_write_image_3D()
Dtest_write_image.cpp402 expected[j] = sRGBmap(input_values[j]); in test_write_image()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h655 extern double sRGBmap(float fc);
DimageHelpers.cpp39 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()