Android opengl渲染yuv420例子

上传者: lidec | 上传时间: 2019-12-21 20:08:05 | 文件大小: 2.31MB | 文件类型: zip
Android下使用OpenGL渲染yuv420p图像并显示。例子中提供了两种类型,一种使用GLSurfaceView在onDrawframe中调用native方法绘制,另外一种使用EGL,直接在native层完成渲染和显示功能。

文件下载

资源详情

[{"title":"( 87 个子文件 2.31MB ) Android opengl渲染yuv420例子","children":[{"title":"AndroidOpenGLESYUV-master","children":[{"title":".project <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"cm","children":[{"title":"opengles","children":[{"title":"CmOpenGLES.java <span style='color:#111;'> 489B </span>","children":null,"spread":false}],"spread":true},{"title":"cameraopengles","children":[{"title":"MainActivity.java <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 6.62KB </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 686B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 41.47KB </span>","children":null,"spread":false},{"title":"AndroidOpenGLESYUV-master.iml <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 302B </span>","children":null,"spread":false},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 74B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 7.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 324B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 360B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 210B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 24.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 12.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-w820dp","children":[{"title":"dimens.xml <span style='color:#111;'> 373B </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 224B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 213B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 381B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 173B </span>","children":null,"spread":false},{"title":"org.eclipse.cdt.codan.core.prefs <span style='color:#111;'> 10.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"jni","children":[{"title":"opengles","children":[{"title":"esUtil.c <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"matrix.c <span style='color:#111;'> 6.72KB </span>","children":null,"spread":false},{"title":"matrix.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"esUtil.h <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false}],"spread":true},{"title":"Application.mk <span style='color:#111;'> 62B </span>","children":null,"spread":false},{"title":"cameraShader.h <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"cameraShader.c <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false},{"title":"Android.mk <span style='color:#111;'> 308B </span>","children":null,"spread":false},{"title":"CameraOpenGLES.c <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"zhushi.em <span style='color:#111;'> 985B </span>","children":null,"spread":false}],"spread":true},{"title":".cproject <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"cm","children":[{"title":"cameraopengles","children":[{"title":"Manifest.java <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 263B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"armeabi-v7a","children":[{"title":"libCameraOpenGLES.so <span style='color:#111;'> 21.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"android-support-v4.jar <span style='color:#111;'> 972.29KB </span>","children":null,"spread":false},{"title":"armeabi","children":[{"title":"libCameraOpenGLES.so <span style='color:#111;'> 25.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"obj","children":[{"title":"local","children":[{"title":"armeabi-v7a","children":[{"title":"objs","children":[{"title":"CameraOpenGLES","children":[{"title":"cameraShader.o <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false},{"title":"opengles","children":[{"title":"esUtil.o <span style='color:#111;'> 11.76KB </span>","children":null,"spread":false},{"title":"esUtil.o.d <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false},{"title":"matrix.o <span style='color:#111;'> 20.43KB </span>","children":null,"spread":false},{"title":"matrix.o.d <span style='color:#111;'> 6.27KB </span>","children":null,"spread":false}],"spread":false},{"title":"cameraShader.o.d <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"CameraOpenGLES.o <span style='color:#111;'> 37.08KB </span>","children":null,"spread":false},{"title":"CameraOpenGLES.o.d <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"libCameraOpenGLES.so <span style='color:#111;'> 90.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"armeabi","children":[{"title":"objs","children":[{"title":"CameraOpenGLES","children":[{"title":"cameraShader.o <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false},{"title":"opengles","children":[{"title":"esUtil.o <span style='color:#111;'> 11.53KB </span>","children":null,"spread":false},{"title":"esUtil.o.d <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false},{"title":"matrix.o <span style='color:#111;'> 21.22KB </span>","children":null,"spread":false},{"title":"matrix.o.d <span style='color:#111;'> 6.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"cameraShader.o.d <span style='color:#111;'> 6.33KB </span>","children":null,"spread":false},{"title":"CameraOpenGLES.o <span style='color:#111;'> 37.11KB </span>","children":null,"spread":false},{"title":"CameraOpenGLES.o.d <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"libCameraOpenGLES.so <span style='color:#111;'> 99.89KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 50.19KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 40.10KB </span>","children":null,"spread":false},{"title":"CameraOpenGLES.apk <span style='color:#111;'> 403.39KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"cm","children":[{"title":"opengles","children":[{"title":"CmOpenGLES.class <span style='color:#111;'> 537B </span>","children":null,"spread":false}],"spread":false},{"title":"cameraopengles","children":[{"title":"R$layout.class <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 481B </span>","children":null,"spread":false},{"title":"MainActivity$1.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 3.59KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-09abb7e5c324a76ca9aa70458df51cbc.jar <span style='color:#111;'> 334.94KB </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.14KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"classes.dex <span style='color:#111;'> 1009.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

  • zhyj_email :
    NDK 代码参考的作用有限,并没有多大的价值。
    2019-07-17
  • lzm116 :
    可以 学习学习
    2019-06-19
  • 尹江江 :
    不错,学习一下,事后发现,虽然简单,分高,但是没什么大毛病
    2019-06-17
  • sm2011616 :
    不错,学习一下
    2019-04-22
  • fx_swordsman :
    不错,学习一下。
    2019-01-28

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明