GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
compositor.h File Reference
#include <gpac/scenegraph.h>
#include <gpac/user.h>
#include <gpac/color.h>
+ Include dependency graph for compositor.h:
+ This graph shows which files directly or indirectly include this file:

Functions

GF_Compositor * gf_sc_new (GF_User *user_interface, Bool self_threaded, GF_Terminal *term)
 
void gf_sc_del (GF_Compositor *sr)
 
void gf_sc_set_fps (GF_Compositor *sr, Double fps)
 
GF_Err gf_sc_set_scene (GF_Compositor *sr, GF_SceneGraph *scene_graph)
 
Bool gf_sc_draw_frame (GF_Compositor *sr)
 
void gf_sc_on_node_init (GF_Compositor *sr, GF_Node *node)
 
void gf_sc_invalidate (GF_Compositor *sr, GF_Node *byObj)
 
u32 gf_sc_get_clock (GF_Compositor *sr)
 
void gf_sc_lock (GF_Compositor *sr, Bool doLock)
 
void gf_sc_lock_audio (GF_Compositor *sr, Bool doLock)
 
Bool gf_sc_user_event (GF_Compositor *sr, GF_Event *event)
 
void gf_sc_map_point (GF_Compositor *sr, s32 X, s32 Y, Fixed *bifsX, Fixed *bifsY)
 
GF_Err gf_sc_size_changed (GF_Compositor *sr, u32 NewWidth, u32 NewHeight)
 
GF_Err gf_sc_set_option (GF_Compositor *sr, u32 type, u32 value)
 
u32 gf_sc_get_option (GF_Compositor *sr, u32 type)
 
Double gf_sc_get_fps (GF_Compositor *sr, Bool absoluteFPS)
 
Bool gf_sc_has_text_selection (GF_Compositor *compositor)
 
const char * gf_sc_get_selected_text (GF_Compositor *compositor)
 
GF_Err gf_sc_paste_text (GF_Compositor *compositor, const char *text)
 
void gf_sc_render (GF_Compositor *sr)
 
GF_Err gf_sc_get_screen_buffer (GF_Compositor *sr, GF_VideoSurface *framebuffer, u32 depth_buffer_mode)
 
GF_Err gf_sc_get_offscreen_buffer (GF_Compositor *sr, GF_VideoSurface *framebuffer, u32 view_idx, u32 depth_buffer_mode)
 
GF_Err gf_sc_release_screen_buffer (GF_Compositor *sr, GF_VideoSurface *framebuffer)
 
void gf_sc_simulation_tick (GF_Compositor *sr)
 
void gf_sc_reset_graphics (GF_Compositor *sr)
 
GF_Nodegf_sc_pick_node (GF_Compositor *sr, s32 X, s32 Y)
 
GF_Err gf_sc_get_viewpoint (GF_Compositor *sr, u32 viewpoint_idx, const char **outName, Bool *is_bound)
 
GF_Err gf_sc_set_viewpoint (GF_Compositor *sr, u32 viewpoint_idx, const char *viewpoint_name)
 
void gf_sc_traverse_subscene (GF_Compositor *sr, GF_Node *inline_parent, GF_SceneGraph *subscene, void *rs)
 
GF_Err gf_sc_set_size (GF_Compositor *sr, u32 NewWidth, u32 NewHeight)
 
Bool gf_sc_get_size (GF_Compositor *sr, u32 *Width, u32 *Height)
 
u32 gf_sc_get_audio_buffer_length (GF_Compositor *sr)
 
void gf_sc_register_extra_graph (GF_Compositor *sr, GF_SceneGraph *extra_scene, Bool do_remove)
 
u32 gf_sc_get_audio_delay (GF_Compositor *sr)
 
void * gf_sc_get_visual_compositor (GF_Compositor *sr)
 
GF_Compositor * gf_sc_get_compositor (GF_Node *node)
 
Bool gf_sc_script_action (GF_Compositor *sr, u32 type, GF_Node *n, GF_JSAPIParam *param)
 
void gf_sc_reload_audio_filters (GF_Compositor *compositor)
 
Bool gf_sc_uri_is_hardcoded_proto (GF_Compositor *compositor, const char *uri)
 

Function Documentation

GF_Compositor* gf_sc_new ( GF_User *  user_interface,
Bool  self_threaded,
GF_Terminal *  term 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_del ( GF_Compositor *  sr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_set_fps ( GF_Compositor *  sr,
Double  fps 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_set_scene ( GF_Compositor *  sr,
GF_SceneGraph *  scene_graph 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sc_draw_frame ( GF_Compositor *  sr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_on_node_init ( GF_Compositor *  sr,
GF_Node node 
)

+ Here is the caller graph for this function:

void gf_sc_invalidate ( GF_Compositor *  sr,
GF_Node byObj 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sc_get_clock ( GF_Compositor *  sr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_lock ( GF_Compositor *  sr,
Bool  doLock 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_lock_audio ( GF_Compositor *  sr,
Bool  doLock 
)

+ Here is the call graph for this function:

Bool gf_sc_user_event ( GF_Compositor *  sr,
GF_Event event 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_map_point ( GF_Compositor *  sr,
s32  X,
s32  Y,
Fixed bifsX,
Fixed bifsY 
)

+ Here is the caller graph for this function:

GF_Err gf_sc_size_changed ( GF_Compositor *  sr,
u32  NewWidth,
u32  NewHeight 
)
GF_Err gf_sc_set_option ( GF_Compositor *  sr,
u32  type,
u32  value 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sc_get_option ( GF_Compositor *  sr,
u32  type 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Double gf_sc_get_fps ( GF_Compositor *  sr,
Bool  absoluteFPS 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sc_has_text_selection ( GF_Compositor *  compositor)

+ Here is the caller graph for this function:

const char* gf_sc_get_selected_text ( GF_Compositor *  compositor)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_paste_text ( GF_Compositor *  compositor,
const char *  text 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_render ( GF_Compositor *  sr)
GF_Err gf_sc_get_screen_buffer ( GF_Compositor *  sr,
GF_VideoSurface framebuffer,
u32  depth_buffer_mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_get_offscreen_buffer ( GF_Compositor *  sr,
GF_VideoSurface framebuffer,
u32  view_idx,
u32  depth_buffer_mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_release_screen_buffer ( GF_Compositor *  sr,
GF_VideoSurface framebuffer 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_simulation_tick ( GF_Compositor *  sr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_reset_graphics ( GF_Compositor *  sr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_sc_pick_node ( GF_Compositor *  sr,
s32  X,
s32  Y 
)

+ Here is the caller graph for this function:

GF_Err gf_sc_get_viewpoint ( GF_Compositor *  sr,
u32  viewpoint_idx,
const char **  outName,
Bool is_bound 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_set_viewpoint ( GF_Compositor *  sr,
u32  viewpoint_idx,
const char *  viewpoint_name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_traverse_subscene ( GF_Compositor *  sr,
GF_Node inline_parent,
GF_SceneGraph *  subscene,
void *  rs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sc_set_size ( GF_Compositor *  sr,
u32  NewWidth,
u32  NewHeight 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sc_get_size ( GF_Compositor *  sr,
u32 Width,
u32 Height 
)
u32 gf_sc_get_audio_buffer_length ( GF_Compositor *  sr)
void gf_sc_register_extra_graph ( GF_Compositor *  sr,
GF_SceneGraph *  extra_scene,
Bool  do_remove 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sc_get_audio_delay ( GF_Compositor *  sr)
void* gf_sc_get_visual_compositor ( GF_Compositor *  sr)
GF_Compositor* gf_sc_get_compositor ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sc_script_action ( GF_Compositor *  sr,
u32  type,
GF_Node n,
GF_JSAPIParam param 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sc_reload_audio_filters ( GF_Compositor *  compositor)

+ Here is the call graph for this function:

Bool gf_sc_uri_is_hardcoded_proto ( GF_Compositor *  compositor,
const char *  uri 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: