Example #1
0
 /// <summary>
 /// Create the OCL kernel arg
 /// </summary>
 /// <param name="flags">The flags</param>
 /// <param name="m">The UMat</param>
 /// <param name="wscale">wscale</param>
 /// <param name="iwscale">iwscale</param>
 /// <param name="obj">obj</param>
 /// <param name="sz">sz</param>
 public KernelArg(Flags flags, UMat m, int wscale = 1, int iwscale = 1, IntPtr obj = new IntPtr(), IntPtr sz = new IntPtr())
 {
     _ptr = OclInvoke.oclKernelArgCreate(flags, m, wscale, iwscale, obj, sz);
 }