Esempio n. 1
0
        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));
        }