ljpegenc: rename the encoding function.