
Go to the source code of this file.
| #define GL_CLAMP_TO_EDGE 0x812F |
Referenced by vout_display_opengl_ResetTextures().
| #define GL_UNSIGNED_SHORT_5_6_5 0x8363 |
| #define UNSIGNED_SHORT_8_8_MESA 0x85BA |
| #define VLCGL_FORMAT VLCGL_RGB_FORMAT |
Referenced by vout_display_opengl_Prepare(), and vout_display_opengl_ResetTextures().
| #define VLCGL_RGB_FORMAT GL_RGBA |
| #define VLCGL_RGB_TYPE GL_UNSIGNED_BYTE |
| #define VLCGL_TARGET GL_TEXTURE_2D |
| #define VLCGL_TEXTURE_COUNT (1) |
| #define VLCGL_TYPE VLCGL_RGB_TYPE |
Referenced by vout_display_opengl_Prepare(), and vout_display_opengl_ResetTextures().
| #define VLCGL_YUV_FORMAT YCBCR_MESA |
| #define VLCGL_YUV_TYPE UNSIGNED_SHORT_8_8_MESA |
| #define YCBCR_MESA 0x8757 |
| static int GetAlignedSize | ( | int | i_size | ) | [inline, static] |
Referenced by vout_display_opengl_Init().
| static void vout_display_opengl_Clean | ( | vout_display_opengl_t * | vgl | ) | [static] |
| static int vout_display_opengl_Display | ( | vout_display_opengl_t * | vgl, | |
| const video_format_t * | source | |||
| ) | [static] |
References vout_display_opengl_t::gl, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, vout_display_opengl_t::tex_height, vout_display_opengl_t::tex_width, VLC_EGENERIC, VLC_SUCCESS, VLCGL_TARGET, vout_opengl_Lock(), vout_opengl_Swap(), and vout_opengl_Unlock().
Referenced by Display(), and PictureDisplay().
| static picture_pool_t* vout_display_opengl_GetPool | ( | vout_display_opengl_t * | vgl | ) | [static] |
References vout_display_opengl_t::buffer, cfg, vout_display_opengl_t::fmt, i, video_format_t::i_height, picture_resource_t::i_lines, picture_resource_t::i_pitch, video_format_t::i_width, picture_pool_configuration_t::lock, picture_resource_t::p, picture_resource_t::p_pixels, picture_resource_t::p_sys, picture_pool_configuration_t::picture, picture_pool_configuration_t::picture_count, picture_Delete(), picture_NewFromResource(), picture_pool_NewExtended(), vout_display_opengl_t::pool, vout_display_opengl_t::tex_height, vout_display_opengl_t::tex_pixel_size, vout_display_opengl_t::tex_width, vout_display_opengl_t::texture, picture_pool_configuration_t::unlock, VLCGL_TEXTURE_COUNT, and vout_display_opengl_ResetTextures().
Referenced by Pool().
| static int vout_display_opengl_Init | ( | vout_display_opengl_t * | vgl, | |
| video_format_t * | fmt, | |||
| vout_opengl_t * | gl | |||
| ) | [static] |
References vout_display_opengl_t::buffer, vout_display_opengl_t::fmt, GetAlignedSize(), vout_display_opengl_t::gl, i, video_format_t::i_bmask, video_format_t::i_chroma, video_format_t::i_gmask, video_format_t::i_height, video_format_t::i_rmask, video_format_t::i_width, vout_display_opengl_t::pool, vout_display_opengl_t::tex_height, vout_display_opengl_t::tex_pixel_size, vout_display_opengl_t::tex_width, vout_display_opengl_t::texture, VLC_CODEC_RGB16, VLC_CODEC_RGB24, VLC_CODEC_RGB32, VLC_CODEC_UYVY, VLC_CODEC_YUYV, VLC_SUCCESS, VLCGL_TEXTURE_COUNT, vout_opengl_Lock(), and vout_opengl_Unlock().
| static int vout_display_opengl_Prepare | ( | vout_display_opengl_t * | vgl, | |
| picture_t * | picture | |||
| ) | [static] |
References vout_display_opengl_t::fmt, vout_display_opengl_t::gl, video_format_t::i_height, video_format_t::i_width, picture_t::p, plane_t::p_pixels, VLC_EGENERIC, VLC_SUCCESS, VLCGL_FORMAT, VLCGL_TARGET, VLCGL_TYPE, vout_opengl_Lock(), and vout_opengl_Unlock().
Referenced by PictureRender(), and Prepare().
| static int vout_display_opengl_ResetTextures | ( | vout_display_opengl_t * | vgl | ) | [static] |
References vout_display_opengl_t::buffer, vout_display_opengl_t::gl, GL_CLAMP_TO_EDGE, i, vout_display_opengl_t::tex_height, vout_display_opengl_t::tex_width, vout_display_opengl_t::texture, VLC_EGENERIC, VLC_SUCCESS, VLCGL_FORMAT, VLCGL_TARGET, VLCGL_TEXTURE_COUNT, VLCGL_TYPE, vout_opengl_Lock(), and vout_opengl_Unlock().
Referenced by vout_display_opengl_GetPool().
1.5.6