libgpac
Documentation of the core library of GPAC
GF_VideoOutput Struct Reference

#include <video_out.h>

Data Fields

GF_DECL_MODULE_INTERFACE GF_Err(* Setup )(struct _video_out *vout, void *os_handle, void *os_display, u32 init_flags)
 
void(* Shutdown )(struct _video_out *vout)
 
GF_Err(* Flush )(struct _video_out *vout, GF_Window *dest)
 
GF_Err(* SetFullScreen )(struct _video_out *vout, Bool fs_on, u32 *new_disp_width, u32 *new_disp_height)
 
GF_Err(* ProcessEvent )(struct _video_out *vout, GF_Event *event)
 
void * evt_cbk_hdl
 
Bool(* on_event )(void *hdl, GF_Event *event)
 
GF_Err(* LockBackBuffer )(struct _video_out *vout, GF_VideoSurface *video_info, Bool do_lock)
 
void *(* LockOSContext )(struct _video_out *vout, Bool do_lock)
 
GF_Err(* Blit )(struct _video_out *vout, GF_VideoSurface *video_src, GF_Window *src_wnd, GF_Window *dst_wnd, u32 overlay_type)
 
Bool(* BlitTexture )(struct _video_out *vout, GF_TextureH *texture, GF_Matrix2D *transform, GF_IRect *clip, u8 alpha, GF_ColorKey *col_key, Fixed depth_offset, Fixed depth_gain)
 
void(* ReleaseTexture )(struct _video_out *vout, GF_TextureH *texture)
 
void(* FlushRectangles )(struct _video_out *vout, GF_DirtyRectangles *rectangles)
 
void(* DrawHLine )(struct _video_out *vout, u32 x, u32 y, u32 length, GF_Color color)
 
void(* DrawHLineAlpha )(struct _video_out *vout, u32 x, u32 y, u32 length, GF_Color color, u8 alpha)
 
void(* DrawRectangle )(struct _video_out *vout, u32 x, u32 y, u32 width, u32 height, GF_Color color)
 
u32 hw_caps
 
u32 pixel_format
 
u32 yuv_pixel_format
 
u32 max_screen_width
 
u32 max_screen_height
 
u32 dpi_x
 
u32 dpi_y
 
u32 max_screen_bpp
 
u32 overlay_color_key
 
u32 disparity
 
Fixed dispdist
 
u32 window_id
 
void * opaque
 

Field Documentation

◆ Setup

GF_DECL_MODULE_INTERFACE GF_Err(* GF_VideoOutput::Setup) (struct _video_out *vout, void *os_handle, void *os_display, u32 init_flags)

◆ Shutdown

void(* GF_VideoOutput::Shutdown) (struct _video_out *vout)

◆ Flush

GF_Err(* GF_VideoOutput::Flush) (struct _video_out *vout, GF_Window *dest)

◆ SetFullScreen

GF_Err(* GF_VideoOutput::SetFullScreen) (struct _video_out *vout, Bool fs_on, u32 *new_disp_width, u32 *new_disp_height)

◆ ProcessEvent

GF_Err(* GF_VideoOutput::ProcessEvent) (struct _video_out *vout, GF_Event *event)

◆ evt_cbk_hdl

void* GF_VideoOutput::evt_cbk_hdl

◆ on_event

Bool(* GF_VideoOutput::on_event) (void *hdl, GF_Event *event)

◆ LockBackBuffer

GF_Err(* GF_VideoOutput::LockBackBuffer) (struct _video_out *vout, GF_VideoSurface *video_info, Bool do_lock)

◆ LockOSContext

void*(* GF_VideoOutput::LockOSContext) (struct _video_out *vout, Bool do_lock)

◆ Blit

GF_Err(* GF_VideoOutput::Blit) (struct _video_out *vout, GF_VideoSurface *video_src, GF_Window *src_wnd, GF_Window *dst_wnd, u32 overlay_type)

◆ BlitTexture

Bool(* GF_VideoOutput::BlitTexture) (struct _video_out *vout, GF_TextureH *texture, GF_Matrix2D *transform, GF_IRect *clip, u8 alpha, GF_ColorKey *col_key, Fixed depth_offset, Fixed depth_gain)

◆ ReleaseTexture

void(* GF_VideoOutput::ReleaseTexture) (struct _video_out *vout, GF_TextureH *texture)

◆ FlushRectangles

void(* GF_VideoOutput::FlushRectangles) (struct _video_out *vout, GF_DirtyRectangles *rectangles)

◆ DrawHLine

void(* GF_VideoOutput::DrawHLine) (struct _video_out *vout, u32 x, u32 y, u32 length, GF_Color color)

◆ DrawHLineAlpha

void(* GF_VideoOutput::DrawHLineAlpha) (struct _video_out *vout, u32 x, u32 y, u32 length, GF_Color color, u8 alpha)

◆ DrawRectangle

void(* GF_VideoOutput::DrawRectangle) (struct _video_out *vout, u32 x, u32 y, u32 width, u32 height, GF_Color color)

◆ hw_caps

u32 GF_VideoOutput::hw_caps

◆ pixel_format

u32 GF_VideoOutput::pixel_format

◆ yuv_pixel_format

u32 GF_VideoOutput::yuv_pixel_format

◆ max_screen_width

u32 GF_VideoOutput::max_screen_width

◆ max_screen_height

u32 GF_VideoOutput::max_screen_height

◆ dpi_x

u32 GF_VideoOutput::dpi_x

◆ dpi_y

u32 GF_VideoOutput::dpi_y

◆ max_screen_bpp

u32 GF_VideoOutput::max_screen_bpp

◆ overlay_color_key

u32 GF_VideoOutput::overlay_color_key

◆ disparity

u32 GF_VideoOutput::disparity

◆ dispdist

Fixed GF_VideoOutput::dispdist

◆ window_id

u32 GF_VideoOutput::window_id

◆ opaque

void* GF_VideoOutput::opaque