decode16.m

来自「将一幅多媒体图像根据各个块的不同特性蔡用不同的编码方式」· M 代码 · 共 22 行

M
22
字号
function decode16(total_val)
global point0 cell_count0 total_decode mi ni mi1 ni1 total_cell total_decode
 while point0<point
          if total_cell(point0+1)=0
             point0=point0+1;
    cell_count0=cell_count0+1;
     total_decode(mi*16-15:mi*16,ni*16-15:ni*16-15)=total_cell(point0+1);     
    point0=point0+1;return
          end
        if total_cell(point0+1)=1
            for mi1=1:2
                for ni1=1:2
                  decode8(total_cell);
                end
            end
     end
         
             
          
         

⌨️ 快捷键说明

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