vncinput.hh (11359:b0b976a1ceda) vncinput.hh (12230:48021d6b51eb)
1/*
2 * Copyright (c) 2010, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43 */
44
45#ifndef __BASE_VNC_VNC_INPUT_HH__
46#define __BASE_VNC_VNC_INPUT_HH__
47
48#include <iostream>
49#include <memory>
50
1/*
2 * Copyright (c) 2010, 2015 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 34 unchanged lines hidden (view full) ---

43 */
44
45#ifndef __BASE_VNC_VNC_INPUT_HH__
46#define __BASE_VNC_VNC_INPUT_HH__
47
48#include <iostream>
49#include <memory>
50
51#include "base/bitmap.hh"
51#include "base/imgwriter.hh"
52#include "params/VncInput.hh"
53#include "sim/sim_object.hh"
54
55class OutputDirectory;
56
57/**
58 * A device that expects to receive input from the vnc server should derrive
59 * (through mulitple inheritence if necessary from VncKeyboard or VncMouse

--- 161 unchanged lines hidden (view full) ---

221 int captureCurrentFrame;
222
223 /** Directory to store captured frames to */
224 OutputDirectory *captureOutputDirectory;
225
226 /** Computed hash of the last captured frame */
227 uint64_t captureLastHash;
228
52#include "params/VncInput.hh"
53#include "sim/sim_object.hh"
54
55class OutputDirectory;
56
57/**
58 * A device that expects to receive input from the vnc server should derrive
59 * (through mulitple inheritence if necessary from VncKeyboard or VncMouse

--- 161 unchanged lines hidden (view full) ---

221 int captureCurrentFrame;
222
223 /** Directory to store captured frames to */
224 OutputDirectory *captureOutputDirectory;
225
226 /** Computed hash of the last captured frame */
227 uint64_t captureLastHash;
228
229 /** Cached bitmap object for writing out frame buffers to file */
230 std::unique_ptr<Bitmap> captureBitmap;
229 /** Cached ImgWriter object for writing out frame buffers to file */
230 std::unique_ptr<ImgWriter> captureImage;
231
231
232 /** image format */
233 Enums::ImageFormat imgFormat;
234
232 /** Captures the current frame buffer to a file */
233 void captureFrameBuffer();
234};
235#endif
235 /** Captures the current frame buffer to a file */
236 void captureFrameBuffer();
237};
238#endif