Exemplo n.º 1
0
        public StreamProfile AddVideoStream(SoftwareVideoStream video_stream)
        {
            object error;
            var    p = NativeMethods.rs2_software_sensor_add_video_stream(m_instance, video_stream, out error);

            return(new StreamProfile(p));
        }
Exemplo n.º 2
0
        public VideoStreamProfile AddVideoStream(SoftwareVideoStream profile)
        {
            object error;
            var    ptr = NativeMethods.rs2_software_sensor_add_video_stream(m_instance, profile, out error);

            return(StreamProfile.Create <VideoStreamProfile>(ptr));
        }