WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

frame.h File Reference

Frame. More...

Data Structures

struct  pjmedia_frame
 
struct  pjmedia_frame_ext
 
struct  pjmedia_frame_ext_subframe
 

Enumerations

enum  pjmedia_frame_type {
  PJMEDIA_FRAME_TYPE_NONE ,
  PJMEDIA_FRAME_TYPE_AUDIO ,
  PJMEDIA_FRAME_TYPE_EXTENDED ,
  PJMEDIA_FRAME_TYPE_VIDEO
}
 

Functions

void pjmedia_frame_copy (pjmedia_frame *dst, const pjmedia_frame *src)
 
void pjmedia_frame_ext_append_subframe (pjmedia_frame_ext *frm, const void *src, unsigned bitlen, unsigned samples_cnt)
 
pjmedia_frame_ext_subframepjmedia_frame_ext_get_subframe (const pjmedia_frame_ext *frm, unsigned n)
 
unsigned pjmedia_frame_ext_copy_payload (const pjmedia_frame_ext *frm, void *dst, unsigned maxlen)
 
pj_status_t pjmedia_frame_ext_pop_subframes (pjmedia_frame_ext *frm, unsigned n)
 
void pjmedia_zero_samples (pj_int16_t *samples, unsigned count)
 
void pjmedia_copy_samples (pj_int16_t *dst, const pj_int16_t *src, unsigned count)
 
void pjmedia_move_samples (pj_int16_t *dst, const pj_int16_t *src, unsigned count)
 

Detailed Description

Media frame

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.