Home
last modified time | relevance | path

Searched refs:rowPitch (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/clGetInfo/
H A Dtest_1D_2D_array.cpp54 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_get_image_info_1D_array()
55 imageInfo.slicePitch = imageInfo.rowPitch; in test_get_image_info_1D_array()
61 …idth, (int)imageInfo.arraySize, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_1D_array()
65 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_1D_array()
85 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_get_image_info_1D_array()
86 imageInfo.slicePitch = imageInfo.rowPitch; in test_get_image_info_1D_array()
92 …idth, (int)imageInfo.arraySize, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_1D_array()
96 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_1D_array()
114 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_get_image_info_1D_array()
117 imageInfo.rowPitch += extraWidth; in test_get_image_info_1D_array()
[all …]
H A Dtest_3D.cpp57 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
61 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_get_image_info_3D()
67 …mageInfo.depth, j, (unsigned long)all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)imageInfo.s… in test_get_image_info_3D()
71 …nfo_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, imageInfo.sliceP… in test_get_image_info_3D()
92 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
93 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_get_image_info_3D()
99 …es[ idx ][ 2 ], j, (unsigned long)all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)imageInfo.s… in test_get_image_info_3D()
103 …nfo_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, imageInfo.sliceP… in test_get_image_info_3D()
122 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
123 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_get_image_info_3D()
[all …]
H A Dtest_1D.cpp56 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D()
60 …h %d)\n", (int)imageInfo.width, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_1D()
64 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_1D()
81 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D()
86 …h %d)\n", (int)imageInfo.width, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_1D()
90 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_1D()
107 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D()
109 imageInfo.rowPitch += extraWidth; in test_get_image_info_1D()
113 imageInfo.rowPitch += extraWidth; in test_get_image_info_1D()
114 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_get_image_info_1D()
[all …]
H A Dtest_2D.cpp45 imageInfo->rowPitch = imageInfo->width * get_pixel_size( imageInfo->format ); in test_get_image_info_single()
58 imageInfo->slicePitch = imageInfo->rowPitch * imageInfo->height; in test_get_image_info_single()
63 imageInfo->slicePitch = imageInfo->rowPitch; in test_get_image_info_single()
68 imageInfo->slicePitch = imageInfo->rowPitch * imageInfo->height; in test_get_image_info_single()
295 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_2D()
301 …o.width, (int)imageInfo.height, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_2D()
305 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_2D()
324 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_2D()
329 …o.width, (int)imageInfo.height, j, (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch ); in test_get_image_info_2D()
333 …_get_image_info_single( context, &imageInfo, seed, all_host_ptr_flags[j], imageInfo.rowPitch, 0 ) ) in test_get_image_info_2D()
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
H A Dtest_3D.cpp62 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
66 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_get_image_info_3D()
92 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
93 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_get_image_info_3D()
109 cl_ulong rowPitch; in test_get_image_info_3D() local
119 rowPitch = imageInfo.width * pixelSize; in test_get_image_info_3D()
120 slicePitch = imageInfo.rowPitch * imageInfo.height; in test_get_image_info_3D()
123 rowPitch += extraWidth; in test_get_image_info_3D()
127 rowPitch += extraWidth; in test_get_image_info_3D()
128 } while ((rowPitch % pixelSize) != 0); in test_get_image_info_3D()
[all …]
H A Dtest_2D_array.cpp201 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_2D_array()
205 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_get_image_info_2D_array()
231 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_2D_array()
232 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_get_image_info_2D_array()
248 cl_ulong rowPitch; in test_get_image_info_2D_array() local
258 rowPitch = imageInfo.width * pixelSize; in test_get_image_info_2D_array()
259 slicePitch = rowPitch * imageInfo.height; in test_get_image_info_2D_array()
262 rowPitch += extraWidth; in test_get_image_info_2D_array()
266 rowPitch += extraWidth; in test_get_image_info_2D_array()
267 } while ((rowPitch % pixelSize) != 0); in test_get_image_info_2D_array()
[all …]
H A Dtest_1D_array.cpp191 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D_array()
192 imageInfo.slicePitch = imageInfo.rowPitch; in test_get_image_info_1D_array()
217 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D_array()
218 imageInfo.slicePitch = imageInfo.rowPitch; in test_get_image_info_1D_array()
240 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_get_image_info_1D_array()
242 imageInfo.rowPitch += extraWidth; in test_get_image_info_1D_array()
246 imageInfo.rowPitch += extraWidth; in test_get_image_info_1D_array()
247 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_get_image_info_1D_array()
249 imageInfo.slicePitch = imageInfo.rowPitch; in test_get_image_info_1D_array()
251 size = (cl_ulong)imageInfo.rowPitch * (cl_ulong)imageInfo.arraySize * 4; in test_get_image_info_1D_array()
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/clCopyImage/
H A Dtest_copy_3D.cpp70 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_3D()
79 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_3D()
80 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_3D()
85 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_copy_image_set_3D()
112 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_3D()
121 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_3D()
122 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_3D()
125 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_copy_image_set_3D()
152 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_copy_image_set_3D()
153 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_copy_image_set_3D()
[all …]
H A Dtest_copy_1D_array.cpp130 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D_array()
139 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D_array()
140 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_1D_array()
143 imageInfo.slicePitch = imageInfo.rowPitch; in test_copy_image_set_1D_array()
169 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D_array()
178 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D_array()
179 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_1D_array()
182 imageInfo.slicePitch = imageInfo.rowPitch; in test_copy_image_set_1D_array()
207 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_copy_image_set_1D_array()
208 imageInfo.slicePitch = imageInfo.rowPitch; in test_copy_image_set_1D_array()
[all …]
H A Dtest_copy_2D_array.cpp84 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D_array()
93 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D_array()
94 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_2D_array()
99 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_copy_image_set_2D_array()
127 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D_array()
136 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D_array()
137 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_2D_array()
140 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_copy_image_set_2D_array()
166 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_copy_image_set_2D_array()
167 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_copy_image_set_2D_array()
[all …]
H A Dtest_copy_1D.cpp124 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
133 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
134 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_1D()
157 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
166 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
167 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_1D()
192 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_copy_image_set_1D()
198 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
204 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_1D()
205 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_1D()
[all …]
H A Dtest_copy_2D.cpp137 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
146 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
147 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_2D()
175 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
184 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
185 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_2D()
211 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_copy_image_set_2D()
217 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
222 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_copy_image_set_2D()
223 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_copy_image_set_2D()
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/clFillImage/
H A Dtest_fill_1D_array.cpp93 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
100 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
101 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_1D_array()
104 imageInfo.slicePitch = imageInfo.rowPitch; in test_fill_image_set_1D_array()
128 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
135 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
136 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_1D_array()
139 imageInfo.slicePitch = imageInfo.rowPitch; in test_fill_image_set_1D_array()
159 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
166 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D_array()
[all …]
H A Dtest_fill_2D_array.cpp97 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D_array()
104 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D_array()
105 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_2D_array()
110 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_fill_image_set_2D_array()
134 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D_array()
141 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D_array()
142 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_2D_array()
145 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_fill_image_set_2D_array()
162 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_fill_image_set_2D_array()
185 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D_array()
[all …]
H A Dtest_fill_3D.cpp97 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
104 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
105 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_3D()
110 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_fill_image_set_3D()
135 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
142 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
143 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_3D()
146 imageInfo.slicePitch = imageInfo.rowPitch * (imageInfo.height + slicePadding); in test_fill_image_set_3D()
167 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
174 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_3D()
[all …]
H A Dtest_fill_1D.cpp90 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
97 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
98 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_1D()
120 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
127 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
128 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_1D()
149 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
156 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_1D()
157 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_1D()
160 size = (size_t)imageInfo.rowPitch * 4; in test_fill_image_set_1D()
[all …]
H A Dtest_fill_2D.cpp93 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
100 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
101 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_2D()
127 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
134 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
135 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_2D()
157 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
164 imageInfo.rowPitch = imageInfo.width * pixelSize + rowPadding; in test_fill_image_set_2D()
165 } while ((imageInfo.rowPitch % pixelSize) != 0); in test_fill_image_set_2D()
168 size = (size_t)imageInfo.rowPitch * (size_t)imageInfo.height * 4; in test_fill_image_set_2D()
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
H A Dtest_read_3D.cpp169 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
173 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
203 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
204 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_3D()
224 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
225 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_3D()
251 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
252 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
256 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
257 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
[all …]
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
H A Dtest_read_3D.cpp61 …->width, (int)imageInfo->height, (int)imageInfo->depth, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_3D()
92 …_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPitch; in test_read_image_3D()
102 …origin, region, ( gEnablePitch ? imageInfo->rowPitch : 0 ), ( gEnablePitch ? imageInfo->slicePitch… in test_read_image_3D()
184 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
188 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
218 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
219 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_3D()
244 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_3D()
245 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
250 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
[all …]
H A Dtest_read_1D_array.cpp61 …vels, (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo->rowPitch, IGetErrorString(… in test_read_image_1D_array()
90 …_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPitch; in test_read_image_1D_array()
201 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
202 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
230 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
231 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
258 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_1D_array()
259 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
264 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
268 imageInfo.rowPitch += extraWidth * pixelSize; in test_read_image_set_1D_array()
[all …]
H A Dtest_read_2D_array.cpp62 …->width, (int)imageInfo->height, (int)imageInfo->depth, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_2D_array()
91 …_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPitch; in test_read_image_2D_array()
179 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_2D_array()
183 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_2D_array()
213 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_2D_array()
214 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_2D_array()
241 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_2D_array()
242 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_2D_array()
247 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_2D_array()
248 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_2D_array()
[all …]
H A Dtest_read_1D.cpp59 …_levels, (int)imageInfo->width, (int)imageInfo->height, (int)imageInfo->rowPitch, IGetErrorString(… in test_read_image_1D()
76 fullImageSize = imageInfo->rowPitch; in test_read_image_1D()
88 …_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPitch; in test_read_image_1D()
197 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D()
222 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D()
248 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_1D()
253 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D()
257 imageInfo.rowPitch += extraWidth * pixelSize; in test_read_image_set_1D()
260 size = (size_t)imageInfo.rowPitch * 4; in test_read_image_set_1D()
265 …ize %d (row pitch %d) out of %d\n", (int)imageInfo.width, (int)imageInfo.rowPitch, (int)maxWidth ); in test_read_image_set_1D()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
H A Dtest_read_1D_array.cpp81 image_desc.image_row_pitch = ( gEnablePitch ? imageInfo->rowPitch : 0 ); in test_read_image_1D_array()
88 …)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo->rowPitch, IGetErrorString(… in test_read_image_1D_array()
102 …)\n", (int)imageInfo->width, (int)imageInfo->arraySize, (int)imageInfo->rowPitch, IGetErrorString(… in test_read_image_1D_array()
265 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
266 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
290 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
291 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
312 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_1D_array()
316 imageInfo.rowPitch += extraWidth * pixelSize; in test_read_image_set_1D_array()
319 imageInfo.slicePitch = imageInfo.rowPitch; in test_read_image_set_1D_array()
[all …]
H A Dtest_read_3D.cpp69 image_desc.image_row_pitch = ( gEnablePitch ? imageInfo->rowPitch : 0 ); in test_read_image_3D()
76 …->width, (int)imageInfo->height, (int)imageInfo->depth, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_3D()
90 …->width, (int)imageInfo->height, (int)imageInfo->depth, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_3D()
260 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
264 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
289 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
290 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_3D()
312 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_3D()
313 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_3D()
318 imageInfo.rowPitch += extraWidth * pixelSize; in test_read_image_set_3D()
[all …]
H A Dtest_read_2D_array.cpp70 image_desc.image_row_pitch = ( gEnablePitch ? imageInfo->rowPitch : 0 ); in test_read_image_2D_array()
77 …dth, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_2D_array()
91 …dth, (int)imageInfo->height, (int)imageInfo->arraySize, (int)imageInfo->rowPitch, (int)imageInfo->… in test_read_image_2D_array()
257 imageInfo.rowPitch = imageInfo.width * get_pixel_size( imageInfo.format ); in test_read_image_set_2D_array()
261 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_2D_array()
286 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_2D_array()
287 imageInfo.slicePitch = imageInfo.height * imageInfo.rowPitch; in test_read_image_set_2D_array()
309 imageInfo.rowPitch = imageInfo.width * pixelSize; in test_read_image_set_2D_array()
310 imageInfo.slicePitch = imageInfo.rowPitch * imageInfo.height; in test_read_image_set_2D_array()
315 imageInfo.rowPitch += extraWidth * pixelSize; in test_read_image_set_2D_array()
[all …]

12345678910>>...12