# US 2015/0146796 A1 · Image-encoding method and a device therefor, and image-decoding method and a device therefor

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

- Number: US 2015/0146796 A1
- Document ID: US20150146796A1
- Status: Published application
- Kind: A1
- Application number: 14/604,286
- Filed: 2015-01-23
- Published: 2015-05-28
- Earliest claimed: 2008-06-13
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jianle CHEN; Jae-chool LEE; Sang-rae LEE; Min-su CHEON; Kyo-hyuk LEE
- Web page: https://patentgrep.com/patent/US20150146796A1

## CPC

- H04N 19/172: the region being a picture, frame or field
- H04N 19/129: Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding method is provided, in which image data divided into basic blocks is classified in units of groups and subgroups, wherein each group comprises at least one basic block and each subgroup comprises at least one basic block and is included in each group; an encoding mode for a predetermined group is determined in order to encode the predetermined group, wherein the encoding mode represents a mode for encoding data included in the predetermined group in units of one data processing unit selected from a group, a subgroup, and a basic block; and the data of the predetermined group is encoded according to the determined encoding mode. Detailed operations in the image encoding method are performed in consideration of the encoding mode of the group.

## Claims

### Claim 1

An image decoding method comprising:
receiving a bitstream comprising image data encoded in a predetermined subgroup;
determining one or more basic blocks hierarchically split from the predetermined subgroup according to a flag related to a hierarchical structure of a basic block; and
decoding the one or more basic blocks according to a zigzag scan order,
wherein the one or more basic blocks comprises a first basic block, a second basic block, a third basic block and a fourth basic block,
wherein a top left pixel of the first basic block is located at (x0, y0),
a top left pixel of the second basic block is located at (x0+S, y0),
a top left pixel of the third basic block is located at (x0, y0+S), and
a top left pixel of a fourth basic block is located at (x0+S, y0+S),
wherein S is a size of the first basic block,
wherein the zigzag scan order represents a decoding order from the first basic block, to the second basic block, to the third basic block, to the fourth basic block, and
wherein the decoding the one or more basic blocks comprises:
when the top left pixel of second basic block deviates from a boundary of the image data and the top left pixel of first basic block and the top left pixel of the third basic block remain within the boundary of the image data, decoding the third basic block after the decoding of the first basic block, without decoding the second basic block.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein a size of the predetermined subgroup is set as one of 8×8, 16×16 and 32×32.

### Claim 3 (depends on 1)

The image decoding method of claim 1, wherein a size of each of the one or more basic blocks is set as one of 8×8, 16×16 and 32×32.
