25, 31, 42, 48, 58, 72, 81, 75,
38, 46, 54, 61, 71, 84, 88, 85,
50, 61, 65, 68, 79, 78, 86, 91,
- 12, 12, 16, 18, 20, 30, 40, 45,
- 12, 12, 16, 18, 30, 40, 45, 50,
- 16, 16, 20, 30, 40, 45, 50, 55,
- 18, 18, 35, 40, 45, 50, 55, 60,
- 20, 30, 40, 45, 50, 55, 60, 65,
- 30, 40, 45, 50, 55, 60, 65, 70,
- 40, 45, 50, 55, 60, 65, 70, 75,
- 45, 50, 55, 60, 65, 70, 75, 80,
};
static const uint8_t chroma_tab[] = {
99, 99, 99, 99, 99, 99, 99, 99,
99, 99, 99, 99, 99, 99, 99, 99,
99, 99, 99, 99, 99, 99, 99, 99,
- 12, 16, 20, 24, 28, 36, 40, 44,
- 16, 20, 24, 28, 36, 40, 44, 50,
- 20, 24, 28, 36, 40, 44, 50, 60,
- 24, 28, 36, 40, 44, 50, 60, 80,
- 28, 36, 40, 44, 50, 60, 80, 99,
- 36, 40, 44, 50, 60, 80, 99, 99,
- 40, 44, 50, 60, 80, 99, 99, 99,
- 44, 50, 60, 80, 99, 99, 99, 99,
};
static const uint8_t zigzag[] = {