diff --git a/src/api/api.cc b/src/api/api.cc index fb8d958..a7b8a8d 100644 --- a/src/api/api.cc +++ b/src/api/api.cc @@ -236,6 +236,7 @@ std::shared_ptr API::Create( return std::make_shared(device); } +// TODO(Kalman): Compatible with two generation std::shared_ptr API::Create(std::shared_ptr device) { return Create(device, Resolution::RES_2560x800); } @@ -245,6 +246,7 @@ std::shared_ptr API::Create(int argc, char *argv[]) { return Create(argc, argv, device); } +// TODO(Kalman): Compatible with two generation std::shared_ptr API::Create( int argc, char *argv[], std::shared_ptr device) { static glog_init _(argc, argv); @@ -458,6 +460,7 @@ std::shared_ptr API::device() { return device_; } +// TODO(Kalman): Call this function in the appropriate place void API::CheckImageParams() { if (device_ != nullptr) { bool in_l_ok, in_r_ok, ex_l2r_ok; diff --git a/src/internal/channels.cc b/src/internal/channels.cc index bf65f1e..05dfc80 100644 --- a/src/internal/channels.cc +++ b/src/internal/channels.cc @@ -142,6 +142,7 @@ void Channels::LogControlInfos() const { } } +// TODO(Kalman): Compatible with two generation void Channels::UpdateControlInfos() { for (auto &&option : std::vector