Skip to content

Commit

Permalink
Adjust source code structure
Browse files Browse the repository at this point in the history
  • Loading branch information
TianZerL committed Mar 29, 2020
1 parent a211d85 commit 7ea0642
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Anime4K09/include/Anime4K.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ class Anime4K
void showInfo();
void showImg();
void process();
private:
void getGray(cv::InputArray img);
void pushColor(cv::InputArray img);
void getGradient(cv::InputArray img);
void pushGradient(cv::InputArray img);
private:
void changEachPixel(cv::InputArray _src, const std::function<void(int, int, RGBA,Line)>&& callBack);
void getLightest(RGBA mc, RGBA a, RGBA b, RGBA c);
void getAverage(RGBA mc, RGBA a, RGBA b, RGBA c);
Expand All @@ -49,4 +49,3 @@ class Anime4K
double sc, sg, zf, fps;
bool fm, vm;
};

2 changes: 1 addition & 1 deletion Anime4K09/include/threadpool.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ class ThreadPool
};

std::shared_ptr<Pool> pool;
};
};
2 changes: 1 addition & 1 deletion Anime4K09/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ int main(int argc,char *argv[])
}

return 0;
}
}

0 comments on commit 7ea0642

Please sign in to comment.