发明名称 Variable length coding method and variable length decoding method
摘要 A variable length coding method is provided for coding coefficients in each block which are obtained by performing frequency transformation on picture data of a moving picture per block having a predetermined size, and includes: a coefficient scanning step of scanning the coefficients in the block in a predetermined order; and a coding step of coding the coefficients scanned in the coefficient scanning step into variable length codes in a predetermined order by switching a plurality of tables to be used for coding. Here, a direction of switching between the tables may be one-directional. Also, the coding may be non-arithmetic coding.
申请公布号 US9020040(B2) 申请公布日期 2015.04.28
申请号 US200711907776 申请日期 2007.10.17
申请人 Panasonic Intellectual Property Corporation of America 发明人 Kondo Satoshi;Kadono Shinya;Hagai Makoto;Abe Kiyofumi
分类号 H04N7/12;H03M7/40;H04N19/13;H04N19/134;H04N19/61;H04N19/60;H04N19/14;H04N19/18;H04N19/93 主分类号 H04N7/12
代理机构 Wenderoth, Lind & Ponack, L.L.P. 代理人 Wenderoth, Lind & Ponack, L.L.P.
主权项 1. A decoding method for performing variable-length decoding on coded data obtained by performing variable-length coding on coefficients of a block which are obtained by performing frequency transformation on picture data of the block that has a predetermined size of pixels, the method comprising: performing variable-length decoding on coded data from a high frequency component toward a low frequency component to obtain Run values and Level values independently using a plurality of variable length code tables for Run and for Level; transforming the Run values and the Level values into one-dimensional coefficients, wherein each of the Level values is a value of a coefficient having a non-zero value in the one-dimensional coefficients and each of the Run values is the number of successive zero-value coefficients in the one-dimensional coefficients; and inverse scanning the one-dimensional coefficients into two-dimensional coefficients of the block; wherein each of the plurality of variable length code tables for Level includes a plurality of variable length codes which correspond to the Level values of the coefficients, wherein said performing variable-length decoding comprises: decoding a Level value of a first coefficient using a first variable length code table of the plurality of variable length code tables for Level;determining whether or not an absolute Level value of the first coefficient exceeds a first threshold value by comparing the absolute Level value of the first coefficient to the first threshold value;switching to a second variable length code table of the plurality of variable length code tables for Level only when it is determined that the absolute Level value of the first coefficient exceeds the first threshold value;decoding a Level value of a second coefficient using the second variable length code table of the plurality of variable length code tables for Level;determining whether or not an absolute Level value of the second coefficient exceeds a second threshold value by comparing the absolute Level value of the second coefficient to the second threshold value, the second threshold value being greater than the first threshold value;switching to a third variable length code table of the plurality of variable length code tables for Level only when it is determined that the absolute Level value of the second coefficient exceeds the second threshold value;decoding a Level value of a third coefficient using the third variable length code table of the plurality of variable length code tables for Level;determining whether or not an absolute Level value of the third coefficient exceeds a third threshold value by comparing the absolute Level value of the third coefficient to the third threshold value, the third threshold value being greater than the second threshold value;switching to a fourth variable length code table of the plurality of variable length code tables for Level only when it is determined that the absolute Level value of the third coefficient exceeds the third threshold value; anddecoding a Level value of a fourth coefficient using the fourth variable length code table of the plurality of variable length code tables for Level, wherein each of the first threshold value, the second threshold value, and the third threshold value is determined based on a rate of change in code length of the variable length codes included in each of the variable length code tables for Level.
地址 Torrance CA US