OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
31 #ifndef OPENSHOT_SETTINGS_H
32 #define OPENSHOT_SETTINGS_H
45 #include "JuceHeader.h"
int HARDWARE_DECODER
Use video codec for faster video decoding (if supported)
This namespace is the default namespace for all code in the openshot library.
This class is contains settings used by libopenshot (and can be safely toggled at any point)
int HW_EN_DEVICE_SET
Which GPU to use to encode (0 is the first)
int MAX_HEIGHT
Maximum height for image data (useful for optimzing for a smaller preview or render)
int DE_LIMIT_HEIGHT_MAX
Maximum rows that hardware decode can handle.
std::string PLAYBACK_AUDIO_DEVICE_NAME
The audio device name to use during playback.
bool WAIT_FOR_VIDEO_PROCESSING_TASK
Wait for OpenMP task to finish before continuing (used to limit threads on slower systems)
static Settings * Instance()
Create or get an instance of this logger singleton (invoke the class with this method)
int FF_THREADS
Number of threads that ffmpeg uses.
bool HIGH_QUALITY_SCALING
Scale mode used in FFmpeg decoding and encoding (used as an optimization for faster previews)
int DE_LIMIT_WIDTH_MAX
Maximum columns that hardware decode can handle.
int MAX_WIDTH
Maximum width for image data (useful for optimzing for a smaller preview or render)
int OMP_THREADS
Number of threads of OpenMP.
int HW_DE_DEVICE_SET
Which GPU to use to decode (0 is the first)