├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── activity_voice_recive_ready.xml │ │ │ │ ├── activity_voice_send.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── activity_recive.xml │ │ │ │ ├── activity_send.xml │ │ │ │ ├── activity_recive_ready.xml │ │ │ │ └── activity_voice_send_ready.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── videolive │ │ │ ├── voice │ │ │ ├── VoiceReady.java │ │ │ └── Voice.java │ │ │ ├── video │ │ │ ├── Recive.java │ │ │ ├── ReciveReady.java │ │ │ ├── Send.java │ │ │ └── SendReady.java │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── videolive │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── videolive │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── library ├── .gitignore ├── src │ ├── main │ │ ├── cpp │ │ │ └── libyuv │ │ │ │ ├── tools │ │ │ │ └── valgrind-libyuv │ │ │ │ │ ├── tsan │ │ │ │ │ ├── OWNERS │ │ │ │ │ ├── suppressions.txt │ │ │ │ │ ├── suppressions_mac.txt │ │ │ │ │ ├── suppressions_win32.txt │ │ │ │ │ └── PRESUBMIT.py │ │ │ │ │ ├── memcheck │ │ │ │ │ ├── OWNERS │ │ │ │ │ ├── suppressions.txt │ │ │ │ │ ├── suppressions_mac.txt │ │ │ │ │ └── suppressions_win32.txt │ │ │ │ │ └── libyuv_tests.bat │ │ │ │ ├── OWNERS │ │ │ │ ├── AUTHORS │ │ │ │ ├── unit_test │ │ │ │ ├── testdata │ │ │ │ │ ├── tegra3.txt │ │ │ │ │ ├── arm_v7.txt │ │ │ │ │ └── juno.txt │ │ │ │ ├── version_test.cc │ │ │ │ └── basictypes_test.cc │ │ │ │ ├── README.chromium │ │ │ │ ├── util │ │ │ │ ├── Makefile │ │ │ │ ├── ssim.h │ │ │ │ ├── android │ │ │ │ │ └── test_runner.py │ │ │ │ ├── psnr.h │ │ │ │ ├── compare.cc │ │ │ │ └── cpuid.c │ │ │ │ ├── chromium │ │ │ │ ├── README │ │ │ │ └── .gclient │ │ │ │ ├── drover.properties │ │ │ │ ├── LICENSE_THIRD_PARTY │ │ │ │ ├── public.mk │ │ │ │ ├── codereview.settings │ │ │ │ ├── include │ │ │ │ ├── libyuv │ │ │ │ │ ├── version.h │ │ │ │ │ ├── rotate_argb.h │ │ │ │ │ ├── scale_argb.h │ │ │ │ │ ├── compare_row.h │ │ │ │ │ ├── compare.h │ │ │ │ │ ├── cpu_id.h │ │ │ │ │ ├── basic_types.h │ │ │ │ │ └── scale.h │ │ │ │ └── libyuv.h │ │ │ │ ├── all.gyp │ │ │ │ ├── download_vs_toolchain.py │ │ │ │ ├── libyuv_nacl.gyp │ │ │ │ ├── gyp_libyuv.py │ │ │ │ ├── winarm.mk │ │ │ │ ├── third_party │ │ │ │ └── gflags │ │ │ │ │ ├── README.libyuv │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── BUILD.gn │ │ │ │ │ ├── gflags.gyp │ │ │ │ │ └── gen │ │ │ │ │ └── posix │ │ │ │ │ └── include │ │ │ │ │ └── private │ │ │ │ │ └── config.h │ │ │ │ ├── source │ │ │ │ ├── compare_common.cc │ │ │ │ ├── video_common.cc │ │ │ │ ├── compare_neon64.cc │ │ │ │ ├── compare_neon.cc │ │ │ │ ├── mjpeg_validate.cc │ │ │ │ ├── rotate_common.cc │ │ │ │ └── rotate_any.cc │ │ │ │ ├── PATENTS │ │ │ │ ├── PRESUBMIT.py │ │ │ │ ├── DEPS │ │ │ │ ├── LICENSE │ │ │ │ ├── linux.mk │ │ │ │ ├── Android.mk │ │ │ │ ├── .gitignore │ │ │ │ ├── libyuv.gypi │ │ │ │ ├── gyp_libyuv │ │ │ │ └── BUILD.gn │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ └── colors.xml │ │ │ ├── layout │ │ │ │ ├── publish_view.xml │ │ │ │ └── player_view.xml │ │ │ └── drawable │ │ │ │ └── loading.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── library │ │ │ ├── live │ │ │ ├── IsOutBuffer.java │ │ │ ├── PictureCallback.java │ │ │ ├── stream │ │ │ │ ├── IsInBuffer.java │ │ │ │ ├── WeightCallback.java │ │ │ │ ├── VideoCallback.java │ │ │ │ └── CachingStrategyCallback.java │ │ │ ├── vd │ │ │ │ └── VideoInformationInterface.java │ │ │ ├── view │ │ │ │ ├── WeightRunnable.java │ │ │ │ └── PublishView.java │ │ │ ├── vc │ │ │ │ ├── VoiceTrack.java │ │ │ │ ├── VoiceRecord.java │ │ │ │ ├── VCEncoder.java │ │ │ │ └── VCDecoder.java │ │ │ └── Player.java │ │ │ ├── common │ │ │ ├── VoicePlayer.java │ │ │ ├── VoiceCallback.java │ │ │ ├── UdpControlInterface.java │ │ │ ├── WriteFileCallback.java │ │ │ └── UdpBytes.java │ │ │ ├── talk │ │ │ ├── stream │ │ │ │ └── ListenCachingStrategyCallback.java │ │ │ ├── coder │ │ │ │ ├── ListenTrack.java │ │ │ │ ├── ListenDecoder.java │ │ │ │ └── SpeakRecord.java │ │ │ ├── Listen.java │ │ │ └── Speak.java │ │ │ └── util │ │ │ ├── mLog.java │ │ │ ├── SingleThreadExecutor.java │ │ │ ├── ByteUtil.java │ │ │ ├── VoiceUtil.java │ │ │ └── OtherUtil.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── library │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── library │ │ └── ExampleInstrumentedTest.java ├── CMakeLists.txt ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── UDPservice.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties └── gradlew.bat /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /library/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':library' 2 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/tsan/OWNERS: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/memcheck/OWNERS: -------------------------------------------------------------------------------- 1 | * 2 | -------------------------------------------------------------------------------- /UDPservice.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/UDPservice.java -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/OWNERS: -------------------------------------------------------------------------------- 1 | fbarchard@chromium.org 2 | mflodman@chromium.org 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | VideoLive 3 | 4 | -------------------------------------------------------------------------------- /library/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Library 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/AUTHORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file like so: 2 | # Name or Organization 3 | 4 | Google Inc. 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /library/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #000000 4 | 5 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/unit_test/testdata/tegra3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wbaizx/VideoLive/HEAD/library/src/main/cpp/libyuv/unit_test/testdata/tegra3.txt -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | 11 | 12 | /.idea 13 | -------------------------------------------------------------------------------- /library/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/IsOutBuffer.java: -------------------------------------------------------------------------------- 1 | package com.library.live; 2 | 3 | /** 4 | * Created by android1 on 2017/11/18. 5 | */ 6 | 7 | public interface IsOutBuffer { 8 | void isBuffer(boolean isBuffer); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/PictureCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.live; 2 | 3 | /** 4 | * Created by android1 on 2018/1/9. 5 | */ 6 | 7 | public interface PictureCallback { 8 | void Success(String path); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/common/VoicePlayer.java: -------------------------------------------------------------------------------- 1 | package com.library.common; 2 | 3 | /** 4 | * Created by android1 on 2017/11/15. 5 | */ 6 | 7 | public interface VoicePlayer { 8 | void voicePlayer(byte[] voicebyte); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/common/VoiceCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.common; 2 | 3 | /** 4 | * Created by android1 on 2017/11/16. 5 | */ 6 | 7 | public interface VoiceCallback { 8 | void voiceCallback(byte[] voice); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/stream/IsInBuffer.java: -------------------------------------------------------------------------------- 1 | package com.library.live.stream; 2 | 3 | /** 4 | * Created by android1 on 2017/11/17. 5 | */ 6 | 7 | public interface IsInBuffer { 8 | void isBuffer(boolean isBuffer); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/stream/WeightCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.live.stream; 2 | 3 | /** 4 | * Created by android1 on 2018/1/2. 5 | */ 6 | 7 | public interface WeightCallback { 8 | void getWeight(double weight); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/stream/VideoCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.live.stream; 2 | 3 | /** 4 | * Created by android1 on 2017/11/16. 5 | */ 6 | 7 | public interface VideoCallback { 8 | void videoCallback(byte[] video); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/README.chromium: -------------------------------------------------------------------------------- 1 | Name: libyuv 2 | URL: http://code.google.com/p/libyuv/ 3 | Version: 1514 4 | License: BSD 5 | License File: LICENSE 6 | 7 | Description: 8 | libyuv is an open source project that includes YUV conversion and scaling functionality. 9 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/util/Makefile: -------------------------------------------------------------------------------- 1 | psnr: psnr.cc ssim.cc psnr_main.cc 2 | ifeq ($(CXX),icl) 3 | $(CXX) /arch:SSE2 /Ox /openmp psnr.cc ssim.cc psnr_main.cc 4 | else 5 | $(CXX) -msse2 -O3 -fopenmp -static -o psnr psnr.cc ssim.cc psnr_main.cc -Wl,--strip-all 6 | endif 7 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/common/UdpControlInterface.java: -------------------------------------------------------------------------------- 1 | package com.library.common; 2 | 3 | /** 4 | * Created by android1 on 2017/10/12. 5 | */ 6 | 7 | public interface UdpControlInterface { 8 | byte[] Control(byte[] bytes, int offset, int length); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/vd/VideoInformationInterface.java: -------------------------------------------------------------------------------- 1 | package com.library.live.vd; 2 | 3 | /** 4 | * Created by android1 on 2017/10/13. 5 | */ 6 | 7 | public interface VideoInformationInterface { 8 | void Information(byte[] information); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/chromium/README: -------------------------------------------------------------------------------- 1 | This .gclient file is used to do download a copy of Chromium. 2 | Libyuv uses the Chromium build toolchain and a number of shared 3 | dependencies by creating symlinks to folders in this checkout, 4 | using the ../setup_links.py script. 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Apr 24 10:07:17 CST 2018 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-4.4-all.zip 7 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/tsan/suppressions.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/common/WriteFileCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.common; 2 | 3 | /** 4 | * Created by android1 on 2018/1/25. 5 | */ 6 | 7 | public interface WriteFileCallback { 8 | void success(String path); 9 | 10 | void failure(String err); 11 | } 12 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/talk/stream/ListenCachingStrategyCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.talk.stream; 2 | 3 | /** 4 | * Created by android1 on 2017/12/25. 5 | */ 6 | 7 | public interface ListenCachingStrategyCallback { 8 | void voiceStrategy(byte[] voice); 9 | } 10 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/memcheck/suppressions.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/tsan/suppressions_mac.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/tsan/suppressions_win32.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/memcheck/suppressions_mac.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/tools/valgrind-libyuv/memcheck/suppressions_win32.txt: -------------------------------------------------------------------------------- 1 | # This file is used in addition to the one already maintained in Chrome. 2 | # It acts as a place holder for future additions for this project. 3 | # It must exist for the Python wrapper script to work properly. 4 | 5 | 6 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/drover.properties: -------------------------------------------------------------------------------- 1 | BASE_URL = "https://libyuv.googlecode.com/svn" 2 | TRUNK_URL = BASE_URL + "/trunk" 3 | BRANCH_URL = BASE_URL + "/branches/$branch" 4 | SKIP_CHECK_WORKING = True 5 | FILE_PATTERN = file_pattern_ = r"[ ]+([MADUC])[ ]+/((?:trunk|branches/.*?)(.*)/(.*))" 6 | PROMPT_FOR_AUTHOR = False 7 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/live/stream/CachingStrategyCallback.java: -------------------------------------------------------------------------------- 1 | package com.library.live.stream; 2 | 3 | /** 4 | * Created by android1 on 2017/11/16. 5 | */ 6 | 7 | public interface CachingStrategyCallback { 8 | void videoStrategy(byte[] video); 9 | 10 | void voiceStrategy(byte[] voice); 11 | } 12 | -------------------------------------------------------------------------------- /library/src/main/java/com/library/util/mLog.java: -------------------------------------------------------------------------------- 1 | package com.library.util; 2 | 3 | import android.util.Log; 4 | 5 | /** 6 | * Created by android1 on 2017/11/30. 7 | */ 8 | 9 | public class mLog { 10 | public static void log(String TAG, String content) { 11 | // Log.d(TAG, content); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /library/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | include_directories(src/main/cpp/libyuv/include) 3 | add_subdirectory(src/main/cpp/libyuv ./build) 4 | aux_source_directory(src/main/cpp SRC_FILE) 5 | add_library(yuvutil SHARED ${SRC_FILE}) 6 | find_library(log-lib log) 7 | target_link_libraries(yuvutil ${log-lib} yuv) 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/LICENSE_THIRD_PARTY: -------------------------------------------------------------------------------- 1 | This source tree contains third party source code which is governed by third 2 | party licenses. This file contains references to files which are under other 3 | licenses than the one provided in the LICENSE file in the root of the source 4 | tree. 5 | 6 | Files governed by third party licenses: 7 | source/x86inc.asm 8 | 9 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/public.mk: -------------------------------------------------------------------------------- 1 | # This file contains all the common make variables which are useful for 2 | # anyone depending on this library. 3 | # Note that dependencies on NDK are not directly listed since NDK auto adds 4 | # them. 5 | 6 | LIBYUV_INCLUDES := $(LIBYUV_PATH)/include 7 | 8 | LIBYUV_C_FLAGS := 9 | 10 | LIBYUV_CPP_FLAGS := 11 | 12 | LIBYUV_LDLIBS := 13 | LIBYUV_DEP_MODULES := 14 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/unit_test/testdata/arm_v7.txt: -------------------------------------------------------------------------------- 1 | Processor : ARMv7 Processor rev 5 (v7l) 2 | BogoMIPS : 795.44 3 | Features : swp half thumb fastmult vfp edsp iwmmxt thumbee vfpv3 vfpv3d16 4 | CPU implementer : 0x56 5 | CPU architecture: 7 6 | CPU variant : 0x0 7 | CPU part : 0x581 8 | CPU revision : 5 9 | 10 | Hardware : OLPC XO-1.75 11 | Revision : 0000 12 | Serial : 0000000000000000 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/codereview.settings: -------------------------------------------------------------------------------- 1 | # This file is used by gcl to get repository specific information. 2 | CODE_REVIEW_SERVER: codereview.chromium.org 3 | #CC_LIST: 4 | VIEW_VC: https://chromium.googlesource.com/libyuv/libyuv/+/ 5 | #STATUS: 6 | FORCE_HTTPS_COMMIT_URL: True 7 | PROJECT: libyuv 8 | TRY_ON_UPLOAD: False 9 | TRYSERVER_ROOT: src 10 | TRYSERVER_SVN_URL: svn://svn.chromium.org/chrome-try/try-libyuv 11 | #GITCL_PREUPLOAD: 12 | #GITCL_PREDCOMMIT: 13 | -------------------------------------------------------------------------------- /library/src/main/res/layout/publish_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/unit_test/testdata/juno.txt: -------------------------------------------------------------------------------- 1 | Processor : AArch64 Processor rev 0 (aarch64) 2 | processor : 0 3 | processor : 1 4 | processor : 2 5 | processor : 3 6 | processor : 4 7 | processor : 5 8 | Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 9 | CPU implementer : 0x41 10 | CPU architecture: AArch64 11 | CPU variant : 0x0 12 | CPU part : 0xd07 13 | CPU revision : 0 14 | 15 | Hardware : Juno 16 | -------------------------------------------------------------------------------- /app/src/test/java/com/videolive/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.videolive; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /library/src/test/java/com/library/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.library; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_voice_recive_ready.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /library/src/main/res/drawable/loading.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/include/libyuv/version.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2012 The LibYuv Project Authors. All rights reserved. 3 | * 4 | * Use of this source code is governed by a BSD-style license 5 | * that can be found in the LICENSE file in the root of the source 6 | * tree. An additional intellectual property rights grant can be found 7 | * in the file PATENTS. All contributing project authors may 8 | * be found in the AUTHORS file in the root of the source tree. 9 | */ 10 | 11 | #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT 12 | #define INCLUDE_LIBYUV_VERSION_H_ 13 | 14 | #define LIBYUV_VERSION 1514 15 | 16 | #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT 17 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/chromium/.gclient: -------------------------------------------------------------------------------- 1 | solutions = [{ 2 | 'name': 'src', 3 | 'url': 'https://chromium.googlesource.com/chromium/src.git', 4 | 'deps_file': '.DEPS.git', 5 | 'managed': False, 6 | 'custom_deps': { 7 | # Skip syncing some large dependencies Libyuv will never need. 8 | 'src/chrome/tools/test/reference_build/chrome_linux': None, 9 | 'src/chrome/tools/test/reference_build/chrome_mac': None, 10 | 'src/chrome/tools/test/reference_build/chrome_win': None, 11 | 'src/native_client': None, 12 | 'src/third_party/ffmpeg': None, 13 | 'src/third_party/WebKit': None, 14 | 'src/v8': None, 15 | }, 16 | 'safesync_url': '' 17 | }] 18 | 19 | cache_dir = None 20 | -------------------------------------------------------------------------------- /library/src/main/cpp/libyuv/all.gyp: -------------------------------------------------------------------------------- 1 | # Copyright 2013 The LibYuv Project Authors. All rights reserved. 2 | # 3 | # Use of this source code is governed by a BSD-style license 4 | # that can be found in the LICENSE file in the root of the source 5 | # tree. An additional intellectual property rights grant can be found 6 | # in the file PATENTS. All contributing project authors may 7 | # be found in the AUTHORS file in the root of the source tree. 8 | 9 | # all.gyp and All target are for benefit of android gyp build. 10 | { 11 | 'targets': [ 12 | { 13 | 'target_name': 'All', 14 | 'type': 'none', 15 | 'dependencies': [ 16 | 'libyuv.gyp:*', 17 | 'libyuv_test.gyp:*', 18 | ], 19 | }, 20 | ], 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_voice_send.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |