#include <RemoteViz/Rendering/EncodedFrame.h>
Public Types | |
enum | EncodingFormat { JPEG, PNG, H264, VP9 } |
Public Member Functions | |
EncodedFrame () | |
EncodedFrame (const EncodedFrame &obj) | |
EncodedFrame & | operator= (const EncodedFrame &obj) |
~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.
RemoteViz::Rendering::EncodedFrame::EncodedFrame | ( | ) |
Constructor.
RemoteViz::Rendering::EncodedFrame::EncodedFrame | ( | const EncodedFrame & | obj | ) |
Copy constructor.
RemoteViz::Rendering::EncodedFrame::~EncodedFrame | ( | ) |
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.
EncodedFrame& RemoteViz::Rendering::EncodedFrame::operator= | ( | const EncodedFrame & | obj | ) |
Copy assignment operator.