public static PResult Open(SWIGTYPE_p_papillon__PPlugin plugin, PUri uri, POutputVideoStream outputVideoStream)
    {
        PResult ret = new PResult(PapillonPINVOKE.POutputVideoStream_Open__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PUri.getCPtr(uri), POutputVideoStream.getCPtr(outputVideoStream)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #2
0
    public static PResult Create(SWIGTYPE_p_papillon__PPlugin plugin, PProperties parameters, PImageFilter imageFilter)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImageFilter_Create__SWIG_1(SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PProperties.getCPtr(parameters), PImageFilter.getCPtr(imageFilter)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public PResult Create(SWIGTYPE_p_papillon__PPlugin plugin, PProperties parameters)
    {
        PResult ret = new PResult(PapillonPINVOKE.PPluginInstance_Create(swigCPtr, SWIGTYPE_p_papillon__PPlugin.getCPtr(plugin), PProperties.getCPtr(parameters)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_papillon__PPlugin obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
    public SWIGTYPE_p_papillon__PPlugin GetPlugin()
    {
        SWIGTYPE_p_papillon__PPlugin ret = new SWIGTYPE_p_papillon__PPlugin(PapillonPINVOKE.PPluginInstance_GetPlugin(swigCPtr), true);

        return(ret);
    }