Patent ID: 7970605

Claim:
A long-term prediction coding method implemented on a coding apparatus that includes a processor, comprising: (a) a step of obtaining, at the coding apparatus, an error signal sample by subtracting from a current sample of an input sample time-series signal a multiplication result obtained by multiplying a past sample which is a time lag older than the current sample of the input sample time-series signal, by a multiplier; (b) a step of obtaining, at the coding apparatus, a first code by coding a series of the error signal samples; (c) a step of obtaining, at the coding apparatus, a second code by coding the time lag; and (d) a step of outputting the first code and the second code; wherein the step (c) includes a step of fixed-length coding the time lag when information about a previous frame is unavailable and, when otherwise, variable-length coding the time lag to obtain the second code.