public static class TextureMovieEncoder.EncoderConfig
extends java.lang.Object
Object is immutable, which means we can safely pass it between threads without explicit synchronization (and don't need to worry about it getting tweaked out from under us).
TODO: make frame rate and iframe interval configurable? Maybe use builder pattern with reasonable defaults for those and bit rate.
Modifier and Type | Field and Description |
---|---|
int |
mFrameRate |
Constructor and Description |
---|
EncoderConfig(GetVideoData handler,
int width,
int height,
int bitRate,
int frameRate,
int iFrameInterval,
android.opengl.EGLContext sharedEglContext,
Texture2dProgram.ProgramType programType) |
EncoderConfig(IMediaMuxer handler,
int width,
int height,
int bitRate,
int frameRate,
android.opengl.EGLContext sharedEglContext,
Texture2dProgram.ProgramType programType) |
public EncoderConfig(IMediaMuxer handler, int width, int height, int bitRate, int frameRate, android.opengl.EGLContext sharedEglContext, Texture2dProgram.ProgramType programType)
public EncoderConfig(GetVideoData handler, int width, int height, int bitRate, int frameRate, int iFrameInterval, android.opengl.EGLContext sharedEglContext, Texture2dProgram.ProgramType programType)