Home
last modified time | relevance | path

Searched refs:row_pitch_lod (Results 1 – 8 of 8) sorted by relevance

/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_1D_array.cpp90 size_t width_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_1D_array() local
95row_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()
Dtest_read_2D_array.cpp90 size_t width_lod, height_lod, depth_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_2D_array() local
94row_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()
Dtest_read_2D.cpp90 size_t width_lod, height_lod, row_pitch_lod; in test_read_image_2D() local
94row_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()
Dtest_read_3D.cpp90 size_t width_lod, height_lod, depth_lod, row_pitch_lod, slice_pitch_lod; in test_read_image_3D() local
95row_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()
Dtest_read_1D.cpp90 size_t width_lod, row_pitch_lod; in test_read_image_1D() local
93row_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/
Dtest_copy_generic.cpp144 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/
DimageHelpers.h158 …od = imageInfo->depth, slice_pitch_lod = 0/*imageInfo->slicePitch*/ , row_pitch_lod = 0/*imageInfo… in read_image_pixel() local
166row_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()
DimageHelpers.cpp1377 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 …]