upipe-av/upipe_avformat_source.h header reference

Upipe source module libavformat wrapper More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe source module libavformat wrapper

Members detail  

#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_SENTINEL0
UPIPE_AVFSRC_GET_OPTION1returns the content of an avformat option (const char *, const char **)
UPIPE_AVFSRC_SET_OPTION2sets the content of an avformat option (const char *, const char *)
UPIPE_AVFSRC_GET_TIME3returns the reading time of the currently opened file, in clock units (uint64_t *)
UPIPE_AVFSRC_SET_TIME4asks 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 declared in upipe-av/upipe_avformat_source.h source file, line 74.

This function returns the content of an avformat option.

Parameters 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 102.

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

Parameters 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 62.

This function returns the management structure for all avformat sources.

The return value is pointer to manager

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

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

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

Parameters 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 114.

This function asks to read at the given time.

Parameters 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 Thu Nov 6 12:15:19 2014 using MkDoc