# US 8,571,116 B2 · Coding device and method, decoding device and method, recording medium, and program

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

- Number: US 8,571,116 B2
- Document ID: US8571116B2
- Status: Granted
- Kind: B2
- Application number: 13/546,666
- Filed: 2012-07-11
- Published: 2012-11-01
- Granted: 2013-10-29
- Earliest claimed: 2002-04-26
- Assignees: Sony Corporation
- Applicants: Kazushi Sato; Teruhiko Suzuki; Osamu Sunohara; Yoichi Yagasaki
- Inventors: Kazushi Sato; Teruhiko Suzuki; Osamu Sunohara; Yoichi Yagasaki
- Web page: https://patentgrep.com/patent/US8571116B2

## CPC

- H04N 19/52: by predictive encoding
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/16: for a given display mode, e.g. for interlaced or progressive display mode
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/537: Motion estimation other than block-based
- H03M 7/4006: {Conversion to or from arithmetic code}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- 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 encoding apparatus and an encoding method, a decoding apparatus and a decoding method, a recording medium, and a program suitable for encoding image signals with a higher compression ratio for transmission or accumulation. In an arithmetic coding section, from among the syntax elements of input image compression information, the frame/field flag is first encoded by a frame/field flag context model. When the macroblock to be processed is subjected to frame-based encoding, a frame-based context model, specified in the current H.26L standard, is applied. On the other hand, when the macroblock to be processed is subjected to field-based encoding, a field-based context model is applied for the syntax elements described below. The present invention is applied to an encoder for encoding image information and a decoder for decoding image information.

## Claims

### Claim 1

An encoding method for adaptively carrying out field-based or frame-based encoding processing at a macroblock level with image information as an input, the encoding method comprising:
generating a context model corresponding to motion vector information of a current macroblock, wherein the context model is generated based on a sum of absolute values of motion vector information of macroblocks neighboring the current macroblock, and when the current macroblock is subjected to the frame-based encoding and a neighboring macroblock is subjected to field-based encoding, calculating the motion vector information corresponding to the neighboring macroblock by converting a vertical component of the motion vector information corresponding to the neighboring macroblock to an equivalent for frame-based encoding, and applying the motion vector information corresponding to the neighboring macroblock to the context model corresponding to the motion vector information of the current macroblock; and
carrying out the encoding processing using the context model corresponding to the motion vector information of the current macroblock generated in the generating step.

### Claim 2

An encoding apparatus for adaptively carrying out field-based or frame-based encoding processing at a macroblock level with image information as an input, the encoding apparatus comprising:
a processor configured to generate a context model corresponding to motion vector information of a current macroblock, wherein the context model is generated based on a sum of absolute values of motion vector information of macroblocks neighboring the current macroblock, and when the current macroblock is subjected to the frame-based encoding and a neighboring macroblock is subjected to field-based encoding, the processor is configured to calculate the motion vector information corresponding to the neighboring macroblock by converting a vertical component of the motion vector information corresponding to the neighboring macroblock to an equivalent for frame-based encoding, and to apply the motion vector information corresponding to the neighboring macroblock to the context model corresponding to the motion vector information of the current macroblock; and
an encoder configured to carry out the encoding processing using the context model corresponding to the motion vector information of the current macroblock generated by the processor.
