MAX_IDR_SHIFT
#define MAX_IDR_BIT (1U << MAX_IDR_SHIFT)
#define MAX_IDR_LEVEL ((MAX_IDR_SHIFT + IDR_BITS - 1) / IDR_BITS)