曙海教育集團論壇DSP專區DSP系統和硬件開發討論區 → 李現路:DSP6000圖像位置移動與變形的典型算法(二)


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

主題:李現路:DSP6000圖像位置移動與變形的典型算法(二)

客人(124.78.*.*)
  1樓


李現路:DSP6000圖像位置移動與變形的典型算法(二)  發帖心情 Post By:2009-12-3 13:47:53

  李現路:DSP6000圖像位置移動與變形的典型算法(四)

 

 

     (void *)(disYbuffer + (numPixels>>1) + (numLines-1-i) * numPixels),

         numPixels>>1);

                 

             /*傳送Cb緩沖區*/

             //前半部分為原始圖像

             DAT_copy((void *)(capCbbuffer + i * (numPixels >> 1)),

                      (void *)(disCbbuffer + i * (numPixels >> 1)),

                      numPixels>>2);

             //后半部分為垂直鏡像圖像

        DAT_copy((void *)(capCbbuffer + i * (numPixels >> 1)),

                 (void *)(disCbbuffer + (numPixels>>2) + (numLines-1-i) * (numPixels >> 1)),

                 numPixels>>2);                                     

                     

                     

                   /*傳送Cr緩沖區*/

                   //前半部分為原始圖像

             DAT_copy((void *)(capCrbuffer + i * (numPixels >> 1)),

                      (void *)(disCrbuffer + i * (numPixels >> 1)),

                      numPixels>>2);

             //后半部分為垂直鏡像圖像        

             DAT_copy((void *)(capCrbuffer + i * (numPixels >> 1)),

                      (void *)(disCrbuffer + (numPixels>>2) + (numLines-1-i) * (numPixels >> 1)),

                      numPixels>>2);                        

          }     

          

          

         /*啟動顯示模塊*/

         bt656_display_start(vpHchannel1);

         /*建立顯示的實時循環*/

         for(;;)

         {

                   /*當采集區的數據已經采集好,而顯示緩沖區的數據已空*/

                   if((capNewFrame == 1)&&(disNewFrame == 1))

                   {

                            /*將數據裝入顯示緩沖區,并清采集完成的標志*/

                            capNewFrame =0;

                            disNewFrame =0;

                            for(i=0;i<numLines;i++)

                            {

                                 /*傳送Y緩沖區*/

                                 //前半部分為原始圖像

                                     DAT_copy((void *)(capYbuffer + i * numPixels),

                                         (void *)(disYbuffer + i * numPixels),

                                         numPixels>>1);

                                     //后半部分為垂直鏡像圖像

                                     DAT_copy((void *)(capYbuffer + i * numPixels),

                      (void *)(disYbuffer + (numPixels>>1) + (numLines-1-i) * numPixels),

                      numPixels>>1);

                              

                                /*傳送Cb緩沖區*/

                                //前半部分為原始圖像

                                DAT_copy((void *)(capCbbuffer + i * (numPixels >> 1)),

                                         (void *)(disCbbuffer + i * (numPixels >> 1)),

                                         numPixels>>2);

                                //后半部分為垂直鏡像圖像

                           DAT_copy((void *)(capCbbuffer + i * (numPixels >> 1)),

                                    (void *)(disCbbuffer + (numPixels>>2) + (numLines-1-i) * (numPixels >> 1)),

                                    numPixels>>2);                                     

                                        

                                        

                                     /*傳送Cr緩沖區*/

                                     //前半部分為原始圖像

                                DAT_copy((void *)(capCrbuffer + i * (numPixels >> 1)),

                                         (void *)(disCrbuffer + i * (numPixels >> 1)),

                                         numPixels>>2);

                                //后半部分為垂直鏡像圖像        

                                DAT_copy((void *)(capCrbuffer + i * (numPixels >> 1)),

                                         (void *)(disCrbuffer + (numPixels>>2) + (numLines-1-i) * (numPixels >> 1)),

                                         numPixels>>2);                        

                             }

                   }

         }       

}

[此貼子已經被作者于2009-12-3 13:51:45編輯過]

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

返回版面帖子列表

李現路:DSP6000圖像位置移動與變形的典型算法(二)








簽名
主站蜘蛛池模板: yjsp妖精视频网站| 99精品偷自拍| 啊灬啊别停灬用力啊岳| 果冻传媒在线观看播放绿野仙踪| eeuss免费影院| 凹凸在线无码免费视频| 小猪视频免费网| 精品久久久久久国产| chinese乱子伦xxxx视频播放 | 宝贝过来趴好张开腿让我看看| 黑白禁区在线观看免费版| 免费中文字幕在线观看| 日韩精品视频在线观看免费| 33333在线亚洲| 人妻人人澡人人添人人爽| 好男人www社区| 精品国产理论在线观看不卡| 久久亚洲色一区二区三区| 国产三级电影在线播放| 无码人妻丰满熟妇区毛片18 | xx00动态图| 久久国产免费一区二区三区| 国产丰满麻豆videossexhd| 戍人视频fc2最近一周| 狠狠色欧美亚洲狠狠色www| 91麻豆精品在线观看| 亚洲av无码专区在线播放| 国产在线91精品入口| 成人免费看www网址入口| 特级av毛片免费观看| 手机在线观看你懂的| 久久久受www免费人成| 午夜无遮挡羞羞漫画免费| 国产视频福利在线| 日本电影在线观看免费影院| 美国发布站精品视频| 4虎永免费最新永久免费地址| 久久精品国产一区二区三区肥胖| 四虎影视大全免费入口| 国产网站在线看| 成视频年人黄网站免费视频|