FFmpeg
4.0
|
Data Fields | |
AVClass * | class |
class for private options More... | |
FFOpenGLFunctions | glprocs |
int | inited |
Set to 1 when write_header was successfully called. More... | |
uint8_t | background [4] |
Background color. More... | |
int | no_window |
0 for create default window More... | |
char * | window_title |
Title of the window. More... | |
GLint | max_texture_size |
Maximum texture size. More... | |
GLint | max_viewport_width |
Maximum viewport size. More... | |
GLint | max_viewport_height |
Maximum viewport size. More... | |
int | non_pow_2_textures |
1 when non power of 2 textures are supported More... | |
int | unpack_subimage |
1 when GL_EXT_unpack_subimage is available More... | |
GLuint | program |
Shader program. More... | |
GLuint | vertex_shader |
Vertex shader. More... | |
GLuint | fragment_shader |
Fragment shader for current pix_pmt. More... | |
GLuint | texture_name [4] |
Textures' IDs. More... | |
GLuint | index_buffer |
Index buffer. More... | |
GLuint | vertex_buffer |
Vertex buffer. More... | |
OpenGLVertexInfo | vertex [4] |
VBO. More... | |
GLint | projection_matrix_location |
Uniforms' locations. More... | |
GLint | model_view_matrix_location |
GLint | color_map_location |
GLint | chroma_div_w_location |
GLint | chroma_div_h_location |
GLint | texture_location [4] |
GLint | position_attrib |
Attibutes' locations. More... | |
GLint | texture_coords_attrib |
GLfloat | projection_matrix [16] |
Projection matrix. More... | |
GLfloat | model_view_matrix [16] |
Modev view matrix. More... | |
GLfloat | color_map [16] |
RGBA color map matrix. More... | |
GLfloat | chroma_div_w |
Chroma subsampling w ratio. More... | |
GLfloat | chroma_div_h |
Chroma subsampling h ratio. More... | |
GLenum | format |
GLenum | type |
int | width |
Stream width. More... | |
int | height |
Stream height. More... | |
enum AVPixelFormat | pix_fmt |
Stream pixel format. More... | |
int | picture_width |
Rendered width. More... | |
int | picture_height |
Rendered height. More... | |
int | window_width |
int | window_height |
Definition at line 174 of file opengl_enc.c.
AVClass* OpenGLContext::class |
class for private options
Definition at line 175 of file opengl_enc.c.
FFOpenGLFunctions OpenGLContext::glprocs |
Definition at line 181 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), opengl_control_message(), opengl_deinit_context(), opengl_draw(), opengl_init_context(), opengl_load_procedures(), opengl_load_shader(), opengl_prepare(), and opengl_prepare_vertex().
int OpenGLContext::inited |
Set to 1 when write_header was successfully called.
Definition at line 183 of file opengl_enc.c.
Referenced by opengl_resize(), and opengl_write_header().
uint8_t OpenGLContext::background[4] |
int OpenGLContext::no_window |
0 for create default window
Definition at line 185 of file opengl_enc.c.
Referenced by opengl_control_message(), opengl_create_window(), opengl_draw(), opengl_load_procedures(), opengl_release_window(), opengl_resize(), opengl_write_header(), and opengl_write_trailer().
char* OpenGLContext::window_title |
Title of the window.
Definition at line 186 of file opengl_enc.c.
Referenced by opengl_control_message(), and opengl_write_header().
GLint OpenGLContext::max_texture_size |
Maximum texture size.
Definition at line 189 of file opengl_enc.c.
Referenced by opengl_get_texture_size(), opengl_read_limits(), and opengl_write_header().
GLint OpenGLContext::max_viewport_width |
Maximum viewport size.
Definition at line 190 of file opengl_enc.c.
Referenced by opengl_prepare_vertex(), and opengl_read_limits().
GLint OpenGLContext::max_viewport_height |
Maximum viewport size.
Definition at line 191 of file opengl_enc.c.
Referenced by opengl_prepare_vertex(), and opengl_read_limits().
int OpenGLContext::non_pow_2_textures |
1 when non power of 2 textures are supported
Definition at line 192 of file opengl_enc.c.
Referenced by opengl_get_texture_size(), opengl_init_context(), and opengl_read_limits().
int OpenGLContext::unpack_subimage |
1 when GL_EXT_unpack_subimage is available
Definition at line 193 of file opengl_enc.c.
Referenced by opengl_read_limits().
GLuint OpenGLContext::program |
Shader program.
Definition at line 196 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), opengl_deinit_context(), and opengl_prepare().
GLuint OpenGLContext::vertex_shader |
Vertex shader.
Definition at line 197 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_deinit_context().
GLuint OpenGLContext::fragment_shader |
Fragment shader for current pix_pmt.
Definition at line 198 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_deinit_context().
GLuint OpenGLContext::texture_name[4] |
Textures' IDs.
Definition at line 199 of file opengl_enc.c.
Referenced by opengl_deinit_context(), opengl_init_context(), and opengl_prepare().
GLuint OpenGLContext::index_buffer |
Index buffer.
Definition at line 200 of file opengl_enc.c.
Referenced by opengl_deinit_context(), opengl_draw(), and opengl_init_context().
GLuint OpenGLContext::vertex_buffer |
Vertex buffer.
Definition at line 201 of file opengl_enc.c.
Referenced by opengl_deinit_context(), opengl_draw(), opengl_init_context(), and opengl_prepare_vertex().
OpenGLVertexInfo OpenGLContext::vertex[4] |
GLint OpenGLContext::projection_matrix_location |
Uniforms' locations.
Definition at line 203 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::model_view_matrix_location |
Definition at line 204 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::color_map_location |
Definition at line 205 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::chroma_div_w_location |
Definition at line 206 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::chroma_div_h_location |
Definition at line 207 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::texture_location[4] |
Definition at line 208 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_prepare().
GLint OpenGLContext::position_attrib |
Attibutes' locations.
Definition at line 209 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_draw().
GLint OpenGLContext::texture_coords_attrib |
Definition at line 210 of file opengl_enc.c.
Referenced by opengl_compile_shaders(), and opengl_draw().
GLfloat OpenGLContext::projection_matrix[16] |
Projection matrix.
Definition at line 212 of file opengl_enc.c.
Referenced by opengl_prepare(), and opengl_prepare_vertex().
GLfloat OpenGLContext::model_view_matrix[16] |
Modev view matrix.
Definition at line 213 of file opengl_enc.c.
Referenced by opengl_prepare(), and opengl_prepare_vertex().
GLfloat OpenGLContext::color_map[16] |
RGBA color map matrix.
Definition at line 214 of file opengl_enc.c.
Referenced by opengl_fill_color_map(), and opengl_prepare().
GLfloat OpenGLContext::chroma_div_w |
Chroma subsampling w ratio.
Definition at line 215 of file opengl_enc.c.
Referenced by opengl_init_context(), and opengl_prepare().
GLfloat OpenGLContext::chroma_div_h |
Chroma subsampling h ratio.
Definition at line 216 of file opengl_enc.c.
Referenced by opengl_init_context(), and opengl_prepare().
GLenum OpenGLContext::format |
Definition at line 219 of file opengl_enc.c.
Referenced by opengl_configure_texture(), and opengl_get_texture_params().
GLenum OpenGLContext::type |
Definition at line 220 of file opengl_enc.c.
Referenced by opengl_configure_texture(), opengl_get_plane_pointer(), and opengl_get_texture_params().
int OpenGLContext::width |
Stream width.
Definition at line 221 of file opengl_enc.c.
Referenced by opengl_get_plane_pointer(), opengl_init_context(), opengl_prepare_vertex(), and opengl_write_header().
int OpenGLContext::height |
Stream height.
Definition at line 222 of file opengl_enc.c.
Referenced by opengl_get_plane_pointer(), opengl_init_context(), opengl_prepare_vertex(), and opengl_write_header().
enum AVPixelFormat OpenGLContext::pix_fmt |
Stream pixel format.
Definition at line 223 of file opengl_enc.c.
Referenced by opengl_fill_color_map(), opengl_get_texture_params(), opengl_init_context(), and opengl_write_header().
int OpenGLContext::picture_width |
Rendered width.
Definition at line 224 of file opengl_enc.c.
Referenced by opengl_compute_display_area(), and opengl_prepare_vertex().
int OpenGLContext::picture_height |
Rendered height.
Definition at line 225 of file opengl_enc.c.
Referenced by opengl_compute_display_area(), and opengl_prepare_vertex().
int OpenGLContext::window_width |
Definition at line 226 of file opengl_enc.c.
Referenced by opengl_compute_display_area(), opengl_control_message(), opengl_create_window(), opengl_prepare_vertex(), opengl_resize(), and opengl_write_header().
int OpenGLContext::window_height |
Definition at line 227 of file opengl_enc.c.
Referenced by opengl_compute_display_area(), opengl_control_message(), opengl_create_window(), opengl_prepare_vertex(), opengl_resize(), and opengl_write_header().