# US 2008/0187051 A1 · Image coding apparatus and image decoding apparatus

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

- Number: US 2008/0187051 A1
- Document ID: US20080187051A1
- Status: Published application
- Kind: A1
- Application number: 12/024,726
- Filed: 2008-02-01
- Published: 2008-08-07
- Earliest claimed: 2007-02-01
- Assignees: Panasonic Corporation
- Inventors: Takuma CHIBA; Takeshi TANAKA
- Web page: https://patentgrep.com/patent/US20080187051A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image coding apparatus (100) which reduces buffer capacity to a minimum and includes an image coding processing unit (110) which generates intermediate data by executing a part of a process in the coding on the image data; a packetizing unit (120) which generates an image stream by executing a process other than the part of the process in the coding on the intermediate data, such as for example arithmetic coding, and packetizes the generated image stream in synchronization with the image stream generation process.

## Claims

### Claim 1

An image coding apparatus which performs coding on the image data representing a moving image, said image coding apparatus comprising:
a first coding unit operable to generate first data by executing a part of a process in the coding on the image data;
a second coding unit operable to generate second data by executing a process, other than the part of the process in the coding, on the first data; and
a packetizing unit operable to packetize the generated second data in synchronization with the process by said second coding unit.

### Claim 2 (depends on 1)

The image coding apparatus according to claim 1,
wherein the second coding unit is operable to generate the second data by executing arithmetic coding: which is part of variable-length coding.

### Claim 3 (depends on 2)

The image coding apparatus according to claim 2, further comprising
a code amount calculation unit operable to calculate a code amount of the second data based on the image data or a result of the process performed by said first coding unit.

### Claim 4 (depends on 3)

The image coding apparatus according to claim 3,
wherein said first coding unit is operable to adjust an amount of the first data, generated within a time period, based on the code amount calculated by said code amount calculation unit.

### Claim 5 (depends on 1)

The image coding apparatus according to claim 1, further comprising
an audio coding unit operable to generate audio coded data by coding the audio data which indicates audio,
wherein said packetizing unit is operable to packetize the coded audio data and to multiplex the coded audio data in to the packetized second data.

### Claim 6 (depends on 1)

The image coding apparatus according to claim 1, further comprising
a buffer for storing the first data,
wherein said first coding unit is operable to store the generated first data in said buffer, and
said second coding unit is operable to obtain the first data stored in said buffer, and execute a process, other than the part of the process in the coding, on the obtained first data.

### Claim 7 (depends on 6)

The image coding apparatus according to claim 6,
wherein a capacity of said buffer is no less than the capacity of the Coded Picture Buffer (CPB) defined in the H.264/AVC standard, and is set according to a format of the first data.

### Claim 8 (depends on 1)

The image coding apparatus according to claim 1,
wherein when coding is performed on the image data using a first scheme:
said first coding unit is operable to generate the first data by executing the part of the process in the coding in the first scheme on the image data, and
said second coding unit is operable to generate the second data by executing a process, other than the part of the process in the coding in the first scheme, on the first data, and
when coding is performed on the image data using a second scheme:
said first coding unit is operable to generate third data by executing a coding process in the second scheme on the image data,
said second coding unit does not generate the second data, and
said packetizing unit is operable to packetize the generated third data.

### Claim 9 (depends on 8)

The image coding apparatus according to claim 8,
wherein said first coding unit is operable to obtain a flag, and selectively execute the following:
an operation for coding the image data using the first scheme when the flag indicates one of 0 and 1, and
an operation for coding the image data using the second scheme when the flag indicates the other one of 0 and 1.

### Claim 10 (depends on 9)

The image coding apparatus according to claim 9,
wherein the first scheme is Context-basted Adaptive Binary Arithmetic Coding (CABAC) in the H.264/AVC standard and the second scheme is Context-based Adaptive Varable-length Coding (CAVLC) in the H.264/AVC standard,
when the flag is 1,
said first coding unit is operable to generate the first data, which is binarized data, by executing a process which includes binarization in the variable-length coding in the CABAC on the image data, and
said second coding unit is operable to generate the second data by executing the arithmetic coding in the variable-length coding in CABAC on the first data, and
when the flag is 0,
said first coding unit is operable to generate the third data by executing the process which includes the variable-length coding in CAVLC on the image data,
said second coding unit does not generate the second data, and
said packetizing unit is operable to packetize the generated third data.

### Claim 11

An image coding apparatus operable to perform coding on image data representing a moving image, said image coding apparatus comprising:
a buffer for storing data;
a first coding unit operable to generate and store first data in said buffer by executing a part of a process in the coding on the image data; and
a packetizing unit operable to obtain the first data from said buffer and generate second data by executing at least a part of variable-length coding on the obtained first data as a process other than the part of the process in the coding.

### Claim 12 (depends on 11)

An image coding apparatus according to claim 11,
wherein said packetizing unit is operable to packetize the generated second data without storing the second data in a buffer.

### Claim 13 (depends on 12)

An image coding apparatus according to claim 12,
wherein said packetizing unit is operable to generate the second data by executing arithmetic coding which is a part of the variable-length coding.

### Claim 14 (depends on 11)

The image coding apparatus according to claim 11,
wherein when coding is performed using a first scheme on the image data,
said first coding unit is operable to generate the first data by executing a part of a process in the coding in the first scheme on the image data, and
said packetizing unit is operable to generate the second data by executing a process, other than the part of the process in the coding in the first scheme, on the first data, and
when coding is performed using a second scheme on the image data,
said first coding unit is operable to generate third data by executing a coding process in the second scheme on the image data, and
said packetizing unit does not generate the second data and is operable to packetize the generated third data.

### Claim 15 (depends on 14)

The image coding apparatus according to claim 14,
wherein said first coding unit is operable to obtain a flag, and selectively execute the following:
an operation for coding the image data using the first scheme when the flag indicates one of 0 and 1, and
an operation for coding the image data using the second scheme when the flag indicates the other one of 0 and 1.

### Claim 16 (depends on 15)

The image coding apparatus according to claim 15,
wherein the first scheme is Context-based Adaptive Binary Arithmetic Coding (CABAC) in the H.264/AVC standard and the second scheme is Context-based Adaptive Variable-length Coding (CAVLC) in the H.264/AVC standard,
when the flag is 1,
said first coding unit is operable to generate the first data, which is binarized data, by executing a process which includes binarization in the variable-length coding in CABAC on the image data, and
said packetizing unit is operable to generate the second data by executing the arithmetic coding in the variable-length coding in CABAC on the first data, and
when the flag is 0,
said first coding unit is operable to generate the third data by executing the process which includes the variable-length coding in CAVLC on the image data, and
said packetizing unit does not generate the second data and is operable to packetize the generated third data.

### Claim 17

An image decoding apparatus which generates image data representing a moving image, by decoding an input stream, said image decoding apparatus comprising:
a packet combining unit operable to generate an image stream by extracting plural packets included in the input stream from the input stream related to images and combining the plural packets;
a first decoding unit operable to generate decoded data by executing part of a process of the decoding on the generated image stream in synchronization with the generation of the image stream by said packet combining unit; and
a second decoding unit operable to generate the image data by executing a process, other than the part of the process in the decoding, on the decoded data.

### Claim 18 (depends on 17)

The image decoding apparatus according to claim 17,
wherein said first decoding unit is operable to generate the decoded data by executing arithmetic decoding, which is part of variable-length decoding.

### Claim 19 (depends on 17)

The image decoding apparatus according to claim 17,
wherein said packet combining unit is further operable to generate an audio stream by extracting from the input stream plural packets included in the input stream related to audio and combining the plural packets, and
said image decoding apparatus further comprises
an audio decoding unit operable to decode the audio stream.

### Claim 20 (depends on 17)

The image decoding apparatus according to claim 17, further comprising
a buffer for storing the decoded data,
wherein said first coding unit is operable to store the generated decoded data in said buffer, and
said second decoding unit is operable to obtain the decoded data stored in said buffer, and execute a process, other than the part of the process in the decoding, on the obtained decoded data.

### Claim 21 (depends on 20)

The image decoding apparatus according to claim 20,
wherein a capacity of said buffer is no less than the capacity of the Coded Picture Buffer (CPB) defined in the H.264/AVC standard, and is set according to a format of the decoded data.

### Claim 22 (depends on 17)

The image decoding apparatus according to claim 17,
wherein when the input stream is coded using a first scheme:
said first decoding unit is operable to generate the decoded data by executing a part of a process in the decoding which corresponds to the first scheme on the image stream, and
said second decoding unit is operable to generate the image data by executing a process, other than the part of the process in the decoding which corresponds to the first scheme, on the decoded data, and
when the input stream is coded using a second scheme:
said first decoding unit does not generate decoded data, and
said second coding unit is operable to generate the image data by executing a decoding process corresponding to the second scheme on the image stream.

### Claim 23 (depends on 22)

The image decoding apparatus according to claim 22,
wherein said second coding unit is operable to obtain a flag, and selectively execute the following:
an operation for coding the image data using the first scheme when the flag indicates one of 0 and 1, and
an operation for coding the image data using the second scheme when the flag indicates the other one of 0 and 1.

### Claim 24 (depends on 23)

The image coding apparatus according to claim 23,
wherein the first scheme is a decoding scheme corresponding to Context-based Adaptive Binary Arithmetic Coding (CABAC) in the H.264/AVC standard and the second scheme is a decoding scheme corresponding to Context-based Adaptive Variable-length Coding (CAVLC) in the H.264/AVC standard, and
when the flag is 1:
said first decoding unit is operable to generate the decoded data by executing arithmetic decoding on the image stream in the variable-length decoding in CABAC, and
said second decoding unit is operable to generate the image data by executing a process including multi-valuation in the variable-length decoding in CABAC on the image stream, and
when the flag is 0:
said first decoding unit does not generate the decoded data, and
said second coding unit is operable to generate the image data by executing the process which includes the variable-length decoding in CAVLC on the image stream.

### Claim 25

An image decoding apparatus which generates image data representing a moving image by decoding an input stream, said decoding apparatus comprising:
a buffer for storing the data;
a packet combining unit operable to generate an image stream by extracting from the input stream plural packets included in the input stream related to images and combining the plural packets, and to generate decoded data and store the decoded data in said buffer by executing part of a process in the decoding performed on the generated image stream; and
a decoding unit operable to generate the image data by removing the decoded data from said buffer and executing at least one part of variable-length decoding on the decoded data as a process other than the at least one part of the decoding.

### Claim 26 (depends on 25)

The image decoding apparatus according to claim 25,
wherein said packet combining unit is operable to execute the part of the process in the decoding on the image stream without storing the generated image stream in a buffer.

### Claim 27 (depends on 26)

The image decoding apparatus according to claim 26,
wherein said packet combining unit is operable to generate the decoded data by executing arithmetic decoding which is apart of the variable-length decoding.

### Claim 28

An image coding method for coding image data representing a moving image, said image coding method comprising:
generating first data by executing a part of a process in the coding on the image data;
generating second data by executing a process, other than the part of the process in the coding, on the first data; and
packetizing the generated second data in synchronization with the process in said generating the second data.

### Claim 29

An image decoding method for generating image data representing a moving image, by decoding an input stream, said image decoding method comprising:
generating an image stream by extracting plural packets from the input stream related to images included in the input stream and combining the plural packets;
generating decoded data by executing a part of a process of the decoding on the generated image stream in synchronization with the generation of the image stream in said generating the image stream; and
generating the image data by executing a process, other than the part of the process in the decoding, on the decoded data.

### Claim 30

A program product for coding image data representing a moving image, said program product which, when loaded into a computer, allows the computer to execute:
generating first data by executing a part of a process in the coding on the image data;
generating second data by executing a process, other than the part of the process in the coding, on the first data; and
packetizing the generated second data in synchronization with the process in said generating the second data.

### Claim 31

A program product for generating image data representing a moving image, by decoding an input stream, said program product which, when loaded into a computer, allows the computer to execute:
generating an image stream by extracting plural packets from the input stream related to images included in the input stream and combining the plural packets;
generating decoded data by executing a part of a process of the decoding on the generated image stream in synchronization with the generation of the image stream in said generating the image stream; and
generating the image data by executing a process, other than the part of the process in the decoding, on the decoded data.

### Claim 32

An integrated circuit which codes image data representing a moving image, said integrated circuit comprising:
a first coding unit operable to generate first data by executing a part of a process in the coding on the image data;
a second coding unit operable to generate second data by executing a process, other than the part of the process in the coding, on the first data; and
a packetizing unit operable to packetize the generated second data in synchronization with the process by said second coding unit.

### Claim 33

An integrated circuit which generates image data representing a moving image, by decoding an input stream, said integrated circuit comprising:
a packet combining unit operable to generate an image stream by extracting plural packets from the input stream related to images included in the input stream and combining the plural packets;
a first decoding unit operable to generate decoded data by executing part of a process of the decoding on the generated image stream in synchronization with the generation of the image stream by said packet combining unit; and
a second decoding unit operable to generate the image data by executing a process, other than the part of the process in the decoding, on the decoded data.
