ali-alidoust / gta5-extended-video-export

GTA V Video Export Enhancement
Apache License 2.0
25 stars 18 forks source link

Drop DirectXTex dependency or use nugget version of DirectXTK instead #9

Open ali-alidoust opened 7 years ago

ali-alidoust commented 7 years ago

We can change the code so that FFMPEG directly uses a memory mapped ID3D11Texture2D instead of copying it using DirectXTex. It might give some speed boost and remove the dependency to DirectXTex.

If it's not possible, we should at least remove the files from the project and use nugget version of DirectXTK. We can use the CaptureTexture function from ScreenGrabber.cpp to implement the same functionality.