Rotation and Mirroring
Intrablock rotation/mirroring
- Rotate each block in DCT domain
- Keep record of block sizes
- Replace DC by their own values
- Write still compressed blocks on a buffer
Interblock rotation/mirroring
- Write block data in final order to output
- Replace DCs by differences