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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? compressor.vhd

?? enkoder jpeg - very good
?? VHD
?? 第 1 頁 / 共 5 頁
字號:
      end if;         result := ('0' & UNum) * ('0' & Prod);      if Num(Num'High) = '1' then --negative result         result := (not result) + 1; --2's Complement      end if;      return result(24 downto 0);	end MultiplierQ;      function Mult_Columns (Line : in std_logic_vector) return std_logic_vector;   	function Mult_Columns (Line : in std_logic_vector) return std_logic_vector is		variable result : std_logic_vector(12 downto 0);	begin      result := "0000000000000" + (Line & "00000000") + (Line & "000000") + (Line & "00000");		return result; --with Line max=1111, the max. result will be=1010010100000 (12..0)	end Mult_Columns;   function Mult_Half_Columns (Line : in std_logic_vector) return std_logic_vector;   	function Mult_Half_Columns (Line : in std_logic_vector) return std_logic_vector is		variable result : std_logic_vector(10 downto 0);	begin      result := "00000000000" + (Line & "0000000") + (Line & "00000") + (Line & "0000");		return result; --with Line max=111, the max. result will be=10011010000 (10..0)	end Mult_Half_Columns;        function GetCategory (Coef : in std_logic_vector) return integer;      --function fixed to work under ModelSim by Peter Eisemann      function GetCategory (Coef : in std_logic_vector) return integer is         --tells us the category of the coefficient (AC and DC) based on a "sign-less" version of itself!         variable Coeff : std_logic_vector(Coef'High downto 0);         variable result: integer := 0;      begin         if Coef(Coef'High) = '1' then            Coeff := (not Coef) + 1;         else            Coeff := Coef;         end if;            categoryloop:for index in Coeff'range loop            if Coeff(index) = '1' then               -- return (index + 1);  Eim               result := (index +1);               exit categoryloop when Coeff(index) = '1';            end if;            end loop categoryloop;                        return result;   end GetCategory;      --   function GetCategory (Coef : in std_logic_vector) return integer;--   --   function GetCategory (Coef : in std_logic_vector) return integer is--      --tells us the category of the coefficient (AC and DC) based on a "sign-less" version of itself!--      variable Coeff : std_logic_vector(Coef'High downto 0);--   begin--      if Coef(Coef'High) = '1' then--         Coeff := (not Coef) + 1;--      else--        Coeff := Coef;--      end if;   --      for index in Coeff'range loop--         if Coeff(index) = '1' then--            return (index + 1);--        end if;   --      end loop;               --      return 0;--   end GetCategory;         function AppendHuffmanWord (HuffmanWord, Code : in std_logic_vector; Pos : in integer) return std_logic_vector;      function AppendHuffmanWord (HuffmanWord, Code : in std_logic_vector; Pos : in integer) return std_logic_vector is      variable result : std_logic_vector(22 downto 0);      begin      result := HuffmanWord;      for i in (Code'length-1) downto 0 loop        result(Pos-i) := Code(i); --Code(Code'length-1-i); --MSB first!!        --IMPORTANT: the std_logic_vector is "to", not "downto", that's why the MSB is opposite as usual      end loop;         return result;   end AppendHuffmanWord;   --this function is an overload with Code as std_logic (used when it must only append the sign)   function AppendHuffmanWord (HuffmanWord : in std_logic_vector; Code : in std_logic; Pos : in integer) return std_logic_vector;      function AppendHuffmanWord (HuffmanWord : in std_logic_vector; Code : in std_logic; Pos : in integer) return std_logic_vector is      variable result : std_logic_vector(22 downto 0);   begin      result := HuffmanWord;      result(Pos) := Code;            return result;   end AppendHuffmanWord;      --this one is to define the MSB of Code in case it is not length-1, so that CodeLength is the new length-1   function AppendHuffmanWordL (HuffmanWord, Code : in std_logic_vector; CodeLength : in integer; Pos : in integer) return std_logic_vector;      function AppendHuffmanWordL (HuffmanWord, Code : in std_logic_vector; CodeLength : in integer; Pos : in integer) return std_logic_vector is      variable result : std_logic_vector(22 downto 0);   begin      result := HuffmanWord;      for i in Code'length downto 0 loop         if i < CodeLength then --this may look redundant but it avoids an "unbound loop" error            result(Pos-i) := Code(CodeLength-1-i); --careful! here bit 0 is the LSB, X-File         end if;         end loop;         return result;   end AppendHuffmanWordL;         function To_std_logicvpor11(ZeroRun : in integer) return std_logic_vector;      function To_std_logicvpor11(ZeroRun : in integer) return std_logic_vector is      --returns the integer times 11 in a std_logic_vector(8 downto 0)   begin      case ZeroRun is         when 0 =>            return "000000000";         when 1 =>            return "000001011";         when 2 =>            return "000010110";         when 3 =>            return "000100001";         when 4 =>            return "000101100";         when 5 =>            return "000110111";         when 6 =>            return "001000010";         when 7 =>            return "001001101";         when 8 =>            return "001011000";         when 9 =>            return "001100011";         when 10 =>            return "001101110";         when 11 =>            return "001111001";         when 12 =>            return "010000100";         when 13 =>            return "010001111";         when 14 =>            return "010011010";         when others => --15 =>            return "010100101"; --165      end case;   end To_std_logicvpor11;         function To_std_logicv(Cat : in integer) return std_logic_vector;      function To_std_logicv(Cat : in integer) return std_logic_vector is   begin      case Cat is         when 0 =>            return "0000";         when 1 =>            return "0001";         when 2 =>            return "0010";         when 3 =>            return "0011";         when 4 =>            return "0100";         when 5 =>            return "0101";         when 6 =>            return "0110";         when 7 =>            return "0111";         when 8 =>            return "1000";         when 9 =>            return "1001";         when others => -- 10 => there won't be 11 because we only use it for AC            return "1010";      end case;            end To_std_logicv;      function GetMagnitude (Coef : in std_logic_vector; Cat : in integer) return std_logic_vector;      function GetMagnitude (Coef : in std_logic_vector; Cat : in integer) return std_logic_vector is   begin      case Cat is         when 0 =>            return "000000000000"; --we avoid this case with an if because it wouldn't be correct         when 1 =>            return "000000000000"; --we avoid this case with an if because it wouldn't be correct         when 2 =>            return (Coef - "10");         when 3 =>            return (Coef - "100");         when 4 =>            return (Coef - "1000");         when 5 =>            return (Coef - "10000");         when 6 =>            return (Coef - "100000");         when 7 =>            return (Coef - "1000000");         when 8 =>            return (Coef - "10000000");         when 9 =>            return (Coef - "100000000");         when 10 =>            return (Coef - "1000000000");         when others => --11 =>            return (Coef - "10000000000");      end case;   end GetMagnitude;         function CompressDC(Cat : in integer; LumaBlock : in std_logic) return std_logic_vector;      function CompressDC(Cat : in integer; LumaBlock : in std_logic) return std_logic_vector is      variable result : std_logic_vector(14 downto 0) := (others => '0');   begin --the four MSBs of result keep the number of the MSB bit of the data in the LSBs      if LumaBlock = '1' then --compress with DC Luminance Table         case Cat is            when 0 =>               result := "000100000000000";            when 1 =>               result := "001000000000010";            when 2 =>               result := "001000000000011";            when 3 =>               result := "001000000000100";            when 4 =>               result := "001000000000101";            when 5 =>               result := "001000000000110";            when 6 =>               result := "001100000001110";            when 7 =>               result := "010000000011110";            when 8 =>               result := "010100000111110";            when 9 =>               result := "011000001111110";            when 10 =>               result := "011100011111110";            when others => --11               result := "100000111111110";         end case;      else --DC chrominance table         case Cat is            when 0 =>               result := "000100000000000";            when 1 =>               result := "000100000000001";            when 2 =>               result := "000100000000010";            when 3 =>               result := "001000000000110";            when 4 =>               result := "001100000001110";            when 5 =>               result := "010000000011110";            when 6 =>               result := "010100000111110";            when 7 =>               result := "011000001111110";            when 8 =>               result := "011100011111110";            when 9 =>               result := "100000111111110";            when 10 =>               result := "100101111111110";            when others => --11               result := "101011111111110";         end case;      end if;   

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
粉嫩aⅴ一区二区三区四区| 亚洲风情在线资源站| 国产精品一区二区你懂的| 欧美精品一区二区三区四区| 麻豆高清免费国产一区| 久久综合99re88久久爱| 国产成人精品www牛牛影视| 国产女同互慰高潮91漫画| 高清不卡在线观看av| 日韩久久一区二区| 精品视频免费看| 日韩高清欧美激情| 久久女同性恋中文字幕| 成人动漫精品一区二区| 一区二区在线观看不卡| 欧美一区二区免费| 成人自拍视频在线观看| 亚洲欧美日韩国产综合| 91精品国产综合久久久久久久 | 91小视频在线免费看| 亚洲免费观看高清| 欧美一级高清大全免费观看| 国产69精品久久久久777| 亚洲主播在线播放| 国产色一区二区| 色94色欧美sute亚洲线路二| 久久精品国产99| 自拍偷拍亚洲综合| 精品盗摄一区二区三区| jizzjizzjizz欧美| 日本欧美韩国一区三区| 中文字幕亚洲一区二区av在线| 欧美视频在线一区| 国产**成人网毛片九色| 日韩高清不卡在线| 综合色中文字幕| 久久欧美中文字幕| 6080午夜不卡| 91麻豆蜜桃一区二区三区| 久久精品国产澳门| 午夜伊人狠狠久久| 国产精品福利电影一区二区三区四区| 欧美日韩一二三区| 成人小视频在线观看| 人人精品人人爱| 一卡二卡欧美日韩| 国产精品视频九色porn| 日韩免费看网站| 欧美视频在线观看一区| 99久久精品情趣| 高清beeg欧美| 国产精品亚洲成人| 乱一区二区av| 免费在线观看成人| 亚洲成人激情综合网| 日韩一区在线免费观看| 国产网红主播福利一区二区| 日韩欧美一级二级| 91 com成人网| 精品视频免费在线| 欧美性感一类影片在线播放| gogogo免费视频观看亚洲一| 国产乱码精品1区2区3区| 精品一区二区在线观看| 日本亚洲欧美天堂免费| 午夜免费欧美电影| 亚洲va中文字幕| 一区二区三区日韩精品| 亚洲免费视频成人| 一区二区三区国产精华| 中文字幕一区二区三区乱码在线| 久久男人中文字幕资源站| 精品欧美乱码久久久久久1区2区| 欧美一区国产二区| 日韩一区二区三区在线视频| 欧美一区二区三区免费在线看| 欧美在线观看视频在线| 欧美日韩一级片在线观看| 日本高清无吗v一区| 91精彩视频在线| 日本道精品一区二区三区| 色欧美乱欧美15图片| 99国产一区二区三精品乱码| 99久久国产综合精品女不卡| 99久久夜色精品国产网站| 99视频精品免费视频| 日本精品视频一区二区| 欧美日韩免费观看一区三区| 在线播放欧美女士性生活| 91精品国产综合久久精品app| 欧美精品九九99久久| 日韩精品一区二区三区视频在线观看| 欧美va亚洲va| 国产精品免费网站在线观看| 亚洲欧洲韩国日本视频| 一区二区在线观看免费视频播放| 亚洲国产精品综合小说图片区| 亚洲成a人v欧美综合天堂| 午夜精品aaa| 激情综合色综合久久| 激情文学综合丁香| 99在线热播精品免费| 欧美日韩久久久一区| 欧美成人精品福利| 国产精品不卡一区| 亚洲国产精品久久不卡毛片| 日韩精品91亚洲二区在线观看| 美日韩一级片在线观看| 成人午夜免费av| 欧美在线三级电影| 欧美变态口味重另类| 国产精品国产自产拍高清av王其| 亚洲精品久久7777| 久久精品国产99| 色偷偷成人一区二区三区91| 欧美一级在线视频| 国产精品电影院| 免费国产亚洲视频| 91亚洲国产成人精品一区二三| 欧美日韩国产色站一区二区三区| 精品福利av导航| 一区二区三区欧美在线观看| 激情图区综合网| 欧美酷刑日本凌虐凌虐| 国产偷国产偷精品高清尤物| 午夜欧美2019年伦理| 99热这里都是精品| 2014亚洲片线观看视频免费| 亚洲成精国产精品女| aa级大片欧美| 26uuu精品一区二区在线观看| 亚洲免费观看在线视频| 国产精品一二三区在线| 欧美肥大bbwbbw高潮| 亚洲乱码日产精品bd| 国产成人亚洲综合a∨猫咪| 欧美美女一区二区在线观看| 中文字幕欧美一| 国产精品1024| 日韩欧美一区二区免费| 一区二区三区四区激情| 丁香婷婷综合激情五月色| 日韩欧美国产精品| 亚洲h在线观看| 91黄色免费观看| 国产精品理论片在线观看| 国产一区在线视频| 日韩亚洲国产中文字幕欧美| 一区二区久久久久久| 成人永久看片免费视频天堂| 久久综合九色综合欧美亚洲| 天堂va蜜桃一区二区三区漫画版| 91麻豆视频网站| 亚洲免费观看视频| 91视频在线观看| 亚洲欧洲精品一区二区三区| 国产一区二区电影| 久久综合色综合88| 精品午夜一区二区三区在线观看| 777色狠狠一区二区三区| 五月天精品一区二区三区| 欧美日韩国产高清一区二区三区| 亚洲欧美激情在线| 91丨国产丨九色丨pron| 亚洲欧美成人一区二区三区| 97精品久久久午夜一区二区三区| 中文字幕欧美日本乱码一线二线| 国产精品白丝jk黑袜喷水| 久久久国产一区二区三区四区小说| 精品一区二区三区免费| 久久综合久久久久88| 国产精品亚洲综合一区在线观看| 国产亚洲精品中文字幕| 成人福利视频网站| 亚洲精品v日韩精品| 欧美影院午夜播放| 日韩极品在线观看| 日韩精品一区二区三区在线观看| 国产资源在线一区| 欧美极品xxx| 91麻豆高清视频| 亚洲综合另类小说| 日韩视频免费直播| 国产精品综合久久| 18成人在线观看| 欧美日韩国产综合一区二区| 日本伊人午夜精品| 久久久久久久久久久久电影 | 国产精品18久久久| 国产精品免费久久久久| 99久久精品99国产精品| 亚洲成人av一区| 日韩欧美国产成人一区二区| 国产91清纯白嫩初高中在线观看| 亚洲视频1区2区| 这里是久久伊人| 国产精品一二三区| 亚洲一区二区欧美| 精品国产伦一区二区三区免费| 国产麻豆精品在线|