This Intel® Media SDK tutorial sample operates in the same way as the "sample_3_encode" workload except that it is using video memory surfaces instead of system memory surfaces.
For more details on this topic, please refer to "simple_2_decode" sample description.
By moving from system to video memory implicit copies are eliminated, thus improving GPU load and overall performance. CPU utilization should also decrease slightly.
To improve performance and achieve greater GPU utilization we must move away from the synchronous encoding approach towards asynchronous workload behavior. The next tutorial section will explore an asynchronous encode pipeline.
This tutorial sample is found in the tutorial samples package under the name "simple_3_encode_vmem". The code is extensively documented with inline comments detailing each step required to setup and execute the use case.