Skype has put its codec sources online, here is some intersting material. I have only read part of it till now, it is not simple:
formatting link
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.