Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,