Пример #1
0
 public void SetRange(int index, CommonMvVector values)
 {
     commonWRAPPINVOKE.CommonMvVector_SetRange(swigCPtr, index, CommonMvVector.getCPtr(values));
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
        public static CommonMvVector Repeat(CommonMv value, int count)
        {
            IntPtr         cPtr = commonWRAPPINVOKE.CommonMvVector_Repeat(CommonMv.getCPtr(value), count);
            CommonMvVector ret  = (cPtr == IntPtr.Zero) ? null : new CommonMvVector(cPtr, true);

            if (commonWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #3
0
        public CommonMvVector GetRange(int index, int count)
        {
            IntPtr         cPtr = commonWRAPPINVOKE.CommonMvVector_GetRange(swigCPtr, index, count);
            CommonMvVector ret  = (cPtr == IntPtr.Zero) ? null : new CommonMvVector(cPtr, true);

            if (commonWRAPPINVOKE.SWIGPendingException.Pending)
            {
                throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
 public CommonMvVector(CommonMvVector other) : this(commonWRAPPINVOKE.new_CommonMvVector__SWIG_1(CommonMvVector.getCPtr(other)), true)
 {
     if (commonWRAPPINVOKE.SWIGPendingException.Pending)
     {
         throw commonWRAPPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
 internal static HandleRef getCPtr(CommonMvVector obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Пример #6
0
        public CommonMvVector getMvL0()
        {
            CommonMvVector ret = new CommonMvVector(commonWRAPPINVOKE.CommonMbH264_getMvL0(swigCPtr), true);

            return(ret);
        }