Home
last modified time | relevance | path

Searched refs:slice_pitch (Results 1 – 25 of 27) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/mem_host_flags/
DC_host_memory_block.h171 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect() local
178 size_t orig = (size_t)(soffset[0] + row_pitch*soffset[1] + slice_pitch * soffset[2]); in Equal_rect()
183 int p1 = (int)(x + row_pitch*y + slice_pitch* z + orig); in Equal_rect()
199 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect_from_orig() local
206 size_t orig = soffset[0] + row_pitch * soffset[1] + slice_pitch * soffset[2]; in Equal_rect_from_orig()
211 size_t p1 = x + (row_pitch*y) + (slice_pitch*z); in Equal_rect_from_orig()
228 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect_from_orig() local
235 size_t orig = soffset[0] + row_pitch*soffset[1] + slice_pitch * soffset[2]; in Equal_rect_from_orig()
240 size_t p1 = x + (row_pitch * y) + (slice_pitch * z); in Equal_rect_from_orig()
Dchecker_image_mem_host_read_only.hpp125 size_t slice_pitch = m_cl_Image_desc.image_slice_pitch ? m_cl_Image_desc.image_slice_pitch : in get_image_data_size() local
127 return (slice_pitch * m_cl_Image_desc.image_depth * m_cl_Image_desc.image_array_size); in get_image_data_size()
/external/mesa3d/src/gallium/frontends/clover/core/
Dmemory.cpp158 size_t row_pitch, size_t slice_pitch, size_t size, in image() argument
162 _row_pitch(row_pitch), _slice_pitch(slice_pitch) { in image()
229 image::slice_pitch() const { in slice_pitch() function in image
249 size_t row_pitch, size_t slice_pitch, in image3d() argument
252 row_pitch, slice_pitch, depth * slice_pitch, in image3d()
Dmemory.hpp130 size_t row_pitch, size_t slice_pitch, size_t size,
140 size_t slice_pitch() const;
177 size_t row_pitch, size_t slice_pitch,
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_2D.cpp18 …, image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch ) in test_get_image_info_single() argument
40 imageDesc.image_slice_pitch = slice_pitch; in test_get_image_info_single()
51 …p...\n", (int)imageInfo->width, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
55 …>width, (int)imageInfo->height, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
60 …>height, (int)imageInfo->depth, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
65 …dth, (int)imageInfo->arraySize, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
70 …ght, (int)imageInfo->arraySize, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
Dtest_1D.cpp18 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
Dtest_3D.cpp18 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
Dtest_1D_2D_array.cpp18 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp93 size_t slice_pitch) in check_overlap_rect() argument
110 size_t dst_start = dst_offset[2] * slice_pitch + dst_offset[1] * row_pitch + dst_offset[0]; in check_overlap_rect()
111 size_t dst_end = dst_start + (region[2] * slice_pitch + in check_overlap_rect()
113 size_t src_start = src_offset[2] * slice_pitch + src_offset[1] * row_pitch + src_offset[0]; in check_overlap_rect()
114 size_t src_end = src_start + (region[2] * slice_pitch + in check_overlap_rect()
125 … size_t src_height = slice_pitch / row_pitch; size_t dst_height = slice_pitch / row_pitch; in check_overlap_rect()
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp214 const size_t slice_pitch = desc->image_slice_pitch ? in clCreateImage() local
220 slice_pitch, host_ptr); in clCreateImage()
254 size_t row_pitch, size_t slice_pitch, in clCreateImage3D() argument
257 row_pitch, slice_pitch, 0, 0, NULL }; in clCreateImage3D()
373 buf.as_scalar<size_t>() = img.slice_pitch(); in clGetImageInfo()
Dtransfer.cpp586 size_t row_pitch, size_t slice_pitch, void *ptr, in clEnqueueReadImage() argument
594 row_pitch, slice_pitch }}); in clEnqueueReadImage()
597 img.row_pitch(), img.slice_pitch() }}); in clEnqueueReadImage()
623 size_t row_pitch, size_t slice_pitch, const void *ptr, in clEnqueueWriteImage() argument
632 img.row_pitch(), img.slice_pitch() }}); in clEnqueueWriteImage()
634 row_pitch, slice_pitch }}); in clEnqueueWriteImage()
738 src_img.slice_pitch() }}); in clEnqueueCopyImageToBuffer()
772 dst_img.slice_pitch() }}); in clEnqueueCopyBufferToImage()
828 size_t *row_pitch, size_t *slice_pitch, in clEnqueueMapImage() argument
844 if (img.slice_pitch() && !slice_pitch) in clEnqueueMapImage()
[all …]
/external/mesa3d/include/CL/
Dcl2.hpp5121 size_type slice_pitch = 0, in Image3D() argument
5151 slice_pitch, in Image3D()
5173 slice_pitch, host_ptr, &error); in Image3D()
7737 size_type slice_pitch,
7751 slice_pitch,
7770 size_type slice_pitch,
7784 slice_pitch,
8024 size_type * slice_pitch,
8035 row_pitch, slice_pitch,
9608 size_type slice_pitch,
[all …]
Dcl.hpp4240 ::size_t slice_pitch = 0, in Image3D() argument
4270 slice_pitch, in Image3D()
4292 slice_pitch, host_ptr, &error); in Image3D()
5950 ::size_t slice_pitch, in enqueueReadImage() argument
5959 (const ::size_t *) region, row_pitch, slice_pitch, ptr, in enqueueReadImage()
5977 ::size_t slice_pitch, in enqueueWriteImage() argument
5986 (const ::size_t *) region, row_pitch, slice_pitch, ptr, in enqueueWriteImage()
6213 ::size_t * slice_pitch, in enqueueMapImage() argument
6223 row_pitch, slice_pitch, in enqueueMapImage()
7056 ::size_t slice_pitch, in enqueueReadImage() argument
[all …]
Dcl.h1608 size_t slice_pitch,
/external/angle/src/libGLESv2/
Dcl_stubs.cpp828 size_t slice_pitch, in EnqueueReadImage() argument
835 image, blocking_read, origin, region, row_pitch, slice_pitch, ptr, num_events_in_wait_list, in EnqueueReadImage()
Dentry_points_cl_autogen.cpp833 size_t slice_pitch, in clEnqueueReadImage() argument
846 (uintptr_t)region, row_pitch, slice_pitch, (uintptr_t)ptr, num_events_in_wait_list, in clEnqueueReadImage()
850 row_pitch, slice_pitch, ptr, num_events_in_wait_list, event_wait_list, in clEnqueueReadImage()
854 slice_pitch, ptr, num_events_in_wait_list, event_wait_list, event); in clEnqueueReadImage()
Dcl_stubs_autogen.h371 size_t slice_pitch,
Dentry_points_cl_autogen.h204 size_t slice_pitch,
/external/angle/src/libOpenCL/
DlibOpenCL_autogen.cpp406 size_t slice_pitch, in clEnqueueReadImage() argument
413 row_pitch, slice_pitch, ptr, in clEnqueueReadImage()
/external/angle/src/libANGLE/
DvalidationCL_autogen.h195 size_t slice_pitch,
DvalidationCL.cpp1693 size_t slice_pitch, in ValidateEnqueueReadImage() argument
1707 ANGLE_CL_TRY(ValidateHostRegionForImage(img, region, row_pitch, slice_pitch, ptr)); in ValidateEnqueueReadImage()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp2304 size_t slice_pitch; in debug_find_vector_in_image() local
2339 slice_pitch = row_pitch * height; in debug_find_vector_in_image()
2361 iPtr += slice_pitch - (height * row_pitch); in debug_find_vector_in_image()
/external/angle/include/CL/
Dcl_icd.h532 size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list,
Dcl.h1610 size_t slice_pitch,
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl.h1610 size_t slice_pitch,

12