First time here? Check out the FAQ!
answered 2016-02-04 04:35:41 -0600
cap.cpp has the main video capture/output interface. It basically selects what backend interface should be used. Then from that file the corresponding cap_<technique>.cpp file is called. It is quite straightforward...
cap.cpp
cap_<technique>.cpp