public T AllocateMotionFrame <T>(StreamProfile profile, Frame original, Extension extension = Extension.VideoFrame)
            where T : Frame
        {
            object error;
            var    fref = NativeMethods.rs2_allocate_synthetic_motion_frame(m_instance.Handle, profile.Handle, original.Handle, extension, out error);

            return(Frame.Create <T>(fref));
        }