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_fr_check_sid (const uint8_t *rtp_payload, size_t payload_len) |
Check whether RTP frame contains FR SID code word according to TS 101 318 §5.1.2. More... | |
Variables | |
const uint16_t | gsm610_bitorder [260] |
GSM 06.10 - GSM FR codec.
bool osmo_fr_check_sid | ( | const uint8_t * | rtp_payload, |
size_t | payload_len | ||
) |
Check whether RTP frame contains FR SID code word according to TS 101 318 §5.1.2.
[in] | rtp_payload | Buffer with RTP payload |
[in] | payload_len | Length of payload |
References ARRAY_SIZE, bitvec_get_bit_pos(), bitvec::data, bitvec::data_len, and ZERO.
Referenced by conceal_frame().
const uint16_t gsm610_bitorder[260] |