# US 2004/0139090 A1 · Method and apparatus of recording compression encoding tables in a pseudo read-only memory

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

- Number: US 2004/0139090 A1
- Document ID: US20040139090A1
- Status: Published application
- Kind: A1
- Application number: 10/617,492
- Filed: 2003-07-10
- Published: 2004-07-15
- Earliest claimed: 2003-01-15
- Assignees: Cheerteck, Inc.
- Inventors: Chia-Yow Yeh
- Web page: https://patentgrep.com/patent/US20040139090A1

## CPC

- H03M 7/30: Compression (speech analysis-synthesis for redundancy reduction G10L19/00; for image communication H04N); Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- 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

An apparatus includes a pseudo address decoder, a programmable logic array, a corresponding value calculation module, a storage element, a subtracter, and a multiplexer. The pseudo address decoder determines a block corresponding to an index of the compression encoding table. The programmable logic array calculates related data of the block determined by the pseudo address decoder. The corresponding value calculation module calculates the corresponding value in accordance with the related data of the block. Non-repeating or non-increasing data of the compression encoding table are stored in the storage element. The subtracter outputs a difference between the index and the address offset in order to read the storage element. The multiplexer selectively outputs the output values calculated by the corresponding value calculation module or the data read from the storage element.

## Claims

### Claim 1

A method of recording a compression encoding table in a pseudo read-only memory, the data values of the compression encoding table are repeating or increasing, the method comprising:
dividing the compression encoding table into a plurality of blocks, each of which has either the repeating or increasing data values of the compression encoding table; and
calculating the repeating or increasing data values of each of the blocks by using a logic circuit.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
storing non-repeating or non-increasing data values of the compression encoding table in a storage element.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the storage element is a read-only memory.

### Claim 4 (depends on 1)

The method according to claim 1, wherein each of the blocks with the repeating data values is denoted by a repeat symbol <REP, LEVELREP, COUNTREP> where the REP denotes the repeating feature of the repeat symbol, the LEVELREP denotes the repeating data values of the block, and the COUNTREP denotes a data count of the block.

### Claim 5 (depends on 4)

The method according to claim 4, wherein each of the blocks with the increasing data values is denoted by an increase symbol <INC, LEVELINC, COUNTINC> where the INC denotes the increasing feature of the increase symbol, the LEVELINC denotes the initial value for the increasing data value of the block, and the COUNTINC denotes the data count of the block.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the step of calculating the repeating or increasing data values of each of the blocks by using a logic circuit includes:
obtaining the repeating data values, which are equal to the values of the LEVELREP of the repeat symbol;
obtaining the increasing data values by the following equation:
VALUEINC=INDEX−SUMCOUNT+LEVEL
where the VALUEINC denotes the increasing values, the INDEX denotes the index set for each datum by the compression encoding table, one by one starting from an initial index of 0, the SUMCOUNT denotes a data count of all the blocks that precede the located block, and the LEVEL denotes the value of LEVELINC of the increase symbol.

### Claim 7

An apparatus of recording a compression encoding table in a pseudo read-only memory, the compression encoding table setting an index for each datum, one by one starting from an initial index of 0, the data values of the compression encoding table being repeating or increasing, the compression encoding table being divided into a plurality of blocks according to the repeating or increasing data values, each of the blocks being denoted by a property symbol <OP, LEVEL, COUNT> wherein the OP denotes repeating or increasing, the LEVEL denotes initial values of the blocks, the COUNT denotes data counts of the blocks; the apparatus comprising:
a pseudo address decoder for determining the block, to which the index corresponds, by the index and generating a plurality of output values;
a programmable logic array for calculating and outputting, on the basis of the output values of the pseudo address decoder, an initial value of the property symbol of the block in which the index is located, and a data count of all the blocks that precedes the block; and
a corresponding value calculation module for calculating the values of the compression encoding table corresponding to the index on the basis of the output values of the programmable logic array.

### Claim 8 (depends on 7)

The apparatus according to claim 7, further comprising:
a storage element for storing non-repeating or non-increasing data of the compression encoding table, and
a first multiplexer for selectively outputting the output values calculated by the corresponding value calculation module or the data read from the storage element.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the storage element is a read-only memory.

### Claim 10 (depends on 8)

The apparatus according to claim 8, wherein if the block in which the index is located is not calculated by the programmable logic array, then the first multiplexer outputs the data read from the storage element, otherwise the programmable logic array outputs the output values calculated by the corresponding value calculation module.

### Claim 11 (depends on 7)

The apparatus according to claim 7, wherein the pseudo address decoder includes:
at least one comparator with terminals A and B, the terminal A receiving a block bound value, which is a maximum index of the block, and the terminal B receiving the index, wherein if the input to the terminal B is greater than the input to the terminal A, then the at least one comparator outputs 1, otherwise the at least one comparator outputs 0, thereby determining the block in which the index is located;
at least one inverter for inverting one of the output values of the comparator; and
at least one AND gate with one input terminal receiving the output of one of two adjacent comparators of the at least one comparator and another input terminal receiving the inverted output of another of the two adjacent comparator.

### Claim 12 (depends on 7)

The apparatus according to claim 7, wherein the corresponding value calculation module includes:
a first subtracter for outputting a first difference between the index and the data count;
an adder for summing the first difference and the initial value of the located block and outputting a increasing value; and
a second multiplexer for selectively outputting the symbol initial value output by the programmable logic array or output the increasing value output by the adder.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein if the symbol output by the programmable logic array is a repeat symbol, then the second multiplexer outputs the symbol initial value output by the programmable logic array, and if the symbol output by the programmable logic array is an increase symbol, then the second multiplexer outputs the increasing value output by the adder.

### Claim 14 (depends on 7)

The apparatus according to claim 7, further comprising:
a second subtracter for outputting a second difference between the index and an address offset, wherein the data of the compression encoding table stored in the storage element is read on the basis of the second difference.
