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

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

?? csl_tcp.h

?? JPEG的壓縮算法
?? H
?? 第 1 頁 / 共 2 頁
字號:
/******************************************************************************\
*           Copyright (C) 2000 Texas Instruments Incorporated.
*                           All Rights Reserved
*------------------------------------------------------------------------------
* FILENAME...... csl_tcp.h
* DATE CREATED.. 02/22/2001 
* LAST MODIFIED. 09/17/2001 
*
\******************************************************************************/
#ifndef _CSL_TCP_H_
#define _CSL_TCP_H_

#include <csl_chip.h>   
#include <csl_stdinc.h>
#include <csl_irq.h>
#include "csl_tcphal.h"

#if (TCP_SUPPORT)
/****************************************\
* TCP scope and inline control macros
\****************************************/
#ifdef __cplusplus
#define CSLAPI extern "C" far
#else
#define CSLAPI extern far
#endif

#undef  USEDEFS
#undef  IDECL
#undef  IDEF

#ifdef  _TCP_MOD_
  #define IDECL extern far
  #define USEDEFS
  #define IDEF
#else
  #ifdef  _INLINE
    #define IDECL static inline
    #define USEDEFS
    #define IDEF  static inline
  #else
    #define IDECL extern far
  #endif
#endif

/****************************************\
* TCP global macro declarations
\****************************************/

/****************************************\
* TCP global typedef declarations
\****************************************/
typedef Uint8  TCP_Standard;
typedef Uint8  TCP_Mode;
typedef Uint8  TCP_Map;
typedef Uint8  TCP_Rate;
typedef Uint8  TCP_UserData;
typedef Uint8  TCP_ExtrinsicData;

typedef struct {
   Uint32 ic0;
   Uint32 ic1;
   Uint32 ic2;
   Uint32 ic3;
   Uint32 ic4;
   Uint32 ic5;
   Uint32 ic6;
   Uint32 ic7;
   Uint32 ic8;
   Uint32 ic9;
   Uint32 ic10;
   Uint32 ic11;
} TCP_ConfigIc;

typedef struct {
   TCP_Standard standard;
   TCP_Mode     mode;
   TCP_Map      map;
   TCP_Rate     rate;
   Uint32       intFlag;
   Uint32       outParmFlag;
   Uint32       frameLen;
   Uint32       subFrameLen;
   Uint32       relLen;
   Uint32       relLenLast;
   Uint32       prologSize;
   Uint32       numSubBlock;
   Uint32       numSubBlockLast;
   Uint32       maxIter;
   Uint32       snr;
   Uint32       numInter;
   Uint32       numSysPar;
   Uint32       numApriori;
   Uint32       numExt;
   Uint32       numHd;
} TCP_Params;

typedef struct {
   TCP_Standard standard;
   TCP_Rate     rate;
   Uint16       frameLen;
   Uint8        prologSize;
   Uint8        maxIter;
   Uint8        snr;
   Uint8        intFlag;
   Uint8        outParmFlag;
} TCP_BaseParams;

/************ New structure for Init ***************/
typedef struct {
   TCP_UserData *restrict xabData;
   TCP_Standard standard;
   TCP_Rate     rate;
   Uint16       frameLen;
   Uint8        prologSize;
   Uint8        maxIter;
   Uint8        snr;
   Uint8        intFlag;
   Uint8        outParmFlag;
} TCP_Init;

/****************************************\
* TCP global ants declarations
\****************************************/
#define TCP_RATE_1_2           2
#define TCP_RATE_1_3           3
#define TCP_RATE_1_4           4
#define TCP_MODE_SA            0
#define TCP_MODE_SP            1
#define TCP_MAP_MAP1A          0
#define TCP_MAP_MAP1B          1
#define TCP_MAP_MAP2           3 
#define TCP_STANDARD_3GPP      0
#define TCP_STANDARD_IS2000    1
#define TCP_RLEN_MAX         128
#define TCP_FLEN_MAX        5114
#define TCP_NUM_IC            12
#define TCP_NUM_OP             2

/****************************************\
* TCP global function declarations
\****************************************/

/* Set the ic6-ic9 registers (tails) based on the user data          */
/* TCP_tailConfig calls TCP_tailConfig3GPP() or TCP_tailConfigIs2000 */
/* based on the "standard" parameter value                           */
CSLAPI void TCP_tailConfig(TCP_Standard standard,
                          TCP_Mode mode,
                          TCP_Map map,
                          TCP_Rate rate,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);
CSLAPI void TCP_tailConfig3GPP(TCP_Mode mode,
                          TCP_Map map,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);
CSLAPI void TCP_tailConfigIs2000(TCP_Mode mode,
                          TCP_Map map,
                          TCP_Rate rate,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);

/* Set the Parameters passed via Param structure to ic0-ic5 registers */
/* configIc is the returned config structure of the icx registers */
CSLAPI void TCP_setParams(TCP_Params *restrict configParms,
                          TCP_ConfigIc *restrict configIc);

/* Set all icx registers :                                     */ 
/* configPrams input parameters dedicated to ic0-ic5 registers */
/* xabData input parameters dedicated to set ic6-ic11 registers (tails */
/* configIc is the returned config structure of the icx registers */
CSLAPI void TCP_genIc(TCP_Params *restrict configParms,
                          TCP_UserData *restrict xabData,
                          TCP_ConfigIc *restrict configIc);

/* Divide the data frames into subframes and subblocks.                     */
/* The values calculated in these routines are entered into the configParms */
/* struct and are used in programming the TCP IC values and the EDMA        */
/* parameters. Either TCP_calcSubBlocks3GPP or TCP_calcSubBlocksIs2000 is   */
/* used depending on the standard.                                          */
CSLAPI void TCP_calcSubBlocksSA(TCP_Params *configParms);

CSLAPI Uint32 TCP_calcSubBlocksSP(TCP_Params *configParms);

/* Fill out the necessary TCP parameters.                                   */
CSLAPI Uint32 TCP_genParams(TCP_BaseParams *configBase,
                          TCP_Params *configParms);


/*** Init parameters and set registers **********/
void TCP_init(TCP_Init *Init);
void TCP_tailInit3GPP(TCP_Mode mode, TCP_Map map,TCP_UserData *restrict xabData);
void TCP_tailInitIs2000(TCP_Mode mode,TCP_Map map,TCP_Rate rate,TCP_UserData *restrict xabData);

/* Calculate the count values (number of 32-bit words) required for the     */
/* programming of the EDMA for all data buffers. The counts calculated      */
/* using either TCP_calcCounts3GPP or TCP_calcCountsIs2000 depending on the */
/* standard.                                                                */
CSLAPI void TCP_calcCountsSA(TCP_Params *configParms);

CSLAPI void TCP_calcCountsSP(TCP_Params *configParms);

/* Interleave the extrinsics data to give the apriori data required for the */
/* subsequent MAP decoding. TCP_interleaveExt is performed by the CPU       */
/* following a MAP1 decoding by the TCP. This function is used in shared    */
/* processing mode only.                                                    */
CSLAPI void TCP_interleaveExt(TCP_ExtrinsicData *restrict aprioriMap2, 
                          const TCP_ExtrinsicData *restrict extrinsicsMap1, 
                          const Uint16 *restrict interleaverTable, 
                          Uint32  numExt);

/* De-interleave the extrinsics data to give the apriori data required for  */
/* the subsequent MAP decoding. TCP_deinterleaveExt is performed by the CPU */
/* following a MAP2 decoding by the TCP. This function is used in shared    */
/* processing mode only.                                                    */
CSLAPI void TCP_deinterleaveExt(TCP_ExtrinsicData *restrict aprioriMap1, 
                          const TCP_ExtrinsicData *restrict extrinsicsMap2, 
                          const Uint16 *restrict interleaverTable, 
                          Uint32  numExt);

/* Calculate hard decisions following all MAP decodings in shared processing*/
/* mode.                                                                    */
CSLAPI void TCP_calculateHd(const TCP_ExtrinsicData *restrict extrinsicsMap1, 
                          const TCP_ExtrinsicData *restrict apriori, 
                          const TCP_UserData *restrict channel_data, 
                          Uint32 *restrict hardDecisions,
                          Uint16 numExt,
                          Uint8  rate);

/* Demultiplex the input data into two "working data" buffers. The two new  */
/* data buffers are used separately for MAP 1 and MAP 2 decodings in shared */
/* processing mode.                                                         */
CSLAPI void TCP_demuxInput(Uint32 rate,
                          Uint32 frameLen,
                          const TCP_UserData *restrict input,
                          const Uint16 *restrict interleaver,
                          TCP_ExtrinsicData *restrict nonInterleaved,
                          TCP_ExtrinsicData *restrict interleaved);
                          
/****************************************\
* TCP inline function declarations
\****************************************/

/* Master transfer functions */
IDECL void   TCP_start();
IDECL void   TCP_pause();
IDECL void   TCP_unpause();

IDECL Uint32 TCP_getNumIt();
IDECL Uint32 TCP_getSysParEndian();
IDECL Uint32 TCP_getIinterEndian();
IDECL Uint32 TCP_getAaprioriEndian();
IDECL Uint32 TCP_getExtEndian();

IDECL void   TCP_setNativeEndian();
IDECL void   TCP_setPacked32Endian();
IDECL void   TCP_setSysParEndian(Uint32 sysParEnd);
IDECL void   TCP_setInterEndian(Uint32 interEnd);
IDECL void   TCP_setAprioriEndian(Uint32 aprioriEnd);
IDECL void   TCP_setExtEndian(Uint32 extEnd);

IDECL Uint32 TCP_statPause();
IDECL Uint32 TCP_statRun();
IDECL Uint32 TCP_statError();
IDECL Uint32 TCP_statWaitIC();
IDECL Uint32 TCP_statWaitInter();
IDECL Uint32 TCP_statWaitSysPar();
IDECL Uint32 TCP_statWaitApriori();
IDECL Uint32 TCP_statWaitExt();
IDECL Uint32 TCP_statWaitHardDec();
IDECL Uint32 TCP_statWaitOutParm();

IDECL Uint32 TCP_errTest();
IDECL Uint32 TCP_getFrameLenErr();
IDECL Uint32 TCP_getProlLenErr();
IDECL Uint32 TCP_getRateErr();
IDECL Uint32 TCP_getSubFrameErr();
IDECL Uint32 TCP_getModeErr();
IDECL Uint32 TCP_getRelLenErr();
IDECL Uint32 TCP_getLastRelLenErr();
IDECL Uint32 TCP_getInterleaveErr();
IDECL Uint32 TCP_getOutParmErr();
IDECL Uint32 TCP_getAccessErr();


/* Set all the TCP registers : ic0-ic11 using a configuration structure  */
IDECL void TCP_icConfig(TCP_ConfigIc *config);

/* Set all the TCP registers : ic0-ic11 with register values   */
IDECL void TCP_icConfigArgs(Uint32 ic0, Uint32 ic1, Uint32 ic2,  Uint32 ic3,
                            Uint32 ic4, Uint32 ic5, Uint32 ic6,  Uint32 ic7,
                            Uint32 ic8, Uint32 ic9, Uint32 ic10, Uint32 ic11);
/* Get TCP registers : ic0-ic11 returned into a configuration structure  */
IDECL void TCP_getIcConfig(TCP_ConfigIc *config);

/* Build the tail value */
IDECL Uint32 TCP_makeTailArgs(Uint8 byte31_24, Uint8 byte23_16,
                              Uint8 byte15_8,  Uint8 byte7_0);

/* Ceiling functions */
IDECL Uint32 TCP_ceil(Uint32 a, Uint32 b);

IDECL Uint32 TCP_normalCeil(Uint32 a, Uint32 b);

/****************************************\
* TCP inline function definitions
\****************************************/
#ifdef USEDEFS
/*----------------------------------------------------------------------------*/
IDEF void TCP_start(){
   TCP_FSET(EXE,START,1);  
}
/*----------------------------------------------------------------------------*/
IDEF void TCP_pause(){
  TCP_FSET(EXE,PAUSE,1);
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产视频一区二区在线| 日韩中文字幕麻豆| 福利电影一区二区| 精品粉嫩超白一线天av| 精品一区二区三区免费视频| 欧美精品一区男女天堂| 风间由美一区二区三区在线观看| 欧美经典一区二区| 久久综合国产精品| 欧美高清性hdvideosex| 欧美日韩在线三级| 国产日韩欧美激情| 99精品欧美一区二区三区综合在线| 国产精品久久久久久一区二区三区| av一区二区不卡| 亚洲午夜久久久久久久久久久 | 国产嫩草影院久久久久| 成人免费视频免费观看| 亚洲激情欧美激情| 日韩一二三区视频| 国产不卡免费视频| 亚洲高清一区二区三区| 337p日本欧洲亚洲大胆精品| 国产精品77777| 亚洲国产毛片aaaaa无费看 | 日本高清不卡一区| 人人精品人人爱| 国产精品私房写真福利视频| 精品视频一区二区不卡| 国产精品亚洲专一区二区三区| 国产精品第四页| 欧美一区二区黄色| 99久精品国产| 麻豆精品国产传媒mv男同| 最新久久zyz资源站| 欧美人与性动xxxx| 成人一级黄色片| 亚洲影视资源网| 精品国产伦一区二区三区免费| 91视频在线看| 黄一区二区三区| 亚洲超碰97人人做人人爱| 精品日韩av一区二区| 91在线视频免费观看| 免费在线看成人av| 亚洲欧美福利一区二区| 国产精品丝袜91| 3751色影院一区二区三区| 91在线观看污| 国产成人在线免费| 人人狠狠综合久久亚洲| 亚洲精品一二三| 国产精品九色蝌蚪自拍| 欧美va亚洲va香蕉在线 | 91麻豆精品久久久久蜜臀| 91在线你懂得| 国产福利91精品一区二区三区| 免费人成网站在线观看欧美高清| 一区二区三区国产| 日韩一区中文字幕| 国产精品麻豆久久久| 久久嫩草精品久久久久| 精品国产青草久久久久福利| 欧美色精品在线视频| 91国产丝袜在线播放| 99麻豆久久久国产精品免费| 久久综合九色综合97婷婷女人 | 日韩一区二区三区观看| 99久久精品国产导航| 国产在线播放一区二区三区| 日韩国产欧美一区二区三区| 亚洲国产日产av| 亚洲一区精品在线| 亚洲一区二区三区美女| 亚洲色图丝袜美腿| 亚洲女同女同女同女同女同69| 日韩专区一卡二卡| 亚洲国产精品久久人人爱| 一区二区在线观看免费视频播放| 国产精品久久午夜夜伦鲁鲁| 日本一区二区不卡视频| 国产精品久久久久四虎| 中文字幕免费不卡| 亚洲欧洲综合另类在线| 一区二区三区精密机械公司| 一区二区三区四区中文字幕| 91丝袜美女网| 亚洲欧美另类久久久精品| 亚洲三级在线免费观看| 亚洲精品一二三区| 亚洲成av人片| 久久99精品久久久久久久久久久久 | 蜜桃视频免费观看一区| 老司机午夜精品| 国产一区二区福利| 国产91精品免费| 色综合夜色一区| 欧美美女一区二区| 精品精品欲导航| 国产亚洲人成网站| 成人免费小视频| 亚洲高清视频中文字幕| 久久精品国产一区二区| 国产成人亚洲综合色影视| a4yy欧美一区二区三区| 色偷偷一区二区三区| 日韩一区二区三区免费看 | 国产a久久麻豆| 色天使久久综合网天天| 91麻豆精品国产91久久久更新时间| 日韩欧美国产综合一区| 欧美激情在线看| 亚洲图片自拍偷拍| 极品美女销魂一区二区三区免费| 国产成人精品亚洲日本在线桃色| 99久久er热在这里只有精品15| 91精品免费在线| 国产精品网曝门| 日韩在线卡一卡二| 成人免费黄色大片| 日韩一区二区视频| 自拍视频在线观看一区二区| 亚洲国产婷婷综合在线精品| 日韩三级视频中文字幕| 国产精品进线69影院| 首页国产丝袜综合| 波多野结衣的一区二区三区| 欧美人牲a欧美精品| 中文字幕一区二区三区不卡 | 亚洲成人资源网| 国产九色sp调教91| 欧美日韩中字一区| 国产亚洲一二三区| 日本欧美在线看| 一本大道综合伊人精品热热| 精品久久久久久久久久久久包黑料| 最好看的中文字幕久久| 国产成人午夜高潮毛片| 91精品国产色综合久久不卡电影 | 久久99久久久欧美国产| 色综合久久久久久久久| 欧美成人午夜电影| 性久久久久久久久久久久| 99热这里都是精品| 久久久久久一级片| 免费高清在线视频一区·| 色综合色狠狠综合色| 日本一区二区成人| 精东粉嫩av免费一区二区三区| 欧美日韩一区在线观看| 亚洲三级在线免费| 成人久久久精品乱码一区二区三区| 欧美xfplay| 久久精品国产精品亚洲红杏| 欧美性猛交xxxxxxxx| 一区二区三区四区中文字幕| 一本色道a无线码一区v| 国产精品久久久久久久久免费相片 | 夜夜揉揉日日人人青青一国产精品| www.欧美色图| 国产欧美一区二区精品性| 精品综合免费视频观看| 欧美一区二区视频网站| 天天操天天综合网| 欧美疯狂做受xxxx富婆| 亚洲午夜国产一区99re久久| 色域天天综合网| 一区二区在线观看免费| 91官网在线免费观看| 亚洲激情欧美激情| 欧美婷婷六月丁香综合色| 亚洲图片欧美色图| 欧美日韩久久不卡| 丝袜诱惑亚洲看片| 欧美一区二区三区免费视频 | 蜜桃视频一区二区三区在线观看| 欧美日韩精品一区二区三区 | 蜜臀av一区二区三区| 日韩一区二区在线免费观看| 久久国产精品露脸对白| 久久日韩精品一区二区五区| 国产高清精品久久久久| 中文字幕一区免费在线观看| 99视频一区二区| 亚洲高清免费在线| 日韩三级高清在线| 国产精品资源在线| 亚洲欧洲99久久| 在线免费观看日韩欧美| 亚洲伦在线观看| 亚洲一区二区精品视频| 午夜电影一区二区三区| 7777精品伊人久久久大香线蕉最新版| 日韩高清一区在线| 久久综合色婷婷| 本田岬高潮一区二区三区| 亚洲一区欧美一区| 欧美精品一区二区三区蜜桃| 99久久精品国产麻豆演员表| 日韩精品成人一区二区三区|