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 --- 109 unchanged lines hidden (view full) --- 118 119 // get the filename for the current frame 120 char frameFilenameBuffer[64]; 121 snprintf(frameFilenameBuffer, 64, "fb.%06d.%lld.bmp.gz", 122 captureCurrentFrame, static_cast<long long int>(curTick())); 123 const string frameFilename(frameFilenameBuffer); 124 125 // create the compressed framebuffer file |
126 OutputStream *fb_out(captureOutputDirectory->create(frameFilename, true)); 127 captureBitmap->write(*fb_out->stream()); 128 captureOutputDirectory->close(fb_out); |
129 130 ++captureCurrentFrame; 131} 132 133// create the VNC Replayer object 134VncInput * 135VncInputParams::create() 136{ 137 return new VncInput(this); 138} |