public void insert(ulong id, distortion_metric metric) { c_csharp_metricsPINVOKE.base_distortion_metrics_insert__SWIG_1(swigCPtr, id, distortion_metric.getCPtr(metric)); if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } }
public distortion_metric get_metric_ref(ulong key) { distortion_metric ret = new distortion_metric(c_csharp_metricsPINVOKE.base_distortion_metrics_get_metric_ref__SWIG_2(swigCPtr, key), false); if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public distortion_metric get_metric_ref(uint lane, uint tile) { distortion_metric ret = new distortion_metric(c_csharp_metricsPINVOKE.base_distortion_metrics_get_metric_ref__SWIG_1(swigCPtr, lane, tile), false); if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public distortion_metric at(uint n) { distortion_metric ret = new distortion_metric(c_csharp_metricsPINVOKE.base_distortion_metrics_at(swigCPtr, n), false); if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending) { throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(distortion_metric obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }