CodecInputSurface

public class CodecInputSurface

Constructors

Link copied to clipboard
public void CodecInputSurface(Surface surface)
Creates a CodecInputSurface from a Surface.

Functions

Link copied to clipboard
public void awaitNewImage()
Link copied to clipboard
public void changeFragmentShader(String fragmentShader)
Link copied to clipboard
public void createRender()
Link copied to clipboard
public void drawImage()
Link copied to clipboard
public Surface getSurface()
Link copied to clipboard
public SurfaceTexture getSurfaceTexture()
Link copied to clipboard
public void makeCurrent()
Makes our EGL context and surface current.
Link copied to clipboard
public void onFrameAvailable(SurfaceTexture st)
Link copied to clipboard
public void release()
Discards all resources held by this class, notably the EGL context.
Link copied to clipboard
public void setPresentationTime(long nsecs)
Sends the presentation time stamp to EGL.
Link copied to clipboard
public boolean swapBuffers()
Calls eglSwapBuffers.