1
0
mirror of https://github.com/yurisieucuti/treble_evolution.git synced 2024-12-05 01:37:02 +00:00
treble_evolution_yurisieucuti/cmds/slsi-ddiscaler.cpp
2024-03-10 06:48:11 +00:00

11 lines
351 B
C++

#include <iostream>
#include <vendor/samsung_slsi/hardware/ExynosHWCServiceTW/1.0/IExynosHWCServiceTW.h>
using ::vendor::samsung_slsi::hardware::ExynosHWCServiceTW::V1_0::IExynosHWCServiceTW;
using ::android::sp;
int main(int argc, char **argv) {
auto svc = IExynosHWCServiceTW::getService();
svc->setDDIScaler(atoi(argv[1]), atoi(argv[2]));
}