nvenc: merge input and output surface structs