mirror of
https://github.com/k4yt3x/video2x.git
synced 2026-02-15 09:44:46 +08:00
perf: improve vectorization optimizations and add function multi-versioning (#1271)
Signed-off-by: k4yt3x <i@k4yt3x.com>
This commit is contained in:
@@ -28,6 +28,7 @@ VideoProcessor::VideoProcessor(
|
||||
hw_device_type_(hw_device_type),
|
||||
benchmark_(benchmark) {}
|
||||
|
||||
[[gnu::target_clones("default", "avx2", "avx512f")]]
|
||||
int VideoProcessor::process(
|
||||
const std::filesystem::path in_fname,
|
||||
const std::filesystem::path out_fname
|
||||
|
||||
Reference in New Issue
Block a user