Optimizing The Dirac Video Encoder