# US 2004/0081245 A1 · Processing circuit and method for variable-length coding and decoding

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

- Number: US 2004/0081245 A1
- Document ID: US20040081245A1
- Status: Published application
- Kind: A1
- Application number: 10/611,182
- Filed: 2003-06-30
- Published: 2004-04-29
- Earliest claimed: 1998-06-25
- Assignees: Equator Technologies, Inc.
- Inventors: Richard M. Deeley; Yatin Mundkur; Woobin Lee
- Web page: https://patentgrep.com/patent/US20040081245A1

## CPC

- H03M 7/40: Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H04N 19/42: characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation (H04N19/635 takes precedence)
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/61: in combination with predictive coding
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- 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)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A variable-length encode/decode processor includes a central processing unit and an instruction buffer and a getbits processing engine coupled to the central processing unit. Such a processor can be used to encode data as variable-length symbols or to decode variable-length symbols such as those found in an MPEG bitstream.

## Claims

### Claim 1

A variable-length encode/decode processor, comprising:
a central processing unit;
an instruction buffer coupled to the central processing unit; and
a getbits processing engine coupled to the central processing unit.

### Claim 2 (depends on 1)

The processor of claim 1, further comprising a register file coupled to the central processing unit and to the getbits processing engine.

### Claim 3 (depends on 1)

The processor of claim 1, further comprising an input buffer coupled to the getbits processing engine.

### Claim 4 (depends on 1)

The processor of claim 1, further comprising an output buffer coupled to the getbits processing engine.

### Claim 5 (depends on 1)

The processor of claim 1 wherein the central processing unit includes a virtual accumulator register.

### Claim 6 (depends on 1)

The processor of claim 1, further comprising:
an input buffer coupled to the getbits processing engine; and
wherein the input buffer comprises a virtual symbol register.

### Claim 7

A function processing block, comprising,
an instruction buffer;
a memory;
a getbits processing engine; and
a central processing unit coupled to the instruction buffer, the memory, and the getbits processing engine.

### Claim 8 (depends on 7)

The function processing block of claim 7 wherein the memory is coupled to the instruction buffer.

### Claim 9 (depends on 7)

The function processing block of claim 7 wherein the memory is coupled to the getbits processing engine.

### Claim 10 (depends on 7)

The function processing block of claim 7, further comprising a register file coupled to the memory, the getbits processing engine, and the central processing unit.

### Claim 11 (depends on 7)

The function processing block of claim 7, further comprising:
an input buffer coupled to the getbits processing engine;
an output buffer coupled to the getbits processing engine; and
an input/output bus coupled to the input and output buffers.

### Claim 12

A processor, comprising:
a core;
a controller coupled to the core; and
a function processing block coupled to the controller, the function processing block including,
a memory,
an input/output bus, and
a variable-length encode/decode processor coupled to the memory and to the input/output bus, the variable-length encode/decode processor including,
a getbits processing engine coupled to the input/output bus, and
a central processing unit coupled to the getbits processing engine.

### Claim 13

A method, comprising:
processing data with a getbits engine of a variable-length encode/decode processor; and
controlling the getbits engine with a central processing unit of the variable-length encode/decode processor.

### Claim 14 (depends on 13)

The method of claim 13, further comprising executing instructions stored in an instruction buffer with the central processing unit.

### Claim 15 (depends on 13)

The method of claim 13, further comprising:
receiving data from an input/output bus with the getbits engine; and
providing data to the input/output bus with the getbits engine.

### Claim 16 (depends on 13)

The method of claim 13, further comprising controlling the variable-length encode/decode processor with a core processor.

### Claim 17 (depends on 13)

The method of claim 13, further comprising:
analyzing a variable-length symbol with the getbits engine; and
accessing a look-up table based on the value of the variable-length symbol.

### Claim 18 (depends on 13)

The method of claim 13, further comprising:
analyzing a variable-length symbol with the getbits engine; and
accessing a look-up table based on the number of leading zeroes in the variable-length symbol.

### Claim 19 (depends on 13)

The method of claim 13, further comprising:
analyzing a variable-length symbol with the getbits engine; and
accessing a look-up table based on the number of leading ones in the variable-length symbol.
