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

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

?? mv2idx_kc.i

?? H.264完整的C語(yǔ)言代碼和DCT的代碼
?? I
字號(hào):
#line 1 "D:\\working\\im_apps\\h264\\mv2idx_kc.cpp"
#line 1 "D:/working/tools/isim/isimexe/blank_headers\\idb_kernelc.hpp"








#line 2 "D:\\working\\im_apps\\h264\\mv2idx_kc.cpp"
#line 1 "D:\\working\\im_apps\\h264\\mpeg.hpp"




#line 1 "D:/working/tools/isim/isimexe/blank_headers\\idb_types.hpp"













#line 6 "D:\\working\\im_apps\\h264\\mpeg.hpp"
#line 1 "D:/working/tools/isim/isimexe/blank_headers\\idb_deftypes.hpp"




#line 7 "D:\\working\\im_apps\\h264\\mpeg.hpp"



#decl idxGen(ostream<uint>   indices,
              uc<int>&        uc_size,
              uc<int>&        uc_params);
;


#decl icolor(istream<ubyte4> datain,
              ostream<half2> Yout,
              ostream<half2> CrCbout);
;


#decl pcolor(istream<ubyte4> datain,
              ostream<ubyte4> Yout,
              ostream<half2> CrCbout);
;


#decl dct(istream<half2> datain,
           istream<uhalf2> consts,
           ostream<half2> out,
           uc<uhalf2>& uc_quantizer_scale);
;


#decl idct(istream<half2> datain,
            istream<uhalf2> consts,
            ostream<half2> out,
            uc<half2>& uc_quantizer_scale);
;


#decl rle(istream<half2> Yin,
           istream<half2> CrCbin,
           istream<int> indices,
           cistream<half2> motion,
           costream<half2> out,
           uc<uint>& pframe,
           uc<uint>& quant_scale);
;


#decl difference(istream<ubyte4> curryblks,
                  istream<half2> currcblks,
                  istream<ubyte4> refyblks,
                  istream<half2> refcblks,
                  ostream<half2> diffyblks,
                  ostream<half2> diffcblks);
;


#decl correlate(istream<half2> diffyblks,
                 istream<half2> diffcblks,
                 istream<ubyte4> refyblks,
                 istream<half2> refcblks,
                 ostream<ubyte4> newrefyblks,
                 ostream<half2> newrefcblks,
                 uc<uint>& uc_pframe);
;


#decl MV2idx(cistream<half2> motion,      
              ostream<uint>   yindices,    
              ostream<uint>   crcbindices, 
              uc<int>&        uc_offsets,  
              uc<int>&        uc_mblks,    
              uc<int>&        uc_mb_width);
;




#decl mb_encode(istream<byte4> datain,
                 istream<half2> consts,
                 ostream<half2> color_out,
                 ostream<half2> dct_out,
                 costream<int> out);
;





#decl me_fast(istream<ubyte4> row0,
               istream<ubyte4> row1,
               istream<ubyte4> row2,
               istream<ubyte4> mblocks,
               costream<half2> motions_out,
               ostream<ubyte4> refyblks,
               ostream<uint>   crcbindices,
               uc<int>& uc_margin,
               uc<int>& uc_offsets,
               uc<int>& uc_mblks,
               uc<int>& uc_mb_width);
;


#decl me_fast_search4(istream<ubyte4> row0,
                       istream<ubyte4> row1,
                       istream<ubyte4> row2,
                       istream<ubyte4> mblocks,
                       costream<half2> motions_out,
                       uc<int>& uc_margin,
                       uc<int>& uc_mblks);
;


#decl me_fast_jitter2(istream<ubyte4> row0,
                       istream<ubyte4> row1,
                       istream<ubyte4> row2,
                       istream<ubyte4> mblocks,
                       cistream<half2> motions_in,
                       costream<half2> motions_out,
                       uc<int>& uc_margin,
                       uc<int>& uc_mblks);
;


#decl me_fast_jitter1(istream<ubyte4> row0,
                       istream<ubyte4> row1,
                       istream<ubyte4> row2,
                       istream<ubyte4> mblocks,
                       cistream<half2> motions_in,
                       costream<half2> motions_out,
                       ostream<ubyte4> refyblks,
                       ostream<uint>   crcbindices,
                       uc<int>& uc_margin,
                       uc<int>& uc_offsets,
                       uc<int>& uc_mblks,
                       uc<int>& uc_mb_width);
;






#line 1 "D:/working/tools/isim/isimexe/blank_headers\\idb_undeftypes.hpp"




#line 148 "D:\\working\\im_apps\\h264\\mpeg.hpp"

#line 150 "D:\\working\\im_apps\\h264\\mpeg.hpp"
#line 3 "D:\\working\\im_apps\\h264\\mv2idx_kc.cpp"
#line 1 "D:/working/tools/isim/isimexe/blank_headers\\idb_kernelc2.hpp"






#line 4 "D:\\working\\im_apps\\h264\\mv2idx_kc.cpp"

;



kernel MV2idx(cistream<half2> motion,      
              ostream<uint>   yindices,    
              ostream<uint>   crcbindices, 
              uc<int>&        uc_offsets,  
              uc<int>&        uc_mblks,    
              uc<int>&        uc_mb_width) 
{
  uint fetchaddress;
  uint fetchx, fetchy;
  int yrefx, yrefy;
  int crefx, crefy;

  uint yout0, yout1, yout2, yout3, yout4, yout5, yout6, yout7;
  uint cout0, cout1, cout2, cout3, cout4, cout5, cout6, cout7;

  int offsets    = commclperm(0x8, 0, uc_offsets);
  int xoffset    = offsets & 0xffff;
  int yoffset    = shift(offsets, -16);
  uint mb_width  = uint(commclperm(0x8, 0, uc_mb_width));
  uint rowlen    = shift(mb_width, 2);
  uint crowlen   = shift(mb_width, 6);

  yrefx = xoffset;
  yrefy = yoffset + cid();

  crefx = shift(xoffset, -1) + cid();
  crefy = shift(yoffset, -1);


  
  byte4 unpackmv = 0x57571302; 
                               

  cc ccin = itocc (cid() == 0);
  cc ccend = itocc(0);

  

  half2 dxdy, bestval;
  loop_count(uc_mblks) pipeline(1) {
    
    double<half2> dxdy2;
    int dx, dy;

    motion(ccin, ccend) >> dxdy >> bestval;

    
    dxdy = shifta(dxdy, -1);

    
    dxdy = commclperm(0, dxdy);
    dxdy2 = shuffled(dxdy, unpackmv);
    dx = int(hi(dxdy2));
    dy = int(lo(dxdy2));

    
    fetchx = uint(yrefx + dx);
    fetchy = uint(yrefy + dy);

    expand<uint> fetchxoffsets(4), fetchyoffsets(8);

    fetchyoffsets[0] = shift(lo(shift(fetchy, -4) * rowlen), 4)
      + (fetchy & 0xf);
    fetchy = fetchy + 8;
    fetchyoffsets[1] = shift(lo(shift(fetchy, -4) * rowlen), 4)
      + (fetchy & 0xf);

    fetchxoffsets[0] = shift(shift(fetchx, -4), 6)
      + shift(shift(fetchx & 0xf, -2), 4);
    fetchx = fetchx + 4;
    fetchxoffsets[1] = shift(shift(fetchx, -4), 6)
      + shift(shift(fetchx & 0xf, -2), 4);
    fetchx = fetchx + 4;
    fetchxoffsets[2] = shift(shift(fetchx, -4), 6)
      + shift(shift(fetchx & 0xf, -2), 4);
    fetchx = fetchx + 4;
    fetchxoffsets[3] = shift(shift(fetchx, -4), 6)
      + shift(shift(fetchx & 0xf, -2), 4);

    yout0 = fetchyoffsets[0] + fetchxoffsets[0];
    yout1 = fetchyoffsets[1] + fetchxoffsets[0];
    yout2 = fetchyoffsets[0] + fetchxoffsets[1];
    yout3 = fetchyoffsets[1] + fetchxoffsets[1];
    yout4 = fetchyoffsets[0] + fetchxoffsets[2];
    yout5 = fetchyoffsets[1] + fetchxoffsets[2];
    yout6 = fetchyoffsets[0] + fetchxoffsets[3];
    yout7 = fetchyoffsets[1] + fetchxoffsets[3];

    yindices << yout0 << yout1 << yout2 << yout3;
    yindices << yout4 << yout5 << yout6 << yout7;

    
    
    
    dx = dx + select(itocc(dx < 0), 1, 0);
    dy = dy + select(itocc(dy < 0), 1, 0);
    fetchx = uint(crefx + shifta(int(dx), -1));
    fetchy = uint(crefy + shifta(int(dy), -1));

    uint fetchxoffset = shift(shift(fetchx, -3), 6) + (fetchx & 0x7);

    fetchyoffsets[0] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[1] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[2] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[3] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[4] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[5] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[6] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);
    fetchy = fetchy + 1;
    fetchyoffsets[7] = lo(shift(fetchy, -3) * crowlen)
      + shift(fetchy & 0x7, 3);

    cout0 = fetchxoffset + fetchyoffsets[0];
    cout1 = fetchxoffset + fetchyoffsets[1];
    cout2 = fetchxoffset + fetchyoffsets[2];
    cout3 = fetchxoffset + fetchyoffsets[3];
    cout4 = fetchxoffset + fetchyoffsets[4];
    cout5 = fetchxoffset + fetchyoffsets[5];
    cout6 = fetchxoffset + fetchyoffsets[6];
    cout7 = fetchxoffset + fetchyoffsets[7];

    crcbindices << cout0 << cout1 << cout2 << cout3;
    crcbindices << cout4 << cout5 << cout6 << cout7;

    yrefx = yrefx + 16;
    crefx = crefx + 8;
  }

  cc always = itocc( 0xffffffff );

  loop_until_any(ccend) {
    motion( always, ccend) >> dxdy >> bestval;
  }
}

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91在线视频免费观看| 国产精品久久久久影院老司| eeuss鲁片一区二区三区| 另类调教123区 | 99精品欧美一区二区三区小说| 99这里都是精品| 欧美午夜电影网| 欧美xxxxxxxxx| 亚洲人成网站影音先锋播放| 午夜私人影院久久久久| 久久精品国产亚洲a| 国产91富婆露脸刺激对白| 一本高清dvd不卡在线观看| 56国语精品自产拍在线观看| 久久蜜臀中文字幕| 亚洲最新视频在线播放| 精品一区二区三区在线观看国产| 成人小视频在线观看| 欧美精品在线一区二区三区| 久久久久久久久久美女| 亚洲国产日韩综合久久精品| 国产另类ts人妖一区二区| 在线亚洲高清视频| 久久精品亚洲麻豆av一区二区| 一区二区三区免费在线观看| 久久er精品视频| 欧美在线视频你懂得| 久久久99精品免费观看不卡| 亚洲成人久久影院| 粉嫩一区二区三区性色av| 欧美日韩一区高清| 中文字幕中文乱码欧美一区二区 | 6080国产精品一区二区| 日韩伦理电影网| 国产一区美女在线| 日本韩国精品在线| 国产精品午夜电影| 美女脱光内衣内裤视频久久网站 | 一区二区三区四区高清精品免费观看| 精品一区二区免费在线观看| 在线观看不卡视频| 亚洲国产岛国毛片在线| 精品一区二区三区影院在线午夜| 在线观看91视频| 国产精品毛片a∨一区二区三区| 捆绑调教一区二区三区| 91视频免费观看| 欧美午夜电影网| 亚洲丝袜美腿综合| 国产精品一二三在| 精品乱人伦小说| 奇米精品一区二区三区四区| 欧美日韩国产一二三| 亚洲人成网站影音先锋播放| 成人av资源在线| 国产午夜精品福利| 九九九精品视频| 欧美一区日本一区韩国一区| 亚洲国产精品久久艾草纯爱| 色婷婷精品久久二区二区蜜臀av | 国产·精品毛片| 26uuu国产电影一区二区| 免费观看日韩电影| 91精品国产综合久久福利软件| 亚洲一区二区三区中文字幕在线| 99国产精品久久久久久久久久久| 中文子幕无线码一区tr| 国产a视频精品免费观看| 26uuu久久天堂性欧美| 精品影院一区二区久久久| 欧美电视剧在线观看完整版| 免费不卡在线视频| 日韩一级免费观看| 蜜桃视频在线观看一区| 欧美一区二区福利在线| 日本不卡视频在线| 欧美大片一区二区| 狠狠色狠狠色综合系列| 久久久久久99精品| 国产成人精品免费一区二区| 国产亚洲精品超碰| 懂色av中文一区二区三区| 久久先锋影音av| 成人视屏免费看| 国产精品二三区| 欧美在线一二三| 天天影视色香欲综合网老头| 日韩亚洲欧美在线观看| 久久99精品国产麻豆婷婷洗澡| 精品奇米国产一区二区三区| 国产精品99精品久久免费| 欧美挠脚心视频网站| 中文字幕在线不卡一区二区三区 | 国产精品色哟哟网站| 91亚洲永久精品| 亚洲狠狠爱一区二区三区| 欧美日韩国产天堂| 免费成人深夜小野草| 久久久蜜桃精品| 色网站国产精品| 婷婷丁香久久五月婷婷| 久久综合中文字幕| 成人中文字幕在线| 最新热久久免费视频| 欧美三片在线视频观看| 久久狠狠亚洲综合| 中文字幕av一区 二区| 一本到三区不卡视频| 污片在线观看一区二区| 欧美精品一区二区在线观看| 北条麻妃一区二区三区| 亚洲国产aⅴ成人精品无吗| 欧美大黄免费观看| 成人av一区二区三区| 亚洲图片欧美视频| 久久久99久久| 欧美性淫爽ww久久久久无| 韩国视频一区二区| 亚洲天堂久久久久久久| 3atv一区二区三区| 国产精品一区免费视频| 一区二区激情视频| 欧美v亚洲v综合ⅴ国产v| 99麻豆久久久国产精品免费优播| 亚洲成人自拍网| 国产亚洲一本大道中文在线| 欧美亚洲动漫另类| 国产高清久久久久| 天天综合天天做天天综合| 国产欧美在线观看一区| 欧美乱妇15p| 9i在线看片成人免费| 麻豆视频一区二区| 亚洲激情男女视频| 久久一留热品黄| 欧美人体做爰大胆视频| 成人在线视频首页| 日韩激情一区二区| 亚洲欧美国产毛片在线| 精品卡一卡二卡三卡四在线| 在线免费观看一区| 成人污视频在线观看| 日韩免费看的电影| eeuss鲁片一区二区三区在线观看| 青青草原综合久久大伊人精品优势| 国产精品成人免费在线| 26uuu亚洲综合色欧美| 欧美日韩一区二区在线观看| av一二三不卡影片| 久久99国产精品成人| 视频一区二区不卡| 亚洲桃色在线一区| 中文字幕不卡在线观看| 日韩欧美国产综合在线一区二区三区| 色婷婷一区二区三区四区| 国产91精品精华液一区二区三区| 美国av一区二区| 香蕉成人伊视频在线观看| 亚洲精品老司机| 国产精品成人网| 国产精品区一区二区三区| 精品福利一区二区三区免费视频| 欧美精品在线视频| 在线视频一区二区三区| 色综合久久久久综合99| 国产91丝袜在线播放九色| 国内外精品视频| 免费观看日韩av| 日本欧美在线观看| 亚洲一区二区黄色| 亚洲综合色自拍一区| 亚洲四区在线观看| 中文字幕一区二区三区av| 国产精品每日更新在线播放网址| 久久久精品黄色| 久久新电视剧免费观看| 久久综合久久综合亚洲| 日韩精品一区二| 日韩欧美一区二区免费| 日韩一区二区视频| 91精品国产91久久久久久最新毛片| 欧美日韩一区二区在线观看视频| 欧美亚洲精品一区| 欧美视频一区在线| 欧美私模裸体表演在线观看| 91福利精品视频| 欧美在线视频你懂得| 欧美亚洲丝袜传媒另类| 欧美视频三区在线播放| 美女视频免费一区| 日本不卡不码高清免费观看| 麻豆传媒一区二区三区| 麻豆精品在线视频| 国产呦萝稀缺另类资源| 国产精品99久久久久久宅男| 成人综合在线视频| 91亚洲精品乱码久久久久久蜜桃| 99久久精品国产麻豆演员表| 91福利国产成人精品照片| 欧美精品久久99久久在免费线|