X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjni%2Flocaldefines.h;fp=app%2Fsrc%2Fmain%2Fjni%2Flocaldefines.h;h=0000000000000000000000000000000000000000;hb=4d7fc85844bbd24cc1b15f60fed3b8aaa507962f;hp=e3e6738462fc94ffbf3adb88e3624c8906750d8e;hpb=d0d496554f96cebf84db3e9b3cf507577272ef8c;p=rtmpclient.git diff --git a/app/src/main/jni/localdefines.h b/app/src/main/jni/localdefines.h deleted file mode 100644 index e3e6738..0000000 --- a/app/src/main/jni/localdefines.h +++ /dev/null @@ -1,75 +0,0 @@ -/* - * UVCCamera - * library and sample to access to UVC web camera on non-rooted Android device - * - * Copyright (c) 2014-2017 saki t_saki@serenegiant.com - * - * File name: localdefines.h - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - * All files in the folder are under this Apache License, Version 2.0. - * Files in the jni/libjpeg, jni/libusb, jin/libuvc, jni/rapidjson folder may have a different license, see the respective files. -*/ - -#ifndef LOCALDEFINES_H_ -#define LOCALDEFINES_H_ - -#include - -#ifndef LOG_TAG -#define LOG_TAG "libUVCCamera" -#endif - -//#define LIBUVC_HAS_JPEG - -// write back array that got by getXXXArrayElements into original Java object and release its array -#define ARRAYELEMENTS_COPYBACK_AND_RELEASE 0 -// write back array that got by getXXXArrayElements into origianl Java object but do not release its array -#define ARRAYELEMENTS_COPYBACK_ONLY JNI_COMMIT -// never write back array that got by getXXXArrayElements but release its array -#define ARRAYELEMENTS_ABORT_AND_RELEASE JNI_ABORT - -#define THREAD_PRIORITY_DEFAULT 0 -#define THREAD_PRIORITY_LOWEST 19 -#define THREAD_PRIORITY_BACKGROUND 10 -#define THREAD_PRIORITY_FOREGROUND -2 -#define THREAD_PRIORITY_DISPLAY -4 -#define THREAD_PRIORITY_URGENT_DISPLAY -8 -#define THREAD_PRIORITY_AUDIO -16 -#define THREAD_PRIORITY_URGENT_AUDIO -19 - -#define USE_LOGALL // If you don't need to all LOG, comment out this line and select follows -//#define USE_LOGV -//#define USE_LOGD -#define USE_LOGI -#define USE_LOGW -#define USE_LOGE -#define USE_LOGF - -#ifdef NDEBUG -#undef USE_LOGALL -#endif - -#ifdef LOG_NDEBUG -#undef USE_LOGALL -#endif - -// Absolute class name of Java object -// if you change the package name of UVCCamera library, you must fix these -#define JTYPE_SYSTEM "Ljava/lang/System;" -#define JTYPE_UVCCAMERA "Lcom/serenegiant/usb/UVCCamera;" -// -typedef jlong ID_TYPE; - -#endif /* LOCALDEFINES_H_ */