Home
last modified time | relevance | path

Searched refs:formatMax (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
H A Dtest_write_1D.cpp106 int formatMax = 255 + test_range_ext; in test_write_image_1D() local
115 pixel_value = random_in_range( formatMin, (int)formatMax, d ); in test_write_image_1D()
134 float formatMax = (float)get_format_max_int( imageInfo->format ); in test_write_image_1D() local
135 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D()
136 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D()
137 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_1D()
138 inputValues[ i++ ] = 4.7f / formatMax; in test_write_image_1D()
139 inputValues[ i++ ] = 5.0f / formatMax; in test_write_image_1D()
140 inputValues[ i++ ] = 5.3f / formatMax; in test_write_image_1D()
141 inputValues[ i++ ] = 5.5f / formatMax; in test_write_image_1D()
[all …]
H A Dtest_write_1D_array.cpp116 int formatMax = 255 + test_range_ext; in test_write_image_1D_array() local
125 pixel_value = random_in_range( formatMin, (int)formatMax, d ); in test_write_image_1D_array()
144 float formatMax = (float)get_format_max_int( imageInfo->format ); in test_write_image_1D_array() local
145 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_1D_array()
146 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_1D_array()
147 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_1D_array()
148 inputValues[ i++ ] = 4.7f / formatMax; in test_write_image_1D_array()
149 inputValues[ i++ ] = 5.0f / formatMax; in test_write_image_1D_array()
150 inputValues[ i++ ] = 5.3f / formatMax; in test_write_image_1D_array()
151 inputValues[ i++ ] = 5.5f / formatMax; in test_write_image_1D_array()
[all …]
H A Dtest_write_3D.cpp146 int formatMax = 255 + test_range_ext; in test_write_image_3D() local
157 pixel_value = random_in_range( formatMin, (int)formatMax, d ); in test_write_image_3D()
177 float formatMax = (float)get_format_max_int( imageInfo->format ); in test_write_image_3D() local
178 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_3D()
179 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_3D()
180 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_3D()
181 inputValues[ i++ ] = 4.7f / formatMax; in test_write_image_3D()
182 inputValues[ i++ ] = 5.0f / formatMax; in test_write_image_3D()
183 inputValues[ i++ ] = 5.3f / formatMax; in test_write_image_3D()
184 inputValues[ i++ ] = 5.5f / formatMax; in test_write_image_3D()
[all …]
H A Dtest_write_2D_array.cpp143 int formatMax = 255 + test_range_ext; in test_write_image_2D_array() local
154 pixel_value = random_in_range( formatMin, (int)formatMax, d ); in test_write_image_2D_array()
173 float formatMax = (float)get_format_max_int( imageInfo->format ); in test_write_image_2D_array() local
174 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image_2D_array()
175 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image_2D_array()
176 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image_2D_array()
177 inputValues[ i++ ] = 4.7f / formatMax; in test_write_image_2D_array()
178 inputValues[ i++ ] = 5.0f / formatMax; in test_write_image_2D_array()
179 inputValues[ i++ ] = 5.3f / formatMax; in test_write_image_2D_array()
180 inputValues[ i++ ] = 5.5f / formatMax; in test_write_image_2D_array()
[all …]
H A Dtest_write_image.cpp137 int formatMax = 255 + test_range_ext; in test_write_image() local
146 pixel_value = random_in_range( formatMin, (int)formatMax, d ); in test_write_image()
165 float formatMax = (float)get_format_max_int( imageInfo->format ); in test_write_image() local
166 inputValues[ i++ ] = 4.0f / formatMax; in test_write_image()
167 inputValues[ i++ ] = 4.3f / formatMax; in test_write_image()
168 inputValues[ i++ ] = 4.5f / formatMax; in test_write_image()
169 inputValues[ i++ ] = 4.7f / formatMax; in test_write_image()
170 inputValues[ i++ ] = 5.0f / formatMax; in test_write_image()
171 inputValues[ i++ ] = 5.3f / formatMax; in test_write_image()
172 inputValues[ i++ ] = 5.5f / formatMax; in test_write_image()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/archive/tar/
Dformat.go105 formatMax const
119 for f2 := Format(1); f2 < formatMax; f2 <<= 1 {
/aosp_15_r20/external/OpenCL-CTS/test_common/harness/
H A DimageHelpers.cpp3383 size_t formatMax = get_format_max_int(imageInfo->format); in create_random_image_data() local
3388 if (formatMax > 2147483647L) formatMax = 2147483647L; in create_random_image_data()
3392 if (formatMax < 2147483647L) formatMax += 2; in create_random_image_data()
3398 imageData[i] = random_in_range(formatMin, (int)formatMax, d); in create_random_image_data()
3409 size_t formatMax = get_format_max_int(imageInfo->format); in create_random_image_data() local
3413 if (formatMax < 4294967295LL) formatMax += 2; in create_random_image_data()
3418 imageData[i] = random_in_range(formatMin, (int)formatMax, d); in create_random_image_data()