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


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

主題:李現路: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圖像位置移動與變形的典型算法(二)








簽名
主站蜘蛛池模板: 色聚网久久综合| 久久免费的精品国产V∧| 91老湿机福利免费体验| 爱豆传媒视频在线网址最新| 性欧美18一19sex性高清播放| 欧美xxxx做受欧美| 国产精品天干天干综合网| 亚洲成a人一区二区三区| 91中文字幕在线| 欧美亚洲综合在线| 国产男女视频在线观看| 亚洲av无码码潮喷在线观看| 欧美另类精品xxxx人妖换性 | 99热99操99射| 欧美黑人巨大xxxxxxxx| 国产网站在线看| 亚洲国产精品无码久久久蜜芽| 永久看日本大片免费35分钟| 欧美18性精品| 国产孕妇做受视频在线观看| 久久久久久久99精品国产片| 美女张开腿让男人桶爽国产| 孕妇被迫张开腿虐孕| 亚洲高清中文字幕| 3d玉蒲团之极乐宝鉴| 最近国语免费看| 国产乱女乱子视频在线播放| 丝瓜app免费下载网址进入ios| 第三种爱情免费完整版观看| 国模无码视频一区二区三区| 亚洲另类春色国产精品| 黄在线观看在线播放720p| 无限看片在线版免费视频大全| 又污又爽又黄的网站| bbw巨大丰满xxxx| 欧美怡红院免费全部视频| 国产在线精品二区赵丽颖| 中文国产日韩欧美视频| 狠狠综合亚洲综合亚洲色| 国产精品亚洲综合天堂夜夜| 久久免费小视频|