Inheritance: global::java.nio.Buffer, global::java.lang.Comparable
Exemplo n.º 1
0
 internal JavaCV\u00241([In] int obj0, [In] int obj1, [In] int obj2, [In] int obj3, [In] DoubleBuffer obj4, [In] int obj5, [In] DoubleBuffer obj6, [In] int obj7, [In] double obj8, [In] int obj9, [In] ByteBuffer obj10, [In] int obj11, [In] bool obj12, [In] double obj13, [In] ByteBuffer obj14, [In] int obj15)
 {
   int num = obj12 ? 1 : 0;
   this.val\u0024w = obj0;
   this.val\u0024maxwindow = obj1;
   this.val\u0024minwindow = obj2;
   this.val\u0024h = obj3;
   this.val\u0024sumbuf = obj4;
   this.val\u0024sumstep = obj5;
   this.val\u0024sqsumbuf = obj6;
   this.val\u0024sqsumstep = obj7;
   this.val\u0024targetvar = obj8;
   this.val\u0024srcdepth = obj9;
   this.val\u0024srcbuf = obj10;
   this.val\u0024srcstep = obj11;
   this.val\u0024invert = num != 0;
   this.val\u0024k = obj13;
   this.val\u0024dstbuf = obj14;
   this.val\u0024dststep = obj15;
   base.\u002Ector();
 }
Exemplo n.º 2
0
 public override DoubleBuffer Put(DoubleBuffer src)
 {
     throw new ReadOnlyBufferException();
 }
Exemplo n.º 3
0
 public static void cvInitPerspectiveTransform(object cs, object cpd, DoubleBuffer db, object ca)
 {
   JNI.Frame frame = (JNI.Frame) null;
   if (opencv_legacy.__\u003Cjniptr\u003EcvInitPerspectiveTransform\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D32f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvArr\u003B\u0029V == IntPtr.Zero)
     opencv_legacy.__\u003Cjniptr\u003EcvInitPerspectiveTransform\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D32f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvArr\u003B\u0029V = JNI.Frame.GetFuncPtr(opencv_legacy.__\u003CGetCallerID\u003E(), "com/googlecode/javacv/cpp/opencv_legacy", "cvInitPerspectiveTransform", "(Lcom/googlecode/javacv/cpp/opencv_core$CvSize;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D32f;Ljava/nio/DoubleBuffer;Lcom/googlecode/javacv/cpp/opencv_core$CvArr;)V");
   // ISSUE: explicit reference operation
   IntPtr num1 = ((JNI.Frame) @frame).Enter(opencv_legacy.__\u003CGetCallerID\u003E());
   try
   {
     IntPtr num2 = num1;
     // ISSUE: explicit reference operation
     IntPtr num3 = ((JNI.Frame) @frame).MakeLocalRef((object) ClassLiteral<opencv_legacy>.Value);
     // ISSUE: explicit reference operation
     IntPtr num4 = ((JNI.Frame) @frame).MakeLocalRef(cs);
     // ISSUE: explicit reference operation
     IntPtr num5 = ((JNI.Frame) @frame).MakeLocalRef(cpd);
     // ISSUE: explicit reference operation
     IntPtr num6 = ((JNI.Frame) @frame).MakeLocalRef((object) db);
     // ISSUE: explicit reference operation
     IntPtr num7 = ((JNI.Frame) @frame).MakeLocalRef(ca);
     // ISSUE: cast to a function pointer type
     // ISSUE: function pointer call
     __calli((__FnPtr<void (IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)>) opencv_legacy.__\u003Cjniptr\u003EcvInitPerspectiveTransform\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D32f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvArr\u003B\u0029V)(num2, num3, num4, num5, num6, num7);
   }
   catch (object ex)
   {
     Console.WriteLine((object) "*** exception in native code ***");
     Console.WriteLine(ex);
     throw;
   }
   finally
   {
     // ISSUE: explicit reference operation
     ((JNI.Frame) @frame).Leave();
   }
 }
Exemplo n.º 4
0
 public static void icvGetDistanceFromPointToDirect(object cpd, DoubleBuffer db, double[] darr)
 {
   JNI.Frame frame = (JNI.Frame) null;
   if (opencv_legacy.__\u003Cjniptr\u003EicvGetDistanceFromPointToDirect\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u005BD\u0029V == IntPtr.Zero)
     opencv_legacy.__\u003Cjniptr\u003EicvGetDistanceFromPointToDirect\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u005BD\u0029V = JNI.Frame.GetFuncPtr(opencv_legacy.__\u003CGetCallerID\u003E(), "com/googlecode/javacv/cpp/opencv_legacy", "icvGetDistanceFromPointToDirect", "(Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;Ljava/nio/DoubleBuffer;[D)V");
   // ISSUE: explicit reference operation
   IntPtr num1 = ((JNI.Frame) @frame).Enter(opencv_legacy.__\u003CGetCallerID\u003E());
   try
   {
     IntPtr num2 = num1;
     // ISSUE: explicit reference operation
     IntPtr num3 = ((JNI.Frame) @frame).MakeLocalRef((object) ClassLiteral<opencv_legacy>.Value);
     // ISSUE: explicit reference operation
     IntPtr num4 = ((JNI.Frame) @frame).MakeLocalRef(cpd);
     // ISSUE: explicit reference operation
     IntPtr num5 = ((JNI.Frame) @frame).MakeLocalRef((object) db);
     // ISSUE: explicit reference operation
     IntPtr num6 = ((JNI.Frame) @frame).MakeLocalRef((object) darr);
     // ISSUE: cast to a function pointer type
     // ISSUE: function pointer call
     __calli((__FnPtr<void (IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)>) opencv_legacy.__\u003Cjniptr\u003EicvGetDistanceFromPointToDirect\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u005BD\u0029V)(num2, num3, num4, num5, num6);
   }
   catch (object ex)
   {
     Console.WriteLine((object) "*** exception in native code ***");
     Console.WriteLine(ex);
     throw;
   }
   finally
   {
     // ISSUE: explicit reference operation
     ((JNI.Frame) @frame).Leave();
   }
 }
Exemplo n.º 5
0
 public static void icvGetCutPiece(DoubleBuffer db1, DoubleBuffer db2, object cpd1, object cs, object cpd2, object cpd3, object cpd4, object cpd5, int[] iarr)
 {
   JNI.Frame frame = (JNI.Frame) null;
   if (opencv_legacy.__\u003Cjniptr\u003EicvGetCutPiece\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003B\u005BI\u0029V == IntPtr.Zero)
     opencv_legacy.__\u003Cjniptr\u003EicvGetCutPiece\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003B\u005BI\u0029V = JNI.Frame.GetFuncPtr(opencv_legacy.__\u003CGetCallerID\u003E(), "com/googlecode/javacv/cpp/opencv_legacy", "icvGetCutPiece", "(Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;Lcom/googlecode/javacv/cpp/opencv_core$CvSize;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint2D64f;[I)V");
   // ISSUE: explicit reference operation
   IntPtr num1 = ((JNI.Frame) @frame).Enter(opencv_legacy.__\u003CGetCallerID\u003E());
   try
   {
     IntPtr num2 = num1;
     // ISSUE: explicit reference operation
     IntPtr num3 = ((JNI.Frame) @frame).MakeLocalRef((object) ClassLiteral<opencv_legacy>.Value);
     // ISSUE: explicit reference operation
     IntPtr num4 = ((JNI.Frame) @frame).MakeLocalRef((object) db1);
     // ISSUE: explicit reference operation
     IntPtr num5 = ((JNI.Frame) @frame).MakeLocalRef((object) db2);
     // ISSUE: explicit reference operation
     IntPtr num6 = ((JNI.Frame) @frame).MakeLocalRef(cpd1);
     // ISSUE: explicit reference operation
     IntPtr num7 = ((JNI.Frame) @frame).MakeLocalRef(cs);
     // ISSUE: explicit reference operation
     IntPtr num8 = ((JNI.Frame) @frame).MakeLocalRef(cpd2);
     // ISSUE: explicit reference operation
     IntPtr num9 = ((JNI.Frame) @frame).MakeLocalRef(cpd3);
     // ISSUE: explicit reference operation
     IntPtr num10 = ((JNI.Frame) @frame).MakeLocalRef(cpd4);
     // ISSUE: explicit reference operation
     IntPtr num11 = ((JNI.Frame) @frame).MakeLocalRef(cpd5);
     // ISSUE: explicit reference operation
     IntPtr num12 = ((JNI.Frame) @frame).MakeLocalRef((object) iarr);
     // ISSUE: cast to a function pointer type
     // ISSUE: function pointer call
     __calli((__FnPtr<void (IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)>) opencv_legacy.__\u003Cjniptr\u003EicvGetCutPiece\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvSize\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint2D64f\u003B\u005BI\u0029V)(num2, num3, num4, num5, num6, num7, num8, num9, num10, num11, num12);
   }
   catch (object ex)
   {
     Console.WriteLine((object) "*** exception in native code ***");
     Console.WriteLine(ex);
     throw;
   }
   finally
   {
     // ISSUE: explicit reference operation
     ((JNI.Frame) @frame).Leave();
   }
 }
Exemplo n.º 6
0
 public static int icvConvertPointSystem(object cpd1, object cpd2, DoubleBuffer db1, DoubleBuffer db2)
 {
   JNI.Frame frame = (JNI.Frame) null;
   if (opencv_legacy.__\u003Cjniptr\u003EicvConvertPointSystem\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I == IntPtr.Zero)
     opencv_legacy.__\u003Cjniptr\u003EicvConvertPointSystem\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I = JNI.Frame.GetFuncPtr(opencv_legacy.__\u003CGetCallerID\u003E(), "com/googlecode/javacv/cpp/opencv_legacy", "icvConvertPointSystem", "(Lcom/googlecode/javacv/cpp/opencv_core$CvPoint3D64f;Lcom/googlecode/javacv/cpp/opencv_core$CvPoint3D64f;Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;)I");
   // ISSUE: explicit reference operation
   IntPtr num1 = ((JNI.Frame) @frame).Enter(opencv_legacy.__\u003CGetCallerID\u003E());
   try
   {
     IntPtr num2 = num1;
     // ISSUE: explicit reference operation
     IntPtr num3 = ((JNI.Frame) @frame).MakeLocalRef((object) ClassLiteral<opencv_legacy>.Value);
     // ISSUE: explicit reference operation
     IntPtr num4 = ((JNI.Frame) @frame).MakeLocalRef(cpd1);
     // ISSUE: explicit reference operation
     IntPtr num5 = ((JNI.Frame) @frame).MakeLocalRef(cpd2);
     // ISSUE: explicit reference operation
     IntPtr num6 = ((JNI.Frame) @frame).MakeLocalRef((object) db1);
     // ISSUE: explicit reference operation
     IntPtr num7 = ((JNI.Frame) @frame).MakeLocalRef((object) db2);
     // ISSUE: cast to a function pointer type
     // ISSUE: function pointer call
     return __calli((__FnPtr<int (IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)>) opencv_legacy.__\u003Cjniptr\u003EicvConvertPointSystem\u0028Lcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLcom\u002Fgooglecode\u002Fjavacv\u002Fcpp\u002Fopencv_core\u0024CvPoint3D64f\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I)(num2, num3, num4, num5, num6, num7);
   }
   catch (object ex)
   {
     Console.WriteLine((object) "*** exception in native code ***");
     Console.WriteLine(ex);
     throw;
   }
   finally
   {
     // ISSUE: explicit reference operation
     ((JNI.Frame) @frame).Leave();
   }
 }
Exemplo n.º 7
0
 public static int icvCreateConvertMatrVect(DoubleBuffer db1, DoubleBuffer db2, DoubleBuffer db3, DoubleBuffer db4, DoubleBuffer db5, DoubleBuffer db6)
 {
   JNI.Frame frame = (JNI.Frame) null;
   if (opencv_legacy.__\u003Cjniptr\u003EicvCreateConvertMatrVect\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I == IntPtr.Zero)
     opencv_legacy.__\u003Cjniptr\u003EicvCreateConvertMatrVect\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I = JNI.Frame.GetFuncPtr(opencv_legacy.__\u003CGetCallerID\u003E(), "com/googlecode/javacv/cpp/opencv_legacy", "icvCreateConvertMatrVect", "(Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;Ljava/nio/DoubleBuffer;)I");
   // ISSUE: explicit reference operation
   IntPtr num1 = ((JNI.Frame) @frame).Enter(opencv_legacy.__\u003CGetCallerID\u003E());
   try
   {
     IntPtr num2 = num1;
     // ISSUE: explicit reference operation
     IntPtr num3 = ((JNI.Frame) @frame).MakeLocalRef((object) ClassLiteral<opencv_legacy>.Value);
     // ISSUE: explicit reference operation
     IntPtr num4 = ((JNI.Frame) @frame).MakeLocalRef((object) db1);
     // ISSUE: explicit reference operation
     IntPtr num5 = ((JNI.Frame) @frame).MakeLocalRef((object) db2);
     // ISSUE: explicit reference operation
     IntPtr num6 = ((JNI.Frame) @frame).MakeLocalRef((object) db3);
     // ISSUE: explicit reference operation
     IntPtr num7 = ((JNI.Frame) @frame).MakeLocalRef((object) db4);
     // ISSUE: explicit reference operation
     IntPtr num8 = ((JNI.Frame) @frame).MakeLocalRef((object) db5);
     // ISSUE: explicit reference operation
     IntPtr num9 = ((JNI.Frame) @frame).MakeLocalRef((object) db6);
     // ISSUE: cast to a function pointer type
     // ISSUE: function pointer call
     return __calli((__FnPtr<int (IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr, IntPtr)>) opencv_legacy.__\u003Cjniptr\u003EicvCreateConvertMatrVect\u0028Ljava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003BLjava\u002Fnio\u002FDoubleBuffer\u003B\u0029I)(num2, num3, num4, num5, num6, num7, num8, num9);
   }
   catch (object ex)
   {
     Console.WriteLine((object) "*** exception in native code ***");
     Console.WriteLine(ex);
     throw;
   }
   finally
   {
     // ISSUE: explicit reference operation
     ((JNI.Frame) @frame).Leave();
   }
 }