Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | capidtmf_recv_enable (t_capidtmf_state *p_state, word min_digit_duration, word min_gap_duration) |
void | capidtmf_recv_disable (t_capidtmf_state *p_state) |
word | capidtmf_recv_indication (t_capidtmf_state *p_state, byte *buffer) |
void | capidtmf_recv_block (t_capidtmf_state *p_state, byte *buffer, word length) |
void | capidtmf_init (t_capidtmf_state *p_state, byte ulaw) |
Definition at line 177 of file capidtmf.c.
#define capidtmf_dword_leading_zeroes | ( | d | ) | (((d) & 0xffff0000L) ? (((d) & 0xff000000L) ? capidtmf_leading_zeroes_table[(d) >> 24] : 8 + capidtmf_leading_zeroes_table[(d) >> 16]) : (((d) & 0xff00) ? 16 + capidtmf_leading_zeroes_table[(d) >> 8] : 24 + capidtmf_leading_zeroes_table[(d)])) |
Definition at line 179 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_DONTCARE 0xc000 |
Definition at line 341 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1010 9 |
Definition at line 333 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1140 10 |
Definition at line 334 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1209 4 |
Definition at line 328 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1272 11 |
Definition at line 335 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1336 5 |
Definition at line 329 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1405 12 |
Definition at line 336 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1477 6 |
Definition at line 330 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1555 13 |
Definition at line 337 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1633 7 |
Definition at line 331 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1715 14 |
Definition at line 338 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_1875 15 |
Definition at line 339 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_635 8 |
Definition at line 332 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_697 0 |
Definition at line 324 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_770 1 |
Definition at line 325 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_852 2 |
Definition at line 326 of file capidtmf.c.
#define CAPIDTMF_RECV_GUARD_SNR_INDEX_941 3 |
Definition at line 327 of file capidtmf.c.
#define CAPIDTMF_RECV_INDICATION_DIGIT 0x0001 |
Definition at line 345 of file capidtmf.c.
#define CAPIDTMF_RECV_NO_DIGIT 0xff |
Definition at line 342 of file capidtmf.c.
#define CAPIDTMF_RECV_TIME_GRANULARITY (CAPIDTMF_RECV_ACCUMULATE_CYCLES + 1) |
Definition at line 343 of file capidtmf.c.
#define CAPIDTMF_RECV_WINDOWED_SAMPLES 32 |
Definition at line 488 of file capidtmf.c.
#define capidtmf_word_leading_zeroes | ( | w | ) | (((w) & 0xff00) ? capidtmf_leading_zeroes_table[(w) >> 8] : 8 + capidtmf_leading_zeroes_table[(w)]) |
Definition at line 178 of file capidtmf.c.
#define FILE_ "CAPIDTMF.C" |
Definition at line 41 of file capidtmf.c.
Definition at line 46 of file capidtmf.c.
void capidtmf_init | ( | t_capidtmf_state * | p_state, |
byte | ulaw | ||
) |
Definition at line 678 of file capidtmf.c.
void capidtmf_recv_block | ( | t_capidtmf_state * | p_state, |
byte * | buffer, | ||
word | length | ||
) |
Definition at line 490 of file capidtmf.c.
void capidtmf_recv_disable | ( | t_capidtmf_state * | p_state | ) |
Definition at line 449 of file capidtmf.c.
void capidtmf_recv_enable | ( | t_capidtmf_state * | p_state, |
word | min_digit_duration, | ||
word | min_gap_duration | ||
) |
Definition at line 430 of file capidtmf.c.
word capidtmf_recv_indication | ( | t_capidtmf_state * | p_state, |
byte * | buffer | ||
) |
Definition at line 464 of file capidtmf.c.