Skip to content

Instantly share code, notes, and snippets.

//--------------------------------------------------------------------------------------
// This is a experimenting project. The C++ Codes are from several file in the project.
// The first part is rendering in direct3D, the second part is hardware accelerated encoding
// using NVENC in GPU.
//--------------------------------------------------------------------------------------
//--------------------------------------------------------------------------------------
// First part: rendering a frame in direct3D and h.264 encode it using VNENC, then send it to
// client using UDP
//--------------------------------------------------------------------------------------
void CalculateFrameStats( )