mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 00:44:42 +01:00
Format code
This commit is contained in:
parent
bca748ded3
commit
1c558bf0f0
8 changed files with 30 additions and 22 deletions
|
@ -1,9 +1,3 @@
|
|||
#include "exception.h"
|
||||
#include "image_splitter.h"
|
||||
#include "log.h"
|
||||
#include "stopwatch.h"
|
||||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
#include <algorithm>
|
||||
#include <android/asset_manager.h>
|
||||
#include <android/asset_manager_jni.h>
|
||||
|
@ -15,6 +9,13 @@
|
|||
#include <tensorflow/lite/c/c_api.h>
|
||||
#include <vector>
|
||||
|
||||
#include "exception.h"
|
||||
#include "image_splitter.h"
|
||||
#include "log.h"
|
||||
#include "stopwatch.h"
|
||||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
|
||||
using namespace plugin;
|
||||
using namespace std;
|
||||
using namespace tflite;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "exception.h"
|
||||
#include <jni.h>
|
||||
|
||||
#include "exception.h"
|
||||
|
||||
void throwJavaException(JNIEnv *env, const char *msg) {
|
||||
jclass clz = env->FindClass("com/nkming/nc_photos/plugin/NativeException");
|
||||
if (clz) {
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#include "image_splitter.h"
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
#include <cmath>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include "image_splitter.h"
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace plugin {
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
#include "exception.h"
|
||||
#include "log.h"
|
||||
#include "stopwatch.h"
|
||||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
#include <android/asset_manager.h>
|
||||
#include <android/asset_manager_jni.h>
|
||||
#include <cassert>
|
||||
|
@ -10,6 +5,12 @@
|
|||
#include <jni.h>
|
||||
#include <tensorflow/lite/c/c_api.h>
|
||||
|
||||
#include "exception.h"
|
||||
#include "log.h"
|
||||
#include "stopwatch.h"
|
||||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
|
||||
using namespace plugin;
|
||||
using namespace std;
|
||||
using namespace tflite;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "stopwatch.h"
|
||||
#include <chrono>
|
||||
|
||||
#include "stopwatch.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
Stopwatch::Stopwatch()
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
#include <exception>
|
||||
#include <tensorflow/lite/c/c_api.h>
|
||||
|
||||
#include "tflite_wrapper.h"
|
||||
#include "util.h"
|
||||
|
||||
using namespace plugin;
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "util.h"
|
||||
#include <cstdint>
|
||||
#include <tensorflow/lite/c/c_api.h>
|
||||
|
||||
#include "util.h"
|
||||
|
||||
namespace tflite {
|
||||
|
||||
class Model {
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
#include "util.h"
|
||||
#include "log.h"
|
||||
#include "math_util.h"
|
||||
#include <RenderScriptToolkit.h>
|
||||
#include <algorithm>
|
||||
#include <android/asset_manager.h>
|
||||
|
@ -14,6 +11,10 @@
|
|||
#include <tensorflow/lite/c/c_api.h>
|
||||
#include <vector>
|
||||
|
||||
#include "util.h"
|
||||
#include "log.h"
|
||||
#include "math_util.h"
|
||||
|
||||
using namespace plugin;
|
||||
using namespace std;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue