mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-18 20:35:02 +08:00
refactor(libvideo2x): convert the video processor into a class (#1246)
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "fsutils.h"
|
||||
|
||||
enum class Libvideo2xLogLevel {
|
||||
enum class Video2xLogLevel {
|
||||
Unknown,
|
||||
Trace,
|
||||
Debug,
|
||||
@@ -16,8 +16,8 @@ enum class Libvideo2xLogLevel {
|
||||
Off
|
||||
};
|
||||
|
||||
void set_log_level(Libvideo2xLogLevel log_level);
|
||||
void set_log_level(Video2xLogLevel log_level);
|
||||
|
||||
std::optional<Libvideo2xLogLevel> find_log_level_by_name(const StringType &log_level_name);
|
||||
std::optional<Video2xLogLevel> find_log_level_by_name(const StringType &log_level_name);
|
||||
|
||||
#endif // LOGGING_H
|
||||
|
||||
Reference in New Issue
Block a user