VLC 4.0.0-dev
Loading...
Searching...
No Matches
fmtp.h File Reference

SDP format parameters (fmtp) helpers. More...

Include dependency graph for fmtp.h:

Go to the source code of this file.

Macros

#define vlc_sdp_fmtp_get(desc, name, vp)
 

Functions

static const char * vlc_sdp_fmtp_get_str (const struct vlc_sdp_pt *desc, const char *name, size_t *restrict lenp)
 
static int vlc_sdp_fmtp_get_ull (const struct vlc_sdp_pt *desc, const char *name, unsigned long long *restrict res)
 
static int vlc_sdp_fmtp_get_u16 (const struct vlc_sdp_pt *desc, const char *name, uint16_t *restrict res)
 
static int vlc_sdp_fmtp_get_u8 (const struct vlc_sdp_pt *desc, const char *name, uint8_t *restrict res)
 

Detailed Description

SDP format parameters (fmtp) helpers.

Macro Definition Documentation

◆ vlc_sdp_fmtp_get

#define vlc_sdp_fmtp_get (   desc,
  name,
  vp 
)
Value:
_Generic (*(vp), \
uint16_t: vlc_sdp_fmtp_get_u16(desc, name, (uint16_t *)(vp)), \
uint8_t: vlc_sdp_fmtp_get_u8(desc, name, (uint8_t *)(vp)))
static int vlc_sdp_fmtp_get_u16(const struct vlc_sdp_pt *desc, const char *name, uint16_t *restrict res)
Definition fmtp.h:73
static int vlc_sdp_fmtp_get_u8(const struct vlc_sdp_pt *desc, const char *name, uint8_t *restrict res)
Definition fmtp.h:88
const char name[16]
Definition httpd.c:1298

Function Documentation

◆ vlc_sdp_fmtp_get_str()

static const char * vlc_sdp_fmtp_get_str ( const struct vlc_sdp_pt desc,
const char *  name,
size_t *restrict  lenp 
)
inlinestatic

◆ vlc_sdp_fmtp_get_u16()

static int vlc_sdp_fmtp_get_u16 ( const struct vlc_sdp_pt desc,
const char *  name,
uint16_t *restrict  res 
)
inlinestatic

References name, and vlc_sdp_fmtp_get_ull().

◆ vlc_sdp_fmtp_get_u8()

static int vlc_sdp_fmtp_get_u8 ( const struct vlc_sdp_pt desc,
const char *  name,
uint8_t *restrict  res 
)
inlinestatic

References name, and vlc_sdp_fmtp_get_ull().

◆ vlc_sdp_fmtp_get_ull()

static int vlc_sdp_fmtp_get_ull ( const struct vlc_sdp_pt desc,
const char *  name,
unsigned long long *restrict  res 
)
static