def compute_range_bits(bits_per_sample):
    """
    Compute list of values for unpacking samples.
    [Used by decode_samples_red()]
    
    Notes
    -----
    |
    | **Example:**
    |
    |  >>bits_per_sample=2
    |  >>list(compute_range_bits(bits_per_sample))
    |   [6, 4, 2, 0]
    """
    return(reversed(range(0,8,bits_per_sample)))