# US 5,703,651 A · Motion picture expert group (MPEG) video coder/decoder apparatus

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

- Number: US 5,703,651 A
- Document ID: US5703651A
- Status: Granted
- Kind: A
- Application number: 08/577,226
- Filed: 1995-12-22
- Granted: 1997-12-30
- Earliest claimed: 1994-12-23
- Assignees: LG Electronics Inc.
- Inventors: Hyung Suk Kim; Kwang Young Shin
- Web page: https://patentgrep.com/patent/US5703651A

## CPC

- H04N 19/16: for a given display mode, e.g. for interlaced or progressive display mode
- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/112: according to a given display mode, e.g. for interlaced or progressive display mode
- H04N 19/124: Quantisation
- H04N 19/152: by measuring the fullness of the transmission buffer
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An MPEG video CODEC includes a variable length decoder to a video coder with respect to an MPEG-2 profile. The MPEG video CODEC further includes a controller which controls both a signal sequence and a signal input/output function when a function of the MPEG video CODEC is converted to a decoding-mode and a coding-mode. Accordingly, the MPEG video coder and MPEG video decoder can be embodied as a single system. The MPEG video CODEC comprises a coding/decoding mode generator for detecting whether a mode signal inputted from an input terminal is a coding-mode, or a decoding-mode, and generating a corresponding mode control signal; a coder/decoder selector for selectively converting a routine of a coded bit stream, according to a corresponding mode control signal from the coding/decoding mode generator; and a coder/decoder for selectively coding or decoding a bit stream selected by the coder/decoder selector, and then transmitting the bit stream to a storage element, or to a displayer.

## Claims

### Claim 1

A motion picture expert group (MPEG) video coder-decoder (CODEC), comprising:
a coding/decoding mode generator for detecting whether a mode signal inputted from an input terminal is a coding-mode, or a decoding-mode, and generating one among first to ninth mode control signals according to a detected mode;
a coder/decoder selector for selectively converting a routine of a coded bit stream according to said first to ninth mode control signals which are generated from said coding/decoding mode generator; and
an MPEG video coder/decoder for selectively coding or decoding an image bit stream selected by the coder/decoder selector, and then transmitting the image bit stream to a storage element, or to a displayer,
wherein said coder/decoder selector comprises:
a second multiplexer which not only selects a variable length coded bit row from a variable length coder according to a fourth mode control signal generated from said coding/decoding mode generator and then outputs said variable length coded bit row to a first output terminal through a first buffer, but also selects a bit row to be decoded and then provides said bit row to a variable length decoder through said first buffer;
a first multiplexer which selects both a discrete cosine transform (DCT) coefficient information which is decoded by said variable length decoder, and a pair of run and level which is zigzag scanned by a zigzag (ZZ) scanner according to a third mode control signal, and then provides both said DCT coefficient information and said pair of run and level to an inverse ZZ scanner;
a third switching part which outputs an image information in which a motion is compensated by an adder, to an output terminal of a decoder through a second frame reconstructing part, according to a fifth mode control signal generated from said coding/decoding mode generator;
a third multiplexer which selects both a coding-type of said variable length coder and a decoding-type of said variable length decoder, and then transmits both said coding-type and said decoding-type to a sixth switching part, according to a sixth mode control signal generated from said coding/decoding mode generator;
a fourth multiplexer which selects an inter/intra signal achieved from an inter/intra analyzer according to a seventh mode control signal generated from said coding/decoding mode generator, or another inter/intra signal reproduced by said variable length decoder, and controls a fifth switching part;
a fifth multiplexer which selects a motion vector achieved from a motion estimating part, or another motion vector reconstructed by said variable length decoder, and then provides a selected motion vector to a motion compensator, according to an eighth mode control signal generated from said coding/decoding mode generator;
a fourth switching part which selects a reference image data of a forward-estimation reference image memory, or another reference image data of a reverse-estimation reference image memory, and then provides a selected reference image data to said motion estimating part, according to a ninth mode control signal generated from said coding/decoding mode generator;
a second switching part which is switched by a second mode control signal generated from said coding/decoding mode generator, and then provides a motion-compensated image information through said fifth switching part to a subtractor; and
a first switching part which provides an input image information generated from a first frame reconstructing part to the motion-estimation part, according to a first mode control signal generated from said coding/decoding mode generator.

### Claim 2 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said first switching part operates when an output mode from said coding/decoding mode generator is a coding-mode, transmits an image information of said first frame reconstructing part to said motion estimating part.

### Claim 3 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said second switching part 302 operates when said second mode control signal from said coding/decoding mode generator is a coding-mode, and provides said motion-compensated image information to said subtracter.

### Claim 4 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said first multiplexer selects a decoded value from said variable length decoder when a mode generated from said coding/decoding mode generator is a decoding mode.

### Claim 5 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said second multiplexer provides an output bit row of said variable length coder to said first buffer when a mode generated from said coding/decoding mode generator is a coding mode, or selects an input bit row of a decoder and provides said input bit row to said first buffer when a mode generated from said coding/decoding mode generator is a decoding mode.

### Claim 6 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said third switching part operates when a mode generated from the coding/decoding mode generator is a decoding-mode, and outputs an image signal from said adder through said second frame reconstructing part as a reconstructed image signal.

### Claim 7 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said third multiplexer selects a coding-type when a mode from said coding/decoding mode generator is a coding-mode, selects a decoding-type when a mode from said coding/decoding mode generator is a decoding-mode, and controls said sixth switching part.

### Claim 8 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said fourth multiplexer selects said inter/intra mode from said inter/intra analyzer when a mode generated from said coding/decoding mode generator is a coding-mode, and selects a reconstructed inter/intra mode of said variable length decoder when a mode generated from said coding/decoding mode generator is a decoding-mode.

### Claim 9 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said fifth multiplexer selects a motion vector calculated by said motion estimating part when a mode generated from said coding/decoding mode generator is a coding-mode, selects a reconstructed motion vector of said variable length decoder when a mode generated from said coding/decoding mode generator is a decoding-mode, and then transmits a selected motion vector to said motion compensator.

### Claim 10 (depends on 1)

The MPEG video CODEC as defined in claim 1, wherein:
said fourth switching part transmits said reference image data to said motion estimating part, when a mode generated from said coding/decoding mode generator is a coding-mode.
