mediacodec和OpenGLES紋理共享方案

  一、OpenGL生成紋理java 二、紋理綁定到SurfaceTexture上android 三、用SurfaceTexture作參數建立Surfaceide 四、MediaCodec解碼的視頻就往Surface發送,就顯示出畫面了函數 直接上代碼ui vertex_shader.glslthis attribute vec4 av_Position; attribute vec2 af_Po
相關文章
相關標籤/搜索