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

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

?? t30.h

?? 傳真通信V27 V29 V17 T38解調與解碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
/* * SpanDSP - a series of DSP components for telephony * * t30.h - definitions for T.30 fax processing * * 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: t30.h,v 1.77 2007/08/02 13:55:48 steveu Exp $ *//*! \file */#if !defined(_SPANDSP_T30_H_)#define _SPANDSP_T30_H_/*! \page t30_page T.30 FAX protocol handling\section t30_page_sec_1 What does it do?The T.30 protocol is the core protocol used for FAX transmission. This moduleimplements most of its key featrues. It does not interface to the outside work.Seperate modules do that for T.38, analogue line, and other forms of FAXcommunication.Current features of this module include:    - FAXing to and from multi-page TIFF/F files, whose images are one of the standard      FAX sizes.    - T.4 1D (MH), T.4 2D,(MR) and T.6 (MMR) compression.    - Error correction (ECM)    - All standard resolutions and page sizes\section t30_page_sec_2 How does it work?Some of the following is paraphrased from some notes found a while ago on the Internet.I cannot remember exactly where they came from, but they are useful.The answer (CED) toneThe T.30 standard says an answering fax device must send CED (a 2100Hz tone) forapproximately 3 seconds before sending the first handshake message. Some machinessend an 1100Hz or 1850Hz tone, and some send no tone at all. In fact, this answertone is so unpredictable, it cannot really be used. It should, however, always begenerated according to the specification.Common Timing DeviationsThe T.30 spec. specifies a number of time-outs. For example, after dialing a number,a calling fax system should listen for a response for 35 seconds before giving up.These time-out periods are as follows:     * T1 - 35+-5s: the maximum time for which two fax system will attempt to identify each other    * T2 - 6+-1s:  a time-out used to start the sequence for changing transmit parameters    * T3 - 10+-5s: a time-out used in handling operator interrupts    * T5 - 60+-5s: a time-out used in error correction modeThese time-outs are sometimes misinterpreted. In addition, they are routinelyignored, sometimes with good reason. For example, after placing a call, thecalling fax system is supposed to wait for 35 seconds before giving up. If theanswering unit does not answer on the first ring or if a voice answering machineis connected to the line, or if there are many delays through the network,the delay before answer can be much longer than 35 seconds. Fax units that support error correction mode (ECM) can respond to a post-imagehandshake message with a receiver not ready (RNR) message. The calling unit thenqueries the receiving fax unit with a receiver ready (RR) message. If theanswering unit is still busy (printing for example), it will repeat the RNRmessage. According to the T.30 standard, this sequence (RR/RNR RR/RNR) can berepeated for up to the end of T5 (60+-5s). However, many fax systemsignore the time-out and will continue the sequence indefinitely, unless the usermanually overrides. All the time-outs are subject to alteration, and sometimes misuse. Good T.30implementations must do the right thing, and tolerate others doing the wrong thing. Variations in the inter-carrier gapT.30 specifies 75+-20ms of silence between signals using different modulationschemes. Examples are between the end of a DCS signal and the start of a TCF signal,and between the end of an image and the start of a post-image signal. Many fax systemsviolate this requirement, especially for the silent period between DCS and TCF.This may be stretched to well over 100ms. If this period is too long, it can interfere withhandshake signal error recovery, should a packet be corrupted on the line. Systemsshould ensure they stay within the prescribed T.30 limits, and be tolerant of othersbeing out of spec.. Other timing variationsTesting is required to determine the ability of a fax system to handlevariations in the duration of pauses between unacknowledged handshake messagerepetitions, and also in the pauses between the receipt of a handshake command andthe start of a response to that command. In order to reduce the totaltransmission time, many fax systems start sending a response message before theend of the command has been received. Other deviations from the T.30 standardThere are many other commonly encountered variations between machines, including:    * frame sequence deviations    * preamble and flag sequence variations    * improper EOM usage    * unusual data rate fallback sequences    * common training pattern detection algorithms    * image transmission deviations    * use of the talker echo protect tone    * image padding and short lines    * RTP/RTN handshake message usage    * long duration lines    * nonstandard disconnect sequences    * DCN usage*/#define T30_MAX_DIS_DTC_DCS_LEN     22#define T30_MAX_IDENT_LEN           21#define T30_MAX_LOCAL_NSF_LEN       100typedef struct t30_state_s t30_state_t;/*!    T.30 phase B callback handler.    \brief T.30 phase B callback handler.    \param s The T.30 context.    \param user_data An opaque pointer.    \param result The phase B event code.*/typedef void (t30_phase_b_handler_t)(t30_state_t *s, void *user_data, int result);/*!    T.30 phase D callback handler.    \brief T.30 phase D callback handler.    \param s The T.30 context.    \param user_data An opaque pointer.    \param result The phase D event code.*/typedef void (t30_phase_d_handler_t)(t30_state_t *s, void *user_data, int result);/*!    T.30 phase E callback handler.    \brief T.30 phase E callback handler.    \param s The T.30 context.    \param user_data An opaque pointer.    \param completion_code The phase E completion code.*/typedef void (t30_phase_e_handler_t)(t30_state_t *s, void *user_data, int completion_code);/*!    T.30 document handler.    \brief T.30 document handler.    \param s The T.30 context.    \param user_data An opaque pointer.    \param result The document event code.*/typedef int (t30_document_handler_t)(t30_state_t *s, void *user_data, int status);/*!    T.30 set a receive or transmit type handler.    \brief T.30 set a receive or transmit type handler.    \param user_data An opaque pointer.    \param type The modem, tone or silence to be sent or received.    \param short_train TRUE if the short training sequence should be used (where one exists).    \param use_hdlc FALSE for bit stream, TRUE for HDLC framing.*/typedef void (t30_set_handler_t)(void *user_data, int type, int short_train, int use_hdlc);/*!    T.30 send HDLC handler.    \brief T.30 send HDLC handler.    \param user_data An opaque pointer.    \param msg The HDLC message.    \param len The length of the message.*/typedef void (t30_send_hdlc_handler_t)(void *user_data, const uint8_t *msg, int len);/*!    T.30 protocol completion codes, at phase E.*/enum{    T30_ERR_OK = 0,         /*! OK */    /* Link problems */    T30_ERR_CEDTONE,        /*! The CED tone exceeded 5s */    T30_ERR_T0_EXPIRED,     /*! Timed out waiting for initial communication */    T30_ERR_T1_EXPIRED,     /*! Timed out waiting for the first message */    T30_ERR_T3_EXPIRED,     /*! Timed out waiting for procedural interrupt */    T30_ERR_HDLC_CARRIER,   /*! The HDLC carrier did not stop in a timely manner */    T30_ERR_CANNOT_TRAIN,   /*! Failed to train with any of the compatible modems */    T30_ERR_OPERINTFAIL,    /*! Operator intervention failed */    T30_ERR_INCOMPATIBLE,   /*! Far end is not compatible */    T30_ERR_RX_INCAPABLE,   /*! Far end is not able to receive */    T30_ERR_TX_INCAPABLE,   /*! Far end is not able to transmit */    T30_ERR_NORESSUPPORT,   /*! Far end cannot receive at the resolution of the image */    T30_ERR_NOSIZESUPPORT,  /*! Far end cannot receive at the size of image */    T30_ERR_UNEXPECTED,     /*! Unexpected message received */    /* TIFF file problems */    T30_ERR_FILEERROR,      /*! TIFF/F file cannot be opened */    T30_ERR_NOPAGE,         /*! TIFF/F page not found */    T30_ERR_BADTIFF,        /*! TIFF/F format is not compatible */    /* Phase E status values returned to a transmitter */    T30_ERR_BADDCSTX,       /*! Received bad response to DCS or training */    T30_ERR_BADPGTX,        /*! Received a DCN from remote after sending a page */    T30_ERR_ECMPHDTX,       /*! Invalid ECM response received from receiver */    T30_ERR_T5_EXPIRED,     /*! Timed out waiting for receiver ready (ECM mode) */    T30_ERR_GOTDCNTX,       /*! Received a DCN while waiting for a DIS */    T30_ERR_INVALRSPTX,     /*! Invalid response after sending a page */    T30_ERR_NODISTX,        /*! Received other than DIS while waiting for DIS */    T30_ERR_PHBDEADTX,      /*! Received no response to DCS, training or TCF */    T30_ERR_PHDDEADTX,      /*! No response after sending a page */    /* Phase E status values returned to a receiver */    T30_ERR_ECMPHDRX,       /*! Invalid ECM response received from transmitter */    T30_ERR_GOTDCSRX,       /*! DCS received while waiting for DTC */    T30_ERR_INVALCMDRX,     /*! Unexpected command after page received */    T30_ERR_NOCARRIERRX,    /*! Carrier lost during fax receive */    T30_ERR_NOEOLRX,        /*! Timed out while waiting for EOL (end Of line) */    T30_ERR_NOFAXRX,        /*! Timed out while waiting for first line */    T30_ERR_T2EXPDCNRX,     /*! Timer T2 expired while waiting for DCN */    T30_ERR_T2EXPDRX,       /*! Timer T2 expired while waiting for phase D */    T30_ERR_T2EXPFAXRX,     /*! Timer T2 expired while waiting for fax page */    T30_ERR_T2EXPMPSRX,     /*! Timer T2 expired while waiting for next fax page */    T30_ERR_T2EXPRRRX,      /*! Timer T2 expired while waiting for RR command */    T30_ERR_T2EXPRX,        /*! Timer T2 expired while waiting for NSS, DCS or MCF */    T30_ERR_DCNWHYRX,       /*! Unexpected DCN while waiting for DCS or DIS */    T30_ERR_DCNDATARX,      /*! Unexpected DCN while waiting for image data */    T30_ERR_DCNFAXRX,       /*! Unexpected DCN while waiting for EOM, EOP or MPS */    T30_ERR_DCNPHDRX,       /*! Unexpected DCN after EOM or MPS sequence */    T30_ERR_DCNRRDRX,       /*! Unexpected DCN after RR/RNR sequence */    T30_ERR_DCNNORTNRX,     /*! Unexpected DCN after requested retransmission */    T30_ERR_BADPAGE,        /*! TIFF/F page number tag missing */    T30_ERR_BADTAG,         /*! Incorrect values for TIFF/F tags */    T30_ERR_BADTIFFHDR,     /*! Bad TIFF/F header - incorrect values in fields */    T30_ERR_NODATA,         /*! Data requested is not available (NSF, DIS, DCS) */    T30_ERR_NOMEM,          /*! Cannot allocate memory for more pages */    T30_ERR_NOPOLL,         /*! Poll not accepted */    T30_ERR_RETRYDCN,       /*! Disconnected after permitted retries */    T30_ERR_CALLDROPPED     /*! The call dropped prematurely */};/*!    I/O modes for the T.30 protocol.*/enum{    T30_MODEM_NONE = 0,    T30_MODEM_PAUSE,    T30_MODEM_CED,    T30_MODEM_CNG,    T30_MODEM_V21,    T30_MODEM_V27TER_2400,    T30_MODEM_V27TER_4800,    T30_MODEM_V29_7200,    T30_MODEM_V29_9600,    T30_MODEM_V17_7200,    T30_MODEM_V17_9600,    T30_MODEM_V17_12000,    T30_MODEM_V17_14400,    T30_MODEM_DONE};enum{    T30_FRONT_END_SEND_STEP_COMPLETE = 0,    T30_FRONT_END_SEND_COMPLETE,    /*! The current receive has completed. This is only needed to report an        unexpected end of the receive operation, as might happen with T.38        dying. */    T30_FRONT_END_RECEIVE_COMPLETE,    T30_FRONT_END_SIGNAL_PRESENT,    T30_FRONT_END_SIGNAL_ABSENT};enum{    T30_SUPPORT_V27TER = 0x01,    T30_SUPPORT_V29 = 0x02,    T30_SUPPORT_V17 = 0x04,    T30_SUPPORT_V34 = 0x08,    T30_SUPPORT_IAF = 0x10,

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一级黄色片| 欧美三级中文字| 久久精品免费看| 亚洲国产综合在线| 玉足女爽爽91| 亚洲日韩欧美一区二区在线| 国产精品久久久久影视| 亚洲国产精品精华液ab| www激情久久| 欧美www视频| 欧美日韩国产综合草草| 欧美一二三四区在线| 337p亚洲精品色噜噜狠狠| 制服丝袜日韩国产| 91精品国产欧美日韩| 欧美电视剧在线观看完整版| 日韩一区二区免费在线观看| 日韩一二三区不卡| 精品国内片67194| 国产人久久人人人人爽| 中文字幕日韩一区| 一区二区成人在线| 成人黄色在线网站| 一本色道综合亚洲| 欧美区一区二区三区| 日韩视频在线永久播放| 国产欧美一区在线| 亚洲丝袜另类动漫二区| 亚洲国产视频在线| 另类成人小视频在线| 国产激情偷乱视频一区二区三区| 成人在线综合网| 色婷婷综合五月| 欧美一级理论性理论a| 国产欧美精品一区二区三区四区| 中文字幕欧美区| 亚洲一区二区三区激情| 精品一区二区在线看| 成人黄色在线看| 777a∨成人精品桃花网| 欧美激情中文字幕| 性感美女极品91精品| 国产乱子伦视频一区二区三区 | 亚洲视频免费在线观看| 亚洲午夜在线电影| 国产成人精品一区二区三区四区| 91在线看国产| 欧美不卡视频一区| 一区二区三区中文字幕在线观看| 青青草成人在线观看| www.亚洲激情.com| 欧美一区二区三区在线电影| 国产精品视频在线看| 日韩和的一区二区| 91在线播放网址| 精品三级在线看| 亚洲国产视频直播| 欧美无人高清视频在线观看| 337p日本欧洲亚洲大胆精品| 亚洲午夜三级在线| aaa欧美色吧激情视频| 欧美一区二区三区电影| 一区二区三区在线高清| 国产盗摄一区二区三区| 日韩午夜在线观看| 亚洲国产精品久久不卡毛片| www.亚洲激情.com| 久久久久国产精品厨房| 美女视频黄频大全不卡视频在线播放| 94色蜜桃网一区二区三区| 久久综合狠狠综合| 青青草国产成人av片免费| 欧美日精品一区视频| 1区2区3区精品视频| 成人午夜精品一区二区三区| 精品国产亚洲在线| 男女性色大片免费观看一区二区| 在线免费观看不卡av| 中文字幕一区二区日韩精品绯色| 精品一区二区三区在线视频| 日韩一区二区电影在线| 全国精品久久少妇| 欧美一区二区三区免费| 免费观看30秒视频久久| 日韩午夜电影av| 日本免费新一区视频| 日韩欧美一区二区免费| 麻豆精品国产91久久久久久| 日韩一区二区三区av| 美国毛片一区二区| 欧美精品一区二区三区四区 | 久久婷婷国产综合国色天香| 蜜臀av性久久久久蜜臀av麻豆| 欧美日韩午夜影院| 日韩精品福利网| 日韩区在线观看| 精品在线免费观看| 国产精品色一区二区三区| 播五月开心婷婷综合| 国产精品麻豆久久久| 一本一道波多野结衣一区二区| 亚洲激情五月婷婷| 337p亚洲精品色噜噜| 国产在线精品一区二区三区不卡| 久久久精品影视| 色一情一乱一乱一91av| 午夜精品久久久久久| 2024国产精品| 97精品国产97久久久久久久久久久久| 亚洲品质自拍视频网站| 欧美丰满一区二区免费视频| 久久国产尿小便嘘嘘尿| 中文字幕一区二区三区四区 | 国产精品少妇自拍| 欧美亚洲动漫另类| 麻豆成人在线观看| 17c精品麻豆一区二区免费| 欧美在线free| 国产在线精品国自产拍免费| 亚洲日本中文字幕区| 正在播放亚洲一区| 成人黄色一级视频| 日本vs亚洲vs韩国一区三区| 国产精品久久久久久久久免费桃花 | 久久精品男人天堂av| 色94色欧美sute亚洲线路一ni| 免费观看一级欧美片| 亚洲色图20p| 精品国产成人系列| 精品视频全国免费看| 国产白丝网站精品污在线入口| 亚洲综合色区另类av| 欧美国产一区二区在线观看| 欧美体内she精高潮| 国产酒店精品激情| 日韩成人免费电影| 一区二区欧美视频| 中文字幕一区av| 曰韩精品一区二区| 国产欧美日本一区二区三区| 91精品欧美一区二区三区综合在| 99热99精品| 丁香婷婷综合色啪| 韩国精品一区二区| 免费成人在线影院| 日日摸夜夜添夜夜添精品视频 | 精品影视av免费| 亚洲伊人伊色伊影伊综合网| 亚洲国产精品精华液2区45| 精品久久久久久综合日本欧美 | 丝袜美腿亚洲综合| 亚洲主播在线播放| 夜色激情一区二区| 亚洲精品大片www| 亚洲欧洲成人自拍| 国产精品国产三级国产有无不卡| 久久久亚洲精品石原莉奈| 欧美xxx久久| 日韩久久久精品| 久久综合久色欧美综合狠狠| 日韩无一区二区| 精品少妇一区二区三区视频免付费 | 久久久青草青青国产亚洲免观| 欧美巨大另类极品videosbest | 成人动漫一区二区在线| 欧美日韩成人一区二区| 在线免费观看成人短视频| 91精品福利视频| 欧美午夜视频网站| 欧美日韩免费高清一区色橹橹 | 亚洲精品v日韩精品| 亚洲影院免费观看| 亚洲国产精品自拍| 亚洲线精品一区二区三区 | 欧美在线观看一区| 欧美日韩成人在线一区| 日韩午夜在线播放| 久久久99久久| 中文av一区特黄| 亚洲麻豆国产自偷在线| 一区二区欧美精品| 秋霞午夜鲁丝一区二区老狼| 久久9热精品视频| 高清国产一区二区| 91精彩视频在线观看| 91精品麻豆日日躁夜夜躁| 欧美成人一区二区三区片免费| 久久网这里都是精品| 国产精品久久久久久久岛一牛影视| 中文字幕在线观看不卡| 亚洲第一会所有码转帖| 精品一区二区三区免费毛片爱| 国产成人精品亚洲日本在线桃色| 99久久伊人精品| 宅男在线国产精品| 欧美极品xxx| 亚洲成人激情综合网| 国产一区免费电影| 91国产精品成人| 亚洲精品在线电影|