Is it available to change the calculations of NVEncoder sample of Video SDK 6.0.1 ?

I’m pursuing a Master’s degree about “Video coding using GPU” … I’m trying to apply an algorithm about video coding using hybrid CPU + GPU

I need to get the calculations’ part in the NVEncoder sample to apply this algorithm

I only found that the source code is mainly about handling the environment of the CUDA hardware … Is there any way to get the main Calculations of H.264 technique in this sample code ?