WO2006032167A1 - Video encoding/decoding method - Google Patents

Video encoding/decoding method Download PDF

Info

Publication number
WO2006032167A1
WO2006032167A1 PCT/CN2004/001094 CN2004001094W WO2006032167A1 WO 2006032167 A1 WO2006032167 A1 WO 2006032167A1 CN 2004001094 W CN2004001094 W CN 2004001094W WO 2006032167 A1 WO2006032167 A1 WO 2006032167A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
identifier
info
information
num
Prior art date
Application number
PCT/CN2004/001094
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 PCT/CN2004/001094 priority Critical patent/WO2006032167A1/en
Publication of WO2006032167A1 publication Critical patent/WO2006032167A1/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • 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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Definitions

  • the invention relates to an information encoding and decoding method.
  • the existing video image coding compression standards MPEG-1, MPEG-2, MPEG-4, H.261, ⁇ 263, H.264, etc. are all based on discrete digital cosine transform (DCT), in which H.264 and The MPEG-4 AVC standard adopts an integer transform method whose performance is close to DCT.
  • DCT discrete digital cosine transform
  • the general processing procedure is as follows: When the image is transmitted, the sender first inputs the video image, and the image is divided into specific lattices for motion estimation and motion compensation.
  • the entropy coding method mainly includes variable length coding and arithmetic coding methods.
  • variable length coding a universal variable length coding method (UVLC), and a context-based relationship (context) - bas ed ) variable length coding method (CAVLC ) and context-based arithmetic coding method (CABAC).
  • UVLC universal variable length coding method
  • CABAC context-based arithmetic coding method
  • codeword sequence code_num value is decoded by the following method:
  • the above code words have the characteristics of digit symmetry, that is, the number of "0"s in front of the identifier "1" is as many as the number of bits of information behind, and the information bits occupy less than 50% of the entire codeword. Since for a codeword, if the codeword preceding the identifier "1" is in error, it cannot be decoded correctly. Therefore, the excessive number of "0" before the identifier "1” causes the UVLC entropy coding to resist error performance and Reduced coding efficiency.
  • the present invention proposes a video coding method and a corresponding video decoding method thereof, and uses the above method to encode information, in front of the identifier.
  • the leading and subsequent information characters are not the same number of bits, and the information bits occupy more bits.
  • the video coding method provided by the present invention includes:
  • the preamble is determined based on the number of bits M, and the preamble, the identifier, and the information symbol INFO are combined to form an encoded codeword.
  • the number of bits M of the preamble preceding the identifier and the information symbol INFO after the identifier are calculated according to the codeword number according to the following formula:
  • n is the absolute value of the difference between the number of bits M of the preamble preceding the identifier and the information INFO after the identifier, n > 1.
  • the method further includes: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
  • the video decoding method corresponding to the calculation M and INFO modes adopted by the above video coding method includes:
  • the code word number C is calculated according to the following formula. De_num :
  • the information to be encoded and transmitted is determined based on the obtained codeword number CO d e _num.
  • the number of bits M of the leading character before the identifier and the information symbol INFO after the identifier may also be calculated according to the code word number according to the following formula:
  • M log2(code_num+ 2"' + "a 2"' + ⁇ ) - n ;
  • the method further includes: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
  • the video decoding method corresponding to the calculation M and INFO modes adopted by the above video coding method includes:
  • the information to be encoded and transmitted is determined according to the obtained code word number code_imm.
  • the identifier is binary "1" or “0”, when the identifier is ", the preamble is M bit “0”, when the identifier is "0" When the leader is M bit "1"
  • the UVLC-based entropy coding described in the present invention has the characteristics of a bit number asymmetry,
  • the number of preceding preamble symbols and the number of information bits after the identifier may be different.
  • the number of symbols of the preamble is less than the number of bits of information after the identifier, so that the information bits occupy more of the entire encoded data.
  • the large specific gravity which not only makes the invention have higher coding efficiency, but also reduces the probability of leading errors, and therefore, the entropy coding method of the present invention has better performance than the bit-symmetric UVLC entropy coding method. Anti-error performance.
  • the invention proposes a new UVLC-based entropy coding method in the video coding process. If the identifier uses "1", the number of "0" before the identifier "1" and the information bit after "1" The number can be different. For example, the number of "0"s before the identifier "1” ⁇ 1 is less than 1 digit. The following discussion is mainly for this case. The basic idea is: Use “1" as the identifier. In all codewords "codeword”, the number of "0” before “1” is less than the number of bits after the "1" is less than n digits, or part of the codeword” In codeword”, the number of "0" before “1” is less than the number of bits after "1".
  • the number of "0" before “1” is less than the number of bits after the "1", and has the following general description:
  • the first aspect of the present invention is that, at the encoding end, all code words have a bit number asymmetry characteristic.
  • code_num value For the given codeword sequence code_num value, calculate the number M and the identifier of the "0" before the identifier "1" by the following side.
  • n is the absolute value of the difference between the number of bits M of the preamble preceding the identifier and the information INFO after the identifier, and ⁇ > 1 ;
  • the preamble i.e., M bit "0" is determined according to the number of bits M, and the preamble, the identifier "1", and the information symbol INF0 are encoded.
  • the length of the code length is to facilitate the encoding and decoding.
  • the entropy decoding method corresponding to the above entropy coding method includes the following steps: first reading the preamble bit number M in front of the identifier from the received code stream;
  • the information to be encoded and transmitted is determined according to the code word number code_mim.
  • the code word for a given number code- num value by; the following method to calculate the identifier "in front of" 0 "and the number M of the identifier" 1 "information INF0 following values:
  • Length 2 (M+l) .
  • the codeword sequence code-num value is decoded by the following method:
  • M log2 (code-iium+4) - 2.
  • Length 2 (M+D + l.
  • the following codewords have the characteristics of asymmetry of the number of bits, and the preceding codewords have the characteristics of being symmetrical.
  • the codeword sequence code_num value corresponding to the information that needs to be encoded and transmitted; for the given codeword sequence code_num value, calculate the number of "0"s in front of the identifier "1" by the following method M and the identifier "1" after the information INFO value:
  • Length 2M+n+l ;
  • m is the number of bits in the starting preamble with the number of digits asymmetry in front of the identifier
  • n is the number of bits M of the leading character before the identifier and the identifier
  • the absolute value of the difference between the digits of the INF0 symbol; that is, the codeword with the number of "0" in front of the identifier "1" at the beginning of the codeword has a bit-symmetric characteristic, and the identifier "1" is preceded by The number of "0" is less than the number of bits following "1".
  • the identifier is determined, and the number of leading symbols "0" is determined based on the number of bits M, and the leading symbols, i.e., M “0", the identifier "1", and the information symbol INF0 are encoded.
  • the above code length Length is calculated to facilitate the encoding and decoding.
  • the entropy decoding method corresponding to the entropy coding method described in the second scheme above includes the following steps:
  • ⁇ M log2 (code_num+3) one 1.
  • Length 2 (M+l) .
  • codeword sequence code_num value is decoded by the following method:
  • ⁇ M log2 (code_ num+l)
  • ⁇ M log2 (code_num+5) - 1
  • codeword sequence code_num value is decoded by the following method:

Abstract

The present invention discloses a video encoding method. The method comprises the steps of firstly determining the code number (code num) corresponding to the code word to be encoded and transmitted; then calculating M and INFO based on the code number according to the rule that M is smaller than INFO, wherein M is the number of bits of the prefix code before the identifier code and N is the number of bits of the information code after the identifier code; finally determining the prefix code based on the number M and encoding with the prefix code, the identifier code and the information code. The invention further discloses a video decoding method corresponding to the above video coding method. According to the invention, the information bits account for larger proportion in the whole encoding data, thus increases the encoding efficiency and reduces the error rate of the prefix code. Therefore the present inventional entropy encoding method possesses a better anti-error performance compared to the UVLC entropy encoding method in which the number of bits is symmetric.

Description

一种视频编解码方法 技术领域  Video coding and decoding method
本发明涉及一种信息编解码方法。  The invention relates to an information encoding and decoding method.
背景技术 Background technique
在计算机、 通信领域中, 信息是经过编码传送的, 一种编码方式的 抗干扰能力的高低直接影响信息传送的质量。现有的视频图象编码压缩 标准 MPEG - 1、 MPEG - 2、 MPEG - 4、 H. 261、 Η· 263、 H. 264等都是基于离 散数字余弦变换( DCT )的, 其中 H. 264和 MPEG- 4 AVC标准采用的是性能 逼近于 DCT的整数变换方法, 其一般处理过程为: 图像传送时, 发送端 首先输入视频图像,将该图像分 具体的点阵后进行运动估计和运动补 偿, 然后进行 DCT变换和量化处理, 将所述量化处理的图像数据进行熵 编码, 形成编码后的数据码流传送到接收端, 由接收端进行熵解码、 逆 量化处理、 DCT逆变换的运动补偿等操作得到解码后的视频图像。 上述 过程中, 所述熵编码方法主要包括变长编码和算术编码方法, 例如, 在 H. 264标准中, 采用的熵编码方法有三种: 通用变长编码方法 (UVLC )、 基于上下文关系(context- bas ed )的变长编码方法(CAVLC )和基于上 下文关系的算术编码方法 (CABAC)。 其中, H. 264标准所采用的 UVLC 熵编码方法的基本思想为: 对于要传输的码字(Codeword ) , 其结构形 式为:  In the field of computer and communication, information is encoded and transmitted. The anti-interference ability of an encoding method directly affects the quality of information transmission. The existing video image coding compression standards MPEG-1, MPEG-2, MPEG-4, H.261, Η·263, H.264, etc. are all based on discrete digital cosine transform (DCT), in which H.264 and The MPEG-4 AVC standard adopts an integer transform method whose performance is close to DCT. The general processing procedure is as follows: When the image is transmitted, the sender first inputs the video image, and the image is divided into specific lattices for motion estimation and motion compensation. Then performing DCT transform and quantization processing, entropy encoding the quantized image data, forming the encoded data stream to be transmitted to the receiving end, performing entropy decoding, inverse quantization processing, motion compensation of DCT inverse transform, etc. by the receiving end The operation obtains the decoded video image. In the above process, the entropy coding method mainly includes variable length coding and arithmetic coding methods. For example, in the H.264 standard, there are three entropy coding methods: a universal variable length coding method (UVLC), and a context-based relationship (context) - bas ed ) variable length coding method (CAVLC ) and context-based arithmetic coding method (CABAC). Among them, the basic idea of the UVLC entropy coding method adopted by the H.264 standard is: For the codeword to be transmitted, its structural form is:
[M zeros] [1] [INFO] 或者 [M ones] [0] [INFO]; 其中中间的 "1 " 或 " 0" 为识别符, 识别符前面的 [M zeros]或 [M ones]为前导符, 识 别符后面的 [INF0]为信息符。  [M zeros] [1] [INFO] or [M ones] [0] [INFO]; where the middle "1" or "0" is the identifier, and the [M zeros] or [M ones] in front of the identifier is The leading character, [INF0] after the identifier is an information character.
在上述结构中, 假设用 "1 " 作为识别符, "1 " 前面的 " 0" 的 个数和 " 后面的信息位数相同。 在 H. 264标准中, 码字和码字序 号 (code_n画)具有——对应的关系, 参考下表 1 :  In the above structure, it is assumed that "1" is used as the identifier, the number of "0" in front of "1" is the same as the number of bits in the following information. In the H.264 standard, the codeword and the codeword number (code_n draw ) with - corresponding relationship, refer to the following table 1:
表 1 code_num与 Codeword的对应关系 code-iium Codeword  Table 1 Correspondence between code_num and Codeword code-iium Codeword
0 1  0 1
1 010 2 Oi l 1 010 2 Oi l
3 00100  3 00100
4 00101  4 00101
5 00110  5 00110
6 00111  6 00111
7 0001000  7 0001000
8 0001001  8 0001001
9 0001010  9 0001010
10 0001011  10 0001011
11 0001100  11 0001100
12 0001101  12 0001101
1 3 0001110  1 3 0001110
14 0001111  14 0001111
15 000010000  15 000010000
16 000010001 在编码端, 对于给定的码字序号 code_num值, 通过以下方法来计算 识别符 "1 " 前面的 " 0" 的个数和识别符 " 1 " 后面的信息 INFO值: M = l og2 (code— n腿 +1) 16 000010001 On the encoding side, for the given codeword sequence code_num value, the number of "0"s before the identifier "1" and the information INFO value after the identifier "1" are calculated by the following method: M = l og 2 (code—n leg+1)
INFO = code-num + I - 2  INFO = code-num + I - 2
在解码端, 通过以下方法解码出码字序号 code— num值:  At the decoding end, the codeword sequence code_num value is decoded by the following method:
(1) 读出识别符 " 及前面的 "0" 符号, 设读出的符号 "0" 的 个数为 M。  (1) Read the identifier " and the preceding "0" symbol, and set the number of the read symbols "0" to M.
(2) 读出识别符 " 1 " 后面的 M位信息, 令其值为 INF0。  (2) Read the M-bit information following the identifier " 1 " and set its value to INF0.
(3) code_num = 2 + INFO - 1。  (3) code_num = 2 + INFO - 1.
不管是编码端还是解码端,如果码字序号 code— n丽为 0, 则 INFO和 M 都为 0 , 反之亦然。  Regardless of whether it is the encoding end or the decoding end, if the code word number code_n is 0, both INFO and M are 0, and vice versa.
上述码字具有位数对称特点, 即识别符 "1" 前面的 "0" 的个数与 后面的信息位数一样多, 信息位占整个码字的比重不足 50%。 由于对一 个码字来说, 若识别符 " 1 " 前面的码字出错则不能正确解码, 故识别 符 "1" 前面的 "0" 的个数过多导致了 UVLC熵编码抗误码性能和编码 效率的降低。 发明内容 The above code words have the characteristics of digit symmetry, that is, the number of "0"s in front of the identifier "1" is as many as the number of bits of information behind, and the information bits occupy less than 50% of the entire codeword. Since for a codeword, if the codeword preceding the identifier "1" is in error, it cannot be decoded correctly. Therefore, the excessive number of "0" before the identifier "1" causes the UVLC entropy coding to resist error performance and Reduced coding efficiency. Summary of the invention
为了提高视频编码过程中基于 UVLC熵编码方法的编码效率和提 高抗误码性能,本发明提出了一种视频编码方法及其相对应的视频解 码方法, 使用上述方法进行信息编码, 识别符前面的前导符和后面的 信息符的位数不相同, 且信息位占有更多的位数。  In order to improve the coding efficiency and improve the error resistance performance based on the UVLC entropy coding method in the video coding process, the present invention proposes a video coding method and a corresponding video decoding method thereof, and uses the above method to encode information, in front of the identifier. The leading and subsequent information characters are not the same number of bits, and the information bits occupy more bits.
为此, 本发明提供的视频编码方法, 包括:  To this end, the video coding method provided by the present invention includes:
确定需要编码传输的信息对应的码字序号 code— mim;  Determining the codeword number corresponding to the information that needs to be encoded and transmitted code_mim;
根据所述码字序号计算识别符前面的前导符的位数 M和识别符 后面的信息符 INFO, 使 M小于所述信息符 INFO的位数;  Calculating, according to the codeword number, a bit number M of the preamble preceding the identifier and an information symbol INFO following the identifier, such that M is smaller than the number of bits of the information symbol INFO;
根据所述位数 M确定前导符, 将前导符、 识别符和信息符 INFO 组成编码码字。  The preamble is determined based on the number of bits M, and the preamble, the identifier, and the information symbol INFO are combined to form an encoded codeword.
在具体计算时,根据所述码字序号按照下述公式计算识别符前面 的前导符的位数 M和识别符后面的信息符 INFO:  In the specific calculation, the number of bits M of the preamble preceding the identifier and the information symbol INFO after the identifier are calculated according to the codeword number according to the following formula:
M = log2(code_num+ 2'! ) _ n; M = log 2 (code_num+ 2'! ) _ n;
INFO = code一謹 1 + 2"一 2 +"; INFO = code 1 + 2" one 2 + ";
其中, n为识别符前面的前导符的位数 M与识别符后面的信息符 INFO位数差的绝对值, n > 1。  Where n is the absolute value of the difference between the number of bits M of the preamble preceding the identifier and the information INFO after the identifier, n > 1.
基于上述计算,所述方法还包括:按照下式计算码字长度 Length, 以利于进行编解码:  Based on the above calculation, the method further includes: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
Length = 2M+n+l。  Length = 2M+n+l.
与上述视频编码方法采用的计算 M和 INFO方式对应的的视频 解码方法, 包括:  The video decoding method corresponding to the calculation M and INFO modes adopted by the above video coding method includes:
读出识别符前面的前导符位数 M;  Read the number of preambles in front of the identifier M;
读出识别符后面的 M + n位信息, 令其值为 INF0;  Read the M + n bit information after the identifier, and make it the value INF0;
按照下述公式计算码字序号 C。de_num: The code word number C is calculated according to the following formula. De_num :
code— num = 2^+" + INFO 一 2" ; Code— num = 2^ + " + INFO one 2";
根据所得码字序号 COde_num确定要编码传输的信息。 The information to be encoded and transmitted is determined based on the obtained codeword number CO d e _num.
在具体计算时,也可以根据所述码字序号按照下述公式计算识别 符前面的前导符的位数 M和识别符后面的信息符 INFO:  In the specific calculation, the number of bits M of the leading character before the identifier and the information symbol INFO after the identifier may also be calculated according to the code word number according to the following formula:
如果 code—num小于 2"' -1, 贝1 J, M = log2(code_num+ 1 ); If code_num is less than 2"' -1, Bay 1 J, M = log 2 (code_num+ 1 );
INFO = code—num +1— ;  INFO = code—num +1— ;
否则:  Otherwise:
M = log2(code_num+ 2"'+"一 2"' +丄) - n; M = log2(code_num+ 2"' + "a 2"' + 丄) - n ;
M+n  M+n
INFO = code—num + 2"'+" - 2'" + 1一 INFO = code-num + 2"' + " - 2'" + 1
其中, m > 0, η 1; m为从识别符前面的具有位数非对称特性的起始 前导符中的位数, n为识别符前面的前导符的位数 M与识别符后面的信 息符 INFO位数差的绝对值。  Where m > 0, η 1; m is the number of bits in the starting preamble with the number of digits asymmetry in front of the identifier, n is the number of bits M of the leading character before the identifier and the information following the identifier The absolute value of the INFO digit difference.
基于上述计算,所述方法还包括:按照下式计算码字长度 Length, 以利于进行编解码:  Based on the above calculation, the method further includes: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
如果 code—num小于 2"' - 1, 贝 U,  If code_num is less than 2"' - 1, Bay U,
Length = 2M +1;  Length = 2M +1;
否则,  Otherwise,
Length = 2M+n+l  Length = 2M+n+l
与上述视频编码方法采用的计算 M和 INFO方式对应的的视频 解码方法, 包括:  The video decoding method corresponding to the calculation M and INFO modes adopted by the above video coding method includes:
( 1 )读出识别符前面的前导符位数 M;  (1) reading the number of preambles preceding the identifier M;
( 2 )如果 M < m, 则,  (2) If M < m, then
读出识别符后面的 M位信息, 令其值为 INFO;  Read the M-bit information after the identifier, and make it the value of INFO;
否则,  Otherwise,
读出识别符后面的 M + n位信息, 令其值为 INF0;  Read the M + n bit information after the identifier, and make it the value INF0;
( 3 )如果 M < m, 贝' J ,  (3) If M < m, Bay' J,
code— 2M + INFO -1; Code— 2 M + INFO -1;
否则,  Otherwise,
code—num = INFO - 2'"+" + 2'" 一 2^" Code—num = INFO - 2'" + " + 2'" a 2^"
根据所得码字序号 code— imm确定要编码传输的信息。 对于上述方法来说, 所述识别符为二进制 "1" 或 "0" , 当所述 识别符为 " 时, 所述前导符为 M位 "0" , 当所述识別符为 "0" 时, 所述前导符为 M位 "1"  The information to be encoded and transmitted is determined according to the obtained code word number code_imm. For the above method, the identifier is binary "1" or "0", when the identifier is ", the preamble is M bit "0", when the identifier is "0" When the leader is M bit "1"
由于本发明所述的基于 UVLC的熵编码具有位数非对称的特性, 识 别符前面的前导符符号的个数和识别符后面的信息位数可以不相同,前 导符的符号位数比识别符后面的信息位数少, 使得在整个的编码数据 中, 信息位占有更大的比重, 这不但使本发明具有较高的编码效率, 还 能够减少前导符出错的概率, 因此, 与位数对称 UVLC熵编码方法相比, 本发明所述的熵编码方法具有更好的抗误码性能。 Since the UVLC-based entropy coding described in the present invention has the characteristics of a bit number asymmetry, The number of preceding preamble symbols and the number of information bits after the identifier may be different. The number of symbols of the preamble is less than the number of bits of information after the identifier, so that the information bits occupy more of the entire encoded data. The large specific gravity, which not only makes the invention have higher coding efficiency, but also reduces the probability of leading errors, and therefore, the entropy coding method of the present invention has better performance than the bit-symmetric UVLC entropy coding method. Anti-error performance.
具体实施方式 detailed description
本发明提出了一种新的视频编码过程中基于 UVLC的熵编码方法, 如果识别符釆用 "1" , 则识别符 "1" 前面的 "0" 的个数和 "1" 后 面的信息位数可以不相同, 例如, 识别符 "1" 前面的 "0" 的个数匕 1后面的信息位数少 1 , 以下讨论主要是针对这种情形进行的。 基本思 想为: 用 "1" 作为识别符, 所有码字 "codeword" 中, "1" 前面的 "0"的个数比 "1 "后面的信息位数少 n位,或者,部分码字 "codeword" 中, "1" 前面的 "0" 的个数比 " 后面的信息位数少 n位。 由于对 一个码字来说, 若识别符 "1"前面的码字出错则不能正确解码, 故减 少识别符 "1" 前面的 "0" 的个数可以减少出错的概率, 从而具有更 好的抗误码性能。若用 "0"作为识别符,则识别符前面的符号为 "1", 其它过程一样, 以下分析都是针对用 " 作为识别符来讨论的。 . 本发明对于所有具有位数非对称特性的码字情形, 可假设识別符 The invention proposes a new UVLC-based entropy coding method in the video coding process. If the identifier uses "1", the number of "0" before the identifier "1" and the information bit after "1" The number can be different. For example, the number of "0"s before the identifier "1" 匕1 is less than 1 digit. The following discussion is mainly for this case. The basic idea is: Use "1" as the identifier. In all codewords "codeword", the number of "0" before "1" is less than the number of bits after the "1" is less than n digits, or part of the codeword" In codeword", the number of "0" before "1" is less than the number of bits after "1". Since for a codeword, if the codeword before the identifier "1" is wrong, it cannot be decoded correctly. Therefore, reducing the number of "0" before the identifier "1" can reduce the probability of error, and thus has better error resistance performance. If "0" is used as the identifier, the symbol in front of the identifier is "1". As with other processes, the following analysis is all about using "as an identifier." The present invention can assume an identifier for all codeword cases with a number of bits of asymmetry.
"1" 前面的 "0" 的个数比 " 后面的信息位数少 n, 则具有如下一般 描述方式: The number of "0" before "1" is less than the number of bits after the "1", and has the following general description:
码字 "Codeword" 的结构形式为:  The structure of the codeword "Codeword" is:
[M zeros] [1] [INFO] ; 基于上述结构形式, 本发明的第一种方案为, 在编码端, 所有码. 字都具有位数非对称特性。 首先确定需要编码传输的码字对应的码字 序号 code_num, 对于给定的码字序号 code—num值, 通过以下方 来计 算识別符 "1" 前面的 "0" 的个数 M和识别符 "1"后面的信息 INFO值: [M zeros] [1] [INFO] ; Based on the above structural form, the first aspect of the present invention is that, at the encoding end, all code words have a bit number asymmetry characteristic. First, determine the codeword number code_num corresponding to the codeword that needs to be encoded and transmitted. For the given codeword sequence code_num value, calculate the number M and the identifier of the "0" before the identifier "1" by the following side. The information INFO value after "1":
M = log2 (code— num+2") - n;  M = log2 (code— num+2") - n;
Length = 2M+n+l;  Length = 2M+n+l;
INFO = code一誦 +2"― 2 " ;  INFO = code one +2" - 2 " ;
其中, n为识别符前面的前导符的位数 M与识别符后面的信息符 INFO位数差的绝对值, 并且 η > 1 ;  Where n is the absolute value of the difference between the number of bits M of the preamble preceding the identifier and the information INFO after the identifier, and η > 1 ;
最后, 根据所述位数 M确定前导符, 即 M位 "0" , 将前导符、 识 别符 "1" 和信息符 INF0组成编码。  Finally, the preamble, i.e., M bit "0", is determined according to the number of bits M, and the preamble, the identifier "1", and the information symbol INF0 are encoded.
编码长度 Length, 是为有利于进行编解码。  The length of the code length is to facilitate the encoding and decoding.
以上述熵编码方法相对应的熵解码方法, 包括下述步驟: 首先从接收到的码流中读出识别符前面的前导符位数 M;  The entropy decoding method corresponding to the above entropy coding method includes the following steps: first reading the preamble bit number M in front of the identifier from the received code stream;
读出识别符后面的 M + n位信息, 令其值为 INF0;  Read the M + n bit information after the identifier, and make it the value INF0;
按照下述公式计算码字序号 code— num:  Calculate the codeword number code_num according to the following formula:
code一誦 = 2M+" + I™ -2" ; Code one 诵 = 2 M+ " + ITM -2";
最后根据所述码字序号 code_mim确定要编码传输的信息。  Finally, the information to be encoded and transmitted is determined according to the code word number code_mim.
下面以结构形式为 [M zeros] [1] [INFO] 的码字 "Codeword"说明上 述方案的实施例:  The following describes an embodiment of the above scheme with the code word "Codeword" of the structure [M zeros] [1] [INFO]:
例 1: n=l。 在编码端, 对于给定的码字序号 code— num值, 通过 ;以下 方法来计算识别符 " 前面的 "0" 的个数 M和识别符 "1"后面的信息 INF0值: Example 1: n=l. At the encoder, the code word for a given number code- num value by; the following method to calculate the identifier "in front of" 0 "and the number M of the identifier" 1 "information INF0 following values:
M = log2 (code-num+2) - 1.  M = log2 (code-num+2) - 1.
Length = 2 (M+l) .  Length = 2 (M+l) .
INFO = code-num +2 - 2  INFO = code-num +2 - 2
在解码端, 通过以下方法解码出码字序号 code-num值:  At the decoding end, the codeword sequence code-num value is decoded by the following method:
(1) 读出识别符 "1" 及前面的 "0" 符号, 设读出的符号 "0" 的个数为 (2) 读出识别符 "1 " 后面的 M + 1位信息, 令其值为 INF0。 (1) Read the identifier "1" and the preceding "0" symbol, and set the number of the read symbols "0" to (2) Read the M + 1 bit information following the identifier "1" and let it be INF0.
(3) code— num = 2^ + INF0 - 2 (3) code— num = 2^ + INF0 - 2
由此得到的码字序号 code— num与码字 Codeword的对应关系如表 2 所示。  The correspondence between the code word number code_num and the code word Codeword thus obtained is shown in Table 2.
表 2 码字序号 code— num与码字 Codeword对应关系  Table 2 Code word number code_ num and code word Codeword correspondence
code— num Codeword (H. 264标准) Codeword (本发明)  Code— num Codeword (H. 264 standard) Codeword (invention)
0 1 10  0 1 10
1 010 11  1 010 11
2 Oi l 01 00  2 Oi l 01 00
3 00100 0101  3 00100 0101
4 00101 0110  4 00101 0110
5 0011 0 0111  5 0011 0 0111
6 00111 001000  6 00111 001000
7 0001000 001001  7 0001000 001001
8 0001001 001010  8 0001001 001010
9 0001010 001011  9 0001010 001011
10 0001011 001100  10 0001011 001100
11 0001100 001101  11 0001100 001101
12 00011 01 001110  12 00011 01 001110
1 3 0001110 001111  1 3 0001110 001111
14 0001111 00010000  14 0001111 00010000
15 000010000 00010001  15 000010000 00010001
16 000010001 00010010  16 000010001 00010010
17 000010010 00010011  17 000010010 00010011
18 000010011 000101 00  18 000010011 000101 00
19 000010100 00010101  19 000010100 00010101
20 000010101 00010110  20 000010101 00010110
21 000010110 00010111  21 000010110 00010111
22 000010111 00011000 23 000011000 00011001 22 000010111 00011000 23 000011000 00011001
24 000011001 00011010  24 000011001 00011010
25 000011010 00011011  25 000011010 00011011
26 000011011 00011100  26 000011011 00011100
27 000011100 00011101  27 000011100 00011101
28 000011101 00011110  28 000011101 00011110
29 000011110 00011111  29 000011110 00011111
30 000011111 0000100000 30 000011111 0000100000
31 00000100000 000010000131 00000100000 0000100001
32 00000100001 0000100010 例 2: n=2。 在编码端, 对于给定的码字序号 code-num值, 通过以下 方法来计算识别符 "1" 前面的 "0" 的个数 M和识别符 "1"后面的信息 INFO值: 32 00000100001 0000100010 Example 2: n=2. At the encoding end, for a given codeword sequence code-num value, the number of "0" preceding the identifier "1" and the information after the identifier "1" are calculated by the following method:
M = log2 (code-iium+4) - 2.  M = log2 (code-iium+4) - 2.
Length = 2 (M+D +l.  Length = 2 (M+D + l.
INFO = code一誦 +4 - 在解码端, 通过以下方法解码出码字序号 code-num值:  INFO = code一诵 +4 - At the decoding end, the codeword sequence code-num value is decoded by the following method:
(1) 读出识别符 "1" 及前面的 "0" 符号, 设读出的符号 "0" 的个数为1  (1) Read the identifier "1" and the preceding "0" symbol, and set the number of the read symbols "0" to 1.
(2) 读出识别符 "1" 后面的 M + 2位信息, 令其值为 INF0。  (2) Read the M + 2 bit information following the identifier "1" and set its value to INF0.
(3) code-num = 2^ + I NF0 一 4 (3) code-num = 2^ + I NF0-4
码字序号 code_num与码字 Codeword的对应关系如表 3所示。  The correspondence between the codeword sequence code_num and the codeword Codeword is shown in Table 3.
表 3 码字序号 code-num与码字 Codeword对应关系 code-num Codeword (H. 264标准) Codeword (本发明) Table 3 Code word number code-num and code word Codeword correspondence code-num Codeword (H. 264 standard) Codeword (present invention)
0 1 100 0 1 100
1 010 101  1 010 101
2 011 110  2 011 110
3 00100 111 /D/:/ O 60S00¾I>d L9s900AV 3 00100 111 /D/:/ O 60S003⁄4I>d L9s900AV
ΟΟ ΐθθΟΐθΐΟ ΟΟ ΐθθΟΐθΐΟ
s  s
9 9
Figure imgf000011_0001
Figure imgf000011_0001
∞ s  ∞ s
ΐΟΠΟ ΟΟΐΙΟΟΟ 6  ΐΟΠΟ ΟΟΐΙΟΟΟ 6
οτπο ποιοοο οι  Ττπο ποιοοο οι
ππο οοποοο π  Ππο οοποοο π
000S00 ΐοποοο n 000S00 ΐοποοο n
Figure imgf000011_0002
ΪΟΟΟΪΟΟ οπτοοο n 2
Figure imgf000011_0002
ο οπτοοο n 2
{nosoo πποοο οπο<ΐ§ ΙΟΟΟΐΟΟΟΟ 9ΐ  {nosoo πποοο οπο<ΐ§ ΙΟΟΟΐΟΟΟΟ 9ΐ
ΐΞΞΟΟ ΟΐΟΟΟΟΙΟΟ U  ΐΞΞΟΟ ΟΐΟΟΟΟΙΟΟ U
οποΐθο ποοΐοοοο 8ΐ ^ οοοποο §010000 Πποΐθο ποοΐοοοο 8ΐ ^ οοοποο §010000
ο ΐοποο 0TIS0000 u  ο ΐοποο 0TIS0000 u
οΐοποο τποοοΐοο ιι  Ϊ́ΐοποο τποοοΐοο ιι
ποποο οοοποοοο ΐοπΐοο son  Οοποο οοοποοοο ΐοπΐοο son
οπποο ποποοοο 9ί  Ππποο ποποοοο 9ί
ΟΟΐΟΟΐΟΟΟ ΐΟΟΟΟΐΟΟΟΟΟ Ιί 本发明的第二种方案为,从某一码字序号开始, 后面的码字都具 有位数非对称的特性, 而前面的码字都具有位数对称的特性。在编码 端, 首先确定需要编码传输的信息对应的码字序号 code— num; 对于给 定的码字序号 code— num值, 通过以下方法来计算识别符 "1" 前面的 " 0" 的个数 M和识别符 "1" 后面的信息 INFO值: ΟΟΐΟΟΐΟΟΟ ΐΟΟΟΟΐΟΟΟΟΟ Ιί According to a second aspect of the present invention, starting from a certain codeword number, the following codewords have the characteristics of asymmetry of the number of bits, and the preceding codewords have the characteristics of being symmetrical. At the encoding end, first determine the codeword sequence code_num corresponding to the information that needs to be encoded and transmitted; for the given codeword sequence code_num value, calculate the number of "0"s in front of the identifier "1" by the following method M and the identifier "1" after the information INFO value:
如果(code—num < ^n -l) , 贝 'J, If (code-num < ^ n -l) , Bay 'J,
M = log2 (code— num+l) ;  M = log2 (code_num+l);
Length=2M+l ;  Length=2M+l ;
INFO = code—麵 +1 - 2^;  INFO = code - face +1 - 2^;
否则,  Otherwise,
M = log2 (code_num+2"!+" - 2'" + 1) - n; M = log2 (code_num+2" !+ " - 2'" + 1) - n;
Length = 2M+n+l ;  Length = 2M+n+l ;
INFO = code一誦 +2'"+" - 2"' + 1 - 2^"。 INFO = code one +2'" + " - 2"' + 1 - 2^".
其中, m > Q , n > l ; m为从识别符前面的具有位数非对称特性的 起始前导符中的位数, n为识别符前面的前导符的位数 M与识别符后面 的信息符 INF0位数差的绝对值; 也就是说, 识别符 "1" 前面的 " 0" 的个数为 m的码字开始都具有位数非对称特性, 并设识别符 "1" 前面 的 " 0" 的个数比 "1" 后面的信息位数少 n。  Where m > Q , n > l ; m is the number of bits in the starting preamble with the number of digits asymmetry in front of the identifier, n is the number of bits M of the leading character before the identifier and the identifier The absolute value of the difference between the digits of the INF0 symbol; that is, the codeword with the number of "0" in front of the identifier "1" at the beginning of the codeword has a bit-symmetric characteristic, and the identifier "1" is preceded by The number of "0" is less than the number of bits following "1".
最后, 确定所述识别符, 并根据所述位数 M确定前导符 "0" 的个 数, 将前导符, 即 M个 "0"、 识别符 "1" 和信息符 INF0组成编码。  Finally, the identifier is determined, and the number of leading symbols "0" is determined based on the number of bits M, and the leading symbols, i.e., M "0", the identifier "1", and the information symbol INF0 are encoded.
计算上述编码长度 Length, 目的在于有利于进行编解码。  The above code length Length is calculated to facilitate the encoding and decoding.
以上述第二种方案所述的熵编码方法相对应的熵解码方法,包括 下述步骤:  The entropy decoding method corresponding to the entropy coding method described in the second scheme above includes the following steps:
在解码端, ( 1 )读出识别符前面的前导符位数 M;  At the decoding end, (1) reading the number of preambles M in front of the identifier;
( 2 )如果 M < m, 则,  (2) If M < m, then
读出识别符后面的 M位信息, 令其值为 INF0;  Read the M bit information after the identifier, and make it the value INF0;
否则,  Otherwise,
读出识别符后面的 M + n位信息, 令其值为 INF0; ( 3 )如果 M < m, 则 , Read the M + n bit information after the identifier, and make it the value INF0; (3) If M < m, then
code—議 = 2M + INF0 -1 Code—Proposal = 2 M + INF0 - 1
否则  Otherwise
code一誦 = INFO - + 2"' - 1 + 2^+" Code one = INFO - + 2"' - 1 + 2^ + "
下面以结构形式为 [M zeros] [1] [INFO] 的码字 "Codeword"说明上 述第二种方案的实施例 (结合类 PASCAL语言来描述) :  The following is an example of the above-mentioned second scheme (described in conjunction with the PASCAL language) in the code word "Codeword" of the structure [M zeros] [1] [INFO]:
例 3: n=l , m = l。 在编码端, 对于给定的码字序号 code-num值, 通 过以下方法来计算识别符 "1"前面的 "0" 的个数 M和识别符 "1" 后面 的信息 INFO值:  Example 3: n=l, m = l. At the encoding end, for a given codeword sequence code-num value, the number M of "0" before the identifier "1" and the information INFO value after the identifier "1" are calculated by the following method:
if (code-num == 0)  If (code-num == 0)
{M = 0, INFO=0, Length=l }  {M = 0, INFO=0, Length=l }
el se  El se
{M = log2 (code_num+3) 一 1.  {M = log2 (code_num+3) one 1.
Length = 2 (M+l) .  Length = 2 (M+l) .
INFO = code-num +3 - 2  INFO = code-num +3 - 2
在解码端, 通过以下方法解码出码字序号 code— num值:  At the decoding end, the codeword sequence code_num value is decoded by the following method:
(1) 读出识别符 "1" 及前面的 "0" 符号, 设读出的符号 "0" 的个数为^  (1) Read the identifier "1" and the preceding "0" symbol, and set the number of the read symbols "0" to ^
(2) if (M≠0)  (2) if (M≠0)
读出识别符 "1" 后面的 M + 1位信息, 令其值为 INF0 Read the M + 1 bit information after the identifier "1", and make it the value INF0
(3) if (M==0) (3) if (M==0)
code_num = 0  Code_num = 0
el se  El se
code-num = 2 + I FO - 3; Code-num = 2 + I FO - 3;
码字序号 code-num与码字 Codeword的对应关系如表 4所示。  The correspondence between the codeword sequence code-num and the codeword Codeword is shown in Table 4.
表 4 码字序号 code— num与码字 Codeword对应关系 code-num Codeword (H. 264标准) Codeword (本发明) Table 4 Code word number code_num and code word Codeword correspondence code-num Codeword (H. 264 standard) Codeword (present invention)
0 1 1 0 1 1
1 010 0100 30llllllooool 1 010 0100 30llllllooool
29 ggllllo〇1§000  29 ggllllo〇1§000
Figure imgf000014_0001
Figure imgf000014_0001
00000100000 0000100010 00000100000 0000100010
00000100001 0000100011 例 3: n=l , m = 2。 在编码端, 对于给定的码字序号 code— num值, 通 过以下方法来计算识別符 "1" 前面的 "0" 的个数 M和识别符 "1"后面 的信息 INFO值:  00000100001 0000100011 Example 3: n=l , m = 2. At the encoding end, for a given codeword sequence code_num value, the number M of the "0" preceding the identifier "1" and the information INFO after the identifier "1" are calculated by the following method:
if (code_num <=2)  If (code_num <=2)
{M = log2 (code— num+l)  {M = log2 (code_ num+l)
Length=2M+l  Length=2M+l
M .  M.
INFO = code—皿 m +1 2  INFO = code—dish m +1 2
el se  El se
{M = log2 (code_num+5) - 1  {M = log2 (code_num+5) - 1
Length=2 (M+l)  Length=2 (M+l)
INFO = code— num +5 - 2"  INFO = code— num +5 - 2"
在解码端, 通过以下方法解码出码字序号 code— num值:  At the decoding end, the codeword sequence code_num value is decoded by the following method:
(1) 读出识别符 "1"及前面的 "0" 符号, 设读出的符号 "0" 的 个数为 M  (1) Read the identifier "1" and the preceding "0" symbol, and set the number of the read symbols "0" to M.
(2) if (M<=1)  (2) if (M<=1)
读出识别符 "1" 后面的 M位信息, 令其值为 INF0 el se  Read the M-bit information after the identifier "1" and let it be INF0 el se
读出识别符 "1" 后面的 M + l位信息, 令其值为 INF0( Read the M + l bit information after the identifier "1" and make the value INF0 (
(3) if (M<=1) (3) if (M<=1)
code_num = 2M+ INFO - 1 Code_num = 2 M + INFO - 1
el se  El se
code-num = 2  Code-num = 2
码字序号 code— num与码字 Codeword的对应关系如表 5所示。  The correspondence between the code word number code_num and the code word Codeword is shown in Table 5.
表 5 码字序号 code-num与码字 Codeword对应关系 code-num Codeword (H. 264标准) Codeword (本发明) 29000011110 goolooolo Table 5 code word number code-num and code word codeword correspondence code-num Codeword (H. 264 standard) Codeword (present invention) 29000011110 goolooolo
28s tglolll Issllool  28s tglolll Issllool
27 gglooll §§010000  27 gglooll §§010000
Figure imgf000016_0001
Figure imgf000016_0001
30 000011111 000010001130 000011111 0000100011
31 00000100000 000010010031 00000100000 0000100100
32 00000100001 0000100101 以上所述仅是本发明的几种具体的实施方式, 应当指出, 对于本技 术领域的普通技术人员来说, 在不脱离本发明所述方法的前提下, 还可 以作出其它多种适合自己需求的实施方式。 32 00000100001 0000100101 The above description is only a few specific embodiments of the present invention, and it should be noted that those skilled in the art can make other various kinds without departing from the method of the present invention. An implementation that suits your needs.

Claims

权 利 要 求 Rights request
1、 一种视频编码方法, 其特征在于包括:  A video encoding method, comprising:
确定需要编码传输的信息对应的码字序号 codejrmm;  Determining the codeword number corresponding to the information that needs to be encoded and transmitted codejrmm;
根据所述码字序号计算识别符前面的前导符的位数 M和识别符 后面的信息符 INFO, 使 M小于所述信息符 INFO的位数;  Calculating, according to the codeword number, a bit number M of the preamble preceding the identifier and an information symbol INFO following the identifier, such that M is smaller than the number of bits of the information symbol INFO;
根据所述位数 M确定前导符, 将前导符、 识别符和信息符 INFO 组成编码码字。  The preamble is determined based on the number of bits M, and the preamble, the identifier, and the information symbol INFO are combined to form an encoded codeword.
2、 根据权利要求 1所述的视频编码方法, 其特征在于, 根据所 述码字序号按照下述公式计算识别符前面的前导符的位数 M和识别 符后面的信息符 INFO:  The video encoding method according to claim 1, wherein the number of bits M of the preamble preceding the identifier and the information symbol INFO following the identifier are calculated according to the codeword number according to the following formula:
M = log2(code_num+ 2" )— n; M = log 2 (code_num+ 2" )— n;
INFO = code—mim +2"― 2^+"; INFO = code—mim +2"― 2^ + ";
其中,η为识别符前面的前导符的位数 M与识别符后面的信息符 INFO位数差的绝对值, η > 1。  Where η is the absolute value of the difference between the number of bits M of the preamble preceding the identifier and the number of bits of the information INFO following the identifier, η > 1.
3、 根据权利要求 2所述的视频编码方法, 其特征在于, 所述方 法还包括: 按照下式计算码字长度 Length, 以利于进行编解码:  The video encoding method according to claim 2, wherein the method further comprises: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
Length = 2M+n+lo  Length = 2M+n+lo
4、 一种基于权利要求 2所述视频编码方法的视频解码方法, 其 特征在于包括:  4. A video decoding method according to the video encoding method of claim 2, comprising:
读出识別符前面的前导符位数 M;  Read the number of preambles in front of the identifier M;
读出识别符后面的 M + n位信息, 令其值为 INF0;  Read the M + n bit information after the identifier, and make it the value INF0;
按照下述公式计算码字序号 C。de_nUm: The code word number C is calculated according to the following formula. De_ nU m :
code一麵 = 2M+" + INFO ~2"; Code side = 2 M+ " + INFO ~2";
根据所得码字序号 code— mim确定要编码传输的信息。  The information to be encoded and transmitted is determined according to the obtained codeword number code_mim.
5、 根据权利要求 1所述的视频编码方法, 其特征在于, 根据所 述码字序号按照下述公式计算识别符前面的前导符的位数 M和识别 符后面的信息符 INFO:  The video encoding method according to claim 1, wherein the number of bits M of the preamble preceding the identifier and the information symbol INFO following the identifier are calculated according to the codeword number according to the following formula:
如果 code— num小于 2'" -1, 贝1 J., If code_num is less than 2'" -1, Bay 1 J.,
M = log2(code_num+ 1 ); M = log 2 (code_num+ 1 );
INFO = code— nrnn +1— 2 ; 否则: INFO = code— nrnn +1— 2 ; otherwise:
M = log2 (code—num+2'"+"— 2"' +l) ― n; M = log2 (code-num+2'" + "— 2"' +l) ― n;
INFO = code一麵 +2"'+"― 2"' + 1一 2^+"; INFO = code side +2"' + "― 2"' + 1 1 2^ + ";
其中, m > 0, η > 1; m为从识别符前面的具有位数非对称特性的 起始前导符中的位数, n为识别符前面的前导符的位数 M与识别符后 面的信息符 INFO位数差的绝对值。  Where m > 0, η > 1; m is the number of bits in the starting preamble with the number of digits asymmetry before the identifier, n is the number of bits M of the leading character before the identifier and the identifier The absolute value of the information INFO digit difference.
6、 根据权利要求 5所述的视频编码方法, 其特征在于, 所述方 法还包括: 按照下式计算码字长度 Length, 以利于进行编解码:  The video encoding method according to claim 5, wherein the method further comprises: calculating a codeword length Length according to the following formula to facilitate encoding and decoding:
如果 code一 num小于 2'" - 1, 贝1 J, If code a num is less than 2'" - 1, Bay 1 J,
Length = 2M +1;  Length = 2M +1;
否则,  Otherwise,
Length = 2M+n+l。  Length = 2M+n+l.
7、 一种基于权利要求 5所述视频编码方法的视频解码方法, 其 特征在于包括:  7. A video decoding method according to the video encoding method of claim 5, comprising:
( 1 )读出识别符前面的前导符位数 M;  (1) reading the number of preambles preceding the identifier M;
( 2 )如果 M < m, 则,  (2) If M < m, then
读出识别符后面的 M位信息, 令其值为 INFO;  Read the M-bit information after the identifier, and make it the value of INFO;
否则, - 读出识别符后面的 M + n位信息, 令其值为 INFO;  Otherwise, - read the M + n bit information after the identifier, and make it the value of INFO;
( 3 )如果 M < m, 则 ,  (3) If M < m, then
code _num = ' f + INFO -1;  Code _num = ' f + INFO -1;
否则,  Otherwise,
code一議 = INFO - 2"'+" + 2'"― 1 + 2 +" ° Code one discussion = INFO - 2"' + " + 2'" - 1 + 2 + " °
根据所得码字序号 code— num确定要编码传输的信息。 The information to be encoded and transmitted is determined according to the obtained codeword number code_num.
8、 根据权利要求 1、 2、 3、 4、 5、 6或 7所述的视频编码方法, 其 特征在于, 所述识别符为二进制 "Γ或 "0" , 当所述识别符为 " 时, 所述前导符为 M位 "0" , 当所述识别符为 "0" 时, 所述前导符为 M位 The video encoding method according to claim 1, 2, 3, 4, 5, 6 or 7, wherein the identifier is binary "Γ or "0" when the identifier is " The preamble is M bit "0", and when the identifier is "0", the preamble is M bit
PCT/CN2004/001094 2004-09-24 2004-09-24 Video encoding/decoding method WO2006032167A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2004/001094 WO2006032167A1 (en) 2004-09-24 2004-09-24 Video encoding/decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2004/001094 WO2006032167A1 (en) 2004-09-24 2004-09-24 Video encoding/decoding method

Publications (1)

Publication Number Publication Date
WO2006032167A1 true WO2006032167A1 (en) 2006-03-30

Family

ID=36089827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/001094 WO2006032167A1 (en) 2004-09-24 2004-09-24 Video encoding/decoding method

Country Status (1)

Country Link
WO (1) WO2006032167A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5402123A (en) * 1992-05-30 1995-03-28 Samsung Electronics Co., Ltd. Variable length coding/decoding method of image data and apparatus thereof
US5436626A (en) * 1990-03-26 1995-07-25 Bell Communications Research, Inc. Variable-length codeword encoder
US5579413A (en) * 1992-03-11 1996-11-26 Teledirektoratets Forskningsavdeling Picture data encoding method
EP0762771A2 (en) * 1995-09-11 1997-03-12 Matsushita Electric Industrial Co., Ltd. Apparatus and method for variable-length coding
US5642115A (en) * 1993-12-08 1997-06-24 Industrial Technology Research Institute Variable length coding system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5436626A (en) * 1990-03-26 1995-07-25 Bell Communications Research, Inc. Variable-length codeword encoder
US5579413A (en) * 1992-03-11 1996-11-26 Teledirektoratets Forskningsavdeling Picture data encoding method
US5402123A (en) * 1992-05-30 1995-03-28 Samsung Electronics Co., Ltd. Variable length coding/decoding method of image data and apparatus thereof
US5642115A (en) * 1993-12-08 1997-06-24 Industrial Technology Research Institute Variable length coding system
EP0762771A2 (en) * 1995-09-11 1997-03-12 Matsushita Electric Industrial Co., Ltd. Apparatus and method for variable-length coding

Similar Documents

Publication Publication Date Title
US8942502B2 (en) Parallelization of variable length decoding
CN1656817B (en) Context-adaptive VLC video transform coefficients encoding/decoding methods and apparatuses
US6633242B2 (en) Entropy coding using adaptable prefix codes
KR20060051149A (en) Lossless adaptive golomb/rice encoding and decoding of integer data using backward-adaptive rules
EP3211897B1 (en) Method and apparatus for encoding and decoding transform coefficients
TW200931818A (en) H.264 video decoder CABAC core optimization techniques
EP1625752A1 (en) Combined runlength coding and variable length coding for video compression
EP2191650A1 (en) Architecture for multi-stage decoding of a cabac bitstream
WO2021027487A1 (en) Encoding method and related device
JP6426212B2 (en) Method and apparatus for performing arithmetic coding with restricted carry operations
WO2012159295A1 (en) Entropy decoding method and device
US8180166B2 (en) Transcoding method
CN1748369A (en) Method and device for text data compression
WO2006032167A1 (en) Video encoding/decoding method
JP5567155B2 (en) Method and apparatus for improved multimedia decoder
JP3431368B2 (en) Variable length encoding / decoding method and variable length encoding / decoding device
Buttigieg et al. Using variable-length error-correcting codes in MPEG-4 video
CN1301013C (en) Method for transmitting image or video data encoded using variable length codes and corresponding transmitter
Ashourian et al. Using reversible variable length codes for JPEG image transmission in a noisy channel
US20160323603A1 (en) Method and apparatus for performing an arithmetic coding for data symbols
CN102231832B (en) Variable length code encoding and decoding method and system
JP3233360B2 (en) Variable length decoding method and apparatus
JP3417933B2 (en) Variable length decoding method and apparatus
JP3164806B2 (en) Variable length encoding method and apparatus
JP2003179503A (en) Variable length decoding method and device

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): BW GH 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 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
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 04762227

Country of ref document: EP

Kind code of ref document: A1