Added highgui jpeg encoder functions