Mirror JPEG compression and decompression accelerated on GPU