<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to generate a streamprofile from inline code c# in Items with no label</title>
    <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575953#M10387</link>
    <description>&lt;P&gt;I would recommend checking the documentation sources below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline profile functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1pipeline__profile.html"&gt;https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1pipeline__profile.html&lt;/A&gt; Intel® RealSense™ Cross Platform API: rs2::pipeline_profile Class Reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline stream functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1config.html"&gt;https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1config.html&lt;/A&gt; Intel® RealSense™ Cross Platform API: rs2::config Class Reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Resolve() instruction at the very bottom of this page looks promising in terms of filtering profiles, as it resolve the configuration filters to find a matching device and streams profiles.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jun 2018 11:13:38 GMT</pubDate>
    <dc:creator>MartyG</dc:creator>
    <dc:date>2018-06-15T11:13:38Z</dc:date>
    <item>
      <title>How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575952#M10386</link>
      <description>&lt;P&gt;Instead of filtering profiles i'd like to know how to create a streamprofile from inline code using C# &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;To create some function alike &lt;P&gt;&lt;/P&gt;      //todo or create a ProfileBuilder function.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;public new StreamProfile CreateProfile(....various arguments to set various parameters)&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;            StreamProfile sp = new StreamProfile();&lt;/P&gt;&lt;P&gt;            return sp;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 10:39:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575952#M10386</guid>
      <dc:creator>PBoos</dc:creator>
      <dc:date>2018-06-15T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575953#M10387</link>
      <description>&lt;P&gt;I would recommend checking the documentation sources below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline profile functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1pipeline__profile.html"&gt;https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1pipeline__profile.html&lt;/A&gt; Intel® RealSense™ Cross Platform API: rs2::pipeline_profile Class Reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inline stream functions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1config.html"&gt;https://unanancyowen.github.io/librealsense2_apireference/classrs2_1_1config.html&lt;/A&gt; Intel® RealSense™ Cross Platform API: rs2::config Class Reference &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Resolve() instruction at the very bottom of this page looks promising in terms of filtering profiles, as it resolve the configuration filters to find a matching device and streams profiles.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 11:13:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575953#M10387</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-15T11:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575954#M10388</link>
      <description>&lt;P&gt;Not exactly getting it, i just like to say (in psuedo code):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;streamprofile sp = new streamprofile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;(&lt;P&gt;this.width =480;&lt;/P&gt;&lt;P&gt;this.height =600;&lt;/P&gt;&lt;P&gt;this.Depthmode=true;&lt;/P&gt;&lt;P&gt;this.LedPatternEnbled=false  &lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not based on a filter of existing profiles.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 13:43:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575954#M10388</guid>
      <dc:creator>PBoos</dc:creator>
      <dc:date>2018-06-15T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575955#M10389</link>
      <description>&lt;P&gt;Could you explain some more please about what you are trying to achieve?  Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:21:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575955#M10389</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-15T14:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575956#M10390</link>
      <description>&lt;P&gt;Currently the way to create a stream profile goes like this&lt;/P&gt;&lt;P&gt;streamProfile = depthSensor.VideoStreamProfiles&lt;/P&gt;&lt;P&gt;                                       .Where(p =&amp;gt; p.Stream == Stream.Depth)&lt;/P&gt;&lt;P&gt;                                       .OrderByDescending(p =&amp;gt; p.Framerate)&lt;/P&gt;&lt;P&gt;                                       .Where(p =&amp;gt; p.Width == width &amp;amp;&amp;amp; p.Height == height)&lt;/P&gt;&lt;P&gt;                                       .First();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I rather just Create a new stream profile and use it on the fly.&lt;P&gt;&amp;nbsp;&lt;/P&gt;Instead of choosing based upon linq statements.&lt;P&gt;&amp;nbsp;&lt;/P&gt;I assume their just some object properties to be set.</description>
      <pubDate>Fri, 15 Jun 2018 14:46:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575956#M10390</guid>
      <dc:creator>PBoos</dc:creator>
      <dc:date>2018-06-15T14:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a streamprofile from inline code c#</title>
      <link>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575957#M10391</link>
      <description>&lt;P&gt;I will refer the question to stream programming expert jb455 to see if JB can contribute any ideas about it, since stream profiles is a subject that is not covered by my knowledge.  &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jun 2018 14:53:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Items-with-no-label/How-to-generate-a-streamprofile-from-inline-code-c/m-p/575957#M10391</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2018-06-15T14:53:07Z</dc:date>
    </item>
  </channel>
</rss>

