title: Render h264 video frames in directx 11
body: <p>I am new to <code>DirectX</code>. I am trying to write a custom IP camera video player and for which I am using <code>DirectX11</code> to render the decoded image with Wpf Gui as my front end.</p>
  
  <p>I am a <em>c# developer</em> and have used managed directx which is no longer updated by <em>microsoft</em> hence moved to wpf and directx11. </p>
  
  <p>All parts of my application up to the rendering of the frames is working fine.</p>
  
  <p>I  have managed to create a D3DImage source which will be used in Wpf app, successfully create my viewports and my device including my shared resource since D3DImage only works Directx9.  I am using <code>SharpDX</code> as the wrapper for <code>DirectX API</code>.</p>
  
  <p>Now my problem is I can't seem to find a way to create a texture/update a texture from decoded image bytes or what would be the correct way to do so in order to render the decoded image from the bytes received.</p>
  
  <p>Any help on this would be great or if someone can direct me to the right direction as to how this is to be approached?</p>
  
  <p>Thanks.</p>