There are descriptions of how at least regular Dolby Prologic (dunno bout 2) at the HowStuffWorks website. It's not overly complicated really since it all takes place in the analog domain, it encodes the extra channels by phase-shifting them compared to one another and then extracts them by comparing the differences in one channel from the other. Basically.