FFmpeg
Data Fields
OpenGLContext Struct Reference

Data Fields

  class for private options More...
 
 
  Set to 1 when write_header was successfully called. More...
 
uint8_t  background [4]
  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...
 
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...
 
  VBO. More...
 
  Uniforms' locations. More...
 
 
 
 
 
GLint  texture_location [4]
 
GLint  position_attrib
  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 173 of file opengl_enc.c.

Field Documentation

class

AVClass* OpenGLContext::class

class for private options

Definition at line 174 of file opengl_enc.c.

glprocs

FFOpenGLFunctions OpenGLContext::glprocs

Definition at line 180 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().

inited

int OpenGLContext::inited

Set to 1 when write_header was successfully called.

Definition at line 182 of file opengl_enc.c.

Referenced by opengl_resize(), and opengl_write_header().

background

uint8_t OpenGLContext::background[4]

Background color.

Definition at line 183 of file opengl_enc.c.

Referenced by opengl_init_context().

no_window

int OpenGLContext::no_window

0 for create default window

Definition at line 184 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().

window_title

char* OpenGLContext::window_title

Title of the window.

Definition at line 185 of file opengl_enc.c.

Referenced by opengl_write_header().

max_texture_size

GLint OpenGLContext::max_texture_size

Maximum texture size.

Definition at line 188 of file opengl_enc.c.

Referenced by opengl_get_texture_size(), opengl_read_limits(), and opengl_write_header().

max_viewport_width

GLint OpenGLContext::max_viewport_width

Maximum viewport size.

Definition at line 189 of file opengl_enc.c.

Referenced by opengl_prepare_vertex(), and opengl_read_limits().

max_viewport_height

GLint OpenGLContext::max_viewport_height

Maximum viewport size.

Definition at line 190 of file opengl_enc.c.

Referenced by opengl_prepare_vertex(), and opengl_read_limits().

non_pow_2_textures

int OpenGLContext::non_pow_2_textures

1 when non power of 2 textures are supported

Definition at line 191 of file opengl_enc.c.

Referenced by opengl_get_texture_size(), opengl_init_context(), and opengl_read_limits().

unpack_subimage

int OpenGLContext::unpack_subimage

1 when GL_EXT_unpack_subimage is available

Definition at line 192 of file opengl_enc.c.

Referenced by opengl_read_limits().

program

GLuint OpenGLContext::program

Shader program.

Definition at line 195 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), opengl_deinit_context(), and opengl_prepare().

vertex_shader

GLuint OpenGLContext::vertex_shader

Vertex shader.

Definition at line 196 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_deinit_context().

fragment_shader

GLuint OpenGLContext::fragment_shader

Fragment shader for current pix_pmt.

Definition at line 197 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_deinit_context().

texture_name

GLuint OpenGLContext::texture_name[4]

Textures' IDs.

Definition at line 198 of file opengl_enc.c.

Referenced by opengl_deinit_context(), opengl_init_context(), and opengl_prepare().

index_buffer

GLuint OpenGLContext::index_buffer

Index buffer.

Definition at line 199 of file opengl_enc.c.

Referenced by opengl_deinit_context(), opengl_draw(), and opengl_init_context().

vertex_buffer

GLuint OpenGLContext::vertex_buffer

Vertex buffer.

Definition at line 200 of file opengl_enc.c.

Referenced by opengl_deinit_context(), opengl_draw(), opengl_init_context(), and opengl_prepare_vertex().

vertex

OpenGLVertexInfo OpenGLContext::vertex[4]

VBO.

Definition at line 201 of file opengl_enc.c.

Referenced by opengl_prepare_vertex().

projection_matrix_location

GLint OpenGLContext::projection_matrix_location

Uniforms' locations.

Definition at line 202 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

model_view_matrix_location

GLint OpenGLContext::model_view_matrix_location

Definition at line 203 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

color_map_location

GLint OpenGLContext::color_map_location

Definition at line 204 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

chroma_div_w_location

GLint OpenGLContext::chroma_div_w_location

Definition at line 205 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

chroma_div_h_location

GLint OpenGLContext::chroma_div_h_location

Definition at line 206 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

texture_location

GLint OpenGLContext::texture_location[4]

Definition at line 207 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_prepare().

position_attrib

GLint OpenGLContext::position_attrib

Attibutes' locations.

Definition at line 208 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_draw().

texture_coords_attrib

GLint OpenGLContext::texture_coords_attrib

Definition at line 209 of file opengl_enc.c.

Referenced by opengl_compile_shaders(), and opengl_draw().

projection_matrix

GLfloat OpenGLContext::projection_matrix[16]

Projection matrix.

Definition at line 211 of file opengl_enc.c.

Referenced by opengl_prepare(), and opengl_prepare_vertex().

model_view_matrix

GLfloat OpenGLContext::model_view_matrix[16]

Modev view matrix.

Definition at line 212 of file opengl_enc.c.

Referenced by opengl_prepare(), and opengl_prepare_vertex().

color_map

GLfloat OpenGLContext::color_map[16]

RGBA color map matrix.

Definition at line 213 of file opengl_enc.c.

Referenced by opengl_fill_color_map(), and opengl_prepare().

chroma_div_w

GLfloat OpenGLContext::chroma_div_w

Chroma subsampling w ratio.

Definition at line 214 of file opengl_enc.c.

Referenced by opengl_init_context(), and opengl_prepare().

chroma_div_h

GLfloat OpenGLContext::chroma_div_h

Chroma subsampling h ratio.

Definition at line 215 of file opengl_enc.c.

Referenced by opengl_init_context(), and opengl_prepare().

format

GLenum OpenGLContext::format

Definition at line 218 of file opengl_enc.c.

Referenced by opengl_configure_texture(), and opengl_get_texture_params().

type

GLenum OpenGLContext::type

Definition at line 219 of file opengl_enc.c.

Referenced by opengl_configure_texture(), opengl_get_plane_pointer(), and opengl_get_texture_params().

width

int OpenGLContext::width

Stream width.

Definition at line 220 of file opengl_enc.c.

Referenced by opengl_get_plane_pointer(), opengl_init_context(), opengl_prepare_vertex(), and opengl_write_header().

height

int OpenGLContext::height

Stream height.

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

pix_fmt

enum AVPixelFormat OpenGLContext::pix_fmt

Stream pixel format.

Definition at line 222 of file opengl_enc.c.

Referenced by opengl_fill_color_map(), opengl_get_texture_params(), opengl_init_context(), and opengl_write_header().

picture_width

int OpenGLContext::picture_width

Rendered width.

Definition at line 223 of file opengl_enc.c.

Referenced by opengl_compute_display_area(), and opengl_prepare_vertex().

picture_height

int OpenGLContext::picture_height

Rendered height.

Definition at line 224 of file opengl_enc.c.

Referenced by opengl_compute_display_area(), and opengl_prepare_vertex().

window_width

int OpenGLContext::window_width

Definition at line 225 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().

window_height

int OpenGLContext::window_height

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


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

Generated on Wed Aug 24 2022 21:38:58 for FFmpeg by   doxygen 1.8.17

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