Represents the data for a single video frame.
More...
#include <ibridge_video_client.h>
|
typedef Interface_declare< id1, ... > | Self |
| Own type. More...
|
|
typedef Uuid_t< id1, ... > | IID |
| Declares the interface ID (IID) of this interface. More...
|
|
typedef Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> | IID |
| Declares the interface ID (IID) of this interface. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
|
|
static bool | compare_iid (const Uuid &iid) |
| Compares the interface ID iid against the interface ID of this interface. More...
|
|
Represents the data for a single video frame.
- See also
- mi::bridge::IVideo_sink::video_frame()
◆ get_canvas()
Returns the canvas that contains the decoded frame data.
◆ get_compressed_size()
virtual Size mi::bridge::IVideo_frame::get_compressed_size |
( |
| ) |
const |
|
pure virtual |
The size of the encoded frame in bytes.
◆ get_decode_time()
virtual Float32 mi::bridge::IVideo_frame::get_decode_time |
( |
| ) |
const |
|
pure virtual |
The decoding time in seconds.
◆ get_encode_time()
virtual Float32 mi::bridge::IVideo_frame::get_encode_time |
( |
| ) |
const |
|
pure virtual |
The encoding time in seconds.
◆ get_video_format()
virtual const char * mi::bridge::IVideo_frame::get_video_format |
( |
| ) |
const |
|
pure virtual |
The video format used when encoding this frame on the server.
◆ get_video_format_attribute()
virtual IData * mi::bridge::IVideo_frame::get_video_format_attribute |
( |
const char * |
attribute | ) |
const |
|
pure virtual |
Returns a video format attribute by name.
Currently only the attribute "bitrate" is supported and only for video format "h264".