⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 h264cavlc.vhd

📁 c++de 代码声几湖泊几几几55555555555555555555555555555555555555555555555555555555555555555555
💻 VHD
📖 第 1 页 / 共 5 页
字号:
		b"00111" when trailingones=3 and totalcoeffs=10 and ctable=2 else

		b"01001" when trailingones=0 and totalcoeffs=11 and ctable=2 else

		b"01001" when trailingones=1 and totalcoeffs=11 and ctable=2 else

		b"01000" when trailingones=2 and totalcoeffs=11 and ctable=2 else

		b"01000" when trailingones=3 and totalcoeffs=11 and ctable=2 else

		b"01001" when trailingones=0 and totalcoeffs=12 and ctable=2 else

		b"01001" when trailingones=1 and totalcoeffs=12 and ctable=2 else

		b"01001" when trailingones=2 and totalcoeffs=12 and ctable=2 else

		b"01000" when trailingones=3 and totalcoeffs=12 and ctable=2 else

		b"01010" when trailingones=0 and totalcoeffs=13 and ctable=2 else

		b"01001" when trailingones=1 and totalcoeffs=13 and ctable=2 else

		b"01001" when trailingones=2 and totalcoeffs=13 and ctable=2 else

		b"01001" when trailingones=3 and totalcoeffs=13 and ctable=2 else

		b"01010" when trailingones=0 and totalcoeffs=14 and ctable=2 else

		b"01010" when trailingones=1 and totalcoeffs=14 and ctable=2 else

		b"01010" when trailingones=2 and totalcoeffs=14 and ctable=2 else

		b"01010" when trailingones=3 and totalcoeffs=14 and ctable=2 else

		b"01010" when trailingones=0 and totalcoeffs=15 and ctable=2 else

		b"01010" when trailingones=1 and totalcoeffs=15 and ctable=2 else

		b"01010" when trailingones=2 and totalcoeffs=15 and ctable=2 else

		b"01010" when trailingones=3 and totalcoeffs=15 and ctable=2 else

		b"01010" when trailingones=0 and totalcoeffs=16 and ctable=2 else

		b"01010" when trailingones=1 and totalcoeffs=16 and ctable=2 else

		b"01010" when trailingones=2 and totalcoeffs=16 and ctable=2 else

		b"01010" when trailingones=3 and totalcoeffs=16 and ctable=2 else

		--

		b"00110" when ctable=3 else

		--

		b"00010" when trailingones=0 and totalcoeffs=0 and ctable=4 else

		b"00110" when trailingones=0 and totalcoeffs=1 and ctable=4 else

		b"00001" when trailingones=1 and totalcoeffs=1 and ctable=4 else

		b"00110" when trailingones=0 and totalcoeffs=2 and ctable=4 else

		b"00110" when trailingones=1 and totalcoeffs=2 and ctable=4 else

		b"00011" when trailingones=2 and totalcoeffs=2 and ctable=4 else

		b"00110" when trailingones=0 and totalcoeffs=3 and ctable=4 else

		b"00111" when trailingones=1 and totalcoeffs=3 and ctable=4 else

		b"00111" when trailingones=2 and totalcoeffs=3 and ctable=4 else

		b"00110" when trailingones=3 and totalcoeffs=3 and ctable=4 else

		b"00110" when trailingones=0 and totalcoeffs=4 and ctable=4 else

		b"01000" when trailingones=1 and totalcoeffs=4 and ctable=4 else

		b"01000" when trailingones=2 and totalcoeffs=4 and ctable=4 else

		b"00111"; --  trailingones=3 and totalcoeffs=4 and ctable=4

	--

	-- tables for TotalZeros token

	--

	ztoken <=

		b"001" when totalzeros=0 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=1 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=2 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=3 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=4 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=5 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=6 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=7 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=8 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=9 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=10 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=11 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=12 and totalcoeffs=1 and ztable='0' else

		b"011" when totalzeros=13 and totalcoeffs=1 and ztable='0' else

		b"010" when totalzeros=14 and totalcoeffs=1 and ztable='0' else

		b"001" when totalzeros=15 and totalcoeffs=1 and ztable='0' else

		b"111" when totalzeros=0 and totalcoeffs=2 and ztable='0' else

		b"110" when totalzeros=1 and totalcoeffs=2 and ztable='0' else

		b"101" when totalzeros=2 and totalcoeffs=2 and ztable='0' else

		b"100" when totalzeros=3 and totalcoeffs=2 and ztable='0' else

		b"011" when totalzeros=4 and totalcoeffs=2 and ztable='0' else

		b"101" when totalzeros=5 and totalcoeffs=2 and ztable='0' else

		b"100" when totalzeros=6 and totalcoeffs=2 and ztable='0' else

		b"011" when totalzeros=7 and totalcoeffs=2 and ztable='0' else

		b"010" when totalzeros=8 and totalcoeffs=2 and ztable='0' else

		b"011" when totalzeros=9 and totalcoeffs=2 and ztable='0' else

		b"010" when totalzeros=10 and totalcoeffs=2 and ztable='0' else

		b"011" when totalzeros=11 and totalcoeffs=2 and ztable='0' else

		b"010" when totalzeros=12 and totalcoeffs=2 and ztable='0' else

		b"001" when totalzeros=13 and totalcoeffs=2 and ztable='0' else

		b"000" when totalzeros=14 and totalcoeffs=2 and ztable='0' else

		b"101" when totalzeros=0 and totalcoeffs=3 and ztable='0' else

		b"111" when totalzeros=1 and totalcoeffs=3 and ztable='0' else

		b"110" when totalzeros=2 and totalcoeffs=3 and ztable='0' else

		b"101" when totalzeros=3 and totalcoeffs=3 and ztable='0' else

		b"100" when totalzeros=4 and totalcoeffs=3 and ztable='0' else

		b"011" when totalzeros=5 and totalcoeffs=3 and ztable='0' else

		b"100" when totalzeros=6 and totalcoeffs=3 and ztable='0' else

		b"011" when totalzeros=7 and totalcoeffs=3 and ztable='0' else

		b"010" when totalzeros=8 and totalcoeffs=3 and ztable='0' else

		b"011" when totalzeros=9 and totalcoeffs=3 and ztable='0' else

		b"010" when totalzeros=10 and totalcoeffs=3 and ztable='0' else

		b"001" when totalzeros=11 and totalcoeffs=3 and ztable='0' else

		b"001" when totalzeros=12 and totalcoeffs=3 and ztable='0' else

		b"000" when totalzeros=13 and totalcoeffs=3 and ztable='0' else

		b"011" when totalzeros=0 and totalcoeffs=4 and ztable='0' else

		b"111" when totalzeros=1 and totalcoeffs=4 and ztable='0' else

		b"101" when totalzeros=2 and totalcoeffs=4 and ztable='0' else

		b"100" when totalzeros=3 and totalcoeffs=4 and ztable='0' else

		b"110" when totalzeros=4 and totalcoeffs=4 and ztable='0' else

		b"101" when totalzeros=5 and totalcoeffs=4 and ztable='0' else

		b"100" when totalzeros=6 and totalcoeffs=4 and ztable='0' else

		b"011" when totalzeros=7 and totalcoeffs=4 and ztable='0' else

		b"011" when totalzeros=8 and totalcoeffs=4 and ztable='0' else

		b"010" when totalzeros=9 and totalcoeffs=4 and ztable='0' else

		b"010" when totalzeros=10 and totalcoeffs=4 and ztable='0' else

		b"001" when totalzeros=11 and totalcoeffs=4 and ztable='0' else

		b"000" when totalzeros=12 and totalcoeffs=4 and ztable='0' else

		b"101" when totalzeros=0 and totalcoeffs=5 and ztable='0' else

		b"100" when totalzeros=1 and totalcoeffs=5 and ztable='0' else

		b"011" when totalzeros=2 and totalcoeffs=5 and ztable='0' else

		b"111" when totalzeros=3 and totalcoeffs=5 and ztable='0' else

		b"110" when totalzeros=4 and totalcoeffs=5 and ztable='0' else

		b"101" when totalzeros=5 and totalcoeffs=5 and ztable='0' else

		b"100" when totalzeros=6 and totalcoeffs=5 and ztable='0' else

		b"011" when totalzeros=7 and totalcoeffs=5 and ztable='0' else

		b"010" when totalzeros=8 and totalcoeffs=5 and ztable='0' else

		b"001" when totalzeros=9 and totalcoeffs=5 and ztable='0' else

		b"001" when totalzeros=10 and totalcoeffs=5 and ztable='0' else

		b"000" when totalzeros=11 and totalcoeffs=5 and ztable='0' else

		b"001" when totalzeros=0 and totalcoeffs=6 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=6 and ztable='0' else

		b"111" when totalzeros=2 and totalcoeffs=6 and ztable='0' else

		b"110" when totalzeros=3 and totalcoeffs=6 and ztable='0' else

		b"101" when totalzeros=4 and totalcoeffs=6 and ztable='0' else

		b"100" when totalzeros=5 and totalcoeffs=6 and ztable='0' else

		b"011" when totalzeros=6 and totalcoeffs=6 and ztable='0' else

		b"010" when totalzeros=7 and totalcoeffs=6 and ztable='0' else

		b"001" when totalzeros=8 and totalcoeffs=6 and ztable='0' else

		b"001" when totalzeros=9 and totalcoeffs=6 and ztable='0' else

		b"000" when totalzeros=10 and totalcoeffs=6 and ztable='0' else

		b"001" when totalzeros=0 and totalcoeffs=7 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=7 and ztable='0' else

		b"101" when totalzeros=2 and totalcoeffs=7 and ztable='0' else

		b"100" when totalzeros=3 and totalcoeffs=7 and ztable='0' else

		b"011" when totalzeros=4 and totalcoeffs=7 and ztable='0' else

		b"011" when totalzeros=5 and totalcoeffs=7 and ztable='0' else

		b"010" when totalzeros=6 and totalcoeffs=7 and ztable='0' else

		b"001" when totalzeros=7 and totalcoeffs=7 and ztable='0' else

		b"001" when totalzeros=8 and totalcoeffs=7 and ztable='0' else

		b"000" when totalzeros=9 and totalcoeffs=7 and ztable='0' else

		b"001" when totalzeros=0 and totalcoeffs=8 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=8 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=8 and ztable='0' else

		b"011" when totalzeros=3 and totalcoeffs=8 and ztable='0' else

		b"011" when totalzeros=4 and totalcoeffs=8 and ztable='0' else

		b"010" when totalzeros=5 and totalcoeffs=8 and ztable='0' else

		b"010" when totalzeros=6 and totalcoeffs=8 and ztable='0' else

		b"001" when totalzeros=7 and totalcoeffs=8 and ztable='0' else

		b"000" when totalzeros=8 and totalcoeffs=8 and ztable='0' else

		b"001" when totalzeros=0 and totalcoeffs=9 and ztable='0' else

		b"000" when totalzeros=1 and totalcoeffs=9 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=9 and ztable='0' else

		b"011" when totalzeros=3 and totalcoeffs=9 and ztable='0' else

		b"010" when totalzeros=4 and totalcoeffs=9 and ztable='0' else

		b"001" when totalzeros=5 and totalcoeffs=9 and ztable='0' else

		b"001" when totalzeros=6 and totalcoeffs=9 and ztable='0' else

		b"001" when totalzeros=7 and totalcoeffs=9 and ztable='0' else

		b"001" when totalzeros=0 and totalcoeffs=10 and ztable='0' else

		b"000" when totalzeros=1 and totalcoeffs=10 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=10 and ztable='0' else

		b"011" when totalzeros=3 and totalcoeffs=10 and ztable='0' else

		b"010" when totalzeros=4 and totalcoeffs=10 and ztable='0' else

		b"001" when totalzeros=5 and totalcoeffs=10 and ztable='0' else

		b"001" when totalzeros=6 and totalcoeffs=10 and ztable='0' else

		b"000" when totalzeros=0 and totalcoeffs=11 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=11 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=11 and ztable='0' else

		b"010" when totalzeros=3 and totalcoeffs=11 and ztable='0' else

		b"001" when totalzeros=4 and totalcoeffs=11 and ztable='0' else

		b"011" when totalzeros=5 and totalcoeffs=11 and ztable='0' else

		b"000" when totalzeros=0 and totalcoeffs=12 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=12 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=12 and ztable='0' else

		b"001" when totalzeros=3 and totalcoeffs=12 and ztable='0' else

		b"001" when totalzeros=4 and totalcoeffs=12 and ztable='0' else

		b"000" when totalzeros=0 and totalcoeffs=13 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=13 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=13 and ztable='0' else

		b"001" when totalzeros=3 and totalcoeffs=13 and ztable='0' else

		b"000" when totalzeros=0 and totalcoeffs=14 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=14 and ztable='0' else

		b"001" when totalzeros=2 and totalcoeffs=14 and ztable='0' else

		b"000" when totalzeros=0 and totalcoeffs=15 and ztable='0' else

		b"001" when totalzeros=1 and totalcoeffs=15 and ztable='0' else

		--

		b"001" when totalzeros=0 and totalcoeffs=1 and ztable='1' else

		b"001" when totalzeros=1 and totalcoeffs=1 and ztable='1' else

		b"001" when totalzeros=2 and totalcoeffs=1 and ztable='1' else

		b"000" when totalzeros=3 and totalcoeffs=1 and ztable='1' else

		b"001" when totalzeros=0 and totalcoeffs=2 and ztable='1' else

		b"001" when totalzeros=1 and totalcoeffs=2 and ztable='1' else

		b"000" when totalzeros=2 and totalcoeffs=2 and ztable='1' else

		b"001" when totalzeros=0 and totalcoeffs=3 and ztable='1' else

		b"000"; --  totalzeros=1 and totalcoeffs=3 and ztable='1'

	--

	ztoken_len <=

		b"0001" when totalzeros=0 and totalcoeffs=1 and ztable='0' else

		b"0011" when totalzeros=1 and totalcoeffs=1 and ztable='0' else

		b"0011" when totalzeros=2 and totalcoeffs=1 and ztable='0' else

		b"0100" when totalzeros=3 and totalcoeffs=1 and ztable='0' else

		b"0100" when totalzeros=4 and totalcoeffs=1 and ztable='0' else

		b"0101" when totalzeros=5 and totalcoeffs=1 and ztable='0' else

		b"0101" when totalzeros=6 and totalcoeffs=1 and ztable='0' else

		b"0110" when totalzeros=7 and totalcoeffs=1 and ztable='0' else

		b"0110" when totalzeros=8 and totalcoeffs=1 and ztable='0' else

		b"0111" when totalzeros=9 and totalcoeffs=1 and ztable='0' else

		b"0111" when totalzeros=10 and totalcoeffs=1 and ztable='0' else

		b"1000" when totalzeros=11 and totalcoeffs=1 and ztable='0' else

		b"1000" when totalzeros=12 and totalcoeffs=1 and ztable='0' else

		b"1001" when totalzeros=13 and totalcoeffs=1 and ztable='0' else

		b"1001" when totalzeros=14 and totalcoeffs=1 and ztable='0' else

		b"1001" when totalzeros=15 and totalcoeffs=1 and ztable='0' else

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -