├── .classpath ├── .externalToolBuilders └── NDK.launch ├── .gitignore ├── .gradle └── 3.3 │ ├── taskArtifacts │ ├── fileHashes.bin │ ├── fileSnapshots.bin │ ├── taskArtifacts.bin │ └── taskArtifacts.lock │ └── tasks │ └── _app_compileDebugJavaWithJavac │ ├── localClassSetAnalysis │ ├── localClassSetAnalysis.bin │ └── localClassSetAnalysis.lock │ └── localJarClasspathSnapshot │ ├── localJarClasspathSnapshot.bin │ └── localJarClasspathSnapshot.lock ├── .idea ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── gradle.xml ├── libraries │ ├── appcompat_v7_19_1_0.xml │ └── support_v4_19_1_0.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml ├── vcs.xml └── workspace.xml ├── .project ├── AndroidManifest.xml ├── AndroidRTSPPlayer.iml ├── README.md ├── app ├── app.iml ├── build.gradle ├── build │ ├── intermediates │ │ ├── incremental │ │ │ ├── compileDebugAidl │ │ │ │ └── dependency.store │ │ │ ├── compileDebugAndroidTestAidl │ │ │ │ └── dependency.store │ │ │ ├── mergeDebugAndroidTestResources │ │ │ │ ├── compile-file-map.properties │ │ │ │ └── merger.xml │ │ │ └── mergeDebugResources │ │ │ │ ├── compile-file-map.properties │ │ │ │ ├── merged.dir │ │ │ │ ├── values-af │ │ │ │ │ └── values-af.xml │ │ │ │ ├── values-am │ │ │ │ │ └── values-am.xml │ │ │ │ ├── values-ar │ │ │ │ │ └── values-ar.xml │ │ │ │ ├── values-bg │ │ │ │ │ └── values-bg.xml │ │ │ │ ├── values-ca │ │ │ │ │ └── values-ca.xml │ │ │ │ ├── values-cs │ │ │ │ │ └── values-cs.xml │ │ │ │ ├── values-da │ │ │ │ │ └── values-da.xml │ │ │ │ ├── values-de │ │ │ │ │ └── values-de.xml │ │ │ │ ├── values-el │ │ │ │ │ └── values-el.xml │ │ │ │ ├── values-en-rGB │ │ │ │ │ └── values-en-rGB.xml │ │ │ │ ├── values-en-rIN │ │ │ │ │ └── values-en-rIN.xml │ │ │ │ ├── values-es-rUS │ │ │ │ │ └── values-es-rUS.xml │ │ │ │ ├── values-es │ │ │ │ │ └── values-es.xml │ │ │ │ ├── values-et-rEE │ │ │ │ │ └── values-et-rEE.xml │ │ │ │ ├── values-fa │ │ │ │ │ └── values-fa.xml │ │ │ │ ├── values-fi │ │ │ │ │ └── values-fi.xml │ │ │ │ ├── values-fr-rCA │ │ │ │ │ └── values-fr-rCA.xml │ │ │ │ ├── values-fr │ │ │ │ │ └── values-fr.xml │ │ │ │ ├── values-hi │ │ │ │ │ └── values-hi.xml │ │ │ │ ├── values-hr │ │ │ │ │ └── values-hr.xml │ │ │ │ ├── values-hu │ │ │ │ │ └── values-hu.xml │ │ │ │ ├── values-hy-rAM │ │ │ │ │ └── values-hy-rAM.xml │ │ │ │ ├── values-in │ │ │ │ │ └── values-in.xml │ │ │ │ ├── values-it │ │ │ │ │ └── values-it.xml │ │ │ │ ├── values-iw │ │ │ │ │ └── values-iw.xml │ │ │ │ ├── values-ja │ │ │ │ │ └── values-ja.xml │ │ │ │ ├── values-ka-rGE │ │ │ │ │ └── values-ka-rGE.xml │ │ │ │ ├── values-km-rKH │ │ │ │ │ └── values-km-rKH.xml │ │ │ │ ├── values-ko │ │ │ │ │ └── values-ko.xml │ │ │ │ ├── values-land │ │ │ │ │ └── values-land.xml │ │ │ │ ├── values-large-v14 │ │ │ │ │ └── values-large-v14.xml │ │ │ │ ├── values-large-v4 │ │ │ │ │ └── values-large-v4.xml │ │ │ │ ├── values-lo-rLA │ │ │ │ │ └── values-lo-rLA.xml │ │ │ │ ├── values-lt │ │ │ │ │ └── values-lt.xml │ │ │ │ ├── values-lv │ │ │ │ │ └── values-lv.xml │ │ │ │ ├── values-mn-rMN │ │ │ │ │ └── values-mn-rMN.xml │ │ │ │ ├── values-ms-rMY │ │ │ │ │ └── values-ms-rMY.xml │ │ │ │ ├── values-nb │ │ │ │ │ └── values-nb.xml │ │ │ │ ├── values-nl │ │ │ │ │ └── values-nl.xml │ │ │ │ ├── values-pl │ │ │ │ │ └── values-pl.xml │ │ │ │ ├── values-pt-rPT │ │ │ │ │ └── values-pt-rPT.xml │ │ │ │ ├── values-pt │ │ │ │ │ └── values-pt.xml │ │ │ │ ├── values-ro │ │ │ │ │ └── values-ro.xml │ │ │ │ ├── values-ru │ │ │ │ │ └── values-ru.xml │ │ │ │ ├── values-sk │ │ │ │ │ └── values-sk.xml │ │ │ │ ├── values-sl │ │ │ │ │ └── values-sl.xml │ │ │ │ ├── values-sr │ │ │ │ │ └── values-sr.xml │ │ │ │ ├── values-sv │ │ │ │ │ └── values-sv.xml │ │ │ │ ├── values-sw │ │ │ │ │ └── values-sw.xml │ │ │ │ ├── values-sw600dp-v13 │ │ │ │ │ └── values-sw600dp-v13.xml │ │ │ │ ├── values-th │ │ │ │ │ └── values-th.xml │ │ │ │ ├── values-tl │ │ │ │ │ └── values-tl.xml │ │ │ │ ├── values-tr │ │ │ │ │ └── values-tr.xml │ │ │ │ ├── values-uk │ │ │ │ │ └── values-uk.xml │ │ │ │ ├── values-v11 │ │ │ │ │ └── values-v11.xml │ │ │ │ ├── values-v14 │ │ │ │ │ └── values-v14.xml │ │ │ │ ├── values-vi │ │ │ │ │ └── values-vi.xml │ │ │ │ ├── values-w360dp-v13 │ │ │ │ │ └── values-w360dp-v13.xml │ │ │ │ ├── values-w480dp-v13 │ │ │ │ │ └── values-w480dp-v13.xml │ │ │ │ ├── values-w500dp-v13 │ │ │ │ │ └── values-w500dp-v13.xml │ │ │ │ ├── values-w600dp-v13 │ │ │ │ │ └── values-w600dp-v13.xml │ │ │ │ ├── values-w720dp-v13 │ │ │ │ │ └── values-w720dp-v13.xml │ │ │ │ ├── values-w820dp-v13 │ │ │ │ │ └── values-w820dp-v13.xml │ │ │ │ ├── values-xlarge-v4 │ │ │ │ │ └── values-xlarge-v4.xml │ │ │ │ ├── values-zh-rCN │ │ │ │ │ └── values-zh-rCN.xml │ │ │ │ ├── values-zh-rHK │ │ │ │ │ └── values-zh-rHK.xml │ │ │ │ ├── values-zh-rTW │ │ │ │ │ └── values-zh-rTW.xml │ │ │ │ ├── values-zu │ │ │ │ │ └── values-zu.xml │ │ │ │ └── values │ │ │ │ │ └── values.xml │ │ │ │ └── merger.xml │ │ └── res │ │ │ ├── resources-debug-androidTest.ap_ │ │ │ └── resources-debug.ap_ │ └── outputs │ │ └── logs │ │ └── manifest-merger-debug-report.txt └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── example │ │ └── rtspplayer │ │ └── MainActivity.java │ ├── jni │ ├── Android.mk │ ├── ffmpeg-jni.c │ └── ffmpeg │ │ └── armv7 │ │ ├── config.fate │ │ ├── config.h │ │ ├── config.log │ │ ├── config.mak │ │ ├── configuration.txt │ │ ├── include │ │ ├── libavcodec │ │ │ ├── avcodec.h │ │ │ ├── avfft.h │ │ │ ├── dxva2.h │ │ │ ├── vaapi.h │ │ │ ├── vda.h │ │ │ ├── vdpau.h │ │ │ ├── version.h │ │ │ └── xvmc.h │ │ ├── libavformat │ │ │ ├── avformat.h │ │ │ ├── avio.h │ │ │ └── version.h │ │ ├── libavutil │ │ │ ├── adler32.h │ │ │ ├── aes.h │ │ │ ├── attributes.h │ │ │ ├── audio_fifo.h │ │ │ ├── audioconvert.h │ │ │ ├── avassert.h │ │ │ ├── avconfig.h │ │ │ ├── avstring.h │ │ │ ├── avutil.h │ │ │ ├── base64.h │ │ │ ├── blowfish.h │ │ │ ├── bprint.h │ │ │ ├── bswap.h │ │ │ ├── common.h │ │ │ ├── cpu.h │ │ │ ├── crc.h │ │ │ ├── dict.h │ │ │ ├── error.h │ │ │ ├── eval.h │ │ │ ├── fifo.h │ │ │ ├── file.h │ │ │ ├── imgutils.h │ │ │ ├── intfloat.h │ │ │ ├── intfloat_readwrite.h │ │ │ ├── intreadwrite.h │ │ │ ├── lfg.h │ │ │ ├── log.h │ │ │ ├── lzo.h │ │ │ ├── mathematics.h │ │ │ ├── md5.h │ │ │ ├── mem.h │ │ │ ├── opt.h │ │ │ ├── parseutils.h │ │ │ ├── pixdesc.h │ │ │ ├── pixfmt.h │ │ │ ├── random_seed.h │ │ │ ├── rational.h │ │ │ ├── samplefmt.h │ │ │ ├── sha.h │ │ │ ├── time.h │ │ │ ├── timecode.h │ │ │ ├── timestamp.h │ │ │ ├── version.h │ │ │ └── xtea.h │ │ ├── libswresample │ │ │ └── swresample.h │ │ └── libswscale │ │ │ ├── swscale.h │ │ │ └── version.h │ │ └── libffmpeg.so │ ├── jniLibs │ └── armeabi │ │ ├── libffmpeg-jni.so │ │ └── libffmpeg.so │ └── res │ ├── drawable-hdpi │ └── ic_launcher.png │ ├── drawable-mdpi │ └── ic_launcher.png │ ├── drawable-xhdpi │ └── ic_launcher.png │ ├── drawable-xxhdpi │ └── ic_launcher.png │ ├── layout │ ├── activity_main.xml │ └── fragment_main.xml │ ├── menu │ └── main.xml │ ├── values-v11 │ └── styles.xml │ ├── values-v14 │ └── styles.xml │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── bin └── AndroidManifest.xml ├── build.gradle ├── build ├── android-profile │ ├── profile-2017-09-03-02-42-43-136.rawproto │ ├── profile-2017-09-03-02-42-50-836.rawproto │ ├── profile-2017-09-03-02-43-16-748.rawproto │ ├── profile-2017-09-03-02-45-30-653.rawproto │ ├── profile-2017-09-03-02-49-41-787.rawproto │ ├── profile-2017-09-03-02-50-31-871.rawproto │ ├── profile-2017-09-03-02-50-50-092.rawproto │ ├── profile-2017-09-03-02-52-23-484.rawproto │ ├── profile-2017-09-03-02-53-01-362.rawproto │ ├── profile-2017-09-03-02-54-21-772.rawproto │ ├── profile-2017-09-03-02-54-22-918.rawproto │ ├── profile-2017-09-03-02-54-24-238.rawproto │ ├── profile-2017-09-03-02-54-53-751.rawproto │ ├── profile-2017-09-03-02-55-45-566.rawproto │ ├── profile-2017-09-03-02-56-03-116.rawproto │ ├── profile-2017-09-03-02-56-04-571.rawproto │ ├── profile-2017-09-03-02-56-14-287.rawproto │ ├── profile-2017-09-03-02-56-14-996.rawproto │ ├── profile-2017-09-03-02-56-35-416.rawproto │ ├── profile-2017-09-03-02-59-39-822.rawproto │ ├── profile-2017-09-03-02-59-45-021.rawproto │ └── profile-2017-09-03-03-00-21-806.rawproto └── generated │ └── mockable-android-19.jar ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── ic_launcher-web.png ├── import-summary.txt ├── jni ├── Android.mk ├── ffmpeg-jni.c └── ffmpeg │ └── armv7 │ ├── config.fate │ ├── config.h │ ├── config.log │ ├── config.mak │ ├── configuration.txt │ ├── include │ ├── libavcodec │ │ ├── avcodec.h │ │ ├── avfft.h │ │ ├── dxva2.h │ │ ├── vaapi.h │ │ ├── vda.h │ │ ├── vdpau.h │ │ ├── version.h │ │ └── xvmc.h │ ├── libavformat │ │ ├── avformat.h │ │ ├── avio.h │ │ └── version.h │ ├── libavutil │ │ ├── adler32.h │ │ ├── aes.h │ │ ├── attributes.h │ │ ├── audio_fifo.h │ │ ├── audioconvert.h │ │ ├── avassert.h │ │ ├── avconfig.h │ │ ├── avstring.h │ │ ├── avutil.h │ │ ├── base64.h │ │ ├── blowfish.h │ │ ├── bprint.h │ │ ├── bswap.h │ │ ├── common.h │ │ ├── cpu.h │ │ ├── crc.h │ │ ├── dict.h │ │ ├── error.h │ │ ├── eval.h │ │ ├── fifo.h │ │ ├── file.h │ │ ├── imgutils.h │ │ ├── intfloat.h │ │ ├── intfloat_readwrite.h │ │ ├── intreadwrite.h │ │ ├── lfg.h │ │ ├── log.h │ │ ├── lzo.h │ │ ├── mathematics.h │ │ ├── md5.h │ │ ├── mem.h │ │ ├── opt.h │ │ ├── parseutils.h │ │ ├── pixdesc.h │ │ ├── pixfmt.h │ │ ├── random_seed.h │ │ ├── rational.h │ │ ├── samplefmt.h │ │ ├── sha.h │ │ ├── time.h │ │ ├── timecode.h │ │ ├── timestamp.h │ │ ├── version.h │ │ └── xtea.h │ ├── libswresample │ │ └── swresample.h │ └── libswscale │ │ ├── swscale.h │ │ └── version.h │ └── libffmpeg.so ├── libs └── armeabi │ ├── libffmpeg-jni.so │ └── libffmpeg.so ├── local.properties ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ └── ic_launcher.png ├── drawable-mdpi │ └── ic_launcher.png ├── drawable-xhdpi │ └── ic_launcher.png ├── drawable-xxhdpi │ └── ic_launcher.png ├── layout │ ├── activity_main.xml │ └── fragment_main.xml ├── menu │ └── main.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml ├── values-w820dp │ └── dimens.xml └── values │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── settings.gradle └── src └── com └── example └── rtspplayer └── MainActivity.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.externalToolBuilders/NDK.launch: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bin/RTSPPlayer.apk 2 | bin/classes.dex 3 | bin/jarlist.cache 4 | bin/res/crunch/drawable-hdpi/ic_launcher.png 5 | bin/res/crunch/drawable-mdpi/ic_launcher.png 6 | bin/res/crunch/drawable-xhdpi/ic_launcher.png 7 | bin/res/crunch/drawable-xxhdpi/ic_launcher.png 8 | bin/resources.ap_ 9 | gen/android/support/v7/appcompat/R.java 10 | gen/com/example/rtspplayer/BuildConfig.java 11 | gen/com/example/rtspplayer/R.java 12 | -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/fileHashes.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/taskArtifacts/fileHashes.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/fileSnapshots.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/taskArtifacts/fileSnapshots.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/taskArtifacts.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/taskArtifacts/taskArtifacts.bin -------------------------------------------------------------------------------- /.gradle/3.3/taskArtifacts/taskArtifacts.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/taskArtifacts/taskArtifacts.lock -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.bin -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localClassSetAnalysis/localClassSetAnalysis.lock -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.bin -------------------------------------------------------------------------------- /.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/.gradle/3.3/tasks/_app_compileDebugJavaWithJavac/localJarClasspathSnapshot/localJarClasspathSnapshot.lock -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/libraries/appcompat_v7_19_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/libraries/support_v4_19_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RTSPPlayer 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | org.eclipse.ui.externaltools.ExternalToolBuilder 30 | auto,full,incremental, 31 | 32 | 33 | LaunchConfigHandle 34 | <project>/.externalToolBuilders/NDK.launch 35 | 36 | 37 | 38 | 39 | 40 | com.android.ide.eclipse.adt.AndroidNature 41 | org.eclipse.jdt.core.javanature 42 | 43 | 44 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /AndroidRTSPPlayer.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Desciption 2 | It is a simple Android player with ffmpeg build-in for RTSP.
3 | It still under development. So RTSP still not working for now.
4 | Current complete: 5 | * Single video playback with streamming mp4. 6 | * ffmpeg jni completed. 7 | 8 | 9 | [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/kkdai/androidrtspplayer/trend.png)](https://bitdeli.com/free "Bitdeli Badge") 10 | 11 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 19 5 | buildToolsVersion "26.0.1" 6 | 7 | defaultConfig { 8 | applicationId "com.example.rtspplayer" 9 | minSdkVersion 8 10 | targetSdkVersion 19 11 | 12 | // ndk { 13 | // moduleName "ffmpeg-prebuilt" 14 | // } 15 | ndk { 16 | moduleName = "ffmpeg" 17 | // cppFlags += "-I${file("jni")}".toString() 18 | // cppFlags += "-std=c++11" 19 | // cppFlags += "-fpermissive" 20 | // cppFlags += "-fexceptions" 21 | // cppFlags += "-frtti" 22 | stl = "c++_static" 23 | // ldLibs += ["log", "android"] 24 | } 25 | } 26 | 27 | // android.sources { 28 | // main { 29 | // jni { 30 | // source { 31 | // srcDirs = [file("jni")] 32 | // } 33 | // } 34 | // } 35 | // } 36 | 37 | 38 | buildTypes { 39 | release { 40 | minifyEnabled false 41 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 42 | } 43 | } 44 | } 45 | 46 | dependencies { 47 | compile 'com.android.support:appcompat-v7:19.1.0' 48 | } 49 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/compileDebugAidl/dependency.store: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /app/build/intermediates/incremental/compileDebugAndroidTestAidl/dependency.store: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugAndroidTestResources/compile-file-map.properties: -------------------------------------------------------------------------------- 1 | #Sun Sep 03 03:00:22 CST 2017 2 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugAndroidTestResources/merger.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-af/values-af.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navigeer tuis" 4 | "Navigeer op" 5 | "Nog opsies" 6 | "Klaar" 7 | "Sien alles" 8 | "Kies \'n program" 9 | "Vee navraag uit" 10 | "Soeknavraag" 11 | "Soek" 12 | "Dien navraag in" 13 | "Stemsoektog" 14 | "Deel met" 15 | "Deel met %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-am/values-am.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "ወደ መነሻ ይዳስሱ" 4 | "ወደ ላይ ይዳስሱ" 5 | "ተጨማሪ አማራጮች" 6 | "ተከናውኗል" 7 | "ሁሉንም ይመልከቱ" 8 | "መተግበሪያ ይምረጡ" 9 | "መጠይቅ አጽዳ" 10 | "የፍለጋ ጥያቄ" 11 | "ፍለጋ" 12 | "መጠይቅ ያስረክቡ" 13 | "የድምፅ ፍለጋ" 14 | "ከሚከተለው ጋር ያጋሩ" 15 | "ከ%s ጋር ያጋሩ" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ar/values-ar.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "التنقل إلى الشاشة الرئيسية" 4 | "التنقل إلى أعلى" 5 | "خيارات إضافية" 6 | "تم" 7 | "عرض الكل" 8 | "اختيار تطبيق" 9 | "محو طلب البحث" 10 | "طلب البحث" 11 | "بحث" 12 | "إرسال طلب البحث" 13 | "البحث الصوتي" 14 | "مشاركة مع" 15 | "مشاركة مع %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-bg/values-bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Придвижване към „Начало“" 4 | "Придвижване нагоре" 5 | "Още опции" 6 | "Готово" 7 | "Вижте всички" 8 | "Изберете приложение" 9 | "Изчистване на заявката" 10 | "Заявка за търсене" 11 | "Търсене" 12 | "Изпращане на заявката" 13 | "Гласово търсене" 14 | "Споделяне със:" 15 | "Споделяне със: %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ca/values-ca.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navega a la pàgina d\'inici" 4 | "Navega cap a dalt" 5 | "Més opcions" 6 | "Fet" 7 | "Mostra\'ls tots" 8 | "Selecciona una aplicació" 9 | "Esborra la consulta" 10 | "Consulta de cerca" 11 | "Cerca" 12 | "Envia la consulta" 13 | "Cerca per veu" 14 | "Comparteix amb" 15 | "Comparteix amb %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-cs/values-cs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Přejít na plochu" 4 | "Přejít nahoru" 5 | "Více možností" 6 | "Hotovo" 7 | "Zobrazit vše" 8 | "Vybrat aplikaci" 9 | "Smazat dotaz" 10 | "Vyhledávací dotaz" 11 | "Hledat" 12 | "Odeslat dotaz" 13 | "Hlasové vyhledávání" 14 | "Sdílet pomocí" 15 | "Sdílet pomocí %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-da/values-da.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Naviger hjem" 4 | "Naviger op" 5 | "Flere muligheder" 6 | "Luk" 7 | "Se alle" 8 | "Vælg en app" 9 | "Ryd forespørgslen" 10 | "Søgeforespørgsel" 11 | "Søg" 12 | "Indsend forespørgslen" 13 | "Stemmesøgning" 14 | "Del med" 15 | "Del med %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-de/values-de.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Zur Startseite" 4 | "Nach oben" 5 | "Weitere Optionen" 6 | "Fertig" 7 | "Alle ansehen" 8 | "App auswählen" 9 | "Suchanfrage löschen" 10 | "Suchanfrage" 11 | "Suchen" 12 | "Suchanfrage senden" 13 | "Sprachsuche" 14 | "Freigeben für" 15 | "Freigeben für %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-el/values-el.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Πλοήγηση στην αρχική σελίδα" 4 | "Πλοήγηση προς τα επάνω" 5 | "Περισσότερες επιλογές" 6 | "Τέλος" 7 | "Προβολή όλων" 8 | "Επιλέξτε κάποια εφαρμογή" 9 | "Διαγραφή ερωτήματος" 10 | "Ερώτημα αναζήτησης" 11 | "Αναζήτηση" 12 | "Υποβολή ερωτήματος" 13 | "Φωνητική αναζήτηση" 14 | "Κοινή χρήση με" 15 | "Κοινή χρήση με %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-en-rGB/values-en-rGB.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navigate home" 4 | "Navigate up" 5 | "More options" 6 | "Finished" 7 | "See all" 8 | "Choose an app" 9 | "Clear query" 10 | "Search query" 11 | "Search" 12 | "Submit query" 13 | "Voice search" 14 | "Share with" 15 | "Share with %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-en-rIN/values-en-rIN.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navigate home" 4 | "Navigate up" 5 | "More options" 6 | "Finished" 7 | "See all" 8 | "Choose an app" 9 | "Clear query" 10 | "Search query" 11 | "Search" 12 | "Submit query" 13 | "Voice search" 14 | "Share with" 15 | "Share with %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es-rUS/values-es-rUS.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navegar a la página principal" 4 | "Navegar hacia arriba" 5 | "Más opciones" 6 | "Listo" 7 | "Ver todo" 8 | "Elige una aplicación." 9 | "Eliminar la consulta" 10 | "Consulta de búsqueda" 11 | "Búsqueda" 12 | "Enviar consulta" 13 | "Búsqueda por voz" 14 | "Compartir con" 15 | "Compartir con %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-es/values-es.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Ir a la pantalla de inicio" 4 | "Desplazarse hacia arriba" 5 | "Más opciones" 6 | "Listo" 7 | "Ver todo" 8 | "Seleccionar una aplicación" 9 | "Borrar consulta" 10 | "Consulta" 11 | "Buscar" 12 | "Enviar consulta" 13 | "Búsqueda por voz" 14 | "Compartir con" 15 | "Compartir con %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-et-rEE/values-et-rEE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navigeerimine avaekraanile" 4 | "Navigeerimine üles" 5 | "Rohkem valikuid" 6 | "Valmis" 7 | "Kuva kõik" 8 | "Valige rakendus" 9 | "Päringu tühistamine" 10 | "Otsingupäring" 11 | "Otsing" 12 | "Päringu esitamine" 13 | "Häälotsing" 14 | "Jagamine:" 15 | "Jagamine kasutajaga %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fa/values-fa.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "پیمایش به صفحه اصلی" 4 | "پیمایش به بالا" 5 | "گزینه‌های بیشتر" 6 | "انجام شد" 7 | "مشاهده همه" 8 | "انتخاب برنامه" 9 | "پاک کردن عبارت جستجو" 10 | "عبارت جستجو" 11 | "جستجو" 12 | "ارسال عبارت جستجو" 13 | "جستجوی شفاهی" 14 | "اشتراک‌گذاری با" 15 | "اشتراک‌گذاری با %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fi/values-fi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Siirry etusivulle" 4 | "Siirry ylös" 5 | "Lisää" 6 | "Valmis" 7 | "Näytä kaikki" 8 | "Valitse sovellus" 9 | "Tyhjennä kysely" 10 | "Hakulauseke" 11 | "Haku" 12 | "Lähetä kysely" 13 | "Puhehaku" 14 | "Jakaminen:" 15 | "Jakaminen: %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fr-rCA/values-fr-rCA.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Revenir à l\'accueil" 4 | "Revenir en haut de la page" 5 | "Plus d\'options" 6 | "Terminé" 7 | "Voir toutes les chaînes" 8 | "Sélectionnez une application" 9 | "Effacer la requête" 10 | "Requête de recherche" 11 | "Rechercher" 12 | "Envoyer la requête" 13 | "Recherche vocale" 14 | "Partager avec" 15 | "Partager avec %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-fr/values-fr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Revenir à l\'accueil" 4 | "Revenir en haut de la page" 5 | "Plus d\'options" 6 | "OK" 7 | "Tout afficher" 8 | "Sélectionner une application" 9 | "Effacer la requête" 10 | "Requête de recherche" 11 | "Rechercher" 12 | "Envoyer la requête" 13 | "Recherche vocale" 14 | "Partager avec" 15 | "Partager avec %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hi/values-hi.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "मुखपृष्ठ पर नेविगेट करें" 4 | "ऊपर नेविगेट करें" 5 | "अधिक विकल्प" 6 | "पूर्ण" 7 | "सभी देखें" 8 | "कोई एप्‍लिकेशन चुनें" 9 | "क्‍वेरी साफ़ करें" 10 | "खोज क्वेरी" 11 | "खोजें" 12 | "क्वेरी सबमिट करें" 13 | "ध्वनि खोज" 14 | "इसके द्वारा साझा करें" 15 | "%s के साथ साझा करें" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hr/values-hr.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Idi na početnu" 4 | "Idi gore" 5 | "Dodatne opcije" 6 | "Gotovo" 7 | "Prikaži sve" 8 | "Odabir aplikacije" 9 | "Izbriši upit" 10 | "Upit za pretraživanje" 11 | "Pretraživanje" 12 | "Pošalji upit" 13 | "Glasovno pretraživanje" 14 | "Dijeljenje sa" 15 | "Dijeljenje sa: %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hu/values-hu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Ugrás a főoldalra" 4 | "Felfelé mozgatás" 5 | "További lehetőségek" 6 | "Kész" 7 | "Összes megtekintése" 8 | "Válasszon ki egy alkalmazást" 9 | "Lekérdezés törlése" 10 | "Keresési lekérdezés" 11 | "Keresés" 12 | "Lekérdezés küldése" 13 | "Hangalapú keresés" 14 | "Megosztás a következővel:" 15 | "Megosztás a következővel: %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-hy-rAM/values-hy-rAM.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Ուղղվել տուն" 4 | "Ուղղվել վերև" 5 | "Այլ ընտրանքներ" 6 | "Կատարված է" 7 | "Տեսնել բոլորը" 8 | "Ընտրել ծրագիր" 9 | "Մաքրել հարցումը" 10 | "Որոնման հարցում" 11 | "Որոնել" 12 | "Ուղարկել հարցումը" 13 | "Ձայնային որոնում" 14 | "Տարածել" 15 | "Տարածել ըստ %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-in/values-in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Navigasi ke beranda" 4 | "Navigasi naik" 5 | "Opsi lain" 6 | "Selesai" 7 | "Lihat semua" 8 | "Pilih aplikasi" 9 | "Hapus kueri" 10 | "Kueri penelusuran" 11 | "Telusuri" 12 | "Kirim kueri" 13 | "Penelusuran suara" 14 | "Bagikan dengan" 15 | "Bagikan dengan %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-it/values-it.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "Vai alla home page" 4 | "Vai in alto" 5 | "Altre opzioni" 6 | "Fine" 7 | "Visualizza tutte" 8 | "Scegli un\'applicazione" 9 | "Cancella query" 10 | "Query di ricerca" 11 | "Cerca" 12 | "Invia query" 13 | "Ricerca vocale" 14 | "Condividi con" 15 | "Condividi con %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-iw/values-iw.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "נווט לדף הבית" 4 | "נווט למעלה" 5 | "עוד אפשרויות" 6 | "בוצע" 7 | "ראה הכול" 8 | "בחר אפליקציה" 9 | "מחק שאילתה" 10 | "שאילתת חיפוש" 11 | "חפש" 12 | "שלח שאילתה" 13 | "חיפוש קולי" 14 | "שתף עם" 15 | "שתף עם %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ja/values-ja.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "ホームへ移動" 4 | "上へ移動" 5 | "その他のオプション" 6 | "完了" 7 | "すべて表示" 8 | "アプリの選択" 9 | "検索キーワードを削除" 10 | "検索キーワード" 11 | "検索" 12 | "検索キーワードを送信" 13 | "音声検索" 14 | "共有" 15 | "%sと共有" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ka-rGE/values-ka-rGE.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "მთავარზე ნავიგაცია" 4 | "ზემოთ ნავიგაცია" 5 | "მეტი ვარიანტები" 6 | "დასრულდა" 7 | "ყველას ნახვა" 8 | "აპის არჩევა" 9 | "მოთხოვნის გასუფთავება" 10 | "ძიების მოთხოვნა" 11 | "ძიება" 12 | "მოთხოვნის გადაგზავნა" 13 | "ხმოვანი ძიება" 14 | "გაზიარება:" 15 | "%s-თან გაზიარება" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-km-rKH/values-km-rKH.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "រកមើល​ទៅ​ដើម" 4 | "រកមើល​ឡើងលើ" 5 | "ជម្រើស​ច្រើន​ទៀត" 6 | "រួចរាល់" 7 | "មើល​ទាំងអស់" 8 | "ជ្រើស​កម្មវិធី" 9 | "សម្អាត​សំណួរ" 10 | "ស្វែងរក​សំណួរ" 11 | "ស្វែងរក" 12 | "ដាក់​​​ស្នើ​សំណួរ" 13 | "ការស្វែងរក​សំឡេង" 14 | "ចែករំលែក​ជាមួយ" 15 | "ចែករំលែក​ជាមួយ %s" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-ko/values-ko.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | "홈 탐색" 4 | "위로 탐색" 5 | "옵션 더보기" 6 | "완료" 7 | "전체 보기" 8 | "앱 선택" 9 | "검색어 삭제" 10 | "검색어" 11 | "검색" 12 | "검색어 보내기" 13 | "음성 검색" 14 | "공유 대상" 15 | "%s와(과) 공유" 16 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-land/values-land.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | true 5 | false 6 | 40dip 7 | 4dip 8 | 32dp 9 | 4dip 10 | 12dp 11 | -2dp 12 | 16dp 13 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/mergeDebugResources/merged.dir/values-large-v14/values-large-v14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RTSPPlayer 5 | Hello world! 6 | Settings 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | buildscript { 3 | repositories { 4 | jcenter() 5 | } 6 | dependencies { 7 | classpath 'com.android.tools.build:gradle:2.3.3' 8 | } 9 | } 10 | 11 | allprojects { 12 | repositories { 13 | jcenter() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-42-43-136.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-42-43-136.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-42-50-836.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-42-50-836.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-43-16-748.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-43-16-748.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-45-30-653.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-45-30-653.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-49-41-787.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-49-41-787.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-50-31-871.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-50-31-871.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-50-50-092.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-50-50-092.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-52-23-484.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-52-23-484.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-53-01-362.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-53-01-362.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-54-21-772.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-21-772.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-54-22-918.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-22-918.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-54-24-238.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-24-238.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-54-53-751.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-54-53-751.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-55-45-566.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-55-45-566.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-56-03-116.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-03-116.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-56-04-571.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-04-571.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-56-14-287.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-14-287.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-56-14-996.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-14-996.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-56-35-416.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-56-35-416.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-59-39-822.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-59-39-822.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-02-59-45-021.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-02-59-45-021.rawproto -------------------------------------------------------------------------------- /build/android-profile/profile-2017-09-03-03-00-21-806.rawproto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/android-profile/profile-2017-09-03-03-00-21-806.rawproto -------------------------------------------------------------------------------- /build/generated/mockable-android-19.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/build/generated/mockable-android-19.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Sep 03 02:42:36 CST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 7 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/ic_launcher-web.png -------------------------------------------------------------------------------- /import-summary.txt: -------------------------------------------------------------------------------- 1 | ECLIPSE ANDROID PROJECT IMPORT SUMMARY 2 | ====================================== 3 | 4 | Ignored Files: 5 | -------------- 6 | The following files were *not* copied into the new Gradle project; you 7 | should evaluate whether these are still needed in your project and if 8 | so manually move them: 9 | 10 | * .externalToolBuilders/ 11 | * .externalToolBuilders/NDK.launch 12 | * .gitignore 13 | * README.md 14 | * ic_launcher-web.png 15 | * proguard-project.txt 16 | 17 | Replaced Libraries with Dependencies: 18 | ------------------------------------- 19 | The importer recognized the following library projects as third party 20 | libraries and replaced them with Gradle dependencies instead. This has 21 | the advantage that more explicit version information is known, and the 22 | libraries can be updated automatically. However, it is possible that 23 | the source files in your project were of an older version than the 24 | dependency we picked, which could render the project not compileable. 25 | You can disable the library replacement in the import wizard and try 26 | again: 27 | 28 | appcompat-v7 => [com.android.support:appcompat-v7:19.1.0] 29 | 30 | Moved Files: 31 | ------------ 32 | Android Gradle projects use a different directory structure than ADT 33 | Eclipse projects. Here's how the projects were restructured: 34 | 35 | * AndroidManifest.xml => app/src/main/AndroidManifest.xml 36 | * jni/ => app/src/main/jni/ 37 | * libs/armeabi/libffmpeg-jni.so => app/src/main/jniLibs/armeabi/libffmpeg-jni.so 38 | * libs/armeabi/libffmpeg.so => app/src/main/jniLibs/armeabi/libffmpeg.so 39 | * res/ => app/src/main/res/ 40 | * src/ => app/src/main/java/ 41 | 42 | Next Steps: 43 | ----------- 44 | You can now build the project. The Gradle project needs network 45 | connectivity to download dependencies. 46 | 47 | Bugs: 48 | ----- 49 | If for some reason your project does not build, and you determine that 50 | it is due to a bug or limitation of the Eclipse to Gradle importer, 51 | please file a bug at http://b.android.com with category 52 | Component-Tools. 53 | 54 | (This import summary is for your information only, and can be deleted 55 | after import once you are satisfied with the results.) 56 | -------------------------------------------------------------------------------- /jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | 4 | include $(CLEAR_VARS) 5 | LOCAL_MODULE := ffmpeg-prebuilt 6 | LOCAL_SRC_FILES := ffmpeg/armv7/libffmpeg.so 7 | LOCAL_EXPORT_C_INCLUDES := ffmpeg/armv7/include 8 | LOCAL_EXPORT_LDLIBS := ffmpeg/armv7/libffmpeg.so 9 | LOCAL_PRELINK_MODULE := true 10 | include $(PREBUILT_SHARED_LIBRARY) 11 | 12 | 13 | include $(CLEAR_VARS) 14 | LOCAL_MODULE := ffmpeg-jni 15 | LOCAL_SRC_FILES := ffmpeg-jni.c 16 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/ffmpeg/armv7/include 17 | LOCAL_LDLIBS := -lm -llog $(LOCAL_PATH)/ffmpeg/armv7/libffmpeg.so 18 | #LOCAL_SHARED_LIBRARY := ffmpeg-prebuilt 19 | include $(BUILD_SHARED_LIBRARY) 20 | #include $(BUILD_EXECUTABLE) -------------------------------------------------------------------------------- /jni/ffmpeg-jni.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | 6 | #include "libavformat/avformat.h" 7 | 8 | 9 | #define LOG_TAG "FFmpegJNI" 10 | #define LOGI(...) {__android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__);} 11 | #define LOGE(...) {__android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__);} 12 | 13 | 14 | jstring Java_com_example_rtspplayer_MainActivity_stringFromJNI( JNIEnv* env, jobject thiz ) 15 | { 16 | return (*env)->NewStringUTF(env, "Hello from My JNI work !"); 17 | } 18 | 19 | void Java_com_example_rtspplayer_MainActivity_getVersions(JNIEnv *env, jclass jc, jobject jvers) 20 | { 21 | int *vers = (*env)->GetDirectBufferAddress(env, jvers); 22 | vers[0] = LIBAVFORMAT_VERSION_MAJOR; 23 | vers[1] = LIBAVCODEC_VERSION_MAJOR; 24 | vers[2] = LIBAVUTIL_VERSION_MAJOR; 25 | } 26 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/config.fate: -------------------------------------------------------------------------------- 1 | config:arm::generic:linux:gcc 4.6 (GCC) 20120106 (prerelease):--target-os=linux --arch=arm --enable-cross-compile --cross-prefix=arm-linux-androideabi- --enable-shared --disable-symver --disable-doc --disable-ffplay --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-encoders --disable-muxers --disable-filters --disable-devices --disable-everything --enable-protocols --enable-parsers --enable-demuxers --enable-decoders --enable-bsfs --enable-network --enable-swscale --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --enable-asm --enable-version3 --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/neon --prefix=/Users/Evan/Applications/android-ndk-r9d/samples/hello-jni/jni/build/ffmpeg/armv7 --extra-cflags='-O3 -Wall -mthumb -pipe -fpic -fasm -finline-limit=300 -ffast-math -fstrict-aliasing -Werror=strict-aliasing -fmodulo-sched -fmodulo-sched-allow-regmoves -Wno-psabi -Wa,--noexecstack -D__ARM_ARCH_5__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -DANDROID -DNDEBUG -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp' --extra-ldflags='-Wl,--fix-cortex-a8' 2 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavcodec/dxva2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * DXVA2 HW acceleration 3 | * 4 | * copyright (c) 2009 Laurent Aimar 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #ifndef AVCODEC_DXVA_H 24 | #define AVCODEC_DXVA_H 25 | 26 | /** 27 | * @file 28 | * @ingroup lavc_codec_hwaccel_dxva2 29 | * Public libavcodec DXVA2 header. 30 | */ 31 | 32 | #include 33 | 34 | #include 35 | #include 36 | 37 | /** 38 | * @defgroup lavc_codec_hwaccel_dxva2 DXVA2 39 | * @ingroup lavc_codec_hwaccel 40 | * 41 | * @{ 42 | */ 43 | 44 | #define FF_DXVA2_WORKAROUND_SCALING_LIST_ZIGZAG 1 ///< Work around for DXVA2 and old UVD/UVD+ ATI video cards 45 | 46 | /** 47 | * This structure is used to provides the necessary configurations and data 48 | * to the DXVA2 FFmpeg HWAccel implementation. 49 | * 50 | * The application must make it available as AVCodecContext.hwaccel_context. 51 | */ 52 | struct dxva_context { 53 | /** 54 | * DXVA2 decoder object 55 | */ 56 | IDirectXVideoDecoder *decoder; 57 | 58 | /** 59 | * DXVA2 configuration used to create the decoder 60 | */ 61 | const DXVA2_ConfigPictureDecode *cfg; 62 | 63 | /** 64 | * The number of surface in the surface array 65 | */ 66 | unsigned surface_count; 67 | 68 | /** 69 | * The array of Direct3D surfaces used to create the decoder 70 | */ 71 | LPDIRECT3DSURFACE9 *surface; 72 | 73 | /** 74 | * A bit field configuring the workarounds needed for using the decoder 75 | */ 76 | uint64_t workaround; 77 | 78 | /** 79 | * Private to the FFmpeg AVHWAccel implementation 80 | */ 81 | unsigned report_id; 82 | }; 83 | 84 | /** 85 | * @} 86 | */ 87 | 88 | #endif /* AVCODEC_DXVA_H */ 89 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/adler32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_ADLER32_H 22 | #define AVUTIL_ADLER32_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | /** 28 | * @ingroup lavu_crypto 29 | * Calculate the Adler32 checksum of a buffer. 30 | * 31 | * Passing the return value to a subsequent av_adler32_update() call 32 | * allows the checksum of multiple buffers to be calculated as though 33 | * they were concatenated. 34 | * 35 | * @param adler initial checksum value 36 | * @param buf pointer to input buffer 37 | * @param len size of input buffer 38 | * @return updated checksum 39 | */ 40 | unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf, 41 | unsigned int len) av_pure; 42 | 43 | #endif /* AVUTIL_ADLER32_H */ 44 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2007 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_AES_H 22 | #define AVUTIL_AES_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_aes AES 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | extern const int av_aes_size; 33 | 34 | struct AVAES; 35 | 36 | /** 37 | * Initialize an AVAES context. 38 | * @param key_bits 128, 192 or 256 39 | * @param decrypt 0 for encryption, 1 for decryption 40 | */ 41 | int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); 42 | 43 | /** 44 | * Encrypt or decrypt a buffer using a previously initialized context. 45 | * @param count number of 16 byte blocks 46 | * @param dst destination array, can be equal to src 47 | * @param src source array, can be equal to dst 48 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used 49 | * @param decrypt 0 for encryption, 1 for decryption 50 | */ 51 | void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt); 52 | 53 | /** 54 | * @} 55 | */ 56 | 57 | #endif /* AVUTIL_AES_H */ 58 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/avassert.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2010 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | /** 22 | * @file 23 | * simple assert() macros that are a bit more flexible than ISO C assert(). 24 | * @author Michael Niedermayer 25 | */ 26 | 27 | #ifndef AVUTIL_AVASSERT_H 28 | #define AVUTIL_AVASSERT_H 29 | 30 | #include 31 | #include "avutil.h" 32 | #include "log.h" 33 | 34 | /** 35 | * assert() equivalent, that is always enabled. 36 | */ 37 | #define av_assert0(cond) do { \ 38 | if (!(cond)) { \ 39 | av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n", \ 40 | AV_STRINGIFY(cond), __FILE__, __LINE__); \ 41 | abort(); \ 42 | } \ 43 | } while (0) 44 | 45 | 46 | /** 47 | * assert() equivalent, that does not lie in speed critical code. 48 | * These asserts() thus can be enabled without fearing speedloss. 49 | */ 50 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 0 51 | #define av_assert1(cond) av_assert0(cond) 52 | #else 53 | #define av_assert1(cond) ((void)0) 54 | #endif 55 | 56 | 57 | /** 58 | * assert() equivalent, that does lie in speed critical code. 59 | */ 60 | #if defined(ASSERT_LEVEL) && ASSERT_LEVEL > 1 61 | #define av_assert2(cond) av_assert0(cond) 62 | #else 63 | #define av_assert2(cond) ((void)0) 64 | #endif 65 | 66 | #endif /* AVUTIL_AVASSERT_H */ 67 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/avconfig.h: -------------------------------------------------------------------------------- 1 | /* Generated by ffconf */ 2 | #ifndef AVUTIL_AVCONFIG_H 3 | #define AVUTIL_AVCONFIG_H 4 | #define AV_HAVE_BIGENDIAN 0 5 | #define AV_HAVE_FAST_UNALIGNED 1 6 | #endif /* AVUTIL_AVCONFIG_H */ 7 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/base64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2006 Ryan Martell. (rdm4@martellventures.com) 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_BASE64_H 22 | #define AVUTIL_BASE64_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_base64 Base64 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | 33 | /** 34 | * Decode a base64-encoded string. 35 | * 36 | * @param out buffer for decoded data 37 | * @param in null-terminated input string 38 | * @param out_size size in bytes of the out buffer, must be at 39 | * least 3/4 of the length of in 40 | * @return number of bytes written, or a negative value in case of 41 | * invalid input 42 | */ 43 | int av_base64_decode(uint8_t *out, const char *in, int out_size); 44 | 45 | /** 46 | * Encode data to base64 and null-terminate. 47 | * 48 | * @param out buffer for encoded data 49 | * @param out_size size in bytes of the output buffer, must be at 50 | * least AV_BASE64_SIZE(in_size) 51 | * @param in_size size in bytes of the 'in' buffer 52 | * @return 'out' or NULL in case of error 53 | */ 54 | char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size); 55 | 56 | /** 57 | * Calculate the output size needed to base64-encode x bytes. 58 | */ 59 | #define AV_BASE64_SIZE(x) (((x)+2) / 3 * 4 + 1) 60 | 61 | /** 62 | * @} 63 | */ 64 | 65 | #endif /* AVUTIL_BASE64_H */ 66 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/blowfish.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Blowfish algorithm 3 | * Copyright (c) 2012 Samuel Pitoiset 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_BLOWFISH_H 23 | #define AVUTIL_BLOWFISH_H 24 | 25 | #include 26 | 27 | /** 28 | * @defgroup lavu_blowfish Blowfish 29 | * @ingroup lavu_crypto 30 | * @{ 31 | */ 32 | 33 | #define AV_BF_ROUNDS 16 34 | 35 | typedef struct AVBlowfish { 36 | uint32_t p[AV_BF_ROUNDS + 2]; 37 | uint32_t s[4][256]; 38 | } AVBlowfish; 39 | 40 | /** 41 | * Initialize an AVBlowfish context. 42 | * 43 | * @param ctx an AVBlowfish context 44 | * @param key a key 45 | * @param key_len length of the key 46 | */ 47 | void av_blowfish_init(struct AVBlowfish *ctx, const uint8_t *key, int key_len); 48 | 49 | /** 50 | * Encrypt or decrypt a buffer using a previously initialized context. 51 | * 52 | * @param ctx an AVBlowfish context 53 | * @param xl left four bytes halves of input to be encrypted 54 | * @param xr right four bytes halves of input to be encrypted 55 | * @param decrypt 0 for encryption, 1 for decryption 56 | */ 57 | void av_blowfish_crypt_ecb(struct AVBlowfish *ctx, uint32_t *xl, uint32_t *xr, 58 | int decrypt); 59 | 60 | /** 61 | * Encrypt or decrypt a buffer using a previously initialized context. 62 | * 63 | * @param ctx an AVBlowfish context 64 | * @param dst destination array, can be equal to src 65 | * @param src source array, can be equal to dst 66 | * @param count number of 8 byte blocks 67 | * @param iv initialization vector for CBC mode, if NULL ECB will be used 68 | * @param decrypt 0 for encryption, 1 for decryption 69 | */ 70 | void av_blowfish_crypt(struct AVBlowfish *ctx, uint8_t *dst, const uint8_t *src, 71 | int count, uint8_t *iv, int decrypt); 72 | 73 | /** 74 | * @} 75 | */ 76 | 77 | #endif /* AVUTIL_BLOWFISH_H */ 78 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/crc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_CRC_H 22 | #define AVUTIL_CRC_H 23 | 24 | #include 25 | #include 26 | #include "attributes.h" 27 | 28 | typedef uint32_t AVCRC; 29 | 30 | typedef enum { 31 | AV_CRC_8_ATM, 32 | AV_CRC_16_ANSI, 33 | AV_CRC_16_CCITT, 34 | AV_CRC_32_IEEE, 35 | AV_CRC_32_IEEE_LE, /*< reversed bitorder version of AV_CRC_32_IEEE */ 36 | AV_CRC_MAX, /*< Not part of public API! Do not use outside libavutil. */ 37 | }AVCRCId; 38 | 39 | int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); 40 | const AVCRC *av_crc_get_table(AVCRCId crc_id); 41 | uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length) av_pure; 42 | 43 | #endif /* AVUTIL_CRC_H */ 44 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/file.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_FILE_H 20 | #define AVUTIL_FILE_H 21 | 22 | #include "avutil.h" 23 | 24 | /** 25 | * @file 26 | * Misc file utilities. 27 | */ 28 | 29 | /** 30 | * Read the file with name filename, and put its content in a newly 31 | * allocated buffer or map it with mmap() when available. 32 | * In case of success set *bufptr to the read or mmapped buffer, and 33 | * *size to the size in bytes of the buffer in *bufptr. 34 | * The returned buffer must be released with av_file_unmap(). 35 | * 36 | * @param log_offset loglevel offset used for logging 37 | * @param log_ctx context used for logging 38 | * @return a non negative number in case of success, a negative value 39 | * corresponding to an AVERROR error code in case of failure 40 | */ 41 | int av_file_map(const char *filename, uint8_t **bufptr, size_t *size, 42 | int log_offset, void *log_ctx); 43 | 44 | /** 45 | * Unmap or free the buffer bufptr created by av_file_map(). 46 | * 47 | * @param size size in bytes of bufptr, must be the same as returned 48 | * by av_file_map() 49 | */ 50 | void av_file_unmap(uint8_t *bufptr, size_t size); 51 | 52 | /** 53 | * Wrapper to work around the lack of mkstemp() on mingw. 54 | * Also, tries to create file in /tmp first, if possible. 55 | * *prefix can be a character constant; *filename will be allocated internally. 56 | * @return file descriptor of opened file (or -1 on error) 57 | * and opened file name in **filename. 58 | */ 59 | int av_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx); 60 | 61 | #endif /* AVUTIL_FILE_H */ 62 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/intfloat.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011 Mans Rullgard 3 | * 4 | * This file is part of Libav. 5 | * 6 | * Libav 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 | * Libav 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 Libav; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_INTFLOAT_H 22 | #define AVUTIL_INTFLOAT_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | union av_intfloat32 { 28 | uint32_t i; 29 | float f; 30 | }; 31 | 32 | union av_intfloat64 { 33 | uint64_t i; 34 | double f; 35 | }; 36 | 37 | /** 38 | * Reinterpret a 32-bit integer as a float. 39 | */ 40 | static av_always_inline float av_int2float(uint32_t i) 41 | { 42 | union av_intfloat32 v; 43 | v.i = i; 44 | return v.f; 45 | } 46 | 47 | /** 48 | * Reinterpret a float as a 32-bit integer. 49 | */ 50 | static av_always_inline uint32_t av_float2int(float f) 51 | { 52 | union av_intfloat32 v; 53 | v.f = f; 54 | return v.i; 55 | } 56 | 57 | /** 58 | * Reinterpret a 64-bit integer as a double. 59 | */ 60 | static av_always_inline double av_int2double(uint64_t i) 61 | { 62 | union av_intfloat64 v; 63 | v.i = i; 64 | return v.f; 65 | } 66 | 67 | /** 68 | * Reinterpret a double as a 64-bit integer. 69 | */ 70 | static av_always_inline uint64_t av_double2int(double f) 71 | { 72 | union av_intfloat64 v; 73 | v.f = f; 74 | return v.i; 75 | } 76 | 77 | #endif /* AVUTIL_INTFLOAT_H */ 78 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/intfloat_readwrite.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2005 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_INTFLOAT_READWRITE_H 22 | #define AVUTIL_INTFLOAT_READWRITE_H 23 | 24 | #include 25 | #include "attributes.h" 26 | 27 | /* IEEE 80 bits extended float */ 28 | typedef struct AVExtFloat { 29 | uint8_t exponent[2]; 30 | uint8_t mantissa[8]; 31 | } AVExtFloat; 32 | 33 | attribute_deprecated double av_int2dbl(int64_t v) av_const; 34 | attribute_deprecated float av_int2flt(int32_t v) av_const; 35 | attribute_deprecated double av_ext2dbl(const AVExtFloat ext) av_const; 36 | attribute_deprecated int64_t av_dbl2int(double d) av_const; 37 | attribute_deprecated int32_t av_flt2int(float d) av_const; 38 | attribute_deprecated AVExtFloat av_dbl2ext(double d) av_const; 39 | 40 | #endif /* AVUTIL_INTFLOAT_READWRITE_H */ 41 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/lfg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Lagged Fibonacci PRNG 3 | * Copyright (c) 2008 Michael Niedermayer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_LFG_H 23 | #define AVUTIL_LFG_H 24 | 25 | typedef struct { 26 | unsigned int state[64]; 27 | int index; 28 | } AVLFG; 29 | 30 | void av_lfg_init(AVLFG *c, unsigned int seed); 31 | 32 | /** 33 | * Get the next random unsigned 32-bit number using an ALFG. 34 | * 35 | * Please also consider a simple LCG like state= state*1664525+1013904223, 36 | * it may be good enough and faster for your specific use case. 37 | */ 38 | static inline unsigned int av_lfg_get(AVLFG *c){ 39 | c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63]; 40 | return c->state[c->index++ & 63]; 41 | } 42 | 43 | /** 44 | * Get the next random unsigned 32-bit number using a MLFG. 45 | * 46 | * Please also consider av_lfg_get() above, it is faster. 47 | */ 48 | static inline unsigned int av_mlfg_get(AVLFG *c){ 49 | unsigned int a= c->state[(c->index-55) & 63]; 50 | unsigned int b= c->state[(c->index-24) & 63]; 51 | return c->state[c->index++ & 63] = 2*a*b+a+b; 52 | } 53 | 54 | /** 55 | * Get the next two numbers generated by a Box-Muller Gaussian 56 | * generator using the random numbers issued by lfg. 57 | * 58 | * @param out array where the two generated numbers are placed 59 | */ 60 | void av_bmg_get(AVLFG *lfg, double out[2]); 61 | 62 | #endif /* AVUTIL_LFG_H */ 63 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/md5.h: -------------------------------------------------------------------------------- 1 | /* 2 | * copyright (c) 2006 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_MD5_H 22 | #define AVUTIL_MD5_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_md5 MD5 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | extern const int av_md5_size; 33 | 34 | struct AVMD5; 35 | 36 | void av_md5_init(struct AVMD5 *ctx); 37 | void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len); 38 | void av_md5_final(struct AVMD5 *ctx, uint8_t *dst); 39 | void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len); 40 | 41 | /** 42 | * @} 43 | */ 44 | 45 | #endif /* AVUTIL_MD5_H */ 46 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/random_seed.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009 Baptiste Coudurier 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_RANDOM_SEED_H 22 | #define AVUTIL_RANDOM_SEED_H 23 | 24 | #include 25 | /** 26 | * @addtogroup lavu_crypto 27 | * @{ 28 | */ 29 | 30 | /** 31 | * Get a seed to use in conjunction with random functions. 32 | * This function tries to provide a good seed at a best effort bases. 33 | * Its possible to call this function multiple times if more bits are needed. 34 | * It can be quite slow, which is why it should only be used as seed for a faster 35 | * PRNG. The quality of the seed depends on the platform. 36 | */ 37 | uint32_t av_get_random_seed(void); 38 | 39 | /** 40 | * @} 41 | */ 42 | 43 | #endif /* AVUTIL_RANDOM_SEED_H */ 44 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/sha.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_SHA_H 22 | #define AVUTIL_SHA_H 23 | 24 | #include 25 | 26 | /** 27 | * @defgroup lavu_sha SHA 28 | * @ingroup lavu_crypto 29 | * @{ 30 | */ 31 | 32 | extern const int av_sha_size; 33 | 34 | struct AVSHA; 35 | 36 | /** 37 | * Initialize SHA-1 or SHA-2 hashing. 38 | * 39 | * @param context pointer to the function context (of size av_sha_size) 40 | * @param bits number of bits in digest (SHA-1 - 160 bits, SHA-2 224 or 256 bits) 41 | * @return zero if initialization succeeded, -1 otherwise 42 | */ 43 | int av_sha_init(struct AVSHA* context, int bits); 44 | 45 | /** 46 | * Update hash value. 47 | * 48 | * @param context hash function context 49 | * @param data input data to update hash with 50 | * @param len input data length 51 | */ 52 | void av_sha_update(struct AVSHA* context, const uint8_t* data, unsigned int len); 53 | 54 | /** 55 | * Finish hashing and output digest value. 56 | * 57 | * @param context hash function context 58 | * @param digest buffer where output digest value is stored 59 | */ 60 | void av_sha_final(struct AVSHA* context, uint8_t *digest); 61 | 62 | /** 63 | * @} 64 | */ 65 | 66 | #endif /* AVUTIL_SHA_H */ 67 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/time.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2000-2003 Fabrice Bellard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_TIME_H 22 | #define AVUTIL_TIME_H 23 | 24 | #include 25 | 26 | /** 27 | * Get the current time in microseconds. 28 | */ 29 | int64_t av_gettime(void); 30 | 31 | /** 32 | * Sleep for a period of time. Although the duration is expressed in 33 | * microseconds, the actual delay may be rounded to the precision of the 34 | * system timer. 35 | * 36 | * @param usec Number of microseconds to sleep. 37 | * @return zero on success or (negative) error code. 38 | */ 39 | int av_usleep(unsigned usec); 40 | 41 | #endif /* AVUTIL_TIME_H */ 42 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libavutil/xtea.h: -------------------------------------------------------------------------------- 1 | /* 2 | * A 32-bit implementation of the XTEA algorithm 3 | * Copyright (c) 2012 Samuel Pitoiset 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVUTIL_XTEA_H 23 | #define AVUTIL_XTEA_H 24 | 25 | #include 26 | 27 | /** 28 | * @defgroup lavu_xtea XTEA 29 | * @ingroup lavu_crypto 30 | * @{ 31 | */ 32 | 33 | typedef struct AVXTEA { 34 | uint32_t key[16]; 35 | } AVXTEA; 36 | 37 | /** 38 | * Initialize an AVXTEA context. 39 | * 40 | * @param x an AVXTEA context 41 | * @param key a key of 16 bytes used for encryption/decryption 42 | */ 43 | void av_xtea_init(struct AVXTEA *ctx, const uint8_t key[16]); 44 | 45 | /** 46 | * Encrypt or decrypt a buffer using a previously initialized context. 47 | * 48 | * @param x an AVXTEA context 49 | * @param dst destination array, can be equal to src 50 | * @param src source array, can be equal to dst 51 | * @param count number of 8 byte blocks 52 | * @param iv initialization vector for CBC mode, if NULL then ECB will be used 53 | * @param decrypt 0 for encryption, 1 for decryption 54 | */ 55 | void av_xtea_crypt(struct AVXTEA *ctx, uint8_t *dst, const uint8_t *src, 56 | int count, uint8_t *iv, int decrypt); 57 | 58 | /** 59 | * @} 60 | */ 61 | 62 | #endif /* AVUTIL_XTEA_H */ 63 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/include/libswscale/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef SWSCALE_VERSION_H 20 | #define SWSCALE_VERSION_H 21 | 22 | /** 23 | * @file 24 | * swscale version macros 25 | */ 26 | 27 | #include "libavutil/avutil.h" 28 | 29 | #define LIBSWSCALE_VERSION_MAJOR 2 30 | #define LIBSWSCALE_VERSION_MINOR 1 31 | #define LIBSWSCALE_VERSION_MICRO 100 32 | 33 | #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ 34 | LIBSWSCALE_VERSION_MINOR, \ 35 | LIBSWSCALE_VERSION_MICRO) 36 | #define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_MAJOR, \ 37 | LIBSWSCALE_VERSION_MINOR, \ 38 | LIBSWSCALE_VERSION_MICRO) 39 | #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT 40 | 41 | #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) 42 | 43 | /** 44 | * FF_API_* defines may be placed below to indicate public API that will be 45 | * dropped at a future version bump. The defines themselves are not part of 46 | * the public API and may change, break or disappear at any time. 47 | */ 48 | 49 | #ifndef FF_API_SWS_GETCONTEXT 50 | #define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3) 51 | #endif 52 | #ifndef FF_API_SWS_CPU_CAPS 53 | #define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3) 54 | #endif 55 | #ifndef FF_API_SWS_FORMAT_NAME 56 | #define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3) 57 | #endif 58 | 59 | #endif /* SWSCALE_VERSION_H */ 60 | -------------------------------------------------------------------------------- /jni/ffmpeg/armv7/libffmpeg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/jni/ffmpeg/armv7/libffmpeg.so -------------------------------------------------------------------------------- /libs/armeabi/libffmpeg-jni.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/libs/armeabi/libffmpeg-jni.so -------------------------------------------------------------------------------- /libs/armeabi/libffmpeg.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/libs/armeabi/libffmpeg.so -------------------------------------------------------------------------------- /local.properties: -------------------------------------------------------------------------------- 1 | ## This file is automatically generated by Android Studio. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must *NOT* be checked into Version Control Systems, 5 | # as it contains information specific to your local configuration. 6 | # 7 | # Location of the SDK. This is only used by Gradle. 8 | # For customization when using a Version Control System, please read the 9 | # header note. 10 | #Sun Sep 03 02:41:39 CST 2017 11 | ndk.dir=/Users/Evan/Library/Android/sdk/ndk-bundle 12 | sdk.dir=/Users/Evan/Library/Android/sdk 13 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | android.library.reference.1=../../../../../Documents/ADT_Workspace/appcompat_v7 16 | -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kkdai/AndroidRTSPPlayer/79030205dda445883597502c3cf97fff49d916bc/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /res/layout/fragment_main.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 18 | 19 |