upipe-gl/upipe_gl_sink_common.h header reference

Upipe GL - common definitions More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe GL - common definitions

Members detail  

#define UPIPE_GL_SINK_SIGNATURE  

This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 38.

#define _UPIPE_GL_UPIPE_GL_SINK_COMMON_H_  

This macro is declared in upipe-gl/upipe_gl_sink_common.h source file, line 31.

enum upipe_gl_sink_command  

This enum is declared in upipe-gl/upipe_gl_sink_common.h source file, line 68.

This enum extends upipe_command with specific commands for gl sink.

IdentifierValueDescription
UPIPE_GL_SINK_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_GL_SINK_CONTROL_LOCALunknown

int upipe_gl_sink_throw_render(struct upipe *upipe, struct uref *uref)  

This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 62.

This function throws an UPROBE_GL_SINK_RENDER event.

Parameter list:

  • upipe: pointer to pipe throwing the event
  • uref: uref structure describing the picture

The return value is an error code

bool upipe_gl_texture_load_uref(struct uref *uref, unsigned int texture)  

This function is declared in upipe-gl/upipe_gl_sink_common.h source file, line 79.

This function loads a uref picture into the specified texture

  • uref: uref structure describing the picture
  • texture: GL texture

The return value is false in case of error

enum uprobe_gl_sink_event  

This enum is declared in upipe-gl/upipe_gl_sink_common.h source file, line 42.

This enum extends uprobe_event with specific events for gl sink.

IdentifierValueDescription
UPROBE_GL_SINK_SENTINELUPROBE_LOCAL
UPROBE_GL_SINK_INITunknowninit GL context (int SIGNATURE, int width, int height)
UPROBE_GL_SINK_RENDERunknownrender GL (int SIGNATURE, struct uref*)
UPROBE_GL_SINK_RESHAPEunknownreshape GL (int SIGNATURE, int width, int height)
UPROBE_GL_SINK_LOCALunknown

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc