Converting Bit Depths

This section contains functions that convert bit depths into flags and vice versa.