An Introduction to Video Compression in C/C++