FFmpeg
Data Fields
OpenGLContext Struct Reference

Data Fields

  class for private options More...
 
 
  Set to 1 when write_header was successfully called. More...
 
  Background color. More...
 
  0 for create default window More...
 
char *  window_title
  Title of the window. More...
 
  Maximum texture size. More...
 
  Maximum viewport size. More...
 
  Maximum viewport size. More...
 
  1 when non power of 2 textures are supported More...
 
  1 when GL_EXT_unpack_subimage is available More...
 
  Shader program. More...
 
  Vertex shader. More...
 
  Fragment shader for current pix_pmt. More...
 
  Textures' IDs. More...
 
  Index buffer. More...
 
  Vertex buffer. More...
 
  VBO. More...
 
  Uniforms' locations. More...
 
 
 
 
 
 
  Attibutes' locations. More...
 
 
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
 
  Stream width. More...
 
  Stream height. More...
 
  Stream pixel format. More...
 
  Rendered width. More...
 
  Rendered height. More...
 
 
 

Detailed Description

Definition at line 174 of file opengl_enc.c.

Field Documentation

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_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]

Background color.

Definition at line 184 of file opengl_enc.c.

Referenced by opengl_init_context().

int OpenGLContext::no_window

0 for create default window

Definition at line 185 of file opengl_enc.c.

Referenced by 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_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]

VBO.

Definition at line 202 of file opengl_enc.c.

Referenced by opengl_prepare_vertex().

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().


The documentation for this struct was generated from the following file:

Generated on Sun May 13 2018 02:04:32 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /