upipe-av/upipe_avformat_source.h header reference

Upipe source module libavformat wrapper More

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe source module libavformat wrapper

Members detail [link] 

#define UPIPE_AVFSRC_MGR_GET_SET_MGR(name, NAME) [link] 

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

#define UPIPE_AVFSRC_MGR_GET_SET_MGR2(name, NAME) [link] 

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

#define UPIPE_AVFSRC_OUTPUT_SIGNATURE [link] 

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

#define UPIPE_AVFSRC_SIGNATURE [link] 

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

#define _UPIPE_AV_UPIPE_AVFORMAT_SOURCE_H_ [link] 

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

enum upipe_avfsrc_command [link] 

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_SENTINEL0x8000
UPIPE_AVFSRC_GET_TIME1returns the reading time of the currently opened file, in clock units (uint64_t *)
UPIPE_AVFSRC_SET_TIME2asks to read at the given time (uint64_t)

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

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) [link] 

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 ) [link] 

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 [link] 

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_SENTINEL0x8000
UPIPE_AVFSRC_MGR_GET_AUTOF_MGR1returns the current manager for autof inner pipes (struct upipe_mgr **)
UPIPE_AVFSRC_MGR_SET_AUTOF_MGR2sets the manager for autof inner pipes (struct upipe_mgr *)

int upipe_avfsrc_mgr_get_autof_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p) [link] 

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) [link] 

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) [link] 

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) [link] 

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 Sun Dec 14 18:31:17 2025 using MkDoc