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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? avc_bin.c

?? 支持各種柵格圖像和矢量圖像讀取的庫(kù)
?? C
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
    /* Set unused members to default values...     */    psTxt->dV2     = 0.0;    psTxt->dV3     = 0.0;    psTxt->n28      = 0;    for(i=0; i<20; i++)    {        psTxt->anJust1[i] = 0;        psTxt->anJust2[i] = 0;    }    return 0;}/********************************************************************** *                          AVCBinReadNextTxt() * * Read the next TXT/TX6/TX7 structure from the file. * * Returns a pointer to a static AVCTxt structure whose contents will be * valid only until the next call or NULL if an error happened or if EOF * was reached.   **********************************************************************/AVCTxt *AVCBinReadNextTxt(AVCBinFile *psFile){    int nStatus = 0;    if ((psFile->eFileType != AVCFileTXT && psFile->eFileType != AVCFileTX6) ||        AVCRawBinEOF(psFile->psRawBinFile) )    {        return NULL;    }    /* AVCCoverPC have a different TXT format than AVCCoverV7     *     * Note: Some Weird coverages use the PC TXT structure, and some use the     *       V7 structure.  We distinguish them using the header's precision     *       field in AVCBinReadRewind().     */    if (psFile->eFileType == AVCFileTXT &&        (psFile->eCoverType == AVCCoverPC ||         psFile->eCoverType == AVCCoverWeird) )    {            /* TXT file in PC Coverages (and some Weird Coverages)         */        nStatus = _AVCBinReadNextPCCoverageTxt(psFile->psRawBinFile,                                                psFile->cur.psTxt,                                               psFile->nPrecision);    }    else    {           /* TXT in V7 Coverages (and some Weird Coverages), and TX6/TX7 in          * all coverage types         */        nStatus = _AVCBinReadNextTxt(psFile->psRawBinFile, psFile->cur.psTxt,                                     psFile->nPrecision);    }    if (nStatus != 0)    {        return NULL;    }    return psFile->cur.psTxt;}/*===================================================================== *                              RXP *====================================================================*//********************************************************************** *                          _AVCBinReadNextRxp() * * (This function is for internal library use... external calls should * go to AVCBinReadNextRxp() instead) * * Read the next RXP (Region something...) structure from the file. * * Returns 0 on success or -1 on error. **********************************************************************/int _AVCBinReadNextRxp(AVCRawBinFile *psFile, AVCRxp *psRxp,                        int nPrecision){    psRxp->n1  = AVCRawBinReadInt32(psFile);    if (AVCRawBinEOF(psFile))        return -1;    psRxp->n2  = AVCRawBinReadInt32(psFile);    return 0;}/********************************************************************** *                          AVCBinReadNextRxp() * * Read the next RXP structure from the file. * * Returns a pointer to a static AVCRxp structure whose contents will be * valid only until the next call or NULL if an error happened or if EOF * was reached.   **********************************************************************/AVCRxp *AVCBinReadNextRxp(AVCBinFile *psFile){    if (psFile->eFileType != AVCFileRXP ||        AVCRawBinEOF(psFile->psRawBinFile) ||        _AVCBinReadNextRxp(psFile->psRawBinFile, psFile->cur.psRxp,                           psFile->nPrecision) !=0)    {        return NULL;    }    return psFile->cur.psRxp;}/*===================================================================== *                         NATIVE (V7.x) TABLEs * * Note: Also applies to AVCCoverWeird *====================================================================*//********************************************************************** *                          _AVCBinReadNextArcDir() * * (This function is for internal library use... external calls should * go to AVCBinReadOpen() with type AVCFileTABLE instead) * * Read the next record from an arc.dir (or "arcdr9") file. * * Note that arc.dir files have no header... they start with the * first record immediately. * * Returns 0 on success or -1 on error. **********************************************************************/int _AVCBinReadNextArcDir(AVCRawBinFile *psFile, AVCTableDef *psArcDir){    int i;    /* Arc/Info Table name      */    AVCRawBinReadString(psFile, 32, psArcDir->szTableName);    psArcDir->szTableName[32] = '\0';    if (AVCRawBinEOF(psFile))        return -1;    /* "ARC####" basename for .DAT and .NIT files     */    AVCRawBinReadString(psFile, 8, psArcDir->szInfoFile);    psArcDir->szInfoFile[7] = '\0';    for (i=6; i>0 && psArcDir->szInfoFile[i]==' '; i--)        psArcDir->szInfoFile[i] = '\0';    psArcDir->numFields = AVCRawBinReadInt16(psFile);    psArcDir->nRecSize  = AVCRawBinReadInt16(psFile);    AVCRawBinFSeek(psFile, 18, SEEK_CUR);     /* Skip 18 bytes */        psArcDir->bDeletedFlag = AVCRawBinReadInt16(psFile);    psArcDir->numRecords = AVCRawBinReadInt32(psFile);    AVCRawBinFSeek(psFile, 10, SEEK_CUR);     /* Skip 10 bytes */        AVCRawBinReadBytes(psFile, 2, psArcDir->szExternal);    psArcDir->szExternal[2] = '\0';    AVCRawBinFSeek(psFile, 300, SEEK_CUR);  /* Skip the remaining 300 bytes */    return 0;}/********************************************************************** *                          _AVCBinReadNextNit() * * (This function is for internal library use... external calls should * go to AVCBinReadOpen() with type AVCFileTABLE instead) * * Read the next record from an arc####.nit file. * * Note that arc####.nit files have no header... they start with the * first record immediately. * * Returns 0 on success or -1 on error. **********************************************************************/int _AVCBinReadNextArcNit(AVCRawBinFile *psFile, AVCFieldInfo *psField){    AVCRawBinReadString(psFile, 16, psField->szName);    psField->szName[16] = '\0';    if (AVCRawBinEOF(psFile))        return -1;    psField->nSize     = AVCRawBinReadInt16(psFile);    psField->v2        = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    psField->nOffset   = AVCRawBinReadInt16(psFile);    psField->v4        = AVCRawBinReadInt16(psFile);  /* Always 4 ?  */    psField->v5        = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    psField->nFmtWidth = AVCRawBinReadInt16(psFile);    psField->nFmtPrec  = AVCRawBinReadInt16(psFile);    psField->nType1    = AVCRawBinReadInt16(psFile);    psField->nType2    = AVCRawBinReadInt16(psFile);  /* Always 0 ? */    psField->v10       = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    psField->v11       = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    psField->v12       = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    psField->v13       = AVCRawBinReadInt16(psFile);  /* Always -1 ? */    AVCRawBinReadString(psFile, 16, psField->szAltName);   /* Always Blank ? */    psField->szAltName[16] = '\0';    AVCRawBinFSeek(psFile, 56, SEEK_CUR);             /* Skip 56 bytes */        psField->nIndex    = AVCRawBinReadInt16(psFile);    AVCRawBinFSeek(psFile, 28, SEEK_CUR);  /* Skip the remaining 28 bytes */    return 0;}/********************************************************************** *                          _AVCBinReadGetInfoFilename() * * Look for the DAT or NIT files for a given table... returns TRUE if * they exist, or FALSE otherwise. * * If pszRetFnmae/pszRetNitFile != NULL then the filename with full path  * will be copied to the specified buffer. **********************************************************************/GBool _AVCBinReadGetInfoFilename(const char *pszInfoPath,                                  const char *pszBasename,                                 const char *pszDatOrNit,                                 AVCCoverType eCoverType,                                 char *pszRetFname){    GBool       bFilesExist = FALSE;    char        *pszBuf = NULL;    VSIStatBuf  sStatBuf;    if (pszRetFname)        pszBuf = pszRetFname;    else        pszBuf = (char*)CPLMalloc((strlen(pszInfoPath)+strlen(pszBasename)+10)*                                  sizeof(char));    if (eCoverType == AVCCoverWeird)    {        sprintf(pszBuf, "%s%s%s", pszInfoPath, pszBasename, pszDatOrNit);    }    else    {        sprintf(pszBuf, "%s%s.%s", pszInfoPath, pszBasename, pszDatOrNit);    }    AVCAdjustCaseSensitiveFilename(pszBuf);    if (VSIStat(pszBuf, &sStatBuf) == 0)        bFilesExist = TRUE;    if (eCoverType == AVCCoverWeird && !bFilesExist)    {        /* In some cases, the filename can be truncated to 8 chars         * and we end up with "ARC000DA"... check that possibility.         */        pszBuf[strlen(pszBuf)-1] = '\0';        AVCAdjustCaseSensitiveFilename(pszBuf);        if (VSIStat(pszBuf, &sStatBuf) == 0)            bFilesExist = TRUE;    }    if (pszRetFname == NULL)        CPLFree(pszBuf);    return bFilesExist;}/********************************************************************** *                          _AVCBinReadInfoFilesExist() * * Look for the DAT and NIT files for a given table... returns TRUE if * they exist, or FALSE otherwise. * * If pszRetDatFile/pszRetNitFile != NULL then the .DAT and .NIT filename * without the info path will be copied to the specified buffers. **********************************************************************/GBool _AVCBinReadInfoFileExists(const char *pszInfoPath,                                 const char *pszBasename,                                AVCCoverType eCoverType){    return (_AVCBinReadGetInfoFilename(pszInfoPath, pszBasename,                                        "dat", eCoverType, NULL) == TRUE &&            _AVCBinReadGetInfoFilename(pszInfoPath, pszBasename,                                        "nit", eCoverType, NULL) == TRUE);}/********************************************************************** *                          AVCBinReadListTables() * * Scan the arc.dir file and return stringlist with one entry for the * Arc/Info name of each table that belongs to the specified coverage. * Pass pszCoverName = NULL to get the list of all tables. * * ppapszArcDatFiles if not NULL will be set to point to a stringlist * with the corresponding "ARC????" info file basenames corresponding * to each table found. * * Note that arc.dir files have no header... they start with the * first record immediately. * * In AVCCoverWeird, the file is called "arcdr9" * * Returns a stringlist that should be deallocated by the caller * with CSLDestroy(), or NULL on error. **********************************************************************/char **AVCBinReadListTables(const char *pszInfoPath, const char *pszCoverName,                            char ***ppapszArcDatFiles, AVCCoverType eCoverType,                            AVCDBCSInfo *psDBCSInfo){    char              **papszList = NULL;    char               *pszFname;    char                szNameToFind[33] = "";    int                 nLen;    AVCRawBinFile      *hFile;    AVCTableDef         sEntry;    if (ppapszArcDatFiles)        *ppapszArcDatFiles = NULL;    /*-----------------------------------------------------------------      * All tables that belong to a given coverage have their name starting     * with the coverage name (in uppercase letters), followed by a 3      * letters extension.     *----------------------------------------------------------------*/    if (pszCoverName != NULL)        sprintf(szNameToFind, "%-.28s.", pszCoverName);    nLen = strlen(szNameToFind);    /*-----------------------------------------------------------------      * Open the arc.dir and add all entries that match the criteria     * to our list.     * In AVCCoverWeird, the file is called "arcdr9"     *----------------------------------------------------------------*/    pszFname = (char*)CPLMalloc((strlen(pszInfoPath)+9)*sizeof(char));    if (eCoverType == AVCCoverWeird)        sprintf(pszFname, "%sarcdr9", pszInfoPath);    else        sprintf(pszFname, "%sarc.dir", pszInfoPath);    AVCAdjustCaseSensitiveFilename(pszFname);    hFile = AVCRawBinOpen(pszFname, "r", AVC_COVER_BYTE_ORDER(eCoverType),                          psDBCSInfo);    if (hFile)    {        while (!AVCRawBinEOF(hFile) &&               _AVCBinReadNextArcDir(hFile, &sEntry) == 0)        {            if (/* sEntry.numRecords > 0 && (DO NOT skip empty tables) */                !sEntry.bDeletedFlag &&    

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美电影一区二区| 日韩欧美精品三级| 蜜臀va亚洲va欧美va天堂| 国产精品女上位| 欧美日韩精品系列| 成人精品免费网站| 视频在线在亚洲| 亚洲少妇中出一区| 精品处破学生在线二十三| 精品视频1区2区3区| 成人av网址在线| 精品一区精品二区高清| 亚洲成人手机在线| 亚洲精品国产无天堂网2021| 亚洲国产精品t66y| 久久综合色婷婷| 欧美一区二区精品久久911| 91免费国产在线| 成人av资源站| 国产精品1024| 国产一区二区三区在线看麻豆| 亚洲成av人影院在线观看网| 亚洲激情自拍偷拍| 亚洲国产精品激情在线观看| 久久九九影视网| 日韩欧美www| 日韩欧美国产综合| 欧美一级免费观看| 91.xcao| 欧美日韩精品一二三区| 欧美性三三影院| 欧美亚洲国产一区二区三区 | 一区二区三区影院| 国产精品电影院| 中文字幕乱码亚洲精品一区| 久久久国产精品麻豆 | 亚洲影视在线观看| 亚洲女同一区二区| 一区二区三区日韩欧美精品| 亚洲三级免费电影| 亚洲青青青在线视频| 亚洲欧洲国产专区| 亚洲欧美综合网| 亚洲免费大片在线观看| 亚洲一区二区在线免费看| 亚洲精品久久久蜜桃| 一区二区三区国产| 亚洲国产精品欧美一二99| 亚洲第一福利一区| 日本三级亚洲精品| 免费一级欧美片在线观看| 另类小说视频一区二区| 精品亚洲欧美一区| 国产精品一区2区| 99久久婷婷国产综合精品| 91在线观看美女| 欧美色涩在线第一页| 9191精品国产综合久久久久久| 欧美电影免费观看高清完整版在线观看 | 国产91在线|亚洲| 成人午夜视频网站| 91丨porny丨中文| 欧美色中文字幕| 日韩视频免费直播| 国产日韩精品视频一区| 亚洲日本va午夜在线影院| 一区二区三区四区视频精品免费| 日韩av一区二区在线影视| 国产一区二区在线看| 成人成人成人在线视频| 欧美写真视频网站| 亚洲精品在线电影| 国产精品第一页第二页第三页| 亚洲精品视频在线观看网站| 免费人成精品欧美精品 | 56国语精品自产拍在线观看| 日韩女优电影在线观看| 国产精品成人一区二区三区夜夜夜| 亚洲6080在线| 国产精品中文欧美| 欧亚洲嫩模精品一区三区| 日韩精品一区二区三区视频在线观看| 国产色产综合色产在线视频| 一区二区三区视频在线看| 精品一区二区三区视频在线观看| 91最新地址在线播放| 91精品欧美综合在线观看最新| 久久久久久久综合狠狠综合| 亚洲男人都懂的| 极品美女销魂一区二区三区 | 国产在线视频精品一区| 色哦色哦哦色天天综合| 日韩精品综合一本久道在线视频| 亚洲日穴在线视频| 国产美女主播视频一区| 91国内精品野花午夜精品| 久久先锋影音av鲁色资源网| 亚洲午夜激情av| 成人高清免费观看| 日韩精品在线一区| 亚洲成a人在线观看| 99热国产精品| 精品成人佐山爱一区二区| 日日骚欧美日韩| 日本黄色一区二区| 国产精品美女视频| 国产综合一区二区| 91精品国产入口| 亚洲国产精品久久久久婷婷884 | 亚洲男人电影天堂| 成人午夜电影久久影院| 日韩你懂的电影在线观看| 亚洲一卡二卡三卡四卡五卡| 91麻豆国产福利精品| 国产清纯美女被跳蛋高潮一区二区久久w | 国产精品嫩草影院av蜜臀| 久久99这里只有精品| 欧美日韩国产高清一区二区| 一区二区三区四区五区视频在线观看 | 丁香桃色午夜亚洲一区二区三区| 这里是久久伊人| 图片区日韩欧美亚洲| 欧洲精品一区二区| 亚洲欧美激情一区二区| jvid福利写真一区二区三区| 国产欧美在线观看一区| 精久久久久久久久久久| 日韩精品一区二区在线观看| 视频一区欧美日韩| 51精品视频一区二区三区| 五月天国产精品| 欧美精品丝袜中出| 亚洲成av人片在线| 91精品国产乱码| 秋霞电影网一区二区| 欧美一区在线视频| 日本成人在线网站| 欧美一卡二卡三卡| 久久99久久99| 91精品国产手机| 日韩高清不卡在线| 欧美高清视频不卡网| 日日摸夜夜添夜夜添精品视频 | 亚洲欧美在线高清| 97成人超碰视| 亚洲午夜激情av| 欧美理论电影在线| 日日骚欧美日韩| 26uuu精品一区二区| 国产大片一区二区| ...xxx性欧美| 欧美日韩免费高清一区色橹橹| 亚洲亚洲精品在线观看| 91精品国产综合久久久久久| 老色鬼精品视频在线观看播放| 精品剧情v国产在线观看在线| 国产一区二区三区四| 中文字幕中文在线不卡住| 欧美亚洲日本一区| 六月丁香综合在线视频| 久久综合久色欧美综合狠狠| 99这里只有久久精品视频| 亚洲一区二三区| 欧美大度的电影原声| 成人激情综合网站| 一区二区高清视频在线观看| 日韩午夜电影在线观看| 国产老肥熟一区二区三区| 亚洲日本成人在线观看| 91精品午夜视频| 欧美视频在线不卡| 免费观看久久久4p| 国产精品乱码妇女bbbb| 欧美日韩国产电影| 国产酒店精品激情| 亚洲精品国产成人久久av盗摄| 欧美电影影音先锋| 成人免费精品视频| 婷婷综合另类小说色区| 国产亚洲污的网站| 在线视频欧美区| 经典三级在线一区| 亚洲乱码中文字幕| 精品女同一区二区| 在线免费观看不卡av| 久久99国产精品久久| 亚洲欧美日韩一区二区三区在线观看| 欧美一区二区播放| av一二三不卡影片| 免费成人在线视频观看| ●精品国产综合乱码久久久久| 欧美一区二区三区性视频| 成人性生交大片免费| 日本sm残虐另类| 亚洲免费观看视频| 久久日韩精品一区二区五区| 欧美三级韩国三级日本一级| 成人国产精品视频| 国产一区视频网站| 三级久久三级久久久|