# US 2019/0174131 A1 · Encoder, decoder, encoding method, and decoding method

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

- Number: US 2019/0174131 A1
- Document ID: US20190174131A1
- Status: Published application
- Kind: A1
- Application number: 16/269,018
- Filed: 2019-02-06
- Published: 2019-06-06
- Earliest claimed: 2016-08-10
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Kiyofumi ABE; Takahiro NISHI; Takashi HASHIMOTO; Tadamasa TOMA
- Web page: https://patentgrep.com/patent/US20190174131A1

## CPC

- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoder includes memory and circuitry accessible to the memory. The circuitry accessible to the memory: switches whether or not to apply arithmetic encoding to a binary data string in which image information has been binarized; binarizes frequency transform coefficient information according to different binarization formats between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string; and binarizes a part or the entirety of prediction parameter information according to a binarization format which is common between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string.

## Claims

### Claim 1

An encoder which encodes image information and outputs a bitstream in which the image information has been encoded, the encoder comprising:
memory; and
circuitry accessible to the memory,
wherein the circuitry accessible to the memory:
binarizes the image information;
switches whether or not to apply arithmetic encoding to a binary data string in which the image information has been binarized;
when arithmetic encoding is applied to the binary data string, applies arithmetic encoding to the binary data string, and outputs the bitstream which includes the binary data string to which arithmetic encoding has been applied;
when arithmetic encoding is not applied to the binary data string, skips applying arithmetic encoding to the binary data string, and outputs the bitstream which includes the binary data string to which arithmetic encoding has not been applied;
when binarizing the image information, binarizes frequency transform coefficient information which is related to frequency components of an image and included in the image information, according to different binarization formats between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string; and
when binarizing the image information, binarizes a part or an entirety of prediction parameter information which is related to prediction methods of the image and included in the image information, according to a common binarization format between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string.

### Claim 2 (depends on 1)

The encoder according to claim 1,
wherein the circuitry binarizes at least one of the following kinds of information included in the prediction parameter information: information related to coding modes, information related to prediction directions in intra prediction, information related to reference pictures in inter prediction, and information related to motion vectors in inter prediction, according to the common binarization format between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string.

### Claim 3 (depends on 1)

The encoder according to claim 1,
wherein the circuitry binarizes the following kinds of information included in the prediction parameter information: information related to coding modes, information related to prediction directions in intra prediction, information related to reference pictures in inter prediction, and information related to motion vectors in inter prediction, according to the common binarization format between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string.

### Claim 4 (depends on 1)

The encoder according to claim 1,
wherein, when binarizing the image information, the circuitry binarizes only the frequency transform coefficient information in the image information according to the different binarization formats, and binarizes all information other than the frequency transform coefficient information in the image information according to the common binarization format.

### Claim 5 (depends on 1)

The encoder according to claim 1,
wherein, when binarizing the image information, the circuitry binarizes the frequency transform coefficient information according to a format which generates a smaller number of bits when arithmetic encoding is not applied to the binary data string than when arithmetic encoding is applied to the binary data string.

### Claim 6

A decoder which obtains a bitstream in which image information has been encoded and decodes the image information, the decoder comprising:
memory;
circuitry accessible to the memory,
wherein the circuitry accessible to the memory:
obtains the bitstream which includes a binary data string in which the image information has been binarized;
switches whether or not to apply arithmetic decoding to the binary data string included in the bitstream;
when arithmetic decoding is applied to the binary data string, applies arithmetic decoding to the binary data string, and inverse binarizes the binary data string to which arithmetic decoding has been applied, to decode the image information;
when arithmetic decoding is not applied to the binary data string, skips applying arithmetic decoding to the binary data string, and inverse binarizes the binary data string to which arithmetic decoding has not been applied, to decode the image information;
when inverse binarizing the binary data string, inverse binarizes a first portion which is included in the binary data string and in which frequency transform coefficient information related to frequency components of an image has been binarized, according to different inverse binarization formats between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string; and
when inverse binarizing the binary data string, inverse binarizes a second portion which is included in the binary data string and in which a part or an entirety of prediction parameter information related to prediction methods of an image has been binarized, according to a common inverse binarization format between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string.

### Claim 7 (depends on 6)

The decoder according to claim 6,
wherein the circuitry inverse binarizes the second portion in which at least one of the following kinds of information included in the prediction parameter information has been binarized: information related to coding modes; information related to prediction directions in intra prediction; information related to reference pictures in inter prediction; and information related to motion vectors in inter prediction, according to the common inverse binarization format between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string.

### Claim 8 (depends on 6)

The decoder according to claim 6,
wherein the circuitry inverse binarizes the second portion in which the following kinds of information included in the prediction parameter information have been binarized: information related to coding modes, information related to prediction directions in intra prediction, information related to reference pictures in inter prediction, and information related to motion vectors in inter prediction, according to the common inverse binarization format between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string.

### Claim 9 (depends on 6)

The decoder according to claim 6,
wherein, when inverse binarizing the binary data string, the circuitry inverse binarizes only the first portion in the binary data string according to the different inverse binarization formats, and inverse binarizes all information other than the first portion in the binary data string according to the common inverse binarization format.

### Claim 10 (depends on 6)

The decoder according to claim 6,
wherein, when inverse binarizing the binary data string, the circuitry inverse binarizes the first portion in which the frequency transform coefficient information has been binarized according to a format which generates a smaller number of bits when arithmetic decoding is not applied to the binary data string than when arithmetic decoding is applied to the binary data string.

### Claim 11

An encoding method for encoding image information and outputting a bitstream in which the image information has been encoded, the encoding method comprising:
binarizing the image information;
switching whether or not to apply arithmetic encoding to a binary data string in which the image information has been binarized;
when arithmetic encoding is applied to the binary data string, applying arithmetic encoding to the binary data string, and outputting the bitstream which includes the binary data string to which arithmetic encoding has been applied;
when arithmetic encoding is not applied to the binary data string, skipping applying arithmetic encoding to the binary data string, and outputting the bitstream which includes the binary data string to which arithmetic encoding has not been applied;
in the binarizing of the image information, binarizing frequency transform coefficient information which is related to frequency components of an image and included in the image information, according to different binarization formats between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string; and
in the binarizing of the image information, binarizing a part or an entirety of prediction parameter information which is related to prediction methods of the image and included in the image information, according to a common binarization format between when arithmetic encoding is applied to the binary data string and when arithmetic encoding is not applied to the binary data string.

### Claim 12

A decoding method for obtaining a bitstream in which image information has been encoded and decoding the image information, the decoding method comprising:
obtaining the bitstream which includes a binary data string in which the image information has been binarized;
switching whether or not to apply arithmetic decoding to the binary data string included in the bitstream;
when arithmetic decoding is applied to the binary data string, applying arithmetic decoding to the binary data string, and inverse binarizing the binary data string to which arithmetic decoding has been applied, to decode the image information;
when arithmetic decoding is not applied to the binary data string, skipping applying arithmetic decoding to the binary data string, and inverse binarizing the binary data string to which arithmetic decoding has not been applied, to decode the image information;
in the inverse binarizing of the binary data string, inverse binarizing a first portion which is included in the binary data string and in which frequency transform coefficient information related to frequency components of an image has been binarized, according to different inverse binarization formats between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string; and
in the inverse binarizing of the binary data string, inverse binarizing a second portion which is included in the binary data string and in which a part or an entirety of prediction parameter information related to prediction methods of an image has been binarized, according to a common inverse binarization format between when arithmetic decoding is applied to the binary data string and when arithmetic decoding is not applied to the binary data string.
