Abstract interface for video encoder plugins.
More...
#include <ivideo_plugin.h>
Abstract interface for video encoder plugins.
Video plugins need to return MI_NEURAY_VIDEO_PLUGIN_TYPE in mi::base::Plugin::get_type().
◆ create_video_decoder()
virtual IVideo_decoder * mi::neuraylib::IVideo_plugin::create_video_decoder |
( |
| ) |
const |
|
pure virtual |
Creates a new decoder for a video stream.
◆ create_video_encoder()
virtual IVideo_encoder * mi::neuraylib::IVideo_plugin::create_video_encoder |
( |
| ) |
const |
|
pure virtual |
Creates a new encoder for a video stream.
◆ exit()
virtual bool mi::neuraylib::IVideo_plugin::exit |
( |
IPlugin_api * |
plugin_api | ) |
|
|
pure virtual |
De-initializes the plugin.
- Parameters
-
plugin_api | Provides access to API components available for plugins. |
- Returns
true
in case of success, and false
otherwise.
◆ get_name()
virtual const char * mi::neuraylib::IVideo_plugin::get_name |
( |
| ) |
const |
|
pure virtual |
Returns the name of the plugin.
For video plugins, typically the name of the video codec is used, for example, "x264"
.
- Note
- This method from mi::base::Plugin is repeated here only for documentation purposes.
Implements mi::base::Plugin.
◆ init()
virtual bool mi::neuraylib::IVideo_plugin::init |
( |
IPlugin_api * |
plugin_api | ) |
|
|
pure virtual |
Initializes the plugin.
- Parameters
-
plugin_api | Provides access to API components available for plugins. |
- Returns
true
in case of success, and false
otherwise.