/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
H A D | test_1D_2D_array.cpp | 54 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 D | test_3D.cpp | 57 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 D | test_1D.cpp | 56 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 D | test_2D.cpp | 45 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 D | test_3D.cpp | 62 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 D | test_2D_array.cpp | 201 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 D | test_1D_array.cpp | 191 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 D | test_copy_3D.cpp | 70 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 D | test_copy_1D_array.cpp | 130 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 D | test_copy_2D_array.cpp | 84 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 D | test_copy_1D.cpp | 124 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 D | test_copy_2D.cpp | 137 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 D | test_fill_1D_array.cpp | 93 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 D | test_fill_2D_array.cpp | 97 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 D | test_fill_3D.cpp | 97 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 D | test_fill_1D.cpp | 90 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 D | test_fill_2D.cpp | 93 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 D | test_read_3D.cpp | 169 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 D | test_read_3D.cpp | 61 …->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 D | test_read_1D_array.cpp | 61 …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 D | test_read_2D_array.cpp | 62 …->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 D | test_read_1D.cpp | 59 …_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 D | test_read_1D_array.cpp | 81 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 D | test_read_3D.cpp | 69 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 D | test_read_2D_array.cpp | 70 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 …]
|