#include <RemoteViz/Rendering/EncodedFrame.h>
Public Types | |
enum | EncodingFormat { JPEG, PNG, H264 } |
Public Member Functions | |
virtual | ~EncodedFrame () |
size_t | getBufferSize () const |
EncodingFormat | getEncodingFormat () const |
size_t | getId () const |
bool | isLossless () const |
bool | isInteractive () const |
This class provides the features of an encoded frame that is sent to the client.
virtual RemoteViz::Rendering::EncodedFrame::~EncodedFrame | ( | ) | [virtual] |
Destructor.
size_t RemoteViz::Rendering::EncodedFrame::getBufferSize | ( | ) | const |
Gets the frame buffer size in bytes.
EncodingFormat RemoteViz::Rendering::EncodedFrame::getEncodingFormat | ( | ) | const |
Gets the frame encoding format.
size_t RemoteViz::Rendering::EncodedFrame::getId | ( | ) | const |
Gets the frame id.
bool RemoteViz::Rendering::EncodedFrame::isInteractive | ( | ) | const |
Returns if an user interaction is in progress when the frame has been encoded.
If the frame is interactive, the frame has been encoded with the interactive frame encoder and a quality adapted to the network bandwidth.
Otherwise (the frame is still), the frame has been encoded with the still frame encoder and the best available quality.
bool RemoteViz::Rendering::EncodedFrame::isLossless | ( | ) | const |
Returns if the frame is lossless.