dsputil must be initialized before calling rtjpeg init.