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

amr_helper.h File Reference

Common tables and helper functions for AMR codec (NB & WB). More...

Data Structures

struct  pjmedia_codec_amr_bit_info
 
struct  pjmedia_codec_amr_pack_setting
 

Functions

pj_int8_t pjmedia_codec_amr_get_mode (unsigned bitrate)
 
pj_int8_t pjmedia_codec_amr_get_mode2 (pj_bool_t amrnb, unsigned frame_len)
 
pj_status_t pjmedia_codec_amr_predecode (const pjmedia_frame *in, const pjmedia_codec_amr_pack_setting *setting, pjmedia_frame *out)
 
pj_status_t pjmedia_codec_amr_pack (const pjmedia_frame frames[], unsigned nframes, const pjmedia_codec_amr_pack_setting *setting, void *pkt, pj_size_t *pkt_size)
 
pj_status_t pjmedia_codec_amr_parse (void *pkt, pj_size_t pkt_size, const pj_timestamp *ts, const pjmedia_codec_amr_pack_setting *setting, pjmedia_frame frames[], unsigned *nframes, pj_uint8_t *cmr)
 

Variables

const pj_int16_t pjmedia_codec_amrnb_ordermap122 [244]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap102 [204]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap795 [159]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap74 [148]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap67 [134]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap59 [118]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap515 [103]
 
const pj_int16_t pjmedia_codec_amrnb_ordermap475 [95]
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_660 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_885 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_1265 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_1425 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_1585 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_1825 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_1985 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_2305 []
 
const pj_int16_t pjmedia_codec_amrwb_ordermap_2385 []
 
const pj_int16_t *const pjmedia_codec_amrnb_ordermaps [8]
 
const pj_int16_t *const pjmedia_codec_amrwb_ordermaps [9]
 
const pj_uint8_t pjmedia_codec_amrnb_framelen [16]
 
const pj_uint16_t pjmedia_codec_amrnb_framelenbits [9]
 
const pj_uint16_t pjmedia_codec_amrnb_bitrates [8]
 
const pj_uint8_t pjmedia_codec_amrwb_framelen [16]
 
const pj_uint16_t pjmedia_codec_amrwb_framelenbits [10]
 
const pj_uint16_t pjmedia_codec_amrwb_bitrates [9]
 

 


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