Git Product home page Git Product logo

mediaplayertest's Introduction

其实是学习opengl的过程中整理的一些示例. 个人感觉, 对理解各种概念还是很有用的.

MediaPlayerTest

汇集了最近学习安卓视频播放过程中涉及的一些列子. 主要包括SurfaceView, GLSurfaceView, SurfaceTexture的基本用法

SurfaceView

SurfaceViewActivity

一个最基本的SurfaceView的使用的例子.

DoodleViewSurface

一个可以响应用户触摸事件的SurfaceView的例子.

GLSurfaceView

GLSurfaceViewTestActivity

一个可以响应用户触摸事件的GLSurfaceView的例子.

CubeFlingActivity

一个可以响应用户手势的GLSurfaceView的例子

Camara

CameraActivity

一个使用Camrea2接口的摄像头取景例子, 谷歌官方例子

VideoRecorderActivity

一个使用Camrea2接口的摄像头_录像_取景例子, 谷歌官方例子

Opengl 学习

OpenGlWithGlSurfaceViewActivity

最简单常见的方式, 使用GlSurfaceView 绘制一个三角形. 也包括了着色器创建, 程序连接, 链接, 使用等模板代码

EglImpl1Activity

自己创建EGL环境, 不使用使用GlSurfaceView , 绘制一个与上面例子相同的三角形

EglImp2Activity

对上面的EglImpl1Activity方式继续扩展, 实现了两个渲染目标输出, 一个是屏幕, 一个是pbuffer, 并且最终把pbuffer的输出转换成Bitmap又显示在屏幕上.

mediaplayertest's People

Contributors

shaopx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.