Compression and data-rate basics