├── libuvccamera └── src │ └── main │ ├── jni │ ├── libjpeg-turbo-1.5.0 │ │ ├── include │ │ │ ├── config.h │ │ │ └── jconfigint.h │ │ ├── java │ │ │ ├── doc │ │ │ │ ├── package-list │ │ │ │ └── resources │ │ │ │ │ ├── tab.gif │ │ │ │ │ ├── titlebar.gif │ │ │ │ │ ├── background.gif │ │ │ │ │ └── titlebar_end.gif │ │ │ ├── MANIFEST.MF │ │ │ └── org_libjpegturbo_turbojpeg_TJTransformer.h │ │ ├── doxygen-extra.css │ │ ├── doc │ │ │ └── html │ │ │ │ ├── doxygen-extra.css │ │ │ │ ├── search │ │ │ │ ├── groups_74.js │ │ │ │ ├── all_68.js │ │ │ │ ├── all_77.js │ │ │ │ ├── all_78.js │ │ │ │ ├── all_79.js │ │ │ │ ├── all_72.js │ │ │ │ ├── variables_68.js │ │ │ │ ├── variables_77.js │ │ │ │ ├── variables_78.js │ │ │ │ ├── variables_79.js │ │ │ │ ├── close.png │ │ │ │ ├── mag_sel.png │ │ │ │ ├── variables_72.js │ │ │ │ ├── search_l.png │ │ │ │ ├── search_m.png │ │ │ │ ├── search_r.png │ │ │ │ ├── all_6e.js │ │ │ │ ├── variables_6e.js │ │ │ │ ├── all_63.js │ │ │ │ ├── variables_63.js │ │ │ │ ├── all_6f.js │ │ │ │ ├── all_64.js │ │ │ │ ├── variables_6f.js │ │ │ │ ├── classes_74.js │ │ │ │ ├── variables_64.js │ │ │ │ ├── typedefs_74.js │ │ │ │ ├── enums_74.js │ │ │ │ ├── nomatches.html │ │ │ │ ├── variables_74.js │ │ │ │ ├── all_63.html │ │ │ │ ├── all_64.html │ │ │ │ ├── all_68.html │ │ │ │ ├── all_6e.html │ │ │ │ ├── all_6f.html │ │ │ │ ├── all_72.html │ │ │ │ ├── all_74.html │ │ │ │ ├── all_77.html │ │ │ │ ├── all_78.html │ │ │ │ ├── all_79.html │ │ │ │ ├── enums_74.html │ │ │ │ ├── classes_74.html │ │ │ │ ├── groups_74.html │ │ │ │ ├── typedefs_74.html │ │ │ │ ├── enumvalues_74.html │ │ │ │ ├── functions_74.html │ │ │ │ ├── variables_63.html │ │ │ │ ├── variables_64.html │ │ │ │ ├── variables_68.html │ │ │ │ ├── variables_6e.html │ │ │ │ ├── variables_6f.html │ │ │ │ ├── variables_72.html │ │ │ │ ├── variables_74.html │ │ │ │ ├── variables_77.html │ │ │ │ ├── variables_78.html │ │ │ │ └── variables_79.html │ │ │ │ ├── bc_s.png │ │ │ │ ├── bdwn.png │ │ │ │ ├── open.png │ │ │ │ ├── closed.png │ │ │ │ ├── ftv2cl.png │ │ │ │ ├── ftv2mo.png │ │ │ │ ├── ftv2ns.png │ │ │ │ ├── nav_f.png │ │ │ │ ├── nav_g.png │ │ │ │ ├── nav_h.png │ │ │ │ ├── tab_a.png │ │ │ │ ├── tab_b.png │ │ │ │ ├── tab_h.png │ │ │ │ ├── tab_s.png │ │ │ │ ├── doxygen.png │ │ │ │ ├── ftv2blank.png │ │ │ │ ├── ftv2doc.png │ │ │ │ ├── ftv2link.png │ │ │ │ ├── ftv2mnode.png │ │ │ │ ├── ftv2node.png │ │ │ │ ├── ftv2pnode.png │ │ │ │ ├── sync_off.png │ │ │ │ ├── sync_on.png │ │ │ │ ├── ftv2folderopen.png │ │ │ │ ├── ftv2lastnode.png │ │ │ │ ├── ftv2mlastnode.png │ │ │ │ ├── ftv2plastnode.png │ │ │ │ ├── ftv2splitbar.png │ │ │ │ ├── ftv2vertline.png │ │ │ │ ├── ftv2folderclosed.png │ │ │ │ └── tabs.css │ │ ├── md5 │ │ │ ├── CMakeLists.txt │ │ │ └── Makefile.am │ │ ├── testimages │ │ │ ├── testorig.jpg │ │ │ ├── testorig.ppm │ │ │ ├── testimgari.jpg │ │ │ ├── testimgint.jpg │ │ │ ├── testorig12.jpg │ │ │ ├── vgl_5674_0098.bmp │ │ │ ├── vgl_6434_0018a.bmp │ │ │ ├── vgl_6548_0026a.bmp │ │ │ └── nightshot_iso_100.bmp │ │ ├── libjpeg.map.in │ │ ├── release │ │ │ ├── libjpeg.pc.in │ │ │ ├── libturbojpeg.pc.in │ │ │ ├── Welcome.rtf │ │ │ ├── Distribution.xml │ │ │ ├── makecygwinpkg.in │ │ │ └── ReadMe.txt │ │ ├── win │ │ │ └── jconfigint.h.in │ │ ├── jconfigint.h.in │ │ ├── doxygen.config │ │ ├── cmakescripts │ │ │ └── testclean.cmake │ │ ├── wrppm.h │ │ ├── simd │ │ │ ├── jcsample.h │ │ │ └── jdct.inc │ │ ├── jdmaster.h │ │ ├── turbojpeg-mapfile │ │ └── jpegcomp.h │ ├── rapidjson │ │ ├── thirdparty │ │ │ ├── jsoncpp │ │ │ │ ├── version │ │ │ │ ├── AUTHORS │ │ │ │ ├── LICENSE │ │ │ │ ├── src │ │ │ │ │ ├── lib_json │ │ │ │ │ │ └── sconscript │ │ │ │ │ ├── jsontestrunner │ │ │ │ │ │ └── sconscript │ │ │ │ │ └── test_lib_json │ │ │ │ │ │ └── sconscript │ │ │ │ └── include │ │ │ │ │ └── json │ │ │ │ │ ├── json.h │ │ │ │ │ ├── autolink.h │ │ │ │ │ └── forwards.h │ │ │ └── yajl │ │ │ │ ├── src │ │ │ │ ├── yajl_version.c │ │ │ │ ├── api │ │ │ │ │ └── yajl_version.h.cmake │ │ │ │ ├── yajl │ │ │ │ └── yajl_alloc.h │ │ │ │ ├── TODO │ │ │ │ ├── include │ │ │ │ └── yajl │ │ │ │ │ └── yajl_version.h │ │ │ │ └── COPYING │ │ ├── doc │ │ │ ├── diagram │ │ │ │ ├── move1.png │ │ │ │ ├── move2.png │ │ │ │ ├── move3.png │ │ │ │ ├── tutorial.png │ │ │ │ ├── simpledom.png │ │ │ │ ├── insituparsing.png │ │ │ │ ├── normalparsing.png │ │ │ │ ├── iterative-parser-states-diagram.png │ │ │ │ ├── makefile │ │ │ │ └── move1.dot │ │ │ ├── logo │ │ │ │ └── rapidjson.png │ │ │ ├── misc │ │ │ │ ├── footer.html │ │ │ │ └── header.html │ │ │ └── performance.md │ │ ├── .gitmodules │ │ ├── test │ │ │ └── perftest │ │ │ │ └── yajl_all.c │ │ ├── example │ │ │ ├── simpledom │ │ │ │ └── simpledom.cpp │ │ │ ├── simplewriter │ │ │ │ └── simplewriter.cpp │ │ │ ├── pretty │ │ │ │ └── pretty.cpp │ │ │ └── condense │ │ │ │ └── condense.cpp │ │ ├── license.txt │ │ └── .travis.yml │ ├── libusb │ │ ├── libusb │ │ │ ├── version_nano.h │ │ │ ├── os │ │ │ │ └── poll_posix.h │ │ │ └── version.h │ │ ├── NEWS │ │ ├── doc │ │ │ ├── libusb.png │ │ │ └── Makefile.am │ │ ├── TODO │ │ ├── tests │ │ │ └── Makefile.am │ │ ├── autogen.sh │ │ ├── .private │ │ │ ├── README.txt │ │ │ └── post-rewrite.sh │ │ ├── libusb-1.0.pc.in │ │ ├── msvc │ │ │ ├── listdevs_sources │ │ │ ├── xusb_sources │ │ │ ├── getopt_sources │ │ │ ├── hotplugtest_sources │ │ │ ├── xusb_2010.vcxproj.filters │ │ │ ├── xusb_2012.vcxproj.filters │ │ │ ├── listdevs_2010.vcxproj.filters │ │ │ ├── listdevs_2012.vcxproj.filters │ │ │ ├── hotplugtest_2010.vcxproj.filters │ │ │ ├── hotplugtest_2012.vcxproj.filters │ │ │ ├── fxload_sources │ │ │ ├── fxload_2010.vcxproj.filters │ │ │ ├── fxload_2012.vcxproj.filters │ │ │ ├── stress_2010.vcxproj.filters │ │ │ ├── stress_2012.vcxproj.filters │ │ │ ├── getopt_2010.vcxproj.filters │ │ │ ├── getopt_2012.vcxproj.filters │ │ │ ├── libusb_sources │ │ │ └── missing.h │ │ ├── examples │ │ │ └── Makefile.am │ │ ├── bootstrap.sh │ │ ├── Xcode │ │ │ ├── config.h │ │ │ ├── libusb.xcconfig │ │ │ ├── libusb_debug.xcconfig │ │ │ ├── libusb_release.xcconfig │ │ │ ├── debug.xcconfig │ │ │ └── release.xcconfig │ │ ├── Makefile.am │ │ ├── README │ │ └── android │ │ │ └── jni │ │ │ ├── Android.mk │ │ │ ├── Android_original.mk │ │ │ └── Application.mk │ ├── libuvc │ │ ├── changelog.txt │ │ ├── cameras │ │ │ ├── ms_lifecam_show.txt │ │ │ ├── quickcampro9000_builtin_ctrls.txt │ │ │ └── quickcampro9000_extra_ctrls.txt │ │ ├── libuvcConfig.cmake.in │ │ ├── libuvcConfigVersion.cmake.in │ │ ├── include │ │ │ └── libuvc │ │ │ │ ├── libuvc_config.h │ │ │ │ └── libuvc_config.h.in │ │ └── README.md │ ├── Android.mk │ ├── UVCCamera │ │ ├── pipeline │ │ │ ├── pipeline_helper.h │ │ │ ├── PreviewPipeline.h │ │ │ ├── ConvertPipeline.h │ │ │ ├── SimpleBufferedPipeline.h │ │ │ ├── CallbackPipeline.h │ │ │ ├── DistributePipeline.h │ │ │ └── PublisherPipeline.h │ │ ├── UVCButtonCallback.h │ │ ├── UVCStatusCallback.h │ │ ├── libUVCCamera.h │ │ ├── _onload.h │ │ └── utilbase.cpp │ └── Application.mk │ ├── libs │ ├── x86 │ │ ├── libuvc.so │ │ ├── libusb100.so │ │ ├── libUVCCamera.so │ │ └── libjpeg-turbo1500.so │ ├── mips │ │ ├── libuvc.so │ │ ├── libusb100.so │ │ ├── libUVCCamera.so │ │ └── libjpeg-turbo1500.so │ ├── armeabi │ │ ├── libuvc.so │ │ ├── libusb100.so │ │ ├── libUVCCamera.so │ │ └── libjpeg-turbo1500.so │ └── armeabi-v7a │ │ ├── libuvc.so │ │ ├── libusb100.so │ │ ├── libUVCCamera.so │ │ └── libjpeg-turbo1500.so │ ├── java │ └── com │ │ └── serenegiant │ │ └── usb │ │ ├── IButtonCallback.java │ │ └── IStatusCallback.java │ ├── res │ ├── xml │ │ └── device_filter.xml │ ├── values-ja │ │ └── strings.xml │ ├── values │ │ ├── strings.xml │ │ └── dimens.xml │ └── layout │ │ └── listitem_device.xml │ └── AndroidManifest.xml ├── app ├── system.keystore ├── src │ └── main │ │ ├── assets │ │ ├── fonts │ │ │ ├── MIUI-Bold.ttf │ │ │ ├── MIUI-Light.ttf │ │ │ ├── MIUI-Normal.ttf │ │ │ ├── dincond_medium.otf │ │ │ ├── pt_din_condensed_cyrillic.ttf │ │ │ └── watermark_data_view_bold.otf │ │ └── bin │ │ │ ├── stressapptest_32bit │ │ │ └── stressapptest_64bit │ │ ├── res │ │ ├── drawable │ │ │ ├── ic_launcher.png │ │ │ ├── audio_play_loading.xml │ │ │ ├── audio_play_selector.xml │ │ │ ├── audio_circle_gray_border.xml │ │ │ ├── progressbar_progress.xml │ │ │ ├── progressbar_background.xml │ │ │ ├── btn_default_text_selector.xml │ │ │ ├── progressbar.xml │ │ │ ├── btn_default_selected.xml │ │ │ ├── btn_default_disable.xml │ │ │ ├── btn_default_normal.xml │ │ │ ├── btn_default_pressed.xml │ │ │ └── btn_default_selector.xml │ │ ├── drawable-hdpi │ │ │ ├── ic_device.png │ │ │ ├── ic_wait_0.png │ │ │ ├── ic_wait_1.png │ │ │ ├── ic_wait_2.png │ │ │ ├── ic_wait_3.png │ │ │ ├── ic_wait_4.png │ │ │ ├── ic_wait_5.png │ │ │ ├── ic_wait_6.png │ │ │ ├── ic_wait_7.png │ │ │ ├── ic_wait_8.png │ │ │ ├── ic_wifi_0.png │ │ │ ├── ic_wifi_1.png │ │ │ ├── ic_wifi_2.png │ │ │ ├── ic_wifi_3.png │ │ │ ├── ic_audio_bg.jpg │ │ │ ├── ic_launcher.png │ │ │ ├── ic_wifi_pwd.png │ │ │ ├── ic_audio_pause.png │ │ │ ├── ic_audio_cover_bg.png │ │ │ ├── ic_wifi_connected.png │ │ │ ├── ic_audio_pre_pressed.png │ │ │ ├── ic_audio_next_pressed.png │ │ │ ├── ic_audio_play_loading.png │ │ │ ├── ic_audio_play_pressed.png │ │ │ └── ic_audio_second_cover.png │ │ ├── drawable-ldpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ ├── values-v11 │ │ │ └── styles.xml │ │ ├── values │ │ │ └── dimens.xml │ │ ├── values-v14 │ │ │ └── styles.xml │ │ └── values-zh │ │ │ └── arrays.xml │ │ ├── aidl │ │ └── android │ │ │ └── os │ │ │ └── IMcuService.aidl │ │ ├── java │ │ └── com │ │ │ ├── ayst │ │ │ └── stresstest │ │ │ │ └── util │ │ │ │ └── MemOpUtils.java │ │ │ └── github │ │ │ └── lzyzsd │ │ │ └── circleprogress │ │ │ └── Utils.java │ │ └── cpp │ │ └── native-lib.cpp └── build.properties ├── screenshots ├── preview.png └── record.gif ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── usbCameraCommon ├── src │ └── main │ │ ├── res │ │ ├── raw │ │ │ └── camera_click.ogg │ │ └── values │ │ │ └── strings.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── serenegiant │ │ └── encoder │ │ ├── IAudioEncoder.java │ │ └── IVideoEncoder.java └── proguard-rules.pro ├── .idea ├── encodings.xml ├── codeStyles │ └── codeStyleConfig.xml ├── compiler.xml ├── vcs.xml ├── inspectionProfiles │ └── Project_Default.xml ├── misc.xml ├── runConfigurations.xml └── gradle.xml ├── .gitignore ├── settings.gradle └── gradle.properties /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/include/config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/version: -------------------------------------------------------------------------------- 1 | 0.5.0 -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/libusb/version_nano.h: -------------------------------------------------------------------------------- 1 | #define LIBUSB_NANO 10903 2 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/package-list: -------------------------------------------------------------------------------- 1 | org.libjpegturbo.turbojpeg 2 | -------------------------------------------------------------------------------- /app/system.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/system.keystore -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doxygen-extra.css: -------------------------------------------------------------------------------- 1 | code { 2 | color: #4665A2; 3 | } 4 | -------------------------------------------------------------------------------- /screenshots/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/screenshots/preview.png -------------------------------------------------------------------------------- /screenshots/record.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/screenshots/record.gif -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/doxygen-extra.css: -------------------------------------------------------------------------------- 1 | code { 2 | color: #4665A2; 3 | } 4 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: TJExample 3 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/md5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(md5cmp md5cmp.c md5.c md5hl.c) 2 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/AUTHORS: -------------------------------------------------------------------------------- 1 | Baptiste Lepilleur 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/LICENSE: -------------------------------------------------------------------------------- 1 | The json-cpp library and this documentation are in Public Domain. 2 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/NEWS: -------------------------------------------------------------------------------- 1 | For the latest libusb news, please refer to the ChangeLog file, or visit: 2 | http://libusb.info 3 | -------------------------------------------------------------------------------- /app/src/main/assets/fonts/MIUI-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/MIUI-Bold.ttf -------------------------------------------------------------------------------- /app/src/main/assets/fonts/MIUI-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/MIUI-Light.ttf -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/x86/libuvc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/x86/libuvc.so -------------------------------------------------------------------------------- /app/src/main/assets/bin/stressapptest_32bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/bin/stressapptest_32bit -------------------------------------------------------------------------------- /app/src/main/assets/bin/stressapptest_64bit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/bin/stressapptest_64bit -------------------------------------------------------------------------------- /app/src/main/assets/fonts/MIUI-Normal.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/MIUI-Normal.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/mips/libuvc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/mips/libuvc.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/x86/libusb100.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/x86/libusb100.so -------------------------------------------------------------------------------- /app/src/main/assets/fonts/dincond_medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/dincond_medium.otf -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_device.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_device.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_0.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_5.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_6.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_7.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wait_8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wait_8.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_0.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_3.png -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi/libuvc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi/libuvc.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/mips/libusb100.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/mips/libusb100.so -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_bg.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_pwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_pwd.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/doc/libusb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libusb/doc/libusb.png -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi-v7a/libuvc.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi-v7a/libuvc.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi/libusb100.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi/libusb100.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/mips/libUVCCamera.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/mips/libUVCCamera.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/x86/libUVCCamera.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/x86/libUVCCamera.so -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_pause.png -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi/libUVCCamera.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi/libUVCCamera.so -------------------------------------------------------------------------------- /usbCameraCommon/src/main/res/raw/camera_click.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/usbCameraCommon/src/main/res/raw/camera_click.ogg -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_cover_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_cover_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_wifi_connected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_wifi_connected.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/TODO: -------------------------------------------------------------------------------- 1 | Please see the libusb roadmap by visiting: 2 | https://github.com/libusb/libusb/issues/milestones?direction=asc&sort=due_date 3 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/changelog.txt: -------------------------------------------------------------------------------- 1 | Changes since 0.0.3: 2 | 3 | - Support devices with multiple streaming interfaces 4 | - Support for MJPEG streams 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi-v7a/libusb100.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi-v7a/libusb100.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/mips/libjpeg-turbo1500.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/mips/libjpeg-turbo1500.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/x86/libjpeg-turbo1500.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/x86/libjpeg-turbo1500.so -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/assets/fonts/pt_din_condensed_cyrillic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/pt_din_condensed_cyrillic.ttf -------------------------------------------------------------------------------- /app/src/main/assets/fonts/watermark_data_view_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/assets/fonts/watermark_data_view_bold.otf -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_pre_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_pre_pressed.png -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi-v7a/libUVCCamera.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi-v7a/libUVCCamera.so -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi/libjpeg-turbo1500.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi/libjpeg-turbo1500.so -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_next_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_next_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_play_loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_play_loading.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_play_pressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_play_pressed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_audio_second_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/app/src/main/res/drawable-hdpi/ic_audio_second_cover.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/md5/Makefile.am: -------------------------------------------------------------------------------- 1 | noinst_PROGRAMS = md5cmp 2 | 3 | md5cmp_SOURCES = md5cmp.c md5.c md5hl.c md5.h 4 | md5cmp_CFLAGS = -I$(srcdir) 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/move1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/move1.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/move2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/move2.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/move3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/move3.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/logo/rapidjson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/logo/rapidjson.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/groups_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['turbojpeg',['TurboJPEG',['../group___turbo_j_p_e_g.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/cameras/ms_lifecam_show.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libuvc/cameras/ms_lifecam_show.txt -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "thirdparty/gtest"] 2 | path = thirdparty/gtest 3 | url = https://chromium.googlesource.com/external/googletest.git 4 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/tutorial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/tutorial.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/src/yajl_version.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int yajl_version(void) 4 | { 5 | return YAJL_VERSION; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /libuvccamera/src/main/libs/armeabi-v7a/libjpeg-turbo1500.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/libs/armeabi-v7a/libjpeg-turbo1500.so -------------------------------------------------------------------------------- /app/build.properties: -------------------------------------------------------------------------------- 1 | #Build Properties 2 | #Thu Dec 02 14:29:01 CST 2021 3 | version_minor=0 4 | version_build=0 5 | version_patch=8 6 | version_store=222 7 | version_major=2 8 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/bc_s.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/bdwn.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/open.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/simpledom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/simpledom.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/closed.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2cl.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mo.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2ns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2ns.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_f.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_g.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/nav_h.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_a.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_b.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_h.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tab_s.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/libuvcConfig.cmake.in: -------------------------------------------------------------------------------- 1 | # - Config file for the libuvc package 2 | set(libuvc_INCLUDE_DIRS "@CONF_INCLUDE_DIR@") 3 | set(libuvc_LIBRARIES "@CONF_LIBRARY@") 4 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/insituparsing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/insituparsing.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/normalparsing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/normalparsing.png -------------------------------------------------------------------------------- /libuvccamera/src/main/java/com/serenegiant/usb/IButtonCallback.java: -------------------------------------------------------------------------------- 1 | package com.serenegiant.usb; 2 | 3 | public interface IButtonCallback { 4 | void onButton(int button, int state); 5 | } 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/doxygen.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2blank.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2doc.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2link.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mnode.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2node.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2pnode.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h',['h',['../structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w',['w',['../structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_78.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x',['x',['../structtjregion.html#a4b6a37a93997091b26a75831fa291ad9',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_79.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y',['y',['../structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/sync_off.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/sync_on.png -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['r',['r',['../structtjtransform.html#ac324e5e442abec8a961e5bf219db12cf',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h',['h',['../structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w',['w',['../structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_78.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x',['x',['../structtjregion.html#a4b6a37a93997091b26a75831fa291ad9',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_79.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y',['y',['../structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig.jpg -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig.ppm -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2folderopen.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2lastnode.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2mlastnode.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2plastnode.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2splitbar.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2vertline.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/close.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/mag_sel.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['r',['r',['../structtjtransform.html#ac324e5e442abec8a961e5bf219db12cf',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/tab.gif -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testimgari.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testimgari.jpg -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testimgint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testimgint.jpg -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/testorig12.jpg -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/ftv2folderclosed.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_l.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_m.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/search_r.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_5674_0098.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_5674_0098.bmp -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_6434_0018a.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_6434_0018a.bmp -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_6548_0026a.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/vgl_6548_0026a.bmp -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['num',['num',['../structtjscalingfactor.html#a9b011e57f981ee23083e2c1aa5e640ec',1,'tjscalingfactor']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/nightshot_iso_100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/testimages/nightshot_iso_100.bmp -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['num',['num',['../structtjscalingfactor.html#a9b011e57f981ee23083e2c1aa5e640ec',1,'tjscalingfactor']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/background.gif -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/libusb 2 | LDADD = ../libusb/libusb-1.0.la 3 | 4 | noinst_PROGRAMS = stress 5 | 6 | stress_SOURCES = stress.c libusb_testlib.h testlib.c 7 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['customfilter',['customFilter',['../structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/iterative-parser-states-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aystshen/AndroidStressTest/HEAD/libuvccamera/src/main/jni/rapidjson/doc/diagram/iterative-parser-states-diagram.png -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['customfilter',['customFilter',['../structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | ./bootstrap.sh 6 | if test -z "$NOCONFIGURE"; then 7 | exec ./configure --enable-maintainer-mode --enable-examples-build --enable-tests-build "$@" 8 | fi 9 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/src/lib_json/sconscript: -------------------------------------------------------------------------------- 1 | Import( 'env buildLibrary' ) 2 | 3 | buildLibrary( env, Split( """ 4 | json_reader.cpp 5 | json_value.cpp 6 | json_writer.cpp 7 | """ ), 8 | 'json' ) 9 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/makefile: -------------------------------------------------------------------------------- 1 | %.pdf: %.dot 2 | dot $< -Tpdf -o $@ 3 | 4 | %.png: %.dot 5 | dot $< -Tpng -o $@ 6 | 7 | DOTFILES = $(basename $(wildcard *.dot)) 8 | all: $(addsuffix .png, $(DOTFILES)) $(addsuffix .pdf, $(DOTFILES)) 9 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/.private/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains private internal scripts used by the libusb 2 | project maintainers. 3 | 4 | These scripts are not intended for general usage and will not be 5 | exported when producing release archives. 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/libjpeg.map.in: -------------------------------------------------------------------------------- 1 | LIBJPEGTURBO_@JPEG_LIB_VERSION_DECIMAL@ { 2 | @MEM_SRCDST_FUNCTIONS@ 3 | local: 4 | jsimd_*; 5 | jconst_*; 6 | }; 7 | 8 | LIBJPEG_@JPEG_LIB_VERSION_DECIMAL@ { 9 | global: 10 | *; 11 | }; 12 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/doc/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = doxygen.cfg.in 2 | 3 | docs: doxygen.cfg 4 | doxygen $^ 5 | 6 | docs-upload: docs 7 | ln -s html api-1.0 8 | scp -r api-1.0 pbatard@web.sourceforge.net:/home/project-web/libusb/htdocs 9 | rm -f api-1.0 10 | -------------------------------------------------------------------------------- /libuvccamera/src/main/java/com/serenegiant/usb/IStatusCallback.java: -------------------------------------------------------------------------------- 1 | package com.serenegiant.usb; 2 | 3 | import java.nio.ByteBuffer; 4 | 5 | public interface IStatusCallback { 6 | void onStatus(int statusClass, int event, int selector, int statusAttribute, ByteBuffer data); 7 | } 8 | -------------------------------------------------------------------------------- /app/src/main/aidl/android/os/IMcuService.aidl: -------------------------------------------------------------------------------- 1 | package android.os; 2 | 3 | /** {@hide} */ 4 | interface IMcuService 5 | { 6 | int heartbeat(); 7 | int setUptime(int time); 8 | int openWatchdog(); 9 | int closeWatchdog(); 10 | int setWatchdogDuration(int duration); 11 | } 12 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['op',['op',['../structtjtransform.html#a2525aab4ba6978a1c273f74fef50e498',1,'tjtransform']]], 4 | ['options',['options',['../structtjtransform.html#ac0e74655baa4402209a21e1ae481c8f6',1,'tjtransform']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['data',['data',['../structtjtransform.html#a688fe8f1a8ecc12a538d9e561cf338e3',1,'tjtransform']]], 4 | ['denom',['denom',['../structtjscalingfactor.html#aefbcdf3e9e62274b2d312c695f133ce3',1,'tjscalingfactor']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['op',['op',['../structtjtransform.html#a2525aab4ba6978a1c273f74fef50e498',1,'tjtransform']]], 4 | ['options',['options',['../structtjtransform.html#ac0e74655baa4402209a21e1ae481c8f6',1,'tjtransform']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/include/json/json.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_JSON_H_INCLUDED 2 | # define JSON_JSON_H_INCLUDED 3 | 4 | # include "autolink.h" 5 | # include "value.h" 6 | # include "reader.h" 7 | # include "writer.h" 8 | # include "features.h" 9 | 10 | #endif // JSON_JSON_H_INCLUDED 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/audio_play_loading.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/classes_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjregion',['tjregion',['../structtjregion.html',1,'']]], 4 | ['tjscalingfactor',['tjscalingfactor',['../structtjscalingfactor.html',1,'']]], 5 | ['tjtransform',['tjtransform',['../structtjtransform.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['data',['data',['../structtjtransform.html#a688fe8f1a8ecc12a538d9e561cf338e3',1,'tjtransform']]], 4 | ['denom',['denom',['../structtjscalingfactor.html#aefbcdf3e9e62274b2d312c695f133ce3',1,'tjscalingfactor']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/libusb/os/poll_posix.h: -------------------------------------------------------------------------------- 1 | #ifndef LIBUSB_POLL_POSIX_H 2 | #define LIBUSB_POLL_POSIX_H 3 | 4 | #define usbi_write write 5 | #define usbi_read read 6 | #define usbi_close close 7 | #define usbi_poll poll 8 | 9 | int usbi_pipe(int pipefd[2]); 10 | 11 | #endif /* LIBUSB_POLL_POSIX_H */ 12 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/Android.mk: -------------------------------------------------------------------------------- 1 | #include $(call all-subdir-makefiles) 2 | PROJ_PATH := $(call my-dir) 3 | include $(CLEAR_VARS) 4 | include $(PROJ_PATH)/UVCCamera/Android.mk 5 | include $(PROJ_PATH)/libjpeg-turbo-1.5.0/Android.mk 6 | include $(PROJ_PATH)/libusb/android/jni/Android.mk 7 | include $(PROJ_PATH)/libuvc/android/jni/Android.mk -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/misc/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/typedefs_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjhandle',['tjhandle',['../group___turbo_j_p_e_g.html#ga758d2634ecb4949de7815cba621f5763',1,'turbojpeg.h']]], 4 | ['tjtransform',['tjtransform',['../group___turbo_j_p_e_g.html#gaa29f3189c41be12ec5dee7caec318a31',1,'turbojpeg.h']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/src/jsontestrunner/sconscript: -------------------------------------------------------------------------------- 1 | Import( 'env_testing buildJSONTests' ) 2 | 3 | buildJSONTests( env_testing, Split( """ 4 | main.cpp 5 | """ ), 6 | 'jsontestrunner' ) 7 | 8 | # For 'check' to work, 'libs' must be built first. 9 | env_testing.Depends('jsontestrunner', '#libs') 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/audio_play_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/libjpeg.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libjpeg 7 | Description: A SIMD-accelerated JPEG codec that provides the libjpeg API 8 | Version: @PACKAGE_VERSION@ 9 | Libs: -L${libdir} -ljpeg 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/audio_circle_gray_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/src/test_lib_json/sconscript: -------------------------------------------------------------------------------- 1 | Import( 'env_testing buildUnitTests' ) 2 | 3 | buildUnitTests( env_testing, Split( """ 4 | main.cpp 5 | jsontest.cpp 6 | """ ), 7 | 'test_lib_json' ) 8 | 9 | # For 'check' to work, 'libs' must be built first. 10 | env_testing.Depends('test_lib_json', '#libs') 11 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/libturbojpeg.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libturbojpeg 7 | Description: A SIMD-accelerated JPEG codec that provides the TurboJPEG API 8 | Version: @PACKAGE_VERSION@ 9 | Libs: -L${libdir} -lturbojpeg 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/pipeline_helper.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/12. 3 | // 4 | 5 | #ifndef PUPILMOBILE_PIPELINE_HELPER_H_H 6 | #define PUPILMOBILE_PIPELINE_HELPER_H_H 7 | 8 | #include "common_utils.h" 9 | 10 | #include "IPipeline.h" 11 | 12 | IPipeline *getPipeline(JNIEnv *env, jobject pipeline_obj); 13 | 14 | #endif //PUPILMOBILE_PIPELINE_HELPER_H_H 15 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/win/jconfigint.h.in: -------------------------------------------------------------------------------- 1 | #define VERSION "@VERSION@" 2 | #define BUILD "@BUILD@" 3 | #define PACKAGE_NAME "@CMAKE_PROJECT_NAME@" 4 | 5 | #ifndef INLINE 6 | #if defined(__GNUC__) 7 | #define INLINE inline __attribute__((always_inline)) 8 | #elif defined(_MSC_VER) 9 | #define INLINE __forceinline 10 | #else 11 | #define INLINE 12 | #endif 13 | #endif 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/libusb-1.0.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libusb-1.0 7 | Description: C API for USB device access from Linux, Mac OS X, Windows and OpenBSD/NetBSD userspace 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lusb-1.0 10 | Libs.private: @LIBS@ 11 | Cflags: -I${includedir}/libusb-1.0 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | app/build/ 15 | app/release/ 16 | libuvccamera/build/ 17 | libuvccamera/src/main/obj/ 18 | usbCameraCommon/build/ 19 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/cameras/quickcampro9000_builtin_ctrls.txt: -------------------------------------------------------------------------------- 1 | Listing available controls for device video0: 2 | Exposure, Auto Priority 3 | Exposure (Absolute) 4 | Exposure, Auto 5 | Backlight Compensation 6 | Sharpness 7 | White Balance Temperature 8 | Power Line Frequency 9 | Gain 10 | White Balance Temperature, Auto 11 | Saturation 12 | Contrast 13 | Brightness 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/jconfigint.h.in: -------------------------------------------------------------------------------- 1 | /* libjpeg-turbo build number */ 2 | #undef BUILD 3 | 4 | /* How to obtain function inlining. */ 5 | #undef INLINE 6 | 7 | /* Define to the full name of this package. */ 8 | #undef PACKAGE_NAME 9 | 10 | /* Version number of package */ 11 | #undef VERSION 12 | 13 | /* The size of `size_t', as computed by sizeof. */ 14 | #undef SIZEOF_SIZE_T 15 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/TODO: -------------------------------------------------------------------------------- 1 | * add a test for 0x1F bug 2 | * numeric overflow in integers and double 3 | * line and char offsets in the lexer and in error messages 4 | * testing: 5 | a. the permuter 6 | b. some performance comparison against json_checker. 7 | * investigate pull instead of push parsing 8 | * Handle memory allocation failures gracefully 9 | * cygwin/msys support on win32 10 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/include/jconfigint.h: -------------------------------------------------------------------------------- 1 | /* jconfigint.h. Generated from jconfigint.h.in by configure. */ 2 | /* libjpeg-turbo build number */ 3 | #define BUILD "20160617" 4 | 5 | /* How to obtain function inlining. */ 6 | #define INLINE inline __attribute__((always_inline)) 7 | 8 | /* Define to the full name of this package. */ 9 | #define PACKAGE_NAME "libjpeg-turbo" 10 | 11 | /* Version number of package */ 12 | #define VERSION "1.5.0" 13 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/libuvcConfigVersion.cmake.in: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION "@libuvc_VERSION@") 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/listdevs_sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=listdevs 2 | TARGETTYPE=PROGRAM 3 | 386_STDCALL=0 4 | 5 | _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) 6 | !IFNDEF MSC_WARNING_LEVEL 7 | MSC_WARNING_LEVEL=/W3 8 | !ENDIF 9 | 10 | !IFDEF STATIC_LIBC 11 | USE_LIBCMT=1 12 | !ELSE 13 | USE_MSVCRT=1 14 | !ENDIF 15 | 16 | UMTYPE=console 17 | INCLUDES=..\..\libusb;$(DDK_INC_PATH) 18 | UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib 19 | SOURCES=..\listdevs.c 20 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/xusb_sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=xusb 2 | TARGETTYPE=PROGRAM 3 | 386_STDCALL=0 4 | 5 | _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) 6 | 7 | !IFNDEF MSC_WARNING_LEVEL 8 | MSC_WARNING_LEVEL=/W3 9 | !ENDIF 10 | 11 | !IFDEF STATIC_LIBC 12 | USE_LIBCMT=1 13 | !ELSE 14 | USE_MSVCRT=1 15 | !ENDIF 16 | 17 | UMTYPE=console 18 | INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH) 19 | UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib 20 | SOURCES=..\xusb.c 21 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/include/libuvc/libuvc_config.h: -------------------------------------------------------------------------------- 1 | #ifndef LIBUVC_CONFIG_H 2 | #define LIBUVC_CONFIG_H 3 | 4 | #include "utilbase.h" 5 | 6 | #define LIBUVC_VERSION_MAJOR 0 7 | #define LIBUVC_VERSION_MINOR 0 8 | #define LIBUVC_VERSION_PATCH 4 9 | #define LIBUVC_VERSION_STR "0.0.4" 10 | #define LIBUVC_VERSION_INT \ 11 | (0 << 16) | \ 12 | (0 << 8) | \ 13 | (4) 14 | 15 | /* #undef LIBUVC_HAS_JPEG */ 16 | 17 | #endif // !def(LIBUVC_CONFIG_H) 18 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/getopt_sources: -------------------------------------------------------------------------------- 1 | TARGETTYPE=LIBRARY 2 | TARGETNAME=getopt 3 | 386_STDCALL=0 4 | 5 | _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) 6 | 7 | !IFNDEF MSC_WARNING_LEVEL 8 | MSC_WARNING_LEVEL=/W3 9 | !ENDIF 10 | 11 | USE_MSVCRT=1 12 | 13 | INCLUDES=$(DDK_INC_PATH) 14 | C_DEFINES = $(C_DEFINES) /DDDKBUILD /DHAVE_STRING_H 15 | 16 | TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \ 17 | $(SDK_LIB_PATH)\user32.lib 18 | 19 | SOURCES=..\getopt1.c \ 20 | ..\getopt.c 21 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/hotplugtest_sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=hotplugtest 2 | TARGETTYPE=PROGRAM 3 | 386_STDCALL=0 4 | 5 | _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) 6 | 7 | !IFNDEF MSC_WARNING_LEVEL 8 | MSC_WARNING_LEVEL=/W3 9 | !ENDIF 10 | 11 | !IFDEF STATIC_LIBC 12 | USE_LIBCMT=1 13 | !ELSE 14 | USE_MSVCRT=1 15 | !ENDIF 16 | 17 | UMTYPE=console 18 | INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH) 19 | UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib 20 | SOURCES=..\hotplugtest.c 21 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/cameras/quickcampro9000_extra_ctrls.txt: -------------------------------------------------------------------------------- 1 | Listing available controls for device video0: 2 | Raw bits per pixel 3 | Disable video processing 4 | LED1 Frequency 5 | LED1 Mode 6 | Focus 7 | Exposure, Auto Priority 8 | Exposure (Absolute) 9 | Exposure, Auto 10 | Backlight Compensation 11 | Sharpness 12 | White Balance Temperature 13 | Power Line Frequency 14 | Gain 15 | White Balance Temperature, Auto 16 | Saturation 17 | Contrast 18 | Brightness 19 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doxygen.config: -------------------------------------------------------------------------------- 1 | PROJECT_NAME = TurboJPEG 2 | PROJECT_NUMBER = 1.5 3 | OUTPUT_DIRECTORY = doc/ 4 | USE_WINDOWS_ENCODING = NO 5 | OPTIMIZE_OUTPUT_FOR_C = YES 6 | WARN_NO_PARAMDOC = YES 7 | GENERATE_LATEX = NO 8 | FILE_PATTERNS = turbojpeg.h 9 | HIDE_UNDOC_MEMBERS = YES 10 | VERBATIM_HEADERS = NO 11 | EXTRACT_STATIC = YES 12 | JAVADOC_AUTOBRIEF = YES 13 | MAX_INITIALIZER_LINES = 0 14 | ALWAYS_DETAILED_SEC = YES 15 | HTML_TIMESTAMP = NO 16 | HTML_EXTRA_STYLESHEET = doxygen-extra.css 17 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/enums_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjcs',['TJCS',['../group___turbo_j_p_e_g.html#ga4f83ad3368e0e29d1957be0efa7c3720',1,'turbojpeg.h']]], 4 | ['tjpf',['TJPF',['../group___turbo_j_p_e_g.html#gac916144e26c3817ac514e64ae5d12e2a',1,'turbojpeg.h']]], 5 | ['tjsamp',['TJSAMP',['../group___turbo_j_p_e_g.html#ga1d047060ea80bb9820d540bb928e9074',1,'turbojpeg.h']]], 6 | ['tjxop',['TJXOP',['../group___turbo_j_p_e_g.html#ga2de531af4e7e6c4f124908376b354866',1,'turbojpeg.h']]] 7 | ]; 8 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/include/yajl/yajl_version.h: -------------------------------------------------------------------------------- 1 | #ifndef YAJL_VERSION_H_ 2 | #define YAJL_VERSION_H_ 3 | 4 | #include 5 | 6 | #define YAJL_MAJOR 2 7 | #define YAJL_MINOR 0 8 | #define YAJL_MICRO 1 9 | 10 | #define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO) 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | extern int YAJL_API yajl_version(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* YAJL_VERSION_H_ */ 23 | 24 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/libusb/version.h: -------------------------------------------------------------------------------- 1 | /* This file is parsed by m4 and windres and RC.EXE so please keep it simple. */ 2 | #include "version_nano.h" 3 | #ifndef LIBUSB_MAJOR 4 | #define LIBUSB_MAJOR 1 5 | #endif 6 | #ifndef LIBUSB_MINOR 7 | #define LIBUSB_MINOR 0 8 | #endif 9 | #ifndef LIBUSB_MICRO 10 | #define LIBUSB_MICRO 19 11 | #endif 12 | #ifndef LIBUSB_NANO 13 | #define LIBUSB_NANO 0 14 | #endif 15 | /* LIBUSB_RC is the release candidate suffix. Should normally be empty. */ 16 | #ifndef LIBUSB_RC 17 | #define LIBUSB_RC "" 18 | #endif 19 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/examples/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/libusb 2 | LDADD = ../libusb/libusb-1.0.la 3 | 4 | noinst_PROGRAMS = listdevs xusb fxload hotplugtest 5 | 6 | if HAVE_SIGACTION 7 | noinst_PROGRAMS += dpfp 8 | 9 | if THREADS_POSIX 10 | dpfp_threaded_CFLAGS = $(AM_CFLAGS) 11 | noinst_PROGRAMS += dpfp_threaded 12 | endif 13 | 14 | sam3u_benchmark_SOURCES = sam3u_benchmark.c 15 | noinst_PROGRAMS += sam3u_benchmark 16 | endif 17 | 18 | fxload_SOURCES = ezusb.c ezusb.h fxload.c 19 | fxload_CFLAGS = $(THREAD_CFLAGS) $(AM_CFLAGS) 20 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/src/api/yajl_version.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef YAJL_VERSION_H_ 2 | #define YAJL_VERSION_H_ 3 | 4 | #include 5 | 6 | #define YAJL_MAJOR ${YAJL_MAJOR} 7 | #define YAJL_MINOR ${YAJL_MINOR} 8 | #define YAJL_MICRO ${YAJL_MICRO} 9 | 10 | #define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO) 11 | 12 | #ifdef __cplusplus 13 | extern "C" { 14 | #endif 15 | 16 | extern int YAJL_API yajl_version(void); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* YAJL_VERSION_H_ */ 23 | 24 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/include/json/autolink.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_AUTOLINK_H_INCLUDED 2 | # define JSON_AUTOLINK_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | # ifdef JSON_IN_CPPTL 7 | # include 8 | # endif 9 | 10 | # if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL) 11 | # define CPPTL_AUTOLINK_NAME "json" 12 | # undef CPPTL_AUTOLINK_DLL 13 | # ifdef JSON_DLL 14 | # define CPPTL_AUTOLINK_DLL 15 | # endif 16 | # include "autolink.h" 17 | # endif 18 | 19 | #endif // JSON_AUTOLINK_H_INCLUDED 20 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/include/libuvc/libuvc_config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef LIBUVC_CONFIG_H 2 | #define LIBUVC_CONFIG_H 3 | 4 | #define LIBUVC_VERSION_MAJOR @libuvc_VERSION_MAJOR@ 5 | #define LIBUVC_VERSION_MINOR @libuvc_VERSION_MINOR@ 6 | #define LIBUVC_VERSION_PATCH @libuvc_VERSION_PATCH@ 7 | #define LIBUVC_VERSION_STR "@libuvc_VERSION@" 8 | #define LIBUVC_VERSION_INT \ 9 | (@libuvc_VERSION_MAJOR@ << 16) | \ 10 | (@libuvc_VERSION_MINOR@ << 8) | \ 11 | (@libuvc_VERSION_PATCH@) 12 | 13 | #cmakedefine LIBUVC_HAS_JPEG 1 14 | 15 | #endif // !def(LIBUVC_CONFIG_H) 16 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # use libtoolize if available, otherwise look for glibtoolize (darwin) 6 | if (libtoolize --version) < /dev/null > /dev/null 2>&1; then 7 | LIBTOOLIZE=libtoolize 8 | elif (glibtoolize --version) < /dev/null > /dev/null 2>&1; then 9 | LIBTOOLIZE=glibtoolize 10 | else 11 | echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2 12 | exit 1 13 | fi 14 | 15 | $LIBTOOLIZE --copy --force || exit 1 16 | aclocal || exit 1 17 | autoheader || exit 1 18 | autoconf || exit 1 19 | automake -a -c || exit 1 20 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/xusb_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/xusb_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/test/perftest/yajl_all.c: -------------------------------------------------------------------------------- 1 | #include "perftest.h" 2 | 3 | #if TEST_YAJL 4 | 5 | #ifdef _MSC_VER 6 | #include 7 | #define isinf !_finite 8 | #define isnan _isnan 9 | #define snprintf _snprintf 10 | #endif 11 | 12 | #include "yajl/src/yajl.c" 13 | #include "yajl/src/yajl_alloc.c" 14 | #include "yajl/src/yajl_buf.c" 15 | #include "yajl/src/yajl_encode.c" 16 | #include "yajl/src/yajl_gen.c" 17 | #include "yajl/src/yajl_lex.c" 18 | #include "yajl/src/yajl_parser.c" 19 | #include "yajl/src/yajl_tree.c" 20 | #include "yajl/src/yajl_version.c" 21 | 22 | #endif // TEST_YAJL 23 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/listdevs_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/listdevs_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/hotplugtest_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/hotplugtest_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/fxload_sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=fxload 2 | TARGETTYPE=PROGRAM 3 | 386_STDCALL=0 4 | 5 | _NT_TARGET_VERSION= $(_NT_TARGET_VERSION_WINXP) 6 | 7 | !IFNDEF MSC_WARNING_LEVEL 8 | MSC_WARNING_LEVEL=/W3 9 | !ENDIF 10 | 11 | !IFDEF STATIC_LIBC 12 | USE_LIBCMT=1 13 | !ELSE 14 | USE_MSVCRT=1 15 | !ENDIF 16 | 17 | UMTYPE=console 18 | INCLUDES=..\..\msvc;..\..\libusb;..\getopt;$(DDK_INC_PATH) 19 | C_DEFINES=$(C_DEFINES) /D__GNU_LIBRARY__ 20 | UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib \ 21 | ..\getopt\getopt_ddkbuild\obj$(BUILD_ALT_DIR)\*\getopt.lib 22 | SOURCES=..\ezusb.c \ 23 | ..\fxload.c 24 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/PreviewPipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/06. 3 | // 4 | 5 | #ifndef PUPILMOBILE_PREVIEWPIPELINE_H 6 | #define PUPILMOBILE_PREVIEWPIPELINE_H 7 | 8 | #include 9 | 10 | #include "libUVCCamera.h" 11 | #include "CaptureBasePipeline.h" 12 | 13 | class PreviewPipeline : virtual public CaptureBasePipeline { 14 | private: 15 | ANativeWindow *mCaptureWindow; 16 | protected: 17 | virtual void do_capture(JNIEnv *env); 18 | public: 19 | PreviewPipeline(const size_t &_data_bytes = DEFAULT_FRAME_SZ); 20 | virtual ~PreviewPipeline(); 21 | int setCaptureDisplay(ANativeWindow *capture_window); 22 | }; 23 | 24 | 25 | #endif //PUPILMOBILE_PREVIEWPIPELINE_H 26 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/cmakescripts/testclean.cmake: -------------------------------------------------------------------------------- 1 | file(GLOB FILES 2 | testout* 3 | *_GRAY_*.bmp 4 | *_GRAY_*.png 5 | *_GRAY_*.ppm 6 | *_GRAY_*.jpg 7 | *_GRAY.yuv 8 | *_420_*.bmp 9 | *_420_*.png 10 | *_420_*.ppm 11 | *_420_*.jpg 12 | *_420.yuv 13 | *_422_*.bmp 14 | *_422_*.png 15 | *_422_*.ppm 16 | *_422_*.jpg 17 | *_422.yuv 18 | *_444_*.bmp 19 | *_444_*.png 20 | *_444_*.ppm 21 | *_444_*.jpg 22 | *_444.yuv 23 | *_440_*.bmp 24 | *_440_*.png 25 | *_440_*.ppm 26 | *_440_*.jpg 27 | *_440.yuv) 28 | 29 | if(NOT FILES STREQUAL "") 30 | message(STATUS "Removing test files") 31 | file(REMOVE ${FILES}) 32 | else() 33 | message(STATUS "No files to remove") 34 | endif() 35 | -------------------------------------------------------------------------------- /usbCameraCommon/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/saki/android-sdks/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright(c) 2018 Bob Shen 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include ':app' 18 | include ':libuvccamera' 19 | include ':usbCameraCommon' 20 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/Welcome.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360 2 | {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \margl1440\margr1440\vieww9000\viewh8400\viewkind0 5 | \deftab720 6 | \pard\pardeftab720\ql\qnatural 7 | 8 | \f0\fs24 \cf0 This installer will install the libjpeg-turbo SDK and run-time libraries onto your computer so that you can use libjpeg-turbo to build new applications or accelerate existing ones. To remove the libjpeg-turbo package, run\ 9 | \ 10 | \pard\pardeftab720\ql\qnatural 11 | 12 | \f1 \cf0 /opt/libjpeg-turbo/bin/uninstall\ 13 | \pard\pardeftab720\ql\qnatural 14 | 15 | \f0 \cf0 \ 16 | from the command line.\ 17 | } -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/config.h: -------------------------------------------------------------------------------- 1 | /* config.h. Manually generated for Xcode. */ 2 | 3 | /* Default visibility */ 4 | #define DEFAULT_VISIBILITY /**/ 5 | 6 | /* Message logging */ 7 | #define ENABLE_LOGGING 1 8 | 9 | /* Define to 1 if you have the `gettimeofday' function. */ 10 | #define HAVE_GETTIMEOFDAY 1 11 | 12 | /* Define to 1 if you have the header file. */ 13 | #define HAVE_POLL_H 1 14 | 15 | /* Define to 1 if you have the header file. */ 16 | #define HAVE_SYS_TIME_H 1 17 | 18 | /* Darwin backend */ 19 | #define OS_DARWIN 1 20 | 21 | /* type of second poll() argument */ 22 | #define POLL_NFDS_TYPE nfds_t 23 | 24 | /* Use POSIX Threads */ 25 | #define THREADS_POSIX 1 26 | 27 | /* Use GNU extensions */ 28 | #define _GNU_SOURCE 1 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/ConvertPipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/05. 3 | // 4 | 5 | #ifndef PUPILMOBILE_CONVERTPIPELINE_H 6 | #define PUPILMOBILE_CONVERTPIPELINE_H 7 | 8 | #include "libUVCCamera.h" 9 | #include "AbstractBufferedPipeline.h" 10 | 11 | class ConvertPipeline : virtual public AbstractBufferedPipeline { 12 | private: 13 | const int target_pixel_format; 14 | convFunc_t mFrameConvFunc; 15 | void updateConvFunc(); 16 | protected: 17 | virtual void on_start(); 18 | virtual void on_stop(); 19 | virtual int handle_frame(uvc_frame_t *frame); 20 | public: 21 | ConvertPipeline(const size_t &_data_bytes, const int &target_pixel_format = PIXEL_FORMAT_RAW); 22 | virtual ~ConvertPipeline(); 23 | }; 24 | 25 | 26 | #endif //PUPILMOBILE_CONVERTPIPELINE_H 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Makefile.am: -------------------------------------------------------------------------------- 1 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip 2 | ACLOCAL_AMFLAGS = -I m4 3 | DISTCLEANFILES = libusb-1.0.pc 4 | EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h \ 5 | examples/getopt/getopt.c examples/getopt/getopt1.c examples/getopt/getopt.h \ 6 | android Xcode 7 | SUBDIRS = libusb doc 8 | 9 | if BUILD_EXAMPLES 10 | SUBDIRS += examples 11 | endif 12 | 13 | if BUILD_TESTS 14 | SUBDIRS += tests 15 | endif 16 | 17 | pkgconfigdir=$(libdir)/pkgconfig 18 | pkgconfig_DATA=libusb-1.0.pc 19 | 20 | .PHONY: dist-up 21 | 22 | reldir = .release/$(distdir) 23 | dist-up: dist 24 | rm -rf $(reldir) 25 | mkdir -p $(reldir) 26 | cp $(distdir).tar.bz2 $(reldir) 27 | rsync -rv $(reldir) frs.sourceforge.net:/home/frs/project/l/li/libusb/libusb-1.0/ 28 | rm -rf $(reldir) 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/SimpleBufferedPipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/23. 3 | // 4 | 5 | #ifndef PUPILMOBILE_SIMPLEBUFFEREDPIPELINE_H 6 | #define PUPILMOBILE_SIMPLEBUFFEREDPIPELINE_H 7 | 8 | #include "AbstractBufferedPipeline.h" 9 | 10 | class SimpleBufferedPipeline : virtual public AbstractBufferedPipeline { 11 | protected: 12 | virtual void on_start(); 13 | virtual void on_stop(); 14 | virtual int handle_frame(uvc_frame_t *frame); 15 | public: 16 | SimpleBufferedPipeline(const int &_max_buffer_num = DEFAULT_MAX_FRAME_NUM, const int &init_pool_num = DEFAULT_INIT_FRAME_POOL_SZ, 17 | const size_t &default_frame_size = DEFAULT_FRAME_SZ, const bool &drop_frames_when_buffer_empty = true); 18 | virtual ~SimpleBufferedPipeline(); 19 | }; 20 | 21 | 22 | #endif //PUPILMOBILE_SIMPLEBUFFEREDPIPELINE_H 23 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjblueoffset',['tjBlueOffset',['../group___turbo_j_p_e_g.html#ga84e2e35d3f08025f976ec1ec53693dea',1,'turbojpeg.h']]], 4 | ['tjgreenoffset',['tjGreenOffset',['../group___turbo_j_p_e_g.html#ga82d6e35da441112a411da41923c0ba2f',1,'turbojpeg.h']]], 5 | ['tjmcuheight',['tjMCUHeight',['../group___turbo_j_p_e_g.html#gabd247bb9fecb393eca57366feb8327bf',1,'turbojpeg.h']]], 6 | ['tjmcuwidth',['tjMCUWidth',['../group___turbo_j_p_e_g.html#ga9e61e7cd47a15a173283ba94e781308c',1,'turbojpeg.h']]], 7 | ['tjpixelsize',['tjPixelSize',['../group___turbo_j_p_e_g.html#gad77cf8fe5b2bfd3cb3f53098146abb4c',1,'turbojpeg.h']]], 8 | ['tjredoffset',['tjRedOffset',['../group___turbo_j_p_e_g.html#gadd9b446742ac8a3923f7992c7988fea8',1,'turbojpeg.h']]] 9 | ]; 10 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2007-2011, Lloyd Hilaiel 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any 4 | purpose with or without fee is hereby granted, provided that the above 5 | copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/example/simpledom/simpledom.cpp: -------------------------------------------------------------------------------- 1 | // JSON simple example 2 | // This example does not handle errors. 3 | 4 | #include "rapidjson/document.h" 5 | #include "rapidjson/writer.h" 6 | #include "rapidjson/stringbuffer.h" 7 | #include 8 | 9 | using namespace rapidjson; 10 | 11 | int main() { 12 | // 1. Parse a JSON string into DOM. 13 | const char* json = "{\"project\":\"rapidjson\",\"stars\":10}"; 14 | Document d; 15 | d.Parse(json); 16 | 17 | // 2. Modify it by DOM. 18 | Value& s = d["stars"]; 19 | s.SetInt(s.GetInt() + 1); 20 | 21 | // 3. Stringify the DOM 22 | StringBuffer buffer; 23 | Writer writer(buffer); 24 | d.Accept(writer); 25 | 26 | // Output {"project":"rapidjson","stars":11} 27 | std::cout << buffer.GetString() << std::endl; 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/wrppm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * wrppm.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1994, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | */ 9 | 10 | #ifdef PPM_SUPPORTED 11 | 12 | /* Private version of data destination object */ 13 | 14 | typedef struct { 15 | struct djpeg_dest_struct pub; /* public fields */ 16 | 17 | /* Usually these two pointers point to the same place: */ 18 | char *iobuffer; /* fwrite's I/O buffer */ 19 | JSAMPROW pixrow; /* decompressor output buffer */ 20 | size_t buffer_width; /* width of I/O buffer */ 21 | JDIMENSION samples_per_row; /* JSAMPLEs per output row */ 22 | } ppm_dest_struct; 23 | 24 | typedef ppm_dest_struct *ppm_dest_ptr; 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/Distribution.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | libjpeg-turbo 4 | 5 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | libjpeg-turbo.pkg 24 | 25 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | package com.ayst.androidx.util; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.os.Build; 6 | 7 | import java.lang.reflect.Method; 8 | 9 | public class AppUtil { 10 | private static final String KEY_IS_FIRST = "is_first_run"; 11 | 12 | public static boolean isFirstRun(Context context) { 13 | boolean isFirst = SPUtils.get(context).getData(KEY_IS_FIRST, true); 14 | if (isFirst) { 15 | SPUtils.get(context).saveData(KEY_IS_FIRST, false); 16 | } 17 | return true; 18 | } 19 | 20 | public static void startService(Context context, Intent intent) { 21 | if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 22 | context.startForegroundService(intent); 23 | } else { 24 | android.useAndroidX=true 25 | android.enableJetifier=true 26 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/simd/jcsample.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jcsample.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1991-1996, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | */ 9 | 10 | LOCAL(void) 11 | expand_right_edge (JSAMPARRAY image_data, int num_rows, 12 | JDIMENSION input_cols, JDIMENSION output_cols) 13 | { 14 | register JSAMPROW ptr; 15 | register JSAMPLE pixval; 16 | register int count; 17 | int row; 18 | int numcols = (int) (output_cols - input_cols); 19 | 20 | if (numcols > 0) { 21 | for (row = 0; row < num_rows; row++) { 22 | ptr = image_data[row] + input_cols; 23 | pixval = ptr[-1]; /* don't need GETJSAMPLE() here */ 24 | for (count = numcols; count > 0; count--) 25 | *ptr++ = pixval; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/CallbackPipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/07. 3 | // 4 | 5 | #ifndef PUPILMOBILE_CALLBACKPIPELINE_H 6 | #define PUPILMOBILE_CALLBACKPIPELINE_H 7 | 8 | #include "libUVCCamera.h" 9 | #include "CaptureBasePipeline.h" 10 | 11 | class CallbackPipeline : virtual public CaptureBasePipeline { 12 | private: 13 | jobject mFrameCallbackObj; 14 | convFunc_t mFrameCallbackFunc; 15 | Fields_iframecallback iframecallback_fields; 16 | int mPixelFormat; 17 | size_t callbackPixelBytes; 18 | void callbackPixelFormatChanged(const uint32_t &width, const uint32_t &height); 19 | protected: 20 | virtual void do_capture(JNIEnv *env); 21 | public: 22 | CallbackPipeline(const size_t &_data_bytes = DEFAULT_FRAME_SZ); 23 | virtual ~CallbackPipeline(); 24 | int setFrameCallback(JNIEnv *env, jobject frame_callback_obj, int pixel_format); 25 | }; 26 | 27 | #endif //PUPILMOBILE_CALLBACKPIPELINE_H 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/jdmaster.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jdmaster.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1991-1995, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | * 9 | * This file contains the master control structure for the JPEG decompressor. 10 | */ 11 | 12 | /* Private state */ 13 | 14 | typedef struct { 15 | struct jpeg_decomp_master pub; /* public fields */ 16 | 17 | int pass_number; /* # of passes completed */ 18 | 19 | boolean using_merged_upsample; /* TRUE if using merged upsample/cconvert */ 20 | 21 | /* Saved references to initialized quantizer modules, 22 | * in case we need to switch modes. 23 | */ 24 | struct jpeg_color_quantizer *quantizer_1pass; 25 | struct jpeg_color_quantizer *quantizer_2pass; 26 | } my_decomp_master; 27 | 28 | typedef my_decomp_master *my_master_ptr; 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/example/simplewriter/simplewriter.cpp: -------------------------------------------------------------------------------- 1 | #include "rapidjson/writer.h" 2 | #include "rapidjson/stringbuffer.h" 3 | #include 4 | 5 | using namespace rapidjson; 6 | using namespace std; 7 | 8 | int main() { 9 | StringBuffer s; 10 | Writer writer(s); 11 | 12 | writer.StartObject(); 13 | writer.String("hello"); 14 | writer.String("world"); 15 | writer.String("t"); 16 | writer.Bool(true); 17 | writer.String("f"); 18 | writer.Bool(false); 19 | writer.String("n"); 20 | writer.Null(); 21 | writer.String("i"); 22 | writer.Uint(123); 23 | writer.String("pi"); 24 | writer.Double(3.1416); 25 | writer.String("a"); 26 | writer.StartArray(); 27 | for (unsigned i = 0; i < 4; i++) 28 | writer.Uint(i); 29 | writer.EndArray(); 30 | writer.EndObject(); 31 | 32 | cout << s.GetString() << endl; 33 | 34 | return 0; 35 | } 36 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/UVCButtonCallback.h: -------------------------------------------------------------------------------- 1 | #ifndef UVCBUTTONCALLBACK_H_ 2 | #define UVCBUTTONCALLBACK_H_ 3 | 4 | #include "libUVCCamera.h" 5 | #include 6 | #include 7 | #include "objectarray.h" 8 | 9 | #pragma interface 10 | 11 | // for callback to Java object 12 | typedef struct { 13 | jmethodID onButton; 14 | } Fields_ibuttoncallback; 15 | 16 | class UVCButtonCallback { 17 | private: 18 | uvc_device_handle_t *mDeviceHandle; 19 | pthread_mutex_t button_mutex; 20 | jobject mButtonCallbackObj; 21 | Fields_ibuttoncallback ibuttoncallback_fields; 22 | void notifyButtonCallback(JNIEnv *env, int button, int state); 23 | static void uvc_button_callback(int button, int state, void *user_ptr); 24 | public: 25 | UVCButtonCallback(uvc_device_handle_t *devh); 26 | ~UVCButtonCallback(); 27 | 28 | int setCallback(JNIEnv *env, jobject button_callback_obj); 29 | }; 30 | 31 | #endif /* UVCBUTTONCALLBACK_H_ */ 32 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright(c) 2018 Bob Shen 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | #Wed Aug 08 10:34:22 CST 2018 18 | distributionBase=GRADLE_USER_HOME 19 | distributionPath=wrapper/dists 20 | zipStoreBase=GRADLE_USER_HOME 21 | zipStorePath=wrapper/dists 22 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 23 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/jsoncpp/include/json/forwards.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_FORWARDS_H_INCLUDED 2 | # define JSON_FORWARDS_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | namespace Json { 7 | 8 | // writer.h 9 | class FastWriter; 10 | class StyledWriter; 11 | 12 | // reader.h 13 | class Reader; 14 | 15 | // features.h 16 | class Features; 17 | 18 | // value.h 19 | typedef int Int; 20 | typedef unsigned int UInt; 21 | class StaticString; 22 | class Path; 23 | class PathArgument; 24 | class Value; 25 | class ValueIteratorBase; 26 | class ValueIterator; 27 | class ValueConstIterator; 28 | #ifdef JSON_VALUE_USE_INTERNAL_MAP 29 | class ValueAllocator; 30 | class ValueMapAllocator; 31 | class ValueInternalLink; 32 | class ValueInternalArray; 33 | class ValueInternalMap; 34 | #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP 35 | 36 | } // namespace Json 37 | 38 | 39 | #endif // JSON_FORWARDS_H_INCLUDED 40 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/DistributePipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/11/25. 3 | // 4 | 5 | #ifndef PUPILMOBILE_DISTRIBUTEPIPELINE_H 6 | #define PUPILMOBILE_DISTRIBUTEPIPELINE_H 7 | 8 | #include "AbstractBufferedPipeline.h" 9 | 10 | #pragma interface 11 | 12 | class DistributePipeline : virtual public AbstractBufferedPipeline { 13 | private: 14 | std::list pipelines; 15 | protected: 16 | virtual void on_start(); 17 | virtual void on_stop(); 18 | virtual int handle_frame(uvc_frame_t *frame); 19 | public: 20 | DistributePipeline(const int &_max_buffer_num = DEFAULT_MAX_FRAME_NUM, const int &init_pool_num = DEFAULT_INIT_FRAME_POOL_SZ, 21 | const size_t &default_frame_size = DEFAULT_FRAME_SZ, const bool &drop_frames_when_buffer_empty = true); 22 | virtual ~DistributePipeline(); 23 | virtual int addPipeline(IPipeline *pipeline); 24 | virtual int removePipeline(IPipeline *pipeline); 25 | }; 26 | 27 | #endif //PUPILMOBILE_DISTRIBUTEPIPELINE_H 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/fxload_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {651ff73d-037b-4903-8dd3-56e9950be25c} 10 | 11 | 12 | 13 | 14 | Source Files 15 | 16 | 17 | Source Files 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/fxload_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {651ff73d-037b-4903-8dd3-56e9950be25c} 10 | 11 | 12 | 13 | 14 | Source Files 15 | 16 | 17 | Source Files 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/stress_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {28b6220e-d087-4f48-bd69-ffe0ac5bcc7a} 10 | 11 | 12 | 13 | 14 | Source Files 15 | 16 | 17 | Source Files 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/stress_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {28b6220e-d087-4f48-bd69-ffe0ac5bcc7a} 10 | 11 | 12 | 13 | 14 | Source Files 15 | 16 | 17 | Source Files 18 | 19 | 20 | 21 | 22 | Header Files 23 | 24 | 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/README: -------------------------------------------------------------------------------- 1 | libusb 2 | ====== 3 | 4 | libusb is a library for USB device access from Linux, Mac OS X, 5 | Windows and OpenBSD/NetBSD userspace. 6 | It is written in C and licensed under the GNU Lesser General Public 7 | License version 2.1 or, at your option, any later version (see COPYING). 8 | 9 | libusb is abstracted internally in such a way that it can hopefully 10 | be ported to other operating systems. Please see the PORTING file 11 | for more information. 12 | 13 | libusb homepage: 14 | http://libusb.info/ 15 | 16 | Developers will wish to consult the API documentation: 17 | http://api.libusb.info 18 | 19 | Use the mailing list for questions, comments, etc: 20 | http://mailing-list.libusb.info 21 | 22 | - Pete Batard 23 | - Hans de Goede 24 | - Xiaofan Chen 25 | - Ludovic Rousseau 26 | - Nathan Hjelm 27 | (Please use the mailing list rather than mailing developers directly) 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/libusb.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // libusb Xcode configuration file 3 | // Copyright © 2012 Pete Batard 4 | // For more information, please visit: 5 | // 6 | // This library is free software; you can redistribute it and/or 7 | // modify it under the terms of the GNU Lesser General Public 8 | // License as published by the Free Software Foundation; either 9 | // version 2.1 of the License, or (at your option) any later version. 10 | // 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // Lesser General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU Lesser General Public 17 | // License along with this library; if not, write to the Free Software 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | 20 | PRODUCT_NAME = libusb-1.0.0 21 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/java/org_libjpegturbo_turbojpeg_TJTransformer.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | /* Header for class org_libjpegturbo_turbojpeg_TJTransformer */ 4 | 5 | #ifndef _Included_org_libjpegturbo_turbojpeg_TJTransformer 6 | #define _Included_org_libjpegturbo_turbojpeg_TJTransformer 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | /* 11 | * Class: org_libjpegturbo_turbojpeg_TJTransformer 12 | * Method: init 13 | * Signature: ()V 14 | */ 15 | JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJTransformer_init 16 | (JNIEnv *, jobject); 17 | 18 | /* 19 | * Class: org_libjpegturbo_turbojpeg_TJTransformer 20 | * Method: transform 21 | * Signature: ([BI[[B[Lorg/libjpegturbo/turbojpeg/TJTransform;I)[I 22 | */ 23 | JNIEXPORT jintArray JNICALL Java_org_libjpegturbo_turbojpeg_TJTransformer_transform 24 | (JNIEnv *, jobject, jbyteArray, jint, jobjectArray, jobjectArray, jint); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | #endif 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/.private/post-rewrite.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Detect amended commits and warn user if .amend is missing 4 | # 5 | # To have git run this script on commit, create a "post-rewrite" text file in 6 | # .git/hooks/ with the following content: 7 | # #!/bin/sh 8 | # if [ -x .private/post-rewrite.sh ]; then 9 | # source .private/post-rewrite.sh 10 | # fi 11 | # 12 | # NOTE: These versioning hooks are intended to be used *INTERNALLY* by the 13 | # libusb development team and are NOT intended to solve versioning for any 14 | # derivative branch, such as one you would create for private development. 15 | # 16 | 17 | case "$1" in 18 | amend) 19 | # Check if a .amend exists. If none, create one and warn user to re-commit. 20 | if [ -f .amend ]; then 21 | rm .amend 22 | else 23 | echo "Amend commit detected, but no .amend file - One has now been created." 24 | echo "Please re-commit as is (amend), so that the version number is correct." 25 | touch .amend 26 | fi ;; 27 | *) ;; 28 | esac 29 | -------------------------------------------------------------------------------- /app/src/main/java/com/ayst/stresstest/util/MemOpUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright(c) 2018 Bob Shen 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.ayst.stresstest.util; 18 | 19 | /** 20 | * Created by Bob Shen on 17-11-7. 21 | */ 22 | 23 | public class MemOpUtils { 24 | 25 | static { 26 | System.loadLibrary("MemFillTool"); 27 | } 28 | 29 | public static native int malloc(int size); 30 | public static native int free(); 31 | 32 | } 33 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libuvc/README.md: -------------------------------------------------------------------------------- 1 | `libuvc` is a cross-platform library for USB video devices, built atop `libusb`. 2 | It enables fine-grained control over USB video devices exporting the standard USB Video Class 3 | (UVC) interface, enabling developers to write drivers for previously unsupported devices, 4 | or just access UVC devices in a generic fashion. 5 | 6 | ## Getting and Building libuvc 7 | 8 | Prerequisites: You will need `libusb` and [CMake](http://www.cmake.org/) installed. 9 | 10 | To build, you can just run these shell commands: 11 | 12 | git clone https://github.com/ktossell/libuvc 13 | cd libuvc 14 | mkdir build 15 | cd build 16 | cmake .. 17 | make && sudo make install 18 | 19 | and you're set! If you want to change the build configuration, you can edit `CMakeCache.txt` 20 | in the build directory, or use a CMake GUI to make the desired changes. 21 | 22 | ## Developing with libuvc 23 | 24 | The documentation for `libuvc` can currently be found at https://int80k.com/libuvc/doc/. 25 | 26 | Happy hacking! 27 | -------------------------------------------------------------------------------- /app/src/main/cpp/native-lib.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Created by Bob Shen on 18-8-9 下午5:28 3 | * Copyright(c) 2018. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include 19 | #include 20 | 21 | extern "C" 22 | JNIEXPORT jstring 23 | 24 | JNICALL 25 | Java_com_ayst_nativesample_MainActivity_stringFromJNI( 26 | JNIEnv *env, 27 | jobject /* this */) { 28 | std::string hello = "Hello from C++"; 29 | return env->NewStringUTF(hello.c_str()); 30 | } 31 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/makecygwinpkg.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -u 4 | set -e 5 | trap onexit INT 6 | trap onexit TERM 7 | trap onexit EXIT 8 | 9 | TMPDIR= 10 | 11 | onexit() 12 | { 13 | if [ ! "$TMPDIR" = "" ]; then 14 | rm -rf $TMPDIR 15 | fi 16 | } 17 | 18 | PACKAGE_NAME=@PKGNAME@ 19 | VERSION=@VERSION@ 20 | BUILD=@BUILD@ 21 | SRCDIR=@abs_top_srcdir@ 22 | 23 | PREFIX=%{__prefix} 24 | DOCDIR=%{__docdir} 25 | LIBDIR=%{__libdir} 26 | 27 | umask 022 28 | rm -f $PACKAGE_NAME-$VERSION-$BUILD.tar.bz2 29 | TMPDIR=`mktemp -d /tmp/ljtbuild.XXXXXX` 30 | __PWD=`pwd` 31 | make install DESTDIR=$TMPDIR/pkg docdir=/usr/share/doc/$PACKAGE_NAME-$VERSION \ 32 | exampledir=/usr/share/doc/$PACKAGE_NAME-$VERSION 33 | rm $TMPDIR/pkg$LIBDIR/*.la 34 | if [ "$PREFIX" = "/opt/libjpeg-turbo" -a "$DOCDIR" = "/opt/libjpeg-turbo/doc" ]; then 35 | ln -fs /usr/share/doc/$PACKAGE_NAME-$VERSION $TMPDIR/pkg$DOCDIR 36 | fi 37 | cd $TMPDIR/pkg 38 | tar cfj ../$PACKAGE_NAME-$VERSION-$BUILD.tar.bz2 * 39 | cd $__PWD 40 | mv $TMPDIR/*.tar.bz2 . 41 | 42 | exit 0 43 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/libusb_debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // libusb Xcode configuration file 3 | // Copyright © 2012 Pete Batard 4 | // For more information, please visit: 5 | // 6 | // This library is free software; you can redistribute it and/or 7 | // modify it under the terms of the GNU Lesser General Public 8 | // License as published by the Free Software Foundation; either 9 | // version 2.1 of the License, or (at your option) any later version. 10 | // 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // Lesser General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU Lesser General Public 17 | // License along with this library; if not, write to the Free Software 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | 20 | #include "debug.xcconfig" 21 | #include "libusb.xcconfig" 22 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/libusb_release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // libusb Xcode configuration file 3 | // Copyright © 2012 Pete Batard 4 | // For more information, please visit: 5 | // 6 | // This library is free software; you can redistribute it and/or 7 | // modify it under the terms of the GNU Lesser General Public 8 | // License as published by the Free Software Foundation; either 9 | // version 2.1 of the License, or (at your option) any later version. 10 | // 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // Lesser General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU Lesser General Public 17 | // License along with this library; if not, write to the Free Software 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | 20 | #include "release.xcconfig" 21 | #include "libusb.xcconfig" 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/progressbar_progress.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 23 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/getopt_2010.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | 14 | 15 | Source Files 16 | 17 | 18 | Source Files 19 | 20 | 21 | 22 | 23 | Header Files 24 | 25 | 26 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/getopt_2012.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | 14 | 15 | Source Files 16 | 17 | 18 | Source Files 19 | 20 | 21 | 22 | 23 | Header Files 24 | 25 | 26 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/turbojpeg-mapfile: -------------------------------------------------------------------------------- 1 | TURBOJPEG_1.0 2 | { 3 | global: 4 | tjInitCompress; 5 | tjCompress; 6 | TJBUFSIZE; 7 | tjInitDecompress; 8 | tjDecompressHeader; 9 | tjDecompress; 10 | tjDestroy; 11 | tjGetErrorStr; 12 | local: 13 | *; 14 | }; 15 | 16 | TURBOJPEG_1.1 17 | { 18 | global: 19 | TJBUFSIZEYUV; 20 | tjDecompressHeader2; 21 | tjDecompressToYUV; 22 | tjEncodeYUV; 23 | } TURBOJPEG_1.0; 24 | 25 | TURBOJPEG_1.2 26 | { 27 | global: 28 | tjAlloc; 29 | tjBufSize; 30 | tjBufSizeYUV; 31 | tjCompress2; 32 | tjDecompress2; 33 | tjEncodeYUV2; 34 | tjFree; 35 | tjGetScalingFactors; 36 | tjInitTransform; 37 | tjTransform; 38 | } TURBOJPEG_1.1; 39 | 40 | TURBOJPEG_1.4 41 | { 42 | global: 43 | tjBufSizeYUV2; 44 | tjCompressFromYUV; 45 | tjCompressFromYUVPlanes; 46 | tjDecodeYUV; 47 | tjDecodeYUVPlanes; 48 | tjDecompressHeader3; 49 | tjDecompressToYUV2; 50 | tjDecompressToYUVPlanes; 51 | tjEncodeYUV3; 52 | tjEncodeYUVPlanes; 53 | tjPlaneHeight; 54 | tjPlaneSizeYUV; 55 | tjPlaneWidth; 56 | } TURBOJPEG_1.2; 57 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/progressbar_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | # Android build config for libusb, examples and tests 2 | # Copyright © 2012-2013 RealVNC Ltd. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | LOCAL_PATH:= $(call my-dir) 20 | 21 | include $(LOCAL_PATH)/libusb.mk 22 | #include $(LOCAL_PATH)/examples.mk 23 | #include $(LOCAL_PATH)/tests.mk 24 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 18sp 21 | 14sp 22 | 12sp 23 | 8sp 24 | 25 | 290dp 26 | 210dp 27 | 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/android/jni/Android_original.mk: -------------------------------------------------------------------------------- 1 | # Android build config for libusb, examples and tests 2 | # Copyright © 2012-2013 RealVNC Ltd. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | LOCAL_PATH:= $(call my-dir) 20 | 21 | include $(LOCAL_PATH)/libusb.mk 22 | include $(LOCAL_PATH)/examples.mk 23 | include $(LOCAL_PATH)/tests.mk 24 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_text_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/progressbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /usbCameraCommon/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 24 | 27 | 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | # Android application build config for libusb 2 | # Copyright © 2012-2013 RealVNC Ltd. 3 | # 4 | # This library is free software; you can redistribute it and/or 5 | # modify it under the terms of the GNU Lesser General Public 6 | # License as published by the Free Software Foundation; either 7 | # version 2.1 of the License, or (at your option) any later version. 8 | # 9 | # This library is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | # Lesser General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU Lesser General Public 15 | # License along with this library; if not, write to the Free Software 16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | # 18 | 19 | APP_ABI := all 20 | 21 | # Workaround for MIPS toolchain linker being unable to find liblog dependency 22 | # of shared object in NDK versions at least up to r9. 23 | # 24 | APP_LDFLAGS := -llog 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/license.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2011 Milo Yip 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/UVCStatusCallback.h: -------------------------------------------------------------------------------- 1 | #ifndef UVCSTATUSCALLBACK_H_ 2 | #define UVCSTATUSCALLBACK_H_ 3 | 4 | #include "libUVCCamera.h" 5 | #include 6 | #include 7 | #include "objectarray.h" 8 | 9 | #pragma interface 10 | 11 | // for callback to Java object 12 | typedef struct { 13 | jmethodID onStatus; 14 | } Fields_istatuscallback; 15 | 16 | class UVCStatusCallback { 17 | private: 18 | uvc_device_handle_t *mDeviceHandle; 19 | pthread_mutex_t status_mutex; 20 | jobject mStatusCallbackObj; 21 | Fields_istatuscallback istatuscallback_fields; 22 | void notifyStatusCallback(JNIEnv *env, uvc_status_class status_class, int event, int selector, uvc_status_attribute status_attribute, void *data, size_t data_len); 23 | static void uvc_status_callback(uvc_status_class status_class, int event, int selector, uvc_status_attribute status_attribute, void *data, size_t data_len, void *user_ptr); 24 | public: 25 | UVCStatusCallback(uvc_device_handle_t *devh); 26 | ~UVCStatusCallback(); 27 | 28 | int setCallback(JNIEnv *env, jobject status_callback_obj); 29 | }; 30 | 31 | #endif /* UVCSTATUSCALLBACK_H_ */ 32 | -------------------------------------------------------------------------------- /usbCameraCommon/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 23 | 24 | 25 | encoder 26 | 27 | -------------------------------------------------------------------------------- /usbCameraCommon/src/main/java/com/serenegiant/encoder/IAudioEncoder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * UVCCamera 3 | * library and sample to access to UVC web camera on non-rooted Android device 4 | * 5 | * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * 19 | * All files in the folder are under this Apache License, Version 2.0. 20 | * Files in the libjpeg-turbo, libusb, libuvc, rapidjson folder 21 | * may have a different license, see the respective files. 22 | */ 23 | 24 | package com.serenegiant.encoder; 25 | 26 | public interface IAudioEncoder { 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 100毫秒 21 | 200毫秒 22 | 1秒 23 | 30秒 24 | 1分钟 25 | 5分钟 26 | 15分钟 27 | 30分钟 28 | 45分钟 29 | 1小时 30 | 31 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_77.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_78.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/all_79.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/example/pretty/pretty.cpp: -------------------------------------------------------------------------------- 1 | // JSON pretty formatting example 2 | // This example can only handle UTF-8. For handling other encodings, see prettyauto example. 3 | 4 | #include "rapidjson/reader.h" 5 | #include "rapidjson/prettywriter.h" 6 | #include "rapidjson/filereadstream.h" 7 | #include "rapidjson/filewritestream.h" 8 | #include "rapidjson/error/en.h" 9 | 10 | using namespace rapidjson; 11 | 12 | int main(int, char*[]) { 13 | // Prepare reader and input stream. 14 | Reader reader; 15 | char readBuffer[65536]; 16 | FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); 17 | 18 | // Prepare writer and output stream. 19 | char writeBuffer[65536]; 20 | FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); 21 | PrettyWriter writer(os); 22 | 23 | // JSON reader parse from the input stream and let writer generate the output. 24 | if (!reader.Parse(is, writer)) { 25 | fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.GetParseErrorCode())); 26 | return 1; 27 | } 28 | 29 | return 0; 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/enums_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/diagram/move1.dot: -------------------------------------------------------------------------------- 1 | digraph { 2 | compound=true 3 | fontname="Inconsolata, Consolas" 4 | fontsize=10 5 | margin="0,0" 6 | ranksep=0.2 7 | penwidth=0.5 8 | 9 | node [fontname="Inconsolata, Consolas", fontsize=10, penwidth=0.5] 10 | edge [fontname="Inconsolata, Consolas", fontsize=10, arrowhead=normal] 11 | 12 | subgraph cluster1 { 13 | margin="10,10" 14 | labeljust="left" 15 | label = "Before" 16 | style=filled 17 | fillcolor=gray95 18 | 19 | node [shape=Mrecord, style=filled, colorscheme=spectral7] 20 | 21 | { 22 | rank = same 23 | b1 [label="{b:number|456}", fillcolor=6] 24 | a1 [label="{a:number|123}", fillcolor=6] 25 | } 26 | 27 | a1 -> b1 [style="dashed", label="Move", dir=back] 28 | } 29 | 30 | subgraph cluster2 { 31 | margin="10,10" 32 | labeljust="left" 33 | label = "After" 34 | style=filled 35 | fillcolor=gray95 36 | 37 | node [shape=Mrecord, style=filled, colorscheme=spectral7] 38 | 39 | { 40 | rank = same 41 | b2 [label="{b:null|}", fillcolor=1] 42 | a2 [label="{a:number|456}", fillcolor=6] 43 | } 44 | a2 -> b2 [style=invis, dir=back] 45 | } 46 | b1 -> b2 [style=invis] 47 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_disable.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/classes_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/groups_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/typedefs_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/example/condense/condense.cpp: -------------------------------------------------------------------------------- 1 | // JSON condenser exmaple 2 | 3 | // This example parses JSON text from stdin with validation, 4 | // and re-output the JSON content to stdout without whitespace. 5 | 6 | #include "rapidjson/reader.h" 7 | #include "rapidjson/writer.h" 8 | #include "rapidjson/filereadstream.h" 9 | #include "rapidjson/filewritestream.h" 10 | #include "rapidjson/error/en.h" 11 | 12 | using namespace rapidjson; 13 | 14 | int main(int, char*[]) { 15 | // Prepare JSON reader and input stream. 16 | Reader reader; 17 | char readBuffer[65536]; 18 | FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); 19 | 20 | // Prepare JSON writer and output stream. 21 | char writeBuffer[65536]; 22 | FileWriteStream os(stdout, writeBuffer, sizeof(writeBuffer)); 23 | Writer writer(os); 24 | 25 | // JSON reader parse from the input stream and let writer generate the output. 26 | if (!reader.Parse(is, writer)) { 27 | fprintf(stderr, "\nError(%u): %s\n", (unsigned)reader.GetErrorOffset(), GetParseError_En(reader.GetParseErrorCode())); 28 | return 1; 29 | } 30 | 31 | return 0; 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/enumvalues_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/functions_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_68.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_6e.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_6f.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_72.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_74.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_77.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_78.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/search/variables_79.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_default_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/pipeline/PublisherPipeline.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by saki on 15/10/06. 3 | // 4 | 5 | #ifndef PUPILMOBILE_PUBLISHER_PIPELINE_H 6 | #define PUPILMOBILE_PUBLISHER_PIPELINE_H 7 | 8 | #pragma interface 9 | 10 | #include 11 | #include "Mutex.h" 12 | #include "Timers.h" 13 | #include "zmq.hpp" 14 | 15 | #include "pupilmobile_defs.h" 16 | #include "AbstractBufferedPipeline.h" 17 | 18 | using namespace android; 19 | 20 | class PublisherPipeline : virtual public AbstractBufferedPipeline { 21 | private: 22 | protected: 23 | const std::string host; 24 | const std::string subscription_id; 25 | size_t data_bytes; 26 | zmq::context_t *context; 27 | zmq::socket_t *publisher; 28 | mutable Mutex publisher_mutex; 29 | virtual void on_start(); 30 | virtual void on_stop(); 31 | virtual int handle_frame(uvc_frame_t *frame); 32 | public: 33 | PublisherPipeline(const size_t &_data_bytes = DEFAULT_FRAME_SZ, const char *addr = NULL, const char *subscription_id = NULL); 34 | PublisherPipeline(const char *addr, const char *subscription_id); 35 | virtual ~PublisherPipeline(); 36 | virtual int queueFrame(uvc_frame_t *frame); 37 | }; 38 | 39 | #endif //PUPILMOBILE_PUBLISHER_PIPELINE_H 40 | -------------------------------------------------------------------------------- /usbCameraCommon/src/main/java/com/serenegiant/encoder/IVideoEncoder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * UVCCamera 3 | * library and sample to access to UVC web camera on non-rooted Android device 4 | * 5 | * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * 19 | * All files in the folder are under this Apache License, Version 2.0. 20 | * Files in the libjpeg-turbo, libusb, libuvc, rapidjson folder 21 | * may have a different license, see the respective files. 22 | */ 23 | 24 | package com.serenegiant.encoder; 25 | 26 | public interface IVideoEncoder { 27 | public boolean frameAvailableSoon(); 28 | } 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/src/yajl: -------------------------------------------------------------------------------- 1 | /** 2 | \example reformatter/json_reformat.c 3 | \example example/parse_config.c 4 | */ 5 | 6 | /*! 7 | \mainpage Yet Another JSON Library (YAJL) 8 | \author Lloyd Hilaiel 9 | \date 2007-2011 10 | 11 | Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) 12 | JSON parser written in ANSI C, and a small validating JSON 13 | generator. YAJL is released under the permissive ISC license. 14 | 15 | \section features Features 16 | 17 | -# Stream (incremental) parsing and generation of JSON 18 | -# ANSI C 19 | -# Human readable error messages with context 20 | -# tiny 21 | -# event driven 22 | -# support for generating "beautified" JSON 23 | -# includes 24 | It also includes a small simplified tree interface for 25 | simplified parsing and extraction of data from smallish JSON documents. 26 | 27 | \section usage Usage 28 | 29 | See json_reformat.c for a complete example of stream based parsing 30 | and generation of JSON. See parse_config.c for an example of the 31 | simplified tree interface. 32 | 33 | */ 34 | -------------------------------------------------------------------------------- /libuvccamera/src/main/res/xml/device_filter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/jpegcomp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jpegcomp.h 3 | * 4 | * Copyright (C) 2010, D. R. Commander. 5 | * For conditions of distribution and use, see the accompanying README.ijg 6 | * file. 7 | * 8 | * JPEG compatibility macros 9 | * These declarations are considered internal to the JPEG library; most 10 | * applications using the library shouldn't need to include this file. 11 | */ 12 | 13 | #if JPEG_LIB_VERSION >= 70 14 | #define _DCT_scaled_size DCT_h_scaled_size 15 | #define _DCT_h_scaled_size DCT_h_scaled_size 16 | #define _DCT_v_scaled_size DCT_v_scaled_size 17 | #define _min_DCT_scaled_size min_DCT_h_scaled_size 18 | #define _min_DCT_h_scaled_size min_DCT_h_scaled_size 19 | #define _min_DCT_v_scaled_size min_DCT_v_scaled_size 20 | #define _jpeg_width jpeg_width 21 | #define _jpeg_height jpeg_height 22 | #else 23 | #define _DCT_scaled_size DCT_scaled_size 24 | #define _DCT_h_scaled_size DCT_scaled_size 25 | #define _DCT_v_scaled_size DCT_scaled_size 26 | #define _min_DCT_scaled_size min_DCT_scaled_size 27 | #define _min_DCT_h_scaled_size min_DCT_scaled_size 28 | #define _min_DCT_v_scaled_size min_DCT_scaled_size 29 | #define _jpeg_width image_width 30 | #define _jpeg_height image_height 31 | #endif 32 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/debug.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // libusb Xcode configuration file 3 | // Copyright © 2012 Pete Batard 4 | // For more information, please visit: 5 | // 6 | // This library is free software; you can redistribute it and/or 7 | // modify it under the terms of the GNU Lesser General Public 8 | // License as published by the Free Software Foundation; either 9 | // version 2.1 of the License, or (at your option) any later version. 10 | // 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // Lesser General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU Lesser General Public 17 | // License along with this library; if not, write to the Free Software 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | 20 | #include "common.xcconfig" 21 | 22 | // Embed debug symbols in binary itself. 23 | DEBUG_INFORMATION_FORMAT = dwarf 24 | 25 | // No optimizations in debug. 26 | GCC_OPTIMIZATION_LEVEL = 0 27 | 28 | // 29 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) DEBUG=1 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/misc/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | $projectname: $title 9 | $title 10 | 11 | 12 | 13 | $treeview 14 | $search 15 | $mathjax 16 | 17 | $extrastylesheet 18 | 19 | 20 |
21 |
22 | $searchbox 23 | 24 | 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/doc/performance.md: -------------------------------------------------------------------------------- 1 | # Performance 2 | 3 | The old performance article for RapidJSON 0.1 is provided [here](https://code.google.com/p/rapidjson/wiki/Performance). 4 | 5 | This file will be updated with new version and better procedures. 6 | 7 | In the meantime, you may also refer to the following third-party benchmarks. 8 | 9 | ## Third-party benchmarks 10 | 11 | * [Basic benchmarks for miscellaneous C++ JSON parsers and generators](https://github.com/mloskot/json_benchmark) by Mateusz Loskot (Jun 2013) 12 | * [casablanca](https://casablanca.codeplex.com/) 13 | * [json_spirit](https://github.com/cierelabs/json_spirit) 14 | * [jsoncpp](http://jsoncpp.sourceforge.net/) 15 | * [libjson](http://sourceforge.net/projects/libjson/) 16 | * [rapidjson](https://github.com/miloyip/rapidjson/) 17 | * [QJsonDocument](http://qt-project.org/doc/qt-5.0/qtcore/qjsondocument.html) 18 | 19 | * [JSON Parser Benchmarking](http://chadaustin.me/2013/01/json-parser-benchmarking/) by Chad Austin (Jan 2013) 20 | * [sajson](https://github.com/chadaustin/sajson) 21 | * [rapidjson](https://github.com/miloyip/rapidjson/) 22 | * [vjson](https://code.google.com/p/vjson/) 23 | * [YAJL](http://lloyd.github.com/yajl/) 24 | * [Jansson](http://www.digip.org/jansson/) 25 | -------------------------------------------------------------------------------- /libuvccamera/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 23 | 24 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/libUVCCamera.h: -------------------------------------------------------------------------------- 1 | /* 2 | * UVCCamera 3 | * library and sample to access to UVC web camera on non-rooted Android device 4 | * 5 | * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | * 7 | * File name: libUVCCamera.h 8 | * 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * 21 | * All files in the folder are under this Apache License, Version 2.0. 22 | * Files in the jni/libjpeg, jni/libusb, jin/libuvc, jni/rapidjson folder may have a different license, see the respective files. 23 | */ 24 | 25 | #ifndef LIBUVCCAMERA_H_ 26 | #define LIBUVCCAMERA_H_ 27 | 28 | #include 29 | #include "libusb.h" 30 | #include "libuvc.h" 31 | #include "utilbase.h" 32 | 33 | #endif /* LIBUVCCAMERA_H_ */ 34 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/simd/jdct.inc: -------------------------------------------------------------------------------- 1 | ; 2 | ; jdct.inc - private declarations for forward & reverse DCT subsystems 3 | ; 4 | ; Copyright 2009 Pierre Ossman for Cendio AB 5 | ; 6 | ; Based on the x86 SIMD extension for IJG JPEG library 7 | ; Copyright (C) 1999-2006, MIYASAKA Masaru. 8 | ; For conditions of distribution and use, see copyright notice in jsimdext.inc 9 | ; 10 | ; [TAB8] 11 | 12 | ; Each IDCT routine is responsible for range-limiting its results and 13 | ; converting them to unsigned form (0..MAXJSAMPLE). The raw outputs could 14 | ; be quite far out of range if the input data is corrupt, so a bulletproof 15 | ; range-limiting step is required. We use a mask-and-table-lookup method 16 | ; to do the combined operations quickly. 17 | ; 18 | %define RANGE_MASK (MAXJSAMPLE * 4 + 3) ; 2 bits wider than legal samples 19 | 20 | %define ROW(n,b,s) ((b)+(n)*(s)) 21 | %define COL(n,b,s) ((b)+(n)*(s)*DCTSIZE) 22 | 23 | %define DWBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_DWORD) 24 | %define MMBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_MMWORD) 25 | %define XMMBLOCK(m,n,b,s) ((b)+(m)*DCTSIZE*(s)+(n)*SIZEOF_XMMWORD) 26 | 27 | ; -------------------------------------------------------------------------- 28 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/libusb_sources: -------------------------------------------------------------------------------- 1 | #TARGETTYPE is not defined, to allow selection between static lib or DLL with ddk_build 2 | TARGETNAME=libusb-1.0 3 | DLLDEF=..\libusb-1.0.def 4 | 5 | !IFNDEF MSC_WARNING_LEVEL 6 | MSC_WARNING_LEVEL=/W3 7 | !ENDIF 8 | 9 | !IFDEF STATIC_LIBC 10 | USE_LIBCMT=1 11 | !ELSE 12 | USE_MSVCRT=1 13 | !ENDIF 14 | 15 | INCLUDES=..;..\..\msvc;$(DDK_INC_PATH) 16 | C_DEFINES= $(C_DEFINES) $(LIBUSB_DEFINES) /DDDKBUILD 17 | 18 | # http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/ 19 | # prevents the following error when using the 64 bit static lib with Visual Studio 2010: 20 | # "fatal error C1001: An internal error has occurred in the compiler. 21 | # (compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)" 22 | # and the following with Visual Studio 2010: 23 | # "fatal error C1047: The object or library file 'libusb-1.0.lib' was created with 24 | # an older compiler than other objects; rebuild old objects and libraries" 25 | USER_C_FLAGS=/GL- 26 | 27 | TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib 28 | 29 | SOURCES=..\core.c \ 30 | ..\descriptor.c \ 31 | ..\io.c \ 32 | ..\strerror.c \ 33 | ..\sync.c \ 34 | ..\hotplug.c \ 35 | threads_windows.c \ 36 | poll_windows.c \ 37 | windows_usb.c \ 38 | ..\libusb-1.0.rc 39 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/msvc/missing.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Header file for missing WinCE functionality 3 | * Copyright © 2012-2013 RealVNC Ltd. 4 | * 5 | * This library is free software; you can redistribute it and/or 6 | * modify it under the terms of the GNU Lesser General Public 7 | * License as published by the Free Software Foundation; either 8 | * version 2.1 of the License, or (at your option) any later version. 9 | * 10 | * This library is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | * Lesser General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU Lesser General Public 16 | * License along with this library; if not, write to the Free Software 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | #ifndef MISSING_H 21 | #define MISSING_H 22 | 23 | /* Windows CE doesn't have SleepEx() - Fallback to Sleep() */ 24 | #define SleepEx(m, a) Sleep(m) 25 | 26 | /* Windows CE doesn't have any APIs to query environment variables. 27 | * 28 | * This contains a registry based implementation of getenv. 29 | */ 30 | char *getenv(const char *name); 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/release/ReadMe.txt: -------------------------------------------------------------------------------- 1 | libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems. On such systems, libjpeg-turbo is generally 2-6x as fast as libjpeg, all else being equal. On other types of systems, libjpeg-turbo can still outperform libjpeg by a significant amount, by virtue of its highly-optimized Huffman coding routines. In many cases, the performance of libjpeg-turbo rivals that of proprietary high-speed JPEG codecs. 2 | 3 | libjpeg-turbo implements both the traditional libjpeg API as well as the less powerful but more straightforward TurboJPEG API. libjpeg-turbo also features colorspace extensions that allow it to compress from/decompress to 32-bit and big-endian pixel buffers (RGBX, XBGR, etc.), as well as a full-featured Java interface. 4 | 5 | libjpeg-turbo was originally based on libjpeg/SIMD, an MMX-accelerated derivative of libjpeg v6b developed by Miyasaka Masaru. The TigerVNC and VirtualGL projects made numerous enhancements to the codec in 2009, and in early 2010, libjpeg-turbo spun off into an independent project, with the goal of making high-speed JPEG compression/decompression technology available to a broader range of users and developers. 6 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | 3 | compiler: 4 | - clang 5 | - gcc 6 | 7 | env: 8 | matrix: 9 | - CONF=debug BITS=64 10 | - CONF=release BITS=64 11 | - CONF=debug BITS=32 12 | - CONF=release BITS=32 13 | global: 14 | - GITHUB_REPO='miloyip/rapidjson' 15 | - DEFINES='-DRAPIDJSON_HAS_STDSTRING' 16 | - secure: "HrsaCb+N66EG1HR+LWH1u51SjaJyRwJEDzqJGYMB7LJ/bfqb9mWKF1fLvZGk46W5t7TVaXRDD5KHFx9DPWvKn4gRUVkwTHEy262ah5ORh8M6n/6VVVajeV/AYt2C0sswdkDBDO4Xq+xy5gdw3G8s1A4Inbm73pUh+6vx+7ltBbk=" 17 | 18 | before_install: 19 | - sudo add-apt-repository -y ppa:codegear/release 20 | - sudo apt-get update -qq 21 | - sudo apt-get install -qq premake4 valgrind 22 | - if [ "$BITS" = 32 ]; then sudo apt-get install -qq g++-multilib libc6-dbg:i386; fi 23 | 24 | install: true 25 | 26 | before_script: 27 | - pushd build && premake4 'gmake' && popd 28 | 29 | script: 30 | - make -C build/gmake -f test.make config=${CONF}${BITS} 31 | - make -C build/gmake -f example.make config=${CONF}${BITS} 32 | - pushd bin 33 | - ./unittest_${CONF}_x${BITS}_gmake 34 | - valgrind --leak-check=full --error-exitcode=1 ./unittest_${CONF}_x${BITS}_gmake 35 | - if [ "$CONF" = "release" ]; then ./perftest_${CONF}_x${BITS}_gmake; fi 36 | - popd 37 | - ./build/travis-doxygen.sh; 38 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libusb/Xcode/release.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // libusb Xcode configuration file 3 | // Copyright © 2012 Pete Batard 4 | // For more information, please visit: 5 | // 6 | // This library is free software; you can redistribute it and/or 7 | // modify it under the terms of the GNU Lesser General Public 8 | // License as published by the Free Software Foundation; either 9 | // version 2.1 of the License, or (at your option) any later version. 10 | // 11 | // This library is distributed in the hope that it will be useful, 12 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | // Lesser General Public License for more details. 15 | // 16 | // You should have received a copy of the GNU Lesser General Public 17 | // License along with this library; if not, write to the Free Software 18 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | 20 | #include "common.xcconfig" 21 | 22 | // Put debug symbols in separate .dym file. 23 | DEBUG_INFORMATION_FORMAT = dwarf-with-dsym 24 | 25 | // Optimizations in release. 26 | GCC_OPTIMIZATION_LEVEL = s 27 | LLVM_LTO = YES 28 | 29 | // Define NDEBUG so asserts go away in release. 30 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) NDEBUG=1 31 | -------------------------------------------------------------------------------- /app/src/main/java/com/github/lzyzsd/circleprogress/Utils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright(c) 2018 Bob Shen 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.github.lzyzsd.circleprogress; 18 | 19 | import android.content.res.Resources; 20 | 21 | /** 22 | * Created by bruce on 14-11-6. 23 | */ 24 | public final class Utils { 25 | 26 | private Utils() { 27 | } 28 | 29 | public static float dp2px(Resources resources, float dp) { 30 | final float scale = resources.getDisplayMetrics().density; 31 | return dp * scale + 0.5f; 32 | } 33 | 34 | public static float sp2px(Resources resources, float sp){ 35 | final float scale = resources.getDisplayMetrics().scaledDensity; 36 | return sp * scale; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /libuvccamera/src/main/res/values-ja/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 24 | 25 | USB Webカメラを選択してください 26 | カメラ 27 | 更新 28 | USBカメラが見つかりません 29 | 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 24 | 25 | Select USB Web Camera 26 | Camera 27 | Refresh 28 | No USB camera found 29 | 30 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/_onload.h: -------------------------------------------------------------------------------- 1 | /* 2 | * UVCCamera 3 | * library and sample to access to UVC web camera on non-rooted Android device 4 | * 5 | * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | * 7 | * File name: _onload.h 8 | * 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * 21 | * All files in the folder are under this Apache License, Version 2.0. 22 | * Files in the jni/libjpeg, jni/libusb, jin/libuvc, jni/rapidjson folder may have a different license, see the respective files. 23 | */ 24 | 25 | #ifndef ONLOAD_H_ 26 | #define ONLOAD_H_ 27 | 28 | #pragma interface 29 | 30 | #include 31 | 32 | #ifdef __cplusplus 33 | extern "C" { 34 | #endif 35 | 36 | jint JNI_OnLoad(JavaVM *vm, void *reserved); 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | 42 | #endif /* ONLOAD_H_ */ 43 | -------------------------------------------------------------------------------- /libuvccamera/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 24 | 25 | 16dp 26 | 16dp 27 | 48dp 28 | 18sp 29 | 32dp 30 | 31 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/Application.mk: -------------------------------------------------------------------------------- 1 | #/* 2 | # * UVCCamera 3 | # * library and sample to access to UVC web camera on non-rooted Android device 4 | # * 5 | # * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | # * 7 | # * File name: Application.mk 8 | # * 9 | # * Licensed under the Apache License, Version 2.0 (the "License"); 10 | # * you may not use this file except in compliance with the License. 11 | # * You may obtain a copy of the License at 12 | # * 13 | # * http://www.apache.org/licenses/LICENSE-2.0 14 | # * 15 | # * Unless required by applicable law or agreed to in writing, software 16 | # * distributed under the License is distributed on an "AS IS" BASIS, 17 | # * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | # * See the License for the specific language governing permissions and 19 | # * limitations under the License. 20 | # * 21 | # * All files in the folder are under this Apache License, Version 2.0. 22 | # * Files in the jni/libjpeg, jni/libusb, jin/libuvc, jni/rapidjson folder may have a different license, see the respective files. 23 | #*/ 24 | 25 | # This is just for mips, if you really needs MSA, un-comment and build with GCC. 26 | # Note: Supporting GCC on NDK is already deprecated and GCC will be removed from NDK soon. 27 | #NDK_TOOLCHAIN_VERSION := 4.9 28 | 29 | APP_PLATFORM := android-14 30 | APP_ABI := armeabi armeabi-v7a x86 mips 31 | #APP_OPTIM := debug 32 | APP_OPTIM := release 33 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/rapidjson/thirdparty/yajl/src/yajl_alloc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2007-2011, Lloyd Hilaiel 3 | * 4 | * Permission to use, copy, modify, and/or distribute this software for any 5 | * purpose with or without fee is hereby granted, provided that the above 6 | * copyright notice and this permission notice appear in all copies. 7 | * 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | */ 16 | 17 | /** 18 | * \file yajl_alloc.h 19 | * default memory allocation routines for yajl which use malloc/realloc and 20 | * free 21 | */ 22 | 23 | #ifndef __YAJL_ALLOC_H__ 24 | #define __YAJL_ALLOC_H__ 25 | 26 | #include "api/yajl_common.h" 27 | 28 | #define YA_MALLOC(afs, sz) (afs)->malloc((afs)->ctx, (sz)) 29 | #define YA_FREE(afs, ptr) (afs)->free((afs)->ctx, (ptr)) 30 | #define YA_REALLOC(afs, ptr, sz) (afs)->realloc((afs)->ctx, (ptr), (sz)) 31 | 32 | void yajl_set_default_alloc_funcs(yajl_alloc_funcs * yaf); 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /libuvccamera/src/main/res/layout/listitem_device.xml: -------------------------------------------------------------------------------- 1 | 2 | 24 | 30 | 31 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/UVCCamera/utilbase.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * UVCCamera 3 | * library and sample to access to UVC web camera on non-rooted Android device 4 | * 5 | * Copyright (c) 2014-2017 saki t_saki@serenegiant.com 6 | * 7 | * File name: utilbase.cpp 8 | * 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * 21 | * All files in the folder are under this Apache License, Version 2.0. 22 | * Files in the jni/libjpeg, jni/libusb, jin/libuvc, jni/rapidjson folder may have a different license, see the respective files. 23 | */ 24 | 25 | #include "utilbase.h" 26 | 27 | static JavaVM *savedVm; 28 | 29 | void setVM(JavaVM *vm) { 30 | savedVm = vm; 31 | } 32 | 33 | JavaVM *getVM() { 34 | return savedVm; 35 | } 36 | 37 | JNIEnv *getEnv() { 38 | JNIEnv *env = NULL; 39 | if (savedVm->GetEnv(reinterpret_cast(&env), JNI_VERSION_1_6) != JNI_OK) { 40 | env = NULL; 41 | } 42 | return env; 43 | } 44 | -------------------------------------------------------------------------------- /libuvccamera/src/main/jni/libjpeg-turbo-1.5.0/doc/html/tabs.css: -------------------------------------------------------------------------------- 1 | .tabs, .tabs2, .tabs3 { 2 | background-image: url('tab_b.png'); 3 | width: 100%; 4 | z-index: 101; 5 | font-size: 13px; 6 | font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; 7 | } 8 | 9 | .tabs2 { 10 | font-size: 10px; 11 | } 12 | .tabs3 { 13 | font-size: 9px; 14 | } 15 | 16 | .tablist { 17 | margin: 0; 18 | padding: 0; 19 | display: table; 20 | } 21 | 22 | .tablist li { 23 | float: left; 24 | display: table-cell; 25 | background-image: url('tab_b.png'); 26 | line-height: 36px; 27 | list-style: none; 28 | } 29 | 30 | .tablist a { 31 | display: block; 32 | padding: 0 20px; 33 | font-weight: bold; 34 | background-image:url('tab_s.png'); 35 | background-repeat:no-repeat; 36 | background-position:right; 37 | color: #283A5D; 38 | text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); 39 | text-decoration: none; 40 | outline: none; 41 | } 42 | 43 | .tabs3 .tablist a { 44 | padding: 0 10px; 45 | } 46 | 47 | .tablist a:hover { 48 | background-image: url('tab_h.png'); 49 | background-repeat:repeat-x; 50 | color: #fff; 51 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 52 | text-decoration: none; 53 | } 54 | 55 | .tablist li.current a { 56 | background-image: url('tab_a.png'); 57 | background-repeat:repeat-x; 58 | color: #fff; 59 | text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); 60 | } 61 | --------------------------------------------------------------------------------