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

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

?? csl_tcp.h

?? mpeg2_encoder為MPEG2算法的DEMO
?? 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一区二区三区免费野_久草精品视频
国产原创一区二区| 国产人妖乱国产精品人妖| 国产福利91精品一区| 亚洲国产中文字幕| 亚洲午夜免费电影| 一区二区三区国产精品| 一区二区日韩av| 亚洲黄一区二区三区| 亚洲精品免费在线| 爽好久久久欧美精品| 热久久一区二区| 精品一区二区三区视频在线观看| 久久99久久99精品免视看婷婷 | 精品少妇一区二区三区| 欧美一二三四区在线| 欧美不卡视频一区| 国产日产精品1区| 一区二区成人在线| 久久99精品久久只有精品| 国产不卡在线一区| 欧美羞羞免费网站| 日韩欧美资源站| 中文字幕亚洲成人| 天天av天天翘天天综合网| 久久精品国产**网站演员| 国产suv精品一区二区6| 97久久超碰精品国产| 欧美日韩大陆在线| 久久网站最新地址| 亚洲欧美成人一区二区三区| 日韩丝袜情趣美女图片| 国产黄色精品视频| 国产91色综合久久免费分享| 精品国产青草久久久久福利| 中日韩av电影| 亚瑟在线精品视频| 国产精品77777竹菊影视小说| 成人app软件下载大全免费| 天天综合色天天| 成人精品免费看| 91精品国产欧美一区二区18 | 欧美中文字幕一区二区三区| 色香蕉久久蜜桃| 欧美美女黄视频| 国产午夜亚洲精品羞羞网站| 亚洲丶国产丶欧美一区二区三区| 韩国av一区二区| 欧美性一级生活| 国产精品无遮挡| 精品无人区卡一卡二卡三乱码免费卡 | 91精品国产高清一区二区三区蜜臀| 日韩三级高清在线| 一区二区三区 在线观看视频| 毛片av一区二区三区| 91丝袜高跟美女视频| 久久久99精品免费观看不卡| 日本不卡一二三区黄网| 日本韩国一区二区三区视频| 日韩欧美成人一区| www一区二区| 亚洲裸体xxx| 国产经典欧美精品| 日韩视频一区二区三区| 亚洲一区在线观看免费观看电影高清 | 欧美一级xxx| 亚洲综合色自拍一区| 成人免费黄色在线| 欧美精品一区二区三区蜜臀| 青青草国产成人av片免费| 精品视频免费看| 亚洲国产日日夜夜| 欧美中文字幕不卡| 一区二区三区在线免费视频| 成人黄色在线看| 91精品91久久久中77777| 精品国产91亚洲一区二区三区婷婷| 亚洲精品日产精品乱码不卡| 大白屁股一区二区视频| 精品日韩99亚洲| 五月激情综合网| 欧美视频三区在线播放| 一二三四区精品视频| 欧美性感一类影片在线播放| 一区二区三区免费网站| 欧美性大战久久久久久久蜜臀| 亚洲综合色自拍一区| 欧美亚洲日本一区| 亚洲欧美电影一区二区| 91黄视频在线观看| 亚洲超丰满肉感bbw| 欧美一区二区三区的| 蓝色福利精品导航| 精品盗摄一区二区三区| 亚洲国产欧美在线人成| 国产精品三级av| 风流少妇一区二区| 中文字幕在线观看一区| 在线观看av不卡| 老司机精品视频在线| 久久久不卡网国产精品二区| 成人久久视频在线观看| 亚洲一区二区在线免费看| 91精品国产综合久久久久久久久久| 精品一区精品二区高清| 中文字幕一区二区三| 欧美日韩一级二级三级| 国精品**一区二区三区在线蜜桃| 国产精品久久久久久福利一牛影视 | 激情都市一区二区| 亚洲欧美日韩在线不卡| 日韩欧美视频一区| 91在线视频播放地址| 欧美一区二区在线视频| 亚洲综合无码一区二区| 日韩一级黄色大片| fc2成人免费人成在线观看播放 | 欧美美女bb生活片| 国产激情一区二区三区桃花岛亚洲| 亚洲理论在线观看| 久久久久久久久伊人| 欧洲精品视频在线观看| 国产一区欧美日韩| 亚洲va国产天堂va久久en| 久久日韩粉嫩一区二区三区| 欧美系列一区二区| 99精品欧美一区二区三区小说| 美日韩一级片在线观看| 亚洲免费三区一区二区| 国产午夜亚洲精品理论片色戒| 91精品国产综合久久久蜜臀图片| 99久久亚洲一区二区三区青草 | 久久婷婷国产综合国色天香 | 三级影片在线观看欧美日韩一区二区| 2023国产精品| 在线不卡的av| 欧美午夜精品理论片a级按摩| 粉嫩嫩av羞羞动漫久久久| 日韩va亚洲va欧美va久久| 亚洲男同1069视频| 国产精品美女久久久久久| 久久亚洲一区二区三区明星换脸| 欧美久久一二三四区| 91成人国产精品| 99这里只有久久精品视频| 国产a区久久久| 丰满少妇久久久久久久| 丁香另类激情小说| 国产成人久久精品77777最新版本| 蜜桃视频一区二区三区 | 毛片不卡一区二区| 日本中文字幕不卡| 热久久免费视频| 视频一区二区三区中文字幕| 亚洲一区二区在线视频| 一区二区三区丝袜| 亚洲一区二区三区视频在线| 一区二区三区视频在线看| 一区二区三区久久久| 亚洲久本草在线中文字幕| 亚洲精品国产第一综合99久久 | 日韩一二在线观看| 91精品国产乱| 精品久久国产字幕高潮| 精品黑人一区二区三区久久| 久久色在线观看| 欧美国产一区在线| 亚洲精品乱码久久久久久黑人 | 精品一区二区久久| 国产一区二区日韩精品| 成人h动漫精品一区二| 91浏览器在线视频| 在线成人午夜影院| 国产片一区二区| 亚洲婷婷国产精品电影人久久| 一区二区三区在线视频观看| 青椒成人免费视频| 成人免费三级在线| 色婷婷久久久综合中文字幕| 欧美三级电影一区| 精品国产三级电影在线观看| 中文字幕欧美国产| 亚洲国产成人av| 国产寡妇亲子伦一区二区| 91亚洲资源网| 91精品国产高清一区二区三区 | 久久99国产精品麻豆| fc2成人免费人成在线观看播放| 欧美日韩精品系列| 久久―日本道色综合久久| 一区二区三区自拍| 国产精品538一区二区在线| 色婷婷狠狠综合| 久久综合狠狠综合| 亚洲午夜私人影院| 国产精品中文字幕欧美| 欧美吻胸吃奶大尺度电影| 国产亚洲成av人在线观看导航| 亚洲综合区在线| 成人免费高清视频| 日韩亚洲欧美高清|