const fn derive_codes_and_sizes(bits: &[u8; 16]) -> ([u8; 256], [u16; 256])
Expand description

Given an array containing the number of codes of each code length, this function generates the huffman codes lengths and their respective code lengths as specified by the JPEG spec.