upipe-av/upipe_avformat_source.h header reference

Upipe source module libavformat wrapper More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe source module libavformat wrapper

Members detail  

#define UPIPE_AVFSRC_MGR_GET_SET_MGR(name, NAME)  

This macro is declared in upipe-av/upipe_avformat_source.h source file, line 116.

#define UPIPE_AVFSRC_MGR_GET_SET_MGR2(name, NAME)  

This macro is declared in upipe-av/upipe_avformat_source.h source file, line 128.

#define UPIPE_AVFSRC_OUTPUT_SIGNATURE  

This macro is declared in upipe-av/upipe_avformat_source.h source file, line 39.

#define UPIPE_AVFSRC_SIGNATURE  

This macro is declared in upipe-av/upipe_avformat_source.h source file, line 38.

#define _UPIPE_AV_UPIPE_AVFORMAT_SOURCE_H_  

This macro is declared in upipe-av/upipe_avformat_source.h source file, line 31.

enum upipe_avfsrc_command  

This enum is declared in upipe-av/upipe_avformat_source.h source file, line 43.

This enum extends upipe_command with specific commands for avformat source.

IdentifierValueDescription
UPIPE_AVFSRC_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_AVFSRC_GET_TIMEunknownreturns the reading time of the currently opened file, in clock units (uint64_t *)
UPIPE_AVFSRC_SET_TIMEunknownasks to read at the given time (uint64_t)

int upipe_avfsrc_get_option(struct upipe *upipe, const char *option, const char **content_p)  

This function is deprecated.

This function is declared in upipe-av/upipe_avformat_source.h source file, line 63.

This declaration involves expansion of the UBASE_DEPRECATED macro.

This function returns the content of an avformat option.

Parameter list:

  • upipe: description structure of the pipe
  • option: name of the option
  • content_p: filled in with the content of the option

The return value is an error code

int upipe_avfsrc_get_time(struct upipe *upipe, uint64_t *time_p)  

This function is declared in upipe-av/upipe_avformat_source.h source file, line 89.

This function returns the reading time of the currently opened URL.

Parameter list:

  • upipe: description structure of the pipe
  • time_p: filled in with the reading time, in clock units

The return value is an error code

struct upipe_mgr * upipe_avfsrc_mgr_alloc(void )  

This function is declared in upipe-av/upipe_avformat_source.h source file, line 110.

This function returns the management structure for all avformat sources.

The return value is pointer to manager

enum upipe_avfsrc_mgr_command  

This enum is declared in upipe-av/upipe_avformat_source.h source file, line 113.

This enum extends upipe_mgr_command with specific commands for avfsrc.

IdentifierValueDescription
UPIPE_AVFSRC_MGR_SENTINELUPIPE_MGR_CONTROL_LOCAL
UPIPE_AVFSRC_MGR_GET_AUTOF_MGRunknownreturns the current manager for autof inner pipes (struct upipe_mgr **)
UPIPE_AVFSRC_MGR_SET_AUTOF_MGRunknownsets the manager for autof inner pipes (struct upipe_mgr *)

int upipe_avfsrc_mgr_get_autof_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-av/upipe_avformat_source.h source file, line 158.

This function returns the current manager for autof inner pipes.

Parameter list:

  • mgr: pointer to manager
  • p: filled in with the autof manager

The return value is an error code

int upipe_avfsrc_mgr_set_autof_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-av/upipe_avformat_source.h source file, line 158.

This function sets the manager for autof inner pipes. This may only be called before any pipe has been allocated.

Parameter list:

  • mgr: pointer to manager
  • m: pointer to autof manager

The return value is an error code

int upipe_avfsrc_set_option(struct upipe *upipe, const char *option, const char *content)  

This function is deprecated.

This function is declared in upipe-av/upipe_avformat_source.h source file, line 78.

This declaration involves expansion of the UBASE_DEPRECATED macro.

This function sets the content of an avformat option. It only takes effect after the next call to upipe_set_uri.

Parameter list:

  • upipe: description structure of the pipe
  • option: name of the option
  • content: content of the option, or NULL to delete it

The return value is an error code

int upipe_avfsrc_set_time(struct upipe *upipe, uint64_t time)  

This function is declared in upipe-av/upipe_avformat_source.h source file, line 101.

This function asks to read at the given time.

Parameter list:

  • upipe: description structure of the pipe
  • time: new reading time, in clock units

The return value is an error code

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