/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/ |
D | test_read_1D_array.cpp | 90 size_t width_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_1D_array() local 95 …row_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPi… in test_read_image_1D_array() 96 slice_pitch_lod = row_pitch_lod; in test_read_image_1D_array() 105 origin, region, ( gEnablePitch ? row_pitch_lod : 0 ), 0, in test_read_image_1D_array() 135 …n", (int)y, (int)width_lod, (int)imageInfo->arraySize, (int)row_pitch_lod, (int)row_pitch_lod - (i… in test_read_image_1D_array() 168 sourcePtr += row_pitch_lod; in test_read_image_1D_array()
|
D | test_read_2D_array.cpp | 90 size_t width_lod, height_lod, depth_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_2D_array() local 94 …row_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPi… in test_read_image_2D_array() 95 slice_pitch_lod = gTestMipmaps ? (row_pitch_lod * height_lod): imageInfo->slicePitch; in test_read_image_2D_array() 105 … origin, region, ( gEnablePitch ? row_pitch_lod : 0 ), ( gEnablePitch ? slice_pitch_lod : 0 ), in test_read_image_2D_array() 138 …t)z, (int)width_lod, (int)height_lod, (int)imageInfo->arraySize, (int)row_pitch_lod, (int)slice_pi… in test_read_image_2D_array() 141 sourcePtr += row_pitch_lod; in test_read_image_2D_array() 144 sourcePtr += slice_pitch_lod - ( row_pitch_lod * height_lod ); in test_read_image_2D_array()
|
D | test_read_2D.cpp | 90 size_t width_lod, height_lod, row_pitch_lod; in test_read_image_2D() local 94 …row_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPi… in test_read_image_2D() 103 origin, region, ( gEnablePitch ? row_pitch_lod : 0 ), 0, in test_read_image_2D() 138 …%d bytes)\n", (int)y, (int)width_lod, (int)height_lod, (int)row_pitch_lod, (int)row_pitch_lod - (i… in test_read_image_2D() 171 sourcePtr += row_pitch_lod; in test_read_image_2D()
|
D | test_read_3D.cpp | 90 size_t width_lod, height_lod, depth_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_3D() local 95 …row_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPi… in test_read_image_3D() 96 slice_pitch_lod = gTestMipmaps ? (row_pitch_lod * height_lod): imageInfo->slicePitch; in test_read_image_3D() 143 …(int)y, (int)z, (int)width_lod, (int)height_lod, (int)depth_lod, (int)row_pitch_lod, (int)slice_pi… in test_read_image_3D() 146 sourcePtr += row_pitch_lod; in test_read_image_3D() 149 sourcePtr += slice_pitch_lod - ( row_pitch_lod * height_lod ); in test_read_image_3D()
|
D | test_read_1D.cpp | 90 size_t width_lod, row_pitch_lod; in test_read_image_1D() local 93 …row_pitch_lod = gTestMipmaps ? (width_lod * get_pixel_size( imageInfo->format )): imageInfo->rowPi… in test_read_image_1D() 102 origin, region, ( gEnablePitch ? row_pitch_lod : 0 ), 0, in test_read_image_1D() 132 … size %d pitch %d (extra %d bytes)\n", (int)width_lod, (int)row_pitch_lod, (int)row_pitch_lod - (i… in test_read_image_1D()
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 144 size_t row_pitch_lod, slice_pitch_lod; in create_image() local 145 row_pitch_lod = imageInfo->rowPitch; in create_image() 206 row_pitch_lod = width * get_pixel_size(imageInfo->format); in create_image() 207 slice_pitch_lod = row_pitch_lod * height; in create_image() 222 size_t scanlineSize = row_pitch_lod; in create_image()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.h | 158 …od = imageInfo->depth, slice_pitch_lod = 0/*imageInfo->slicePitch*/ , row_pitch_lod = 0/*imageInfo… in read_image_pixel() local 166 …row_pitch_lod = (imageInfo->num_mip_levels > 0)? (width_lod * get_pixel_size( imageInfo->format ))… in read_image_pixel() 167 …slice_pitch_lod = (imageInfo->num_mip_levels > 0)? (row_pitch_lod * height_lod): imageInfo->sliceP… in read_image_pixel() 208 ptr += z * slice_pitch_lod + y * row_pitch_lod + x * pixelSize; in read_image_pixel()
|
D | imageHelpers.cpp | 1377 size_t slice_pitch_lod = 0, row_pitch_lod = 0; in read_image_pixel_float() local 1391 row_pitch_lod = width_lod * get_pixel_size(imageInfo->format); in read_image_pixel_float() 1393 slice_pitch_lod = row_pitch_lod; in read_image_pixel_float() 1395 slice_pitch_lod = row_pitch_lod * height_lod; in read_image_pixel_float() 1399 row_pitch_lod = imageInfo->rowPitch; in read_image_pixel_float() 1422 ptr += z * slice_pitch_lod + y * row_pitch_lod + x * pixelSize; in read_image_pixel_float() 1942 size_t slice_pitch_lod = 0, row_pitch_lod = 0; in sample_image_pixel_float_offset() local 1956 row_pitch_lod = width_lod * get_pixel_size(imageInfo->format); in sample_image_pixel_float_offset() 1958 slice_pitch_lod = row_pitch_lod; in sample_image_pixel_float_offset() 1960 slice_pitch_lod = row_pitch_lod * height_lod; in sample_image_pixel_float_offset() [all …]
|