upipe-av/ubuf_av.h header reference

Upipe ubuf manager for AVFrame More

Header inclusion [link] 

Members [link] 

Type [link] 

Functions [link] 

Description [link] 

Upipe ubuf manager for AVFrame

Members detail [link] 

#define UBUF_AV_ALLOC_PICTURE [link] 

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

#define UBUF_AV_ALLOC_SOUND [link] 

This macro is declared in upipe-av/ubuf_av.h source file, line 40.

#define UBUF_AV_SIGNATURE [link] 

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

#define _UPIPE_AV_UBUF_AV_H_ [link] 

This macro is declared in upipe-av/ubuf_av.h source file, line 30.

enum ubuf_av_command [link] 

This enum is declared in upipe-av/ubuf_av.h source file, line 44.

This enum extends ubuf_command with specific commands for AVFrame buffers.

IdentifierValueDescription
UBUF_AV_SENTINEL0x8000
UBUF_AV_GET_AVFRAME1returns the underlying AVFrame (AVFrame *)

int ubuf_av_get_avframe(struct ubuf *ubuf, AVFrame *frame) [link] 

This function is declared in upipe-av/ubuf_av.h source file, line 83.

This function returns a reference to the underlying AVFrame. The frame should be freed when it is no longer needed.

Parameter list:

  • ubuf: pointer to ubuf
  • frame: unreferenced or newly allocated AVFrame

The return value is an error code

struct ubuf_mgr * ubuf_av_mgr_alloc(void ) [link] 

This function is declared in upipe-av/ubuf_av.h source file, line 91.

This function allocates and initializes an AVFrame buffer manager.

The return value is a pointer to an ubuf manager

struct ubuf * ubuf_pic_av_alloc(struct ubuf_mgr *mgr, AVFrame *frame) [link] 

This function is declared in upipe-av/ubuf_av.h source file, line 59.

This function allocates an ubuf for a picture AVFrame.

Parameter list:

  • ubuf_mgr: pointer to AVFrame ubuf manager
  • frame: pointer to AVFrame

The return value is a pointer to an ubuf or NULL in case of error

struct ubuf * ubuf_sound_av_alloc(struct ubuf_mgr *mgr, AVFrame *frame) [link] 

This function is declared in upipe-av/ubuf_av.h source file, line 71.

This function allocates an ubuf for a sound AVFrame.

Parameter list:

  • ubuf_mgr: pointer to AVFrame ubuf manager
  • frame: pointer to AVFrame

The return value is a pointer to an ubuf or NULL in case of error

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc