Unable to find source code of libcamera-still / libcamera-vid

Dear all,
I’m trying to better understand how the command libcamera-still/vis acts to perform autofocus or what happens setting the parameter lens-position.
Which i2c addresses are involved?
I was looking for the source code of libcamera-still/vid but I wasn’t able to find it

Thank you in advance!