neuray API Programmer's Manual

mi::neuraylib::IVideo_data Class Reference

[Extensions and Plugins]

Description

A buffer for video data representing a frame.

Public Member Functions

virtual Uint8get_data() =0
Returns a pointer to the data of the buffer. More...
virtual Size get_data_size() const =0
Returns the size of the buffer. More...
virtual bool  is_key_frame() const =0
Indicates whether this frame is a key frame. More...

Member Functions

virtual Uint8* mi::​neuraylib::​IVideo_data::get_data() [pure virtual]

Returns a pointer to the data of the buffer.

Returns

A pointer to the beginning of the buffer.

virtual Size mi::​neuraylib::​IVideo_data::get_data_size() const [pure virtual]

Returns the size of the buffer.

Returns

The size of the buffer.

virtual bool mi::​neuraylib::​IVideo_data::is_key_frame() const [pure virtual]

Indicates whether this frame is a key frame.

Returns

true if this frame is a key frame, false otherwise.