libosmocodec
1.7.0.61-0d9b6.202211030053
Osmocom codec library
|
#include <stdint.h>
#include <stdbool.h>
#include <osmocom/core/bitvec.h>
#include <osmocom/core/utils.h>
#include <osmocom/codec/codec.h>
Functions | |
bool | osmo_hr_check_sid (const uint8_t *rtp_payload, size_t payload_len) |
Check whether RTP frame contains HR SID code word according to TS 101 318 §5.2.2. More... | |
Variables | |
const uint16_t | gsm620_unvoiced_bitorder [112] |
const uint16_t | gsm620_voiced_bitorder [112] |
GSM 06.20 - GSM HR codec.
bool osmo_hr_check_sid | ( | const uint8_t * | rtp_payload, |
size_t | payload_len | ||
) |
Check whether RTP frame contains HR SID code word according to TS 101 318 §5.2.2.
[in] | rtp_payload | Buffer with RTP payload |
[in] | payload_len | Length of payload |
References bitvec_get_bit_pos(), bitvec::cur_bit, bitvec::data, bitvec::data_len, and ONE.
const uint16_t gsm620_unvoiced_bitorder[112] |
const uint16_t gsm620_voiced_bitorder[112] |