OpenShot Library | libopenshot
0.2.3
|
This class is contains settings used by libopenshot (and can be safely toggled at any point) More...
#include <Settings.h>
Static Public Member Functions | |
static Settings * | Instance () |
Create or get an instance of this logger singleton (invoke the class with this method) More... | |
Public Attributes | |
bool | HARDWARE_DECODE = false |
Use video card for faster video decoding (if supported) More... | |
bool | HARDWARE_ENCODE = false |
Use video card for faster video encoding (if supported) More... | |
bool | HIGH_QUALITY_SCALING = false |
Scale mode used in FFmpeg decoding and encoding (used as an optimization for faster previews) More... | |
int | MAX_HEIGHT = 0 |
Maximum height for image data (useful for optimzing for a smaller preview or render) More... | |
int | MAX_WIDTH = 0 |
Maximum width for image data (useful for optimzing for a smaller preview or render) More... | |
bool | WAIT_FOR_VIDEO_PROCESSING_TASK = false |
Wait for OpenMP task to finish before continuing (used to limit threads on slower systems) More... | |
This class is contains settings used by libopenshot (and can be safely toggled at any point)
Settings class is used primarily to toggle scale settings between preview and rendering, and adjust other runtime related settings.
Definition at line 55 of file Settings.h.
|
static |
Create or get an instance of this logger singleton (invoke the class with this method)
Definition at line 38 of file Settings.cpp.
bool openshot::Settings::HARDWARE_DECODE = false |
Use video card for faster video decoding (if supported)
Definition at line 80 of file Settings.h.
bool openshot::Settings::HARDWARE_ENCODE = false |
Use video card for faster video encoding (if supported)
Definition at line 83 of file Settings.h.
bool openshot::Settings::HIGH_QUALITY_SCALING = false |
Scale mode used in FFmpeg decoding and encoding (used as an optimization for faster previews)
Definition at line 86 of file Settings.h.
int openshot::Settings::MAX_HEIGHT = 0 |
Maximum height for image data (useful for optimzing for a smaller preview or render)
Definition at line 92 of file Settings.h.
int openshot::Settings::MAX_WIDTH = 0 |
Maximum width for image data (useful for optimzing for a smaller preview or render)
Definition at line 89 of file Settings.h.
bool openshot::Settings::WAIT_FOR_VIDEO_PROCESSING_TASK = false |
Wait for OpenMP task to finish before continuing (used to limit threads on slower systems)
Definition at line 95 of file Settings.h.