jpeg encoder test bench