Pre-calculate crc_inv at codec init.