WP
[code language=C#]
byte[] frameBuffer;
BitmapImage.SetSource(new MemoryStream(frameBuffer, 0, frameBuffer.Length));
[/code]
Win8
[code language=C#]
var ms = new Windows.Storage.Streams.InMemoryRandomAccessStream();
ms.AsStreamForWrite().Write(frameBuffer, 0, frameBuffer.Length);
ms.Seek(0);
BitmapImage.SetSource(ms);
[/code]
it looks to me that Win8 just making thing complicated:(