WO2005046243A1 - A method of video macro block pattern encoding - Google Patents

A method of video macro block pattern encoding Download PDF

Info

Publication number
WO2005046243A1
WO2005046243A1 PCT/CN2004/001140 CN2004001140W WO2005046243A1 WO 2005046243 A1 WO2005046243 A1 WO 2005046243A1 CN 2004001140 W CN2004001140 W CN 2004001140W WO 2005046243 A1 WO2005046243 A1 WO 2005046243A1
Authority
WO
WIPO (PCT)
Prior art keywords
cbp
mode
encoding
transformation
block pattern
Prior art date
Application number
PCT/CN2004/001140
Other languages
French (fr)
Chinese (zh)
Inventor
Lianhuan Xiong
Original Assignee
Huawei Technologies Co., Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd filed Critical Huawei Technologies Co., Ltd
Priority to CNB2004800169122A priority Critical patent/CN1327712C/en
Publication of WO2005046243A1 publication Critical patent/WO2005046243A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]

Definitions

  • the present invention relates to the field of multimedia communications, and in particular, to a video macroblock mode encoding method.
  • H.263 and H.264 are based on DCT transformation. Among them, H.264 and MPEG-4 AVC use integer conversion methods with performance close to DCT.
  • the general processing framework is shown in Figure 1.
  • the entropy coding methods mainly include variable-length coding and arithmetic coding methods.
  • variable-length coding mainly include variable-length coding and arithmetic coding methods.
  • arithmetic coding method there are three types of entropy coding methods: universal variable-length coding method UVLC, and context-based variable-length coding.
  • the UVLC entropy coding method used by H.264 is the Exp-Golomb entropy coding method [ll , the basic idea is: use “1" as the identifier, the number of "0" before “1” and the information after "1" The number of digits is the same.
  • the codeword sequence Codenum value is decoded by the following methods:
  • Codenum 2 M + INFO-1. Regardless of the encoding side or the decoding side, if the codeword sequence number Codenum is 0, both INFO and M are 0, and vice versa.
  • the purpose of the present invention is to propose a new encoding method that can perform macroblock mode encoding CBP encoding based on 8x8 or 4x4 transform based on universal variable-length encoding.
  • a video macroblock mode encoding method characterized in that the value of the macroblock mode encoding CBP is a 6-bit non-negative integer, in which the upper two bits correspond to a chroma block and the lower four bits correspond to a luma block; said Methods include:
  • a transformation mode of the macroblock mode encoding to a codeword sequence number the transformation mode including a correspondence between the codeword sequence number and an intra-frame encoding mode and an inter-frame encoding mode
  • the transformation method is based on 8x8 or 4x4 transformation.
  • the coding method according to the present invention is obtained based on the CBP characteristics of some typical video sequences, and therefore can better reflect the statistical characteristics of CBP, and has better coding performance.
  • FIG. 1 is a schematic diagram of a DCT-based video compression framework in the prior art
  • FIG. 2 is a schematic diagram of an arrangement sequence of 8x8 blocks in a 16x16 macroblock according to an embodiment of the present invention.
  • the present invention provides a CBP-to-Codenum mapping method based on UVLC coding, which is suitable for a video compression method based on 8x8 or 4x4 transform.
  • the value of the macroblock mode code CBP XXXXX (543210) is a 6-bit non-negative integer, which is calculated according to the arrangement order of 8> ⁇ 8 blocks in the 16 ⁇ 16 macroblock shown in FIG. 2.
  • the upper two bits correspond to the chroma. Block, the lower four bits correspond to the luminance block. If the n-th bit is 1, it means that the 8x8 block corresponding to the bit has at least one non-zero DCT transform coefficient. If the n-th bit is 0, it means that all the DCT transform coefficients of the 8x8 block corresponding to the bit are zero.
  • the CBP to Codenum mapping method provided by the present invention is not limited to the UVLC coding method corresponding to Table 1, but can also be applied to other UVLC coding methods, such as asymmetric UVLC coding methods in which the number of information bits before and after the flag bit 1 is asymmetric.
  • the CBP-to-Codenum mapping method based on UVLC coding according to the present invention is derived based on the CBP characteristics of some typical video sequences, and therefore can better reflect the statistical characteristics of CBP, and has better coding performance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Lock And Its Accessories (AREA)

Abstract

A method of video macro block pattern encoding, the coded block pattern (CBP) comprises 6 digits of nonnegative integers, the two high digits corresponding to the luminance, and the four low digits corresponding to the chrome. The character is that dividing the video image into plural blocks and determining the transforming mode from CBP to code number. The transforming mode includes the corresponding relation among the code numbers, intra code mode and inter code mode. According to that relation, the coded block pattern (CBP) is performed. This invention maps the video block pattern encoding CBP into Codenum depending on the universal variable length code (UVLC). Since the conclusion is drawn on the characters of some typical video sequences of the CBP, fit can represent a good statistic characters and have a nice encoding quality.

Description

一种视频宏块模式编码方法 技术领域  Video macroblock mode encoding method TECHNICAL FIELD
本发明涉及多媒体通信领域, 尤其涉及一种视频宏块模式编码方法。 技术背景  The present invention relates to the field of multimedia communications, and in particular, to a video macroblock mode encoding method. technical background
现有的视频图像压缩标准 MPEG - 1、 MPEG - 2. MPEG - 4, H.26K Existing video image compression standards MPEG-1, MPEG-2. MPEG-4, H.26K
H.263、 H.264都是基于 DCT变换的, 其中 H.264和 MPEG-4 AVC采用的是性 能逼近于 DCT的整数变换方法, 其一般处理框架如图 1所示。 H.263 and H.264 are based on DCT transformation. Among them, H.264 and MPEG-4 AVC use integer conversion methods with performance close to DCT. The general processing framework is shown in Figure 1.
其中的熵编码方法主要包括变长编码和算术编码方法, 例如, 在 H.264 中, 采用的熵编码方法有三种: 通用变长编码方法 UVLC、 基于上下文关系 ( context-based )的变长编码方法 CAVLC和基于上下文关系的算术编码方法 CABAC。  The entropy coding methods mainly include variable-length coding and arithmetic coding methods. For example, in H.264, there are three types of entropy coding methods: universal variable-length coding method UVLC, and context-based variable-length coding. Methods CAVLC and context-based arithmetic coding method CABAC.
H.264所采用的 UVLC 熵编码方法为 Exp-Golomb熵编码方法 [ll, 基本思 想为: 用 "1" 作为识别符, "1" 前面的 "0" 的个数和 "1" 后面的信息位 数相同。 The UVLC entropy coding method used by H.264 is the Exp-Golomb entropy coding method [ll , the basic idea is: use "1" as the identifier, the number of "0" before "1" and the information after "1" The number of digits is the same.
码字 "Codeword" 的结构形式为:  The structure of the codeword "Codeword" is:
[M zeros][l][INFO]  [M zeros] [l] [INFO]
在编码端, 对于给定的码字序号 Codenum值, 通过以下方法来计算识别 符 "1" 前面的 "0" 的个数 M和识别符 "1" 后面的信息 INFO值:  At the encoding end, for a given codeword number Codenum value, the following methods are used to calculate the number of "0" M before the identifier "1" and the information INFO value after the identifier "1":
M = \og 2(Codenum + 1)  M = \ og 2 (Codenum + 1)
Length = 2M + 1  Length = 2M + 1
INFO = Codenum + l - 2M INFO = Codenum + l-2 M
在解码端, 通过以下方法解码出码字序号 Codenum值:  On the decoding side, the codeword sequence Codenum value is decoded by the following methods:
(1)读出识别符 " 及前面的 "0" 符号, 设读出的符号 "0" '的个数 (2)读出识别符 " 后面的 Μ位信息, 令其值为 /NFO。 (1) Read the identifier "and the preceding" 0 "symbol, and set the number of the read symbol" 0 "' (2) The M-bit information following the identifier "is read, and its value is / NFO.
(3) Codenum = 2M + INFO - 1。 不管是编码端还是解码端, 如果码字序号 Codenum为 0, 则 INFO和 M都 为 0, 反之亦然。 (3) Codenum = 2 M + INFO-1. Regardless of the encoding side or the decoding side, if the codeword sequence number Codenum is 0, both INFO and M are 0, and vice versa.
码字序号 Codenum与码字 Codeword的对应关系如表 1所示。  The corresponding relationship between the codeword serial number Codenum and the codeword Codeword is shown in Table 1.
表 1 H.264中码字序号 Codenum与码字 Codeword对应关系  Table 1 Correspondence between Codenum and Codeword in H.264
Figure imgf000004_0001
Figure imgf000004_0001
在采用 UVLC方法对 CBP进行编码时, 首先要确定 CBP到 Codenum的映 射关系。 H.264中 CBP与 Codenum的映射关系如表 2所示。  When using the UVLC method to encode CBP, we must first determine the mapping relationship between CBP and Codenum. The mapping relationship between CBP and Codenum in H.264 is shown in Table 2.
表 2 H.264中 CBP与 Codenum的映射关系  Table 2 Mapping relationship between CBP and Codenum in H.264
Codenum coded_block— pattern  Codenum coded_block— pattern
Intra— 4x4 Inter  Intra— 4x4 Inter
0 47 0  0 47 0
1 31 16  1 31 16
2 15 1  2 15 1
3 0 2  3 0 2
4 23 4  4 23 4
5 27 8  5 27 8
6 29 32 ε 6 29 32 ε
Figure imgf000005_0001
Figure imgf000005_0001
0M100/^00ZN3/X3d 在 H.264采用的 UVLC熵编码方法中, CBP到 Codenum的映射方法是基于 4x4变换进行考虑的。 对于其他变换, 并没有充分的考虑。 0M100 / ^ 00ZN3 / X3d In the UVLC entropy coding method used in H.264, the CBP to Codenum mapping method is considered based on the 4x4 transform. For other transformations, not enough consideration has been given.
发明内容 Summary of the invention
本发明的目的就是提出一种新的编码方式,可以基于通用变长编码进行 基于 8x8或 4x4变换的宏块模式编码 CBP编码。  The purpose of the present invention is to propose a new encoding method that can perform macroblock mode encoding CBP encoding based on 8x8 or 4x4 transform based on universal variable-length encoding.
为此, 本发明采用如下技术方案。  Therefore, the present invention adopts the following technical solutions.
一种视频宏块模式编码方法,其特征在于所述的宏块模式编码 CBP的取 值为 6位非负整数, 其中高两位对应于色度块, 低四位对应于亮度块; 所述方法包括:  A video macroblock mode encoding method, characterized in that the value of the macroblock mode encoding CBP is a 6-bit non-negative integer, in which the upper two bits correspond to a chroma block and the lower four bits correspond to a luma block; said Methods include:
将视频图像进行分块, 分成若干宏块;  Divide the video image into several macroblocks;
确定宏块模式编码到码字序号的变换方式,该变换方式包括码字序号与 帧内编码模式及帧间编码模式的对应关系;  Determining a transformation mode of the macroblock mode encoding to a codeword sequence number, the transformation mode including a correspondence between the codeword sequence number and an intra-frame encoding mode and an inter-frame encoding mode;
按照该对应关系完成通用变长编码的宏块模式编码 CBP的编码。  According to the corresponding relationship, the coding of the general variable length coding macroblock mode coding CBP is completed.
所述的变换方式为基于 8x8或 4x4的变换。  The transformation method is based on 8x8 or 4x4 transformation.
所述的变换对应关系为:  The transformation correspondence is:
Codenum CBP  Codenum CBP
xxxxxx  xxxxxx
(543210)  (543210)
帧内编码模式 帧间编码模式  Intra coding mode Inter coding mode
0 63 0  0 63 0
1 15 15  1 15 15
2 31 63  2 31 63
3 47 31  3 47 31
4 0 16  4 0 16
5 14 32  5 14 32
6 13 47  6 13 47
7 11 13  7 11 13
8 7 14  8 7 14
9 5 11  9 5 11
10 10 12
Figure imgf000007_0001
10 10 12
Figure imgf000007_0001
o oo請 工:) a 舊 sooz ΟΛ\ 49 48 46 o oo please work :) a old sooz ΟΛ \ 49 48 46
50 22 36  50 22 36
51 33 33  51 33 33
52 25 34  52 25 34
53 49 40  53 49 40
54 40 52  54 40 52
55 36 49  55 36 49
56 34 50  56 34 50
57 50 56  57 50 56
58 52 25  58 52 25
59 54 22  59 54 22
60 41 54  60 41 54
61 56 57  61 56 57
62 38 41  62 38 41
63 57 38 或者所述的变换对应关系为:  63 57 38 or the transformation correspondence is:
Codenum CBP Codenum CBP
xxxxx  xxxxx
(543210)  (543210)
帧内编码模式 帧间编码模式 Intra coding mode Inter coding mode
0 63 00 63 0
1 31 41 31 4
2 15 82 15 8
3 47 13 47 1
4 0 24 0 2
5 61 155 61 15
6 55 126 55 12
7 59 57 59 5
8 51 108 51 10
9 62 39 62 3
10 14 1610 14 16
1 1 12 131 1 12 13
12 13 1412 13 14
13 7 3213 7 32
14 60 714 60 7
15 1 1 1 1 18 16 6315 1 1 1 1 18 16 63
19 30 3119 30 31
20 23 4720 23 47
21 53 4821 53 48
22 10 2022 10 20
23 27 1723 27 17
24 32 2424 32 24
25 28 1825 28 18
26 8 2126 8 21
27 1 3627 1 36
28 48 3328 48 33
29 4 4029 4 40
30 2 3430 2 34
31 5 2631 5 26
32 19 3732 19 37
33 58 1933 58 19
34 46 2834 46 28
35 21 4235 21 42
36 39 2936 39 29
37 43 2337 43 23
38 26 2738 26 27
39 49 3039 49 30
40 45 4440 45 44
41 17 5341 17 53
42 44 4642 44 46
43 35 6243 35 62
44 6 3544 6 35
45 9 5845 9 58
46 52 6146 52 61
47 24 4547 24 45
48 50 3948 50 39
49 56 4349 56 43
50 18 5550 18 55
51 20 59 51 20 59
6A 52 42 49 6A 52 42 49
53 37 60  53 37 60
54 25 52  54 25 52
55 36 50  55 36 50
56 33 56  56 33 56
57 57 51  57 57 51
58 22 25  58 22 25
59 54 22  59 54 22
60 40 38  60 40 38
61 34 41  61 34 41
62 38 57  62 38 57
63 41 54  63 41 54
本发明所述的编码方法, 是基于一些典型视频序列的 CBP特性得出的, 因而能比较好地反映 CBP的统计特性, 具有较好的编码性能。  The coding method according to the present invention is obtained based on the CBP characteristics of some typical video sequences, and therefore can better reflect the statistical characteristics of CBP, and has better coding performance.
附图说明 BRIEF DESCRIPTION OF THE DRAWINGS
图 1是现有技术中基于 DCT的视频压缩框架示意图;  1 is a schematic diagram of a DCT-based video compression framework in the prior art;
图 2是本发明实施例中 16x16宏块中 8x8块的排列顺序示意图。  FIG. 2 is a schematic diagram of an arrangement sequence of 8x8 blocks in a 16x16 macroblock according to an embodiment of the present invention.
具体实施方式 detailed description
下面结合说明书附图来说明本发明的具体实施方式。  The following describes specific embodiments of the present invention with reference to the accompanying drawings.
本发明给出了一种基于 UVLC编码的 CBP到 Codenum映射方法, 适合于 基于 8x8或 4x4变换的视频压缩方法。 其中宏块模式编码 CBP的取值 XXXXXX (543210)为 6位非负整数, 是按照图 2所示的 16χ 16宏块中 8><8块 排列顺序进行计算的, 高两位对应于色度块, 低四位对应于亮度块。 若第 η 位为 1, 则说明该位所对应的 8x8块具有至少一个非零 DCT变换系数, 若第 η 位为 0, 则说明该位所对应的 8x8块的所有 DCT变换系数都为零。  The present invention provides a CBP-to-Codenum mapping method based on UVLC coding, which is suitable for a video compression method based on 8x8 or 4x4 transform. The value of the macroblock mode code CBP XXXXXX (543210) is a 6-bit non-negative integer, which is calculated according to the arrangement order of 8> <8 blocks in the 16 × 16 macroblock shown in FIG. 2. The upper two bits correspond to the chroma. Block, the lower four bits correspond to the luminance block. If the n-th bit is 1, it means that the 8x8 block corresponding to the bit has at least one non-zero DCT transform coefficient. If the n-th bit is 0, it means that all the DCT transform coefficients of the 8x8 block corresponding to the bit are zero.
下面给出两种 CBP到 Codenum映射方法  Here are two CBP to Codenum mapping methods
6B CBP与 CodeNum的映射关系 6B Mapping relationship between CBP and CodeNum
Codenum CBP  Codenum CBP
xxxxxx  xxxxxx
(543210)  (543210)
帧内编码模式 帧间编码模式 Intra coding mode Inter coding mode
0 63 0 0 63 0
1 15 15  1 15 15
2 31 63  2 31 63
3 47 31  3 47 31
4 0 16  4 0 16
5 14 32  5 14 32
6 13 47  6 13 47
7 11 13  7 11 13
8 7 14  8 7 14
9 5 11  9 5 11
10 10 12  10 10 12
11 8 5  11 8 5
12 12 10  12 12 10
13 61 7  13 61 7
14 4 48  14 4 48
15 55 3  15 55 3
16 1 2  16 1 2
17 2 8  17 2 8
18 59 4  18 59 4
19 3 1  19 3 1
20 62 61  20 62 61
21 9 55  21 9 55
22 6 59  22 6 59
23 29 62  23 29 62
24 45 29  24 45 29
25 51 27  25 51 27
26 23 23  26 23 23
27 39 19  27 39 19
28 27 30  28 27 30
29 46 28  29 46 28
30 53 9  30 53 9
31 30 6  31 30 6
32 43 60 38 19 1832 43 60 38 19 18
39 35 2039 35 20
40 42 2440 42 24
41 26 5341 26 53
42 44 1742 44 17
43 32 3743 32 37
44 58 3944 58 39
45 24 4545 24 45
46 20 5846 20 58
47 17 4347 17 43
48 18 4248 18 42
49 48 4649 48 46
50 22 3650 22 36
51 33 3351 33 33
52 25 3452 25 34
53 49 4053 49 40
54 40 5254 40 52
55 36 4955 36 49
56 34 5056 34 50
57 50 5657 50 56
58 52 2558 52 25
59 54 2259 54 22
60 41 5460 41 54
61 56 5761 56 57
62 38 4162 38 41
63 57 3863 57 38
CBP与 CodeNum的映射关系 Mapping relationship between CBP and CodeNum
Figure imgf000012_0001
Figure imgf000012_0001
8 6 55 128 6 55 12
7 59 57 59 5
8 51 108 51 10
9 62 39 62 3
10 14 1610 14 16
1 1 12 131 1 12 13
12 13 1412 13 14
13 7 3213 7 32
14 60 714 60 7
15 1 1 1 115 1 1 1 1
16 29 916 29 9
17 3 617 3 6
18 16 6318 16 63
19 30 3119 30 31
20 23 4720 23 47
21 53 4821 53 48
22 10 2022 10 20
23 27 1723 27 17
24 32 2424 32 24
25 28 1825 28 18
26 8 2126 8 21
27 1 3627 1 36
28 48 3328 48 33
29 4 4029 4 40
30 2 3430 2 34
31 5 2631 5 26
32 19 3732 19 37
33 58 1933 58 19
34 46 2834 46 28
35 21 4235 21 42
36 39 2936 39 29
37 43 2337 43 23
38 26 2738 26 27
39 49 3039 49 30
40 45 44 40 45 44
8A 41 17 53 8A 41 17 53
42 44 46  42 44 46
43 35 62  43 35 62
44 6 35  44 6 35
45 9 58  45 9 58
46 52 61  46 52 61
47 24 45  47 24 45
48 50 39  48 50 39
49 56 43  49 56 43
50 18 55  50 18 55
51 20 59  51 20 59
52 42 49  52 42 49
53 37 60  53 37 60
54 25 52  54 25 52
55 36 50  55 36 50
56 33 56  56 33 56
57 57 51  57 57 51
58 22 25  58 22 25
59 54 22  59 54 22
60 40 38  60 40 38
61 34 41  61 34 41
62 38 57  62 38 57
63 41 54  63 41 54
本发明所给出的 CBP到 Codenum映射方法不局限于表 1所对应的 UVLC编 码方法, 也可以应用于其它 UVLC编码方法, 如标志位 1的前后信息位数非对 称的 UVLC编码方法。  The CBP to Codenum mapping method provided by the present invention is not limited to the UVLC coding method corresponding to Table 1, but can also be applied to other UVLC coding methods, such as asymmetric UVLC coding methods in which the number of information bits before and after the flag bit 1 is asymmetric.
8B 8 x 8或 4 x 4变换方法的 CB P编码问题。 8B CB P coding problem for 8 x 8 or 4 x 4 transform methods.
本发明所述的基于 UVLC编码的 CBP到 Codenum映射方法, 是基于一些典 型视频序列的 CBP特性得出的, 因而能比较好地反映 CBP的统计特性, 具有较 好的编码性能。  The CBP-to-Codenum mapping method based on UVLC coding according to the present invention is derived based on the CBP characteristics of some typical video sequences, and therefore can better reflect the statistical characteristics of CBP, and has better coding performance.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不 局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求书的保护范围为准。  The above are only the preferred embodiments of the present invention, but the scope of protection of the present invention is not limited to this. Any person skilled in the art can easily think of changes or changes within the technical scope disclosed by the present invention. Replacement should be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
9 9

Claims

权 利 要 求 书 Claim
1、 一种视频宏块模式编码方法, 其特征在于所述的宏块模式编码 CBP 的取值为 6位非负整数, 其中高两位对应于色度块, 低四位对应于亮度块; 该方法包括:  1. A video macroblock mode encoding method, characterized in that the value of the macroblock mode encoding CBP is a 6-bit non-negative integer, wherein the upper two bits correspond to a chroma block and the lower four bits correspond to a luma block; The method includes:
将视频图像进行分块, 分成若干宏块;  Divide the video image into several macroblocks;
确定宏块模式编码到码字序号的变换方式, 该变换方式包括码字序号与 帧内编码模式及帧间编码模式的对应关系;  Determining a transformation mode of the macroblock mode encoding to a codeword sequence number, where the transformation mode includes a correspondence between a codeword sequence number and an intra-frame encoding mode and an inter-frame encoding mode;
按照该对应关系完成宏块模式编码 CBP的编码。  The macroblock mode coding CBP coding is completed according to the corresponding relationship.
2、 如权利要求 1所述的方法, 其特征在于所述的变换方式为基于 8x8或 4x4的变换。  2. The method according to claim 1, wherein the transformation method is based on 8x8 or 4x4 transformation.
3、 如权利要求 2所述的方法, 其特征在于所述的变换对应关系为:  3. The method according to claim 2, wherein the transformation correspondence is:
Figure imgf000016_0001
Figure imgf000016_0001
10 Ιΐ 10 I
Figure imgf000017_0001
Figure imgf000017_0001
Ο ΪΟΟ請 ¾D/工:) d 寶 sooz OAV
Figure imgf000018_0001
Ο ΪΟΟ please ¾D / work :) d bao sooz OAV
Figure imgf000018_0001
、 如权利要求 2所述的方法, 其特征在于所述的变换对应关系为: The method according to claim 2, characterized in that said transformation correspondence is:
Figure imgf000019_0001
Figure imgf000019_0001
12A 30 2 3412A 30 2 34
31 5 2631 5 26
32 19 3732 19 37
33 58 1933 58 19
34 46 2834 46 28
35 21 4235 21 42
36 39 2936 39 29
37 43 2337 43 23
38 26 2738 26 27
39 49 3039 49 30
40 45 4440 45 44
41 17 5341 17 53
42 44 4642 44 46
43 35 6243 35 62
44 6 3544 6 35
45 9 5845 9 58
46 52 6146 52 61
47 24 4547 24 45
48 50 3948 50 39
49 56 4349 56 43
50 18 5550 18 55
51 20 5951 20 59
52 42 4952 42 49
53 37 6053 37 60
54 25 5254 25 52
55 36 5055 36 50
56 33 5656 33 56
57 57 5157 57 51
58 22 2558 22 25
59 54 2259 54 22
60 40 3860 40 38
61 34 4161 34 41
62 38 5762 38 57
63 41 54 63 41 54
12B 12B
PCT/CN2004/001140 2003-11-05 2004-11-05 A method of video macro block pattern encoding WO2005046243A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004800169122A CN1327712C (en) 2003-11-05 2004-11-05 A method of video macro block pattern encoding

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200310113215 CN1615019A (en) 2003-11-05 2003-11-05 Visual macro-modular encoding method
CN200310113215.6 2003-11-05

Publications (1)

Publication Number Publication Date
WO2005046243A1 true WO2005046243A1 (en) 2005-05-19

Family

ID=34558461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/001140 WO2005046243A1 (en) 2003-11-05 2004-11-05 A method of video macro block pattern encoding

Country Status (2)

Country Link
CN (2) CN1615019A (en)
WO (1) WO2005046243A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4406623B2 (en) * 2005-08-31 2010-02-03 パナソニック株式会社 Video receiver
JP4337911B2 (en) * 2007-05-24 2009-09-30 ソニー株式会社 Imaging device, imaging circuit, and imaging method
CN101170688B (en) * 2007-11-26 2010-12-01 电子科技大学 A quick selection method for macro block mode
US8406297B2 (en) * 2008-10-17 2013-03-26 Futurewei Technologies, Inc. System and method for bit-allocation in video coding
CN101742301B (en) * 2008-11-24 2017-04-19 北京中星微电子有限公司 Block mode coding method and device
JP2013034162A (en) * 2011-06-03 2013-02-14 Sony Corp Image processing device and image processing method
JP2013034163A (en) * 2011-06-03 2013-02-14 Sony Corp Image processing device and image processing method
CN103188489B (en) * 2011-12-30 2016-08-03 联芯科技有限公司 CBP analytic method and device thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991013516A2 (en) * 1990-02-26 1991-09-05 Alcatel Bell-Sdt S.A. Method for coding video signals
TW548989B (en) * 2001-11-06 2003-08-21 Univ Nat Taiwan Universal variable length code encoder architecture

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100856398B1 (en) * 2000-05-17 2008-09-04 삼성전자주식회사 Variable-length coding and decoding method and apparatus using plural mapping tables
CN1335725A (en) * 2000-08-02 2002-02-13 德克萨斯仪器股份有限公司 Error elastic video coding using with reversible length variable code (RVLC)
AU2002351389A1 (en) * 2001-12-17 2003-06-30 Microsoft Corporation Skip macroblock coding
CN1449197A (en) * 2002-03-29 2003-10-15 Lg电子株式会社 B image mode determining method and apparatus of video coding system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1991013516A2 (en) * 1990-02-26 1991-09-05 Alcatel Bell-Sdt S.A. Method for coding video signals
TW548989B (en) * 2001-11-06 2003-08-21 Univ Nat Taiwan Universal variable length code encoder architecture

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NAGI-MAN CHEUNG ET AL.: "Configurable variable length code for video coding", ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, PROCEEDINGS 2001 IEEE INTERNATIONAL CONFERENCE, vol. 3, 2001 *
YUJI ITOH ET AL.: "Bi-directional motion vector coding using Universal VLC", SIGNAL PROCESSING, IMAGE COMMUNICATION, vol. 14, 1999, pages 541 - 557 *
ZHU XIUCHANG ET AL.: "New standard of video encoding - H.264", SCIENCE OF TELECOMMUNICATION, December 2002 (2002-12-01), pages 26 - 29 *

Also Published As

Publication number Publication date
CN1806446A (en) 2006-07-19
CN1327712C (en) 2007-07-18
CN1615019A (en) 2005-05-11

Similar Documents

Publication Publication Date Title
JP5128945B2 (en) Lossless encoding and decoding method and apparatus for moving images
JP4240283B2 (en) Decoding device and decoding method
CN104303506B (en) The processing unit and method of the adaptively sampled point skew of video data
KR101698499B1 (en) Video Coding Method and Apparatus by Using Partition Layer
WO2005027521A1 (en) Entropy coding method for encoding remanet coefficient in video predicting
CN102752592B (en) Entropy coding method of video transformation coefficient
CN101282480B (en) Advance macro-block entropy coding for advanced video standards
WO2005046243A1 (en) A method of video macro block pattern encoding
WO2024022356A1 (en) Encoding and decoding method, apparatus and device
US7203373B2 (en) Image and video coding with redundant run-length-level-last codewords removed
JP4687998B2 (en) Encoding apparatus and encoding method
JP5057497B2 (en) Decoding device and decoding method
JP5041061B2 (en) Decoding device and decoding method
JP5041060B2 (en) Encoding apparatus and encoding method
JP5057498B2 (en) Decoding device and decoding method
JP5057494B2 (en) Encoding apparatus and encoding method
JP5041062B2 (en) Decoding device and decoding method
JP5692172B2 (en) Decoding device, decoding method, and decoding program.
JP5057495B2 (en) Decoding device and decoding method
JP5062320B2 (en) Encoding apparatus and encoding method
JP5057496B2 (en) Encoding apparatus and encoding method
Muthu et al. Reduction of bitrate by cost calculation and macroblock level thresholding technique in H. 264 encoder
JP5892203B2 (en) Decoding device, decoding method, and decoding program
JP5500210B2 (en) Encoding apparatus, encoding method, and encoding program
JP5692308B2 (en) Encoding device, encoding method, decoding device, and decoding method

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 20048169122

Country of ref document: CN

122 Ep: pct application non-entry in european phase