亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? v27ter_tx.h

?? 傳真通信V27 V29 V17 T38解調與解碼
?? H
字號:
/* * SpanDSP - a series of DSP components for telephony * * v27ter_tx.h - ITU V.27ter modem transmit part * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2003 Steve Underwood * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * $Id: v27ter_tx.h,v 1.30 2007/05/12 12:25:39 steveu Exp $ *//*! \file */#if !defined(_SPANDSP_V27TER_TX_H_)#define _SPANDSP_V27TER_TX_H_/*! \page v27ter_tx_page The V.27ter transmitter\section v27ter_tx_page_sec_1 What does it do?The V.27ter transmitter implements the transmit side of a V.27ter modem. Thiscan operate at data rates of 4800 and 2400 bits/s. The audio output is a streamof 16 bit samples, at 8000 samples/second. The transmit and receive side ofV.27ter modems operate independantly. V.27ter is used for FAX transmission,where it provides the standard 4800 and 2400 bits/s rates. \section v27ter_tx_page_sec_2 How does it work?V.27ter uses DPSK modulation. A common method of producing a DPSK modulatedsignal is to use a sampling rate which is a multiple of the baud rate. The rawsignal is then a series of complex pulses, each an integer number of sampleslong. These can be shaped, using a suitable complex filter, and multiplied by acomplex carrier signal to produce the final DPSK signal for transmission. The pulse shaping filter for V.27ter is defined in the spec. It is a root raisedcosine filter with 50% excess bandwidth. The sampling rate for our transmitter is defined by the channel - 8000 samples/s.This is a multiple of the baud rate at 4800 bits/s (8-PSK at 1600 baud, 5 samples persymbol), but not at 2400 bits/s (4-PSK at 1200 baud, 20/3 samples per symbol). The baudinterval is actually 20/3 sample periods at 2400bis/s. A symmetric FIR is used toapply root raised cosine filtering in the 4800bits/s mode. In the 2400bits/s modea polyphase FIR filter is used. This consists of 20 sets of coefficients, offeringzero to 19/20ths of a baud phase shift as well as root raised cosine filtering.The appropriate coefficient set is chosen for each signal sample generated.The carrier is generated using the DDS method. Using 2 second order resonators,started in quadrature, might be more efficient, as it would have less impact onthe processor cache than a table lookup approach. However, the DDS approachsuits the receiver better, so then same signal generator is also used for thetransmitter.*/#define V27TER_TX_FILTER_STEPS      9/*!    V.27ter modem transmit side descriptor. This defines the working state for a    single instance of a V.27ter modem transmitter.*/typedef struct{    /*! \brief The bit rate of the modem. Valid values are 2400 and 4800. */    int bit_rate;    /*! \brief The callback function used to get the next bit to be transmitted. */    get_bit_func_t get_bit;    /*! \brief A user specified opaque pointer passed to the callback function. */    void *user_data;#if defined(USE_FIXED_POINT)    /*! \brief The gain factor needed to achieve the specified output power at 2400bps. */    int32_t gain_2400;    /*! \brief The gain factor needed to achieve the specified output power at 4800bps. */    int32_t gain_4800;#else    /*! \brief The gain factor needed to achieve the specified output power at 2400bps. */    float gain_2400;    /*! \brief The gain factor needed to achieve the specified output power at 4800bps. */    float gain_4800;#endif    /*! \brief The route raised cosine (RRC) pulse shaping filter buffer. */#if defined(USE_FIXED_POINT)    complexi16_t rrc_filter[2*V27TER_TX_FILTER_STEPS];#else    complexf_t rrc_filter[2*V27TER_TX_FILTER_STEPS];#endif    /*! \brief Current offset into the RRC pulse shaping filter buffer. */    int rrc_filter_step;        /*! \brief The register for the training and data scrambler. */    unsigned int scramble_reg;    /*! \brief A counter for the number of consecutive bits of repeating pattern through               the scrambler. */    int scrambler_pattern_count;    /*! \brief TRUE if transmitting the training sequence, or shutting down transmission.               FALSE if transmitting user data. */    int in_training;    /*! \brief A counter used to track progress through sending the training sequence. */    int training_step;    /*! \brief The current phase of the carrier (i.e. the DDS parameter). */    uint32_t carrier_phase;    /*! \brief The update rate for the phase of the carrier (i.e. the DDS increment). */    int32_t carrier_phase_rate;    /*! \brief The current fractional phase of the baud timing. */    int baud_phase;    /*! \brief The code number for the current position in the constellation. */    int constellation_state;    /*! \brief The get_bit function in use at any instant. */    get_bit_func_t current_get_bit;    /*! \brief Error and flow logging control */    logging_state_t logging;} v27ter_tx_state_t;#if defined(__cplusplus)extern "C"{#endif/*! Adjust a V.27ter modem transmit context's power output.    \brief Adjust a V.27ter modem transmit context's output power.    \param s The modem context.    \param power The power level, in dBm0 */void v27ter_tx_power(v27ter_tx_state_t *s, float power);/*! Initialise a V.27ter modem transmit context.    \brief Initialise a V.27ter modem transmit context.    \param s The modem context.    \param rate The bit rate of the modem. Valid values are 2400 and 4800.    \param tep TRUE is the optional TEP tone is to be transmitted.    \param get_bit The callback routine used to get the data to be transmitted.    \param user_data An opaque pointer.    \return A pointer to the modem context, or NULL if there was a problem. */v27ter_tx_state_t *v27ter_tx_init(v27ter_tx_state_t *s, int rate, int tep, get_bit_func_t get_bit, void *user_data);/*! Reinitialise an existing V.27ter modem transmit context, so it may be reused.    \brief Reinitialise an existing V.27ter modem transmit context.    \param s The modem context.    \param rate The bit rate of the modem. Valid values are 2400 and 4800.    \param tep TRUE is the optional TEP tone is to be transmitted.    \return 0 for OK, -1 for bad parameter */int v27ter_tx_restart(v27ter_tx_state_t *s, int rate, int tep);/*! Release a V.27ter modem transmit context.    \brief Release a V.27ter modem transmit context.    \param s The modem context.    \return 0 for OK */int v27ter_tx_release(v27ter_tx_state_t *s);/*! Change the get_bit function associated with a V.27ter modem transmit context.    \brief Change the get_bit function associated with a V.27ter modem transmit context.    \param s The modem context.    \param get_bit The callback routine used to get the data to be transmitted.    \param user_data An opaque pointer. */void v27ter_tx_set_get_bit(v27ter_tx_state_t *s, get_bit_func_t get_bit, void *user_data);/*! Generate a block of V.27ter modem audio samples.    \brief Generate a block of V.27ter modem audio samples.    \param s The modem context.    \param amp The audio sample buffer.    \param len The number of samples to be generated.    \return The number of samples actually generated.*/int v27ter_tx(v27ter_tx_state_t *s, int16_t amp[], int len);#if defined(__cplusplus)}#endif#endif/*- End of file ------------------------------------------------------------*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91香蕉视频mp4| 国产精品888| 亚洲色图一区二区| 中文字幕第一区二区| 国产亚洲欧美色| 久久精品视频在线免费观看| 精品免费国产二区三区| 精品成人一区二区三区| 欧美大胆人体bbbb| 久久久亚洲欧洲日产国码αv| 日韩欧美一级二级三级| 欧美电影免费观看高清完整版在线 | 亚洲影院理伦片| 久久精品欧美一区二区三区麻豆 | 亚洲综合男人的天堂| 中文字幕日韩欧美一区二区三区| 久久久99免费| 日韩久久一区二区| 亚洲综合免费观看高清完整版| 亚洲综合图片区| 日韩av网站免费在线| 精品一区二区三区在线观看国产| 国产中文字幕精品| 色综合天天综合网天天看片| 91福利国产精品| 日韩欧美在线网站| 亚洲国产电影在线观看| 亚洲精品高清视频在线观看| 亚洲成人激情av| 国产盗摄精品一区二区三区在线| 久久久久88色偷偷免费| 国产精品入口麻豆九色| 一区二区三区欧美| 久99久精品视频免费观看| 国产成人av在线影院| 在线观看日韩电影| 精品福利一区二区三区免费视频| 欧美激情中文不卡| 午夜av区久久| 成人午夜激情片| 欧美精品色综合| 国产三区在线成人av| 香蕉久久一区二区不卡无毒影院| 国产精一品亚洲二区在线视频| 成人午夜碰碰视频| 青娱乐精品视频在线| 国产suv一区二区三区88区| 在线精品亚洲一区二区不卡| 精品国产一区二区在线观看| 一区二区三区波多野结衣在线观看 | 91美女福利视频| 日韩欧美资源站| 亚洲综合免费观看高清在线观看| 国产乱淫av一区二区三区| 精品视频1区2区3区| 国产精品久久久久一区二区三区共| 婷婷久久综合九色综合伊人色| 成人av资源在线| 久久免费美女视频| 蜜桃av噜噜一区二区三区小说| 色综合视频在线观看| 国产精品婷婷午夜在线观看| 久久99热99| 日韩欧美123| 亚洲123区在线观看| 日本韩国欧美一区| 自拍偷拍国产精品| 本田岬高潮一区二区三区| 久久综合色婷婷| 国产一区在线观看视频| 日韩欧美一级精品久久| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美亚洲高清一区| 一区二区三区精品久久久| 91在线porny国产在线看| 国产精品高潮呻吟| caoporn国产精品| 亚洲国产成人一区二区三区| 国产精品18久久久久久久久久久久| 欧美一卡二卡三卡| 日韩和欧美一区二区| 欧美丰满美乳xxx高潮www| 五月天欧美精品| 日韩一区二区在线观看| 成人伦理片在线| 国产精品久久久久永久免费观看| 国产乱一区二区| 欧美国产综合一区二区| 不卡视频在线看| 亚洲最大成人网4388xx| 欧美日韩一区视频| 免费视频一区二区| 精品国产乱子伦一区| 国产成人精品亚洲日本在线桃色| 亚洲国产精品精华液ab| 91婷婷韩国欧美一区二区| 亚洲综合色成人| 日韩欧美一区在线| 国产v综合v亚洲欧| 亚洲国产一二三| 精品久久国产97色综合| 成人免费电影视频| 一个色综合网站| 精品国产三级电影在线观看| 成人在线综合网站| 亚洲成人三级小说| 亚洲精品一区二区三区在线观看| 国产成人免费网站| 亚洲综合一区二区精品导航| 日韩午夜激情视频| 成人app网站| 日本视频中文字幕一区二区三区 | 国产一区欧美日韩| 综合色中文字幕| 欧美电视剧免费观看| 成人免费高清视频在线观看| 亚洲成av人片一区二区三区| 久久婷婷成人综合色| 91国在线观看| 国产成人免费在线观看不卡| 亚洲电影中文字幕在线观看| 国产亚洲自拍一区| 正在播放亚洲一区| 91麻豆免费看片| 国产乱码精品一区二区三区忘忧草| 亚洲精品欧美激情| 久久精品亚洲一区二区三区浴池 | 国产一区福利在线| 婷婷久久综合九色综合绿巨人 | 日韩国产在线观看一区| 亚洲欧洲性图库| 久久天天做天天爱综合色| 欧美日韩免费高清一区色橹橹| 高清在线成人网| 国产一区二区在线看| 日韩高清在线电影| 天堂精品中文字幕在线| 亚洲美女免费在线| 成人免费小视频| 国产精品五月天| 国产欧美一区视频| 久久久久久亚洲综合| 日韩欧美久久久| 日韩一级黄色大片| 欧美一级高清片| 91麻豆精品91久久久久久清纯 | 三级成人在线视频| 亚洲最色的网站| 一区二区在线免费| 亚洲美女电影在线| 亚洲另类在线制服丝袜| 亚洲视频免费在线观看| 中文字幕视频一区| 亚洲欧美日韩中文播放| 中文字幕色av一区二区三区| 国产精品美女久久久久高潮| 日本一区二区免费在线观看视频| 欧美精品一区二区三区蜜桃| 精品91自产拍在线观看一区| 2020国产精品| 国产校园另类小说区| 中文字幕欧美国产| 日韩一区欧美小说| 夜夜揉揉日日人人青青一国产精品| 亚洲裸体xxx| 五月婷婷综合激情| 久草热8精品视频在线观看| 国产精品亚洲一区二区三区在线| 国产综合久久久久久久久久久久 | 久久久国产一区二区三区四区小说| 国产麻豆9l精品三级站| 精品中文字幕一区二区| 高清av一区二区| 色综合久久久久综合99| 欧美在线短视频| 欧美一个色资源| 久久网这里都是精品| 日韩一区欧美一区| 亚洲国产va精品久久久不卡综合| 日韩成人一级大片| 国产一区二区三区在线看麻豆| 国产一区二区三区国产| 不卡av电影在线播放| 欧美视频一区二区| 久久综合视频网| 亚洲欧美视频在线观看| 青青国产91久久久久久| 成人av免费在线播放| 在线观看精品一区| 精品999在线播放| 亚洲日本一区二区三区| 日韩视频永久免费| 国产精品午夜在线| 亚洲欧洲三级电影| 日本aⅴ精品一区二区三区| 国产1区2区3区精品美女| 欧洲精品一区二区| 国产午夜亚洲精品午夜鲁丝片| 日韩一区有码在线| 国产一区二区不卡在线 |