Skip to content

xiaoxiaoqingyi/libyuv-android

Repository files navigation

libyuv-android

libyuv for android easy to use

在根目录下的build.gradle 添加如下一行

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

然后,在你项目中的 build.gradle 添加如下一行

Step 2. Add the dependency

dependencies {
        compile 'com.github.xiaoxiaoqingyi:libyuv-android:v1.0'
}

API:

  • ARGBToNV21();
  • NV21ToARGB();
  • RGBAToARGB();