Home
last modified time | relevance | path

Searched refs:cl_mem (Results 51 - 75 of 83) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
H A Dvf_xfade_opencl.c168 cl_mem mem; in xfade_frame()
171 mem = (cl_mem)output->data[plane]; in xfade_frame()
172 CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_mem, &mem); in xfade_frame()
175 mem = (cl_mem)ctx->xf[0]->data[plane]; in xfade_frame()
176 CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_mem, &mem); in xfade_frame()
179 mem = (cl_mem)ctx->xf[1]->data[plane]; in xfade_frame()
180 CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_mem, &mem); in xfade_frame()
H A Dvf_transpose_opencl.c140 cl_mem src, dst; in transpose_opencl_filter_frame()
178 src = (cl_mem) input->data[p]; in transpose_opencl_filter_frame()
179 dst = (cl_mem) output->data[p]; in transpose_opencl_filter_frame()
183 CL_SET_KERNEL_ARG(ctx->kernel, 0, cl_mem, &dst); in transpose_opencl_filter_frame()
184 CL_SET_KERNEL_ARG(ctx->kernel, 1, cl_mem, &src); in transpose_opencl_filter_frame()
H A Dvf_pad_opencl.c151 cl_mem src, dst; in filter_frame()
187 src = (cl_mem)input_frame->data[p]; in filter_frame()
188 dst = (cl_mem)output_frame->data[p]; in filter_frame()
193 CL_SET_KERNEL_ARG(pad_ctx->kernel_pad, 0, cl_mem, &src); in filter_frame()
194 CL_SET_KERNEL_ARG(pad_ctx->kernel_pad, 1, cl_mem, &dst); in filter_frame()
H A Dvf_program_opencl.c93 cl_mem src, dst; in program_opencl_run()
109 dst = (cl_mem)output->data[plane]; in program_opencl_run()
113 cle = clSetKernelArg(ctx->kernel, 0, sizeof(cl_mem), &dst); in program_opencl_run()
131 src = (cl_mem)ctx->frames[input]->data[plane]; in program_opencl_run()
134 cle = clSetKernelArg(ctx->kernel, 2 + input, sizeof(cl_mem), &src); in program_opencl_run()
H A Dvf_tonemap_opencl.c70 cl_mem util_mem;
312 CL_SET_KERNEL_ARG(kernel, 0, cl_mem, &output->data[0]); in launch_kernel()
313 CL_SET_KERNEL_ARG(kernel, 1, cl_mem, &input->data[0]); in launch_kernel()
314 CL_SET_KERNEL_ARG(kernel, 2, cl_mem, &output->data[1]); in launch_kernel()
315 CL_SET_KERNEL_ARG(kernel, 3, cl_mem, &input->data[1]); in launch_kernel()
316 CL_SET_KERNEL_ARG(kernel, 4, cl_mem, &ctx->util_mem); in launch_kernel()
/third_party/mesa3d/include/CL/
H A Dcl_ext.h41 * Apple extension for use to manage externally allocated buffers used with cl_mem objects with CL_MEM_USE_HOST_PTR
51 * The application may not call CL api's with the cl_mem object passed to the pfn_notify.
57 cl_int CL_API_ENTRY clSetMemObjectDestructorAPPLE( cl_mem memobj,
58 void (* pfn_notify)(cl_mem memobj, void * user_data),
140 * This extension allows a 2D image to be created from a cl_mem buffer without
343 const cl_mem * mem_objects,
352 const cl_mem * mem_objects,
489 const cl_mem * mem_objects,
497 const cl_mem * mem_objects,
696 * This extension produces cl_mem allocation
[all...]
H A Dcl2.hpp338 // Traditional cl_mem allocations
1649 struct ReferenceHandler<cl_mem>
1651 static cl_int retain(cl_mem memory) in retain()
1653 static cl_int release(cl_mem memory) in release()
3310 /*! \brief Class interface for cl_mem.
3313 * to the same underlying cl_mem as the original. For details, see
3316 * \see cl_mem
3318 class Memory : public detail::Wrapper<cl_mem>
3324 /*! \brief Constructor from cl_mem - takes ownership.
3326 * Optionally transfer ownership of a refcount on the cl_mem
[all...]
H A Dcl.hpp1726 struct ReferenceHandler<cl_mem>
1728 static cl_int retain(cl_mem memory) in retain()
1730 static cl_int release(cl_mem memory) in release()
3039 /*! \brief Class interface for cl_mem.
3042 * to the same underlying cl_mem as the original. For details, see
3045 * \see cl_mem
3047 class Memory : public detail::Wrapper<cl_mem>
3053 /*! \brief Constructor from cl_mem - takes ownership.
3055 * This effectively transfers ownership of a refcount on the cl_mem
3058 __CL_EXPLICIT_CONSTRUCTORS Memory(const cl_mem
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dmemory.hpp143 void *host_ptr, cl_mem buffer);
155 cl_mem buffer() const;
174 cl_mem _buffer;
209 void *host_ptr, cl_mem buffer);
H A Dkernel.cpp256 cl_mem buf = kern._constant_buffers.at(&q->device()).get(); in bind()
265 cl_mem print_mem = print_handler->get_mem(); in bind()
268 arg->set(sizeof(cl_mem), &print_mem); in bind()
466 if (size != sizeof(cl_mem)) in set()
469 buf = pobj<buffer>(value ? *(cl_mem *)value : NULL); in set()
553 if (size != sizeof(cl_mem)) in set()
556 buf = pobj<buffer>(value ? *(cl_mem *)value : NULL); in set()
595 if (size != sizeof(cl_mem)) in set()
598 img = &obj<image>(*(cl_mem *)value); in set()
626 if (size != sizeof(cl_mem)) in set()
[all...]
H A Dprintf.hpp44 cl_mem get_mem();
H A Dprintf.cpp207 cl_mem
209 return (cl_mem)(_buffer.get());
H A Dmemory.cpp176 void *host_ptr, cl_mem buffer) : in image()
258 cl_mem
278 void *host_ptr, cl_mem buffer) : in image1d_buffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DCLContext.h36 cl_mem createBuffer(const cl_mem_properties *properties,
42 cl_mem createImage(const cl_mem_properties *properties,
49 cl_mem createImage2D(MemFlags flags,
57 cl_mem createImage3D(MemFlags flags,
H A DCLMemory.h51 static Memory *Cast(cl_mem memobj);
138 inline Memory *Memory::Cast(cl_mem memobj) in Cast()
H A DCLContext.cpp118 cl_mem Context::createBuffer(const cl_mem_properties *properties, in createBuffer()
127 cl_mem Context::createImage(const cl_mem_properties *properties, in createImage()
147 cl_mem Context::createImage2D(MemFlags flags, in createImage2D()
161 cl_mem Context::createImage3D(MemFlags flags, in createImage3D()
H A DCLBuffer.cpp13 cl_mem Buffer::createSubBuffer(MemFlags flags, in createSubBuffer()
H A DCLBuffer.h23 cl_mem createSubBuffer(MemFlags flags,
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dtransfer.cpp360 clEnqueueReadBuffer(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking,
393 clEnqueueWriteBuffer(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking,
426 clEnqueueReadBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking,
466 clEnqueueWriteBufferRect(cl_command_queue d_q, cl_mem d_mem, cl_bool blocking,
506 clEnqueueFillBuffer(cl_command_queue d_queue, cl_mem d_mem,
550 clEnqueueCopyBuffer(cl_command_queue d_q, cl_mem d_src_mem, cl_mem d_dst_mem,
583 clEnqueueCopyBufferRect(cl_command_queue d_q, cl_mem d_src_mem,
584 cl_mem d_dst_mem,
621 clEnqueueReadImage(cl_command_queue d_q, cl_mem d_me
[all...]
H A Dinvalid.cpp32 CLOVER_API cl_mem
45 clGetPipeInfo(cl_mem pipe, in clGetPipeInfo()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
H A DCLMemoryCL.cpp18 CLMemoryCL::CLMemoryCL(const cl::Memory &memory, cl_mem native) in CLMemoryCL()
54 const cl_mem nativeBuffer = mNative->getDispatch().clCreateSubBuffer( in createSubBuffer()
H A DCLContextCL.h29 bool hasMemory(cl_mem memory) const;
105 inline bool CLContextCL::hasMemory(cl_mem memory) const in hasMemory()
H A DCLKernelCL.cpp136 if (argSize == sizeof(cl_mem)) in setArg()
138 cl_mem memory = *static_cast<const cl_mem *>(argValue); in setArg()
/third_party/skia/third_party/externals/angle2/include/CL/
H A Dcl_ext.h41 * Apple extension for use to manage externally allocated buffers used with cl_mem objects with CL_MEM_USE_HOST_PTR
51 * The application may not call CL api's with the cl_mem object passed to the pfn_notify.
57 extern CL_API_ENTRY cl_int CL_API_CALL clSetMemObjectDestructorAPPLE( cl_mem memobj,
58 void (* pfn_notify)(cl_mem memobj, void * user_data),
140 * This extension allows a 2D image to be created from a cl_mem buffer without
343 const cl_mem * mem_objects,
352 const cl_mem * mem_objects,
490 const cl_mem * mem_objects,
498 const cl_mem * mem_objects,
519 cl_mem src_imag
[all...]
/third_party/ffmpeg/libavutil/
H A Dhwcontext_opencl.h55 cl_mem planes[AV_NUM_DATA_POINTERS];

Completed in 31 milliseconds

1234