<dfn id="is4kg"></dfn>
  • <ul id="is4kg"></ul>
  • <abbr id="is4kg"></abbr>
  • <ul id="is4kg"></ul>
    <bdo id="is4kg"></bdo>

    曙海教育集團論壇Win CE 專區Wince技術討論區 → 基于WinCE的視頻采集應用方案


      共有7778人關注過本帖樹形打印

    主題:基于WinCE的視頻采集應用方案

    美女呀,離線,留言給我吧!
    wangxinxin
      1樓 個性首頁 | 博客 | 信息 | 搜索 | 郵箱 | 主頁 | UC


    加好友 發短信
    等級:青蜂俠 帖子:1393 積分:14038 威望:0 精華:0 注冊:2010-11-12 11:08:23
    基于WinCE的視頻采集應用方案  發帖心情 Post By:2010-11-16 11:51:31

       嵌入式系統是一種以應用為中心,以計算機技術為基礎,其軟硬件可配置、可裁減,對功能、可靠性、成本、體積、功耗有嚴格約束的專用計算機系統。它結合了先進的計算機技術、半導體技術、電子技術以及各個行業的具體應用,被看作技術密集、不斷創新的知識集成系統。近幾年來以軟硬件相結合為顯著特征、以消費電子類為主導的智能設備以超乎人們想象的速度獲得了前所未有的發展,與此同時,在工控領域也得到快速發展,在這個過程中,微軟公司也是首當其沖,其推出的Microsoft Windows CE是一個開放的、可裁減的、32位的實時操作系統和其他桌面版窗口操作系統相比,具有可靠性好、實時性高、內核體積小的特點,所以被廣泛用于各種嵌入式智能設備的開發,如工業控制、信息家電、移動通信、個人電子消費品等各個領域,是當今應用最多、增長最快的嵌入式操作系統。

          EM9000 ARM嵌入式主板采用高端的ARM9芯片EP9315,特別針對工控系統中TFT彩色顯示智能終端的應用需求進行了精心的優化設計(同時支持觸摸屏)。作為一款已加載了WinCE工控主板,EM9000嵌入式主板可以支持客戶在其上采用通用的微軟開發工具,如eVC、VS2005,直接進行應用程序的開發,從而以更快的速度把產品推向市場。另一方面,EM9000嵌入式主板的所有通訊接口均配置了標準的WinCE驅動程序,客戶在應用程序開發中并不需要了解EM9000嵌入式主板內部的詳細技術情況,而直接調用WinCE的標準API函數,就可高效快速的操作EM9000的各個通訊接口,有效降低了客戶進行嵌入式系統產品開發的門檻和風險。同時,EM9000作為一款EP9315開發板,內置了協處理器,可以進行復雜的浮點運算,可以運用在需要進行高速復雜運算的特殊場合。

          攝像頭(CAMERA)又稱為電腦相機、電腦眼等,它作為一種視頻輸入設備,被廣泛的運用于個人電腦視頻和實時監控等方面。然而,作為嵌入式的WinCE操作系統卻因為缺少攝像頭的驅動而不能采用這種視頻采集方案。為了更好的服務英創的客戶,經過公司團隊的努力,解決了這個難題,可以為貴公司提供低成本的攝像頭解決方案。

          我們為攝像頭訂制了專門的API函數,提供了使用例程。你可以參照英創提供的例程,迅速編寫出適合自己領域的產品。

          如果有需求,可以來電垂詢,我們將根據你的需求,提供最佳的解決方案。

          表中列出了攝像頭的主要API函數。根據這些API函數就可以很方便的完成視頻采集程序設計。下面列出了主要的API函數和參數說明。

    // Name : capInitCamera
    // Initialize driver and get current available cameras number.
    //Return : The number, of the available cameras, indicates success.
    int capInitCamera(void);

    // Name : capGetCurrentVersion
    // Get the current driver version information.
    // Return : The length, in characters, of the copied string,
    // not including the terminating null character, indicates success.
    int capGetCurrentVersion(
                                              int index,    //[IN] Camera index, 0 - first
                                              insigned char *pBufOut, // [OUT] Long pointer to the buffer that
                                                                                    // will receive the text
                                              int lenOut  // [IN] Specifies the maximum number of characters
                                                                //to copy to the buffer,  including the NULL character.
                                                                // If the text exceeds this limit, it is truncated.
                                              );   

    //Name : capGetVideoFormat
    // Get the current video format.
    //Return : Zero indicates success.
    int capGetVideoFormat(
                                          int index,    // [IN] Camera index
                                          int *pFormat,  // [OUT] Long pointer to the buffer that will receive
                                                                  //the video format, VIDEO_PALETTE_RGB565 -
                                                                  //VIDEO_PALETTE_JPEG
                                          int *pSizeMode //[OUT] Long pointer to the buffer that will receive
                                                                  // the size mode, VIDEO_SIZE_VGA - VIDEO_SIZE_SIF
                                          );

    // Name : capSetVideoFormat
    //Set video format.
    //Return : Zero indicates success.
    int capSetVideoFormat(
                                        int index, // [IN] Camera index
                                        int format,  // [IN] Video format, VIDEO_PALETTE_RGB565 -
                                                          //VIDEO_PALETTE_JPEG
                                        int sizeMode // [IN] Size mode, VIDEO_SIZE_VGA - VIDEO_SIZE_SIF
                                        );

    // Name : capGrabFrame
    // Grab a frame from driver.
    //Return : The length, in bytes, of the copied video frame data, indicates success.
    int capGrabFrame(
                                int index,    // [IN] Camera index
                                unsigned char *pFrameBuf, // [OUT] Long pointer to the buffer that will
                                                                            //receive the video frame
                                unsigned int bufferLen  // [IN] Specifies the maximum number of bytes
                                                                      //to copy to the buffer
                                );

    // Name : capGetLastJpeg
    //Get a last JPEG frame from driver.
    // Return : The length, in bytes, of the copied JPEG frame data, indicates success.
    int capGetLastJpeg(
                                  int index,    // [IN] Camera index
                                  unsigned char *pFrameBuf, // [OUT] Long pointer to the buffer that will
                                                                              //receive the video frame
                                  unsigned int bufferLen  // [IN] Specifies the maximum number of bytes
                                                                        //to copy to the buffer
                                  );

    // Name : capStartCamera
    // Start camera to capture video.
    // Return : Zero indicates success.
    int capStartCamera(
                                    int index  //[IN] Camera index
                                    );

    // Name : capStopCamera
    // Stop camera to capture video.
    // Return : Zero indicates success.
    int capStopCamera(
                                    int index    // [IN] Camera index
                                    );

    // Name : capCloseCamera
    // Close all available camera.
    // Return : Void.
    void capCloseCamera(void);

    // Name : capGetPciture
    // Get a last bitmap and jpeg from driver
    // Return : Zero indicates success.
    int capGetPicture(
                                int index,      // [IN] Camera index
                                unsigned char *pFrameBuf, //[OUT] Long pointer to the buffer that
                                                                            //will receive the video frame
                                unsigned int bufferLen,    //[IN] Size, in bytes, of the buffer pointed
                                                                        //to by pFrameBuf
                                unsigned char *pJpgBuf,    //[OUT] Long pointer to the buffer that
                                                                          //will receive the jpeg picture
                                unsigned int jpgLen,  //[IN] Size, in bytes, of the buffer pointed to
                                                                  //by pJpgBuf
                                PDWORD pdwActualOut //[OUT] Pointer to an array of the return lengths
                                );


    支持(0中立(0反對(0單帖管理 | 引用 | 回復 回到頂部

    返回版面帖子列表

    基于WinCE的視頻采集應用方案








    簽名
    主站蜘蛛池模板: 欧美性受一区二区三区| 97福利视频精品第一导航| 欧美丰满熟妇xxxxx| 午夜在线社区视频| 青青青激情视频在线最新| 在线观看免费污视频| 久久亚洲国产成人亚| 欧美xxxx成人免费网站| 免费看h片的网站| 美妇与子伦亲小说| 国产精品久久久久久福利| 一二三四日本高清社区5| 搡女人真爽免费视频大全| 亚洲制服在线观看| 欧美日韩高清完整版在线观看免费| 含羞草实验研究所入口免费网站直接进入 | 一边摸一边桶一边脱免费视频| 日本人的色道www免费一区| 亚洲国产超清无码专区| 波多野结衣忆青春| 四虎地址8848最新章节| 色欲AV无码一区二区三区| 国产精品久久久久久网站| heisiav1| 小小的日本乱码在线观看免费 | 国产乱人伦偷精品视频下| 黑人巨茎大战俄罗斯美女| 国产色婷婷精品综合在线| 一级毛片免费播放试看60分钟 | 公的大龟慢慢挺进我的体内视频| 色吊丝中文字幕| 国产成人精品免费午夜app| 91短视频在线高清hd| 在线一区免费视频播放| 一级女人18毛片免费| 成人国产精品视频| 久久伊人精品热在75| 日韩亚洲翔田千里在线| 亚洲人成人77777网站| 欧美午夜伦y4480私人影院| 亚洲麻豆精品果冻传媒|