Sign in to follow this  
begemot

transfer byte[] to effect

Recommended Posts

begemot    103
I use line per line CopyMemory from kernel32.dll because I don't understand how copy data from IntPtr to IntPtr by Marshal.Copy. It seems to me, It works a little bit faster then primary unsafe code.

Share this post


Link to post
Share on other sites
Nik02    4348
When you get a video frame from your codec, can you specify a destination address for the decompressed frame? You could decompress directly to a locked surface buffer, if this was the case.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this