The reference software for HEVC is called HM (HEVC Test Model).
https://www.vcodex.com/hevc-and-vp9-codecs-try-them-yourself/
https://hevc.hhi.fraunhofer.de/
The latest source code can be obtained using SVN as follows
svn checkout https://hevc.hhi.fraunhofer.de/svn/svn_HEVCSoftware/trunk/