Variable length coding method and variable length coding apparatus
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsMasahiro Ohashi, Tsuyoshi Nakamura
Life of this patent
Estimating the term…
Loading patent…
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsMasahiro Ohashi, Tsuyoshi Nakamura
Estimating the term…
A variable length coding (VLC) method and a variable length coding apparatus for producing variable length coding having a reduced number of arithmetic cycles. The method includes carrying out (a) performing a VLC process and assigning a code to a combination of (Last, Run, Level), (b) subtracting LMAX as the maximum Level corresponding to (Last, Run) from Level to calculate amended Level and thereafter assigning a code to a combination of (Last, Run, amended Level), (c) subtracting a value that is obtained by adding 1 and RMAX as the maximum Run corresponding to (Last, Level) from Run to calculate amended Run and thereafter assigning a code to a combination of (Last, amended Run, Level), and (d) of performing faxed length coding (FLC) assignment in parallel with each other, and includes (e) selecting the code according to predetermined priorities.
A variable length coding (VLC) method by which Run as the number of preceding zero coefficients, Level as a value of a non-zero coefficient, and Last indicating whether the non-zero coefficient is the last one from discrete cosine transform coefficients which are rearranged in an one-dimensional array are taken as a combination of (Last, Run, Level), a VLC process of assigning a unique code to the combination is carried out, and when the VLC assignment cannot be performed, three escape modes are applied, thereby performing coding, comprising:
A variable length coding (VLC) apparatus comprising an RMAX table for receiving a Level absolute value signal as an absolute value of a Level signal and a Last signal;
A variable length coding (VLC) apparatus comprising an RMAX table for receiving a Level absolute value signal as an absolute value of a Level signal and a Last signal;
A variable length coding (VLC) apparatus comprising an RMAX table for receiving a Level absolute value signal as an absolute value of a Level signal and a Last signal;
A variable length coding (VLC) apparatus comprising a first selection circuit for receiving a Level absolute value signal as an absolute value of a Level signal, a Last signal, and fixed values, selecting one of the Level absolute value signal and the fixed value to output a first output signal, and selecting one of the Last signal and the fixed value to output a second output signal;
Dependencies are inferred from the claim text.