# US 2014/0153649 A1 · 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 2014/0153649 A1
- Document ID: US20140153649A1
- Status: Published application
- Kind: A1
- Application number: 14/176,826
- Filed: 2014-02-10
- Published: 2014-06-05
- Earliest claimed: 2004-10-12
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Kazushi Sato; Teruhiko Suzuki; Osamu Sunohara; Yoichi Yagasaki
- Web page: https://patentgrep.com/patent/US20140153649A1

## 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

A decoding method for decoding received input image compression information, the 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 first motion vector information of a first macroblock neighboring the current macroblock and absolute values of second motion vector information of a second macroblock neighboring the current macroblock, and when the current macroblock is subjected to the field-based encoding, the first neighboring macroblock is subjected to frame-based encoding, and the second neighboring macroblock is subjected to frame-based encoding, calculating the second motion vector information corresponding to the second neighboring macroblock by converting a vertical component of the second motion vector information corresponding to the second neighboring macroblock to an equivalent for an encoding type of a first neighboring macroblock, and applying the second motion vector information corresponding to the second neighboring macroblock to the context model corresponding to the motion vector information of the current macroblock; and
decoding the input image compression information using the context model corresponding to the syntax element for carrying out the frame-based or the field-based encoding.
