base: Introducing utility for writing raw data in png format
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 28 Sep 2017 12:01:08 +0000 (13:01 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 31 Oct 2017 11:17:29 +0000 (11:17 +0000)
commit12fb1ca0b5f4ba139889e6005a4aed6d03467864
tree455740b7e0cc3cf8e088a2473ef1c7f9b9814d30
parent1025ef1598b8b7c3d00b82d30458e375697b8eff
base: Introducing utility for writing raw data in png format

Originally it was possible to use a Bitmap writer class for dumping a
framebuffer snapshot in a .bmp file. This patch enables you to choose
another format.  In particular it implements the writing of PNG Images
using libpng library.  The latter has to be already installed in your
machine, otherwise gem5 will default to the Bitmap format.  This
configurable writer has been introduced in the VNC frame dumping mechanism,
which is storing changed frame buffers from the VNC server

Change-Id: Id7e5763c82235f1ce90381c8486b85a7cce734ce
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5181
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
18 files changed:
SConstruct
src/base/Graphics.py [new file with mode: 0644]
src/base/SConscript
src/base/bitmap.cc [deleted file]
src/base/bitmap.hh [deleted file]
src/base/bmpwriter.cc [new file with mode: 0644]
src/base/bmpwriter.hh [new file with mode: 0644]
src/base/imgwriter.cc [new file with mode: 0644]
src/base/imgwriter.hh [new file with mode: 0644]
src/base/pngwriter.cc [new file with mode: 0644]
src/base/pngwriter.hh [new file with mode: 0644]
src/base/vnc/Vnc.py
src/base/vnc/vncinput.cc
src/base/vnc/vncinput.hh
src/base/vnc/vncserver.cc
src/base/vnc/vncserver.hh
src/dev/arm/hdlcd.hh
src/dev/arm/pl111.hh