# US 2003/0080883 A1 · Arithmetic decoding of an arithmetically encoded information signal

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0080883 A1
- Document ID: US20030080883A1
- Status: Published application
- Kind: A1
- Application number: 10/144,814
- Filed: 2001-10-25
- Published: 2003-05-01
- Earliest claimed: 2000-03-07
- Assignees: Koninklijke Philips Electronics N.V.
- Inventors: Renatus Josephus Van Der Vleuten; Bernardus Antonius Maria Zwaans
- Web page: https://patentgrep.com/patent/US20030080883A1

## CPC

- H03M 7/4006: {Conversion to or from arithmetic code}
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

The invention relates to measures to improve an arithmetic decoder. The method of arithmetically decoding an arithmetically encoded information signal into an information signal comprising a serial sequence of n-bit symbols is adapted to decode two subsequent symbols of the information signal in one decoding cycle if the first symbol to be decoded has the most probable symbol.

## Claims

### Claim 1

A method of arithmetically decoding an arithmetically encoded information signal into an information signal comprising a serial sequence of n-bit symbols, where n is an integer and n=1, the method being adapted to obtain two subsequent output symbols of the information signal in a decoding cycle, and comprising the steps of:
(a) receiving the arithmetically encoded information signal,
(b) retrieving from finite-size first and second registers values for an A and a C parameter respectively, the A parameter having a relationship with the size of a value interval, the C parameter having a relationship with a boundary of said interval,
(c) generating a first probability value for a first symbol to be decoded, said first probability value indicating the probability that the first symbol has a least probable value, and generating a second probability value for a subsequent symbol to be decoded, said second probability value indicating the probability that the second symbol has the least probable value, the first symbol to be decoded being assumed to have the most probable value,
(d) deriving the first symbol in response to the said first probability value, and in response to the values for A and C retrieved from said first and said second registers, respectively,
(e) updating the A parameter so as to obtain an updated A parameter,
(f) updating the value for A retrieved from said first register to a value for a temporary A parameter, using the assumption that the first symbol obtained from decoding has the most probable value,
(g) deriving a temporary C parameter from the C parameter retrieved from said second register,
(h) deriving the second symbol in response to the said second probability value, and in response to the values of the temporary A parameter and the temporary C parameter,
(i) outputting both the first and the second symbol when the first symbol has the most probable value or outputting the first symbol only if the first symbol has the least probable value,
(j) deriving new A and C parameters,
(k) storing the new A and C parameter in the first and second register, respectively.

### Claim 2 (depends on 1)

A method as claimed in claim 1, characterized in that the step (d) is carried out parallel to the sequence of steps (f), (g) and (h).

### Claim 3 (depends on 1, 2)

A method as claimed in claim 1 or 2, characterized in that, in the case that in step (i) the first symbol is outputted only, said step (j) comprises the substeps of
deriving the new A parameter from the updated A parameter obtained in step (e), and
deriving the new C parameter from the C parameter retrieved from the second register in step (d).

### Claim 4 (depends on 1, 2, 3)

A method as claimed in claim 1, 2 or 3, characterized in that, in the case that in step (i) both the first and second symbol are outputted, said step (j) comprises the substeps of
deriving the new A parameter from the temporary A parameter derived in step (f), and
deriving the new C parameter from the temporary C parameter derived in step (g).

### Claim 5 (depends on 4)

A method as claimed in claim 4, characterized in that the step deriving the new A and C parameter comprises the substeps of
updating the temporary A parameter so as to obtain an intermediate A parameter,
updating the temporary C parameter in the case that the second symbol derived in step (h) has the least probable value, so as to obtain an intermediate C parameter,
deriving the new A parameter from the intermediate A parameter, and
deriving the new C parameter from the intermediate C parameter.

### Claim 6 (depends on 1)

A method as claimed in claim 1, characterized in that the step (f) comprises the substeps of
multiplying the A parameter retrieved from the first register by the first probability value so as to obtain a first parameter value,
subtracting the first parameter value from the value for A, so as to obtain a second A parameter value,
either equating the temporary A parameter to the second parameter value, or multiplying the second parameter value by a first constant, so as to obtain the value of the temporary A parameter.

### Claim 7 (depends on 6)

A method as claimed in claim 6, characterized in that the step (g) comprises the substeps of
(g1) comparing the second A parameter value with a second constant value and if, the second A parameter value is smaller than said second constant value,
(g2) reading 1 bit of the arithmetically encoded information signal
(g3) multiplying the C parameter by the first constant by shifting the bits of the C parameter by 1 bit position, and
(g4) adding the 1 bit of the arithmetically encoded information signal obtained in step (g2) to the C parameter obtained in step (g3), so as to obtain the temporary C parameter, and, if the second A parameter value is greater than or equal to said second constant value,
(g5) equating the temporary C parameter to the C parameter retrieved from the second register in step (b).

### Claim 8

Decoding apparatus for carrying out the method as claimed in anyone of the preceding claims.

### Claim 9 (depends on 8)

Decoding apparatus as claimed in claim 8 for decoding an arithmetically encoded information signal into an information signal comprising a serial sequence of n-bit symbols, where n is an integer and n=1, the apparatus being adapted to obtain two subsequent output symbols of the information signal in a decoding cycle, and comprising:
input means (120) for receiving the arithmetically encoded information signal,
finite sized first and second registers (122, 124), the first register for storing an A parameter, the A parameter having a relationship with the size of a value interval, the second register for storing a C parameter, the C parameter having a relationship with a boundary of said interval,
retrieval means for retrieving values for the A and the C parameter from the first and second registers, respectively,
generator means (138) for generating a first probability value for a first symbol to be decoded, said first probability value indicating the probability that the first symbol has a least probable value, and for generating a second probability value for a subsequent symbol to be decoded, said second probability value indicating the probability that the second symbol has the least probable value, the first symbol to be decoded being assumed to have the most probable value,
first deriving means for deriving the first symbol in response to the said first probability value, and in response to the values for A and C retrieved from said first and said second registers, respectively,
first updating means for updating the A parameter so as to obtain an updated A parameter,
second updating means updating the value for A retrieved from said first register to a value for a temporary A parameter, using the assumption that the first symbol obtained from decoding has the most probable value,
second deriving means for deriving a temporary C parameter from the C parameter retrieved from said second register,
third deriving means for deriving the second symbol in response to the said second probability value, and in response to the values of the temporary A parameter and the temporary C parameter,
output means (128) for outputting both the first and the second symbol when the first symbol has the most probable value or outputting the first symbol only if the first symbol has the least probable value,
fourth deriving means for deriving new A and C parameters,
means for storing the new A and C parameter in the finite sized first and second register, respectively.

### Claim 10 (depends on 8, 9)

The decoding apparatus as claimed in claim 8 or 9, characterized in that it further comprises channel decoding means (132) for channel decoding a channel encoded arithmetically encoded information signal so as to obtain the arithmetically encoded information signal, prior to arithmetic decoding.

### Claim 11 (depends on 10)

The decoding apparatus as claimed in claim 10, characterized in that it further comprises read means (130) for reading the channel encoded arithmetically encoded information signal from a record carrier.
