CN103220509A - Method and coder and decoder for controlling arithmetic coding BIN amount in self-adaptation mode - Google Patents

Method and coder and decoder for controlling arithmetic coding BIN amount in self-adaptation mode Download PDF

Info

Publication number
CN103220509A
CN103220509A CN2012100196997A CN201210019699A CN103220509A CN 103220509 A CN103220509 A CN 103220509A CN 2012100196997 A CN2012100196997 A CN 2012100196997A CN 201210019699 A CN201210019699 A CN 201210019699A CN 103220509 A CN103220509 A CN 103220509A
Authority
CN
China
Prior art keywords
bin
bypass
control
arithmetic coding
upper limit
Prior art date
Application number
CN2012100196997A
Other languages
Chinese (zh)
Other versions
CN103220509B (en
Inventor
张雯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201210019699.7A priority Critical patent/CN103220509B/en
Publication of CN103220509A publication Critical patent/CN103220509A/en
Application granted granted Critical
Publication of CN103220509B publication Critical patent/CN103220509B/en

Links

Abstract

The invention provides a method for controlling arithmetic coding BIN amount in a self-adaptation mode, a corresponding decoding method, a coder and a decoder. The method for controlling the arithmetic coding BIN amount in the self-adaptation mode comprises the steps: the upper limit of arithmetic coding BIN amount generated by the coder in unit time; a value of a hierarchical control parameter of each zone is obtained according to the upper limit; and according to the value of the current hierarchical control parameter of the current zone, each syntactic element expressing a residual error in the current zone is controlled to code by adopting BIN or bypass mode combination. Due to the method for controlling the arithmetic coding BIN amount in the self-adaptation mode, the hierarchical control parameter of each zone is obtained according to the upper limit, each syntactic element expressing the residual error is hierarchically controlled to code by adopting the BIN or bypass combination according to one hierarchical control parameter, therefore the BIN amount generated by each syntactic element expressing the residual error is effectively controlled so that the amount can not exceed the center upper limit, and the difficult problem of real-time coding is solved.

Description

自适应控制算术编码BIN数量的方法、编码器和解码器技术领域[0001] 本发明涉及视频压缩编码技术,尤其涉及一种自适应控制算术编码BIN数量的方法、自适应控制算术编码BIN数量对应的解码方法、编码器和解码器。 The method of controlling adaptive arithmetic coding BIN number, the encoder and decoder Field [0001] The present invention relates to a video compression technology, in particular the number of arithmetic coding BIN relates to a method of adaptive control, adaptive control arithmetic encoding corresponding to BIN number decoding method, an encoder and a decoder. 背景技术[0002] 单位时间内算术编码的二进制(BIN)数量可能随着图像分辨率、帧率及量化参数的变化而快速增长。 [0002] per unit time of binary arithmetic coding (BIN) may change with the number of image resolution, frame rate and quantization parameters and rapid growth. 在解码过程中前后BIN之间存在着依赖关系,只能串行处理。 Before and after the decoding process dependency exists between the BIN, only serial processing. 当BIN数量增长到一定程度就会导致BIN的解析成为实时解码的瓶颈问题。 When the BIN number to grow to a certain extent, it will lead to resolve the bottleneck problem of BIN real-time decoding. 为了确保实时解码,就有必要控制住单位时间内BIN的数量不超过一定的上限(max_bin_rate)。 In order to ensure real-time decoding, it is necessary to control the unit time within the BIN number does not exceed a certain limit (max_bin_rate). 发明内容[0003] 本发明实施例提供了一种自适应控制算术编码BIN数量的方法、自适应控制算术编码BIN数量对应的解码方法、编码器和解码器,以解决BIN数量增长到一定程度而导致的BIN解析成为实时解码的瓶颈的问题。 [0003] The present invention provides a method of controlling an adaptive arithmetic coding BIN number, the adaptive control corresponding to the BIN number of arithmetic coding decoding method, an encoder and decoder to handle the fact BIN grows to a certain extent BIN resolve the problem caused by the bottleneck of real-time decoding. [0004] 本发明实施例提供了一种自适应控制算术编码二进制(BIN)数量的方法,该方法包括:[0005] 获知编码器在单位时间内产生的算术编码BIN数量的上限;[0006] 根据所述上限获得每个分片分层控制参数的数值;[0007] 根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。 [0004] Embodiments of the present invention provides (BIN) method for adaptive control of the number of binary arithmetic coding, the method comprising: limit the number of arithmetic coding known BIN generated by the encoder per unit time [0005]; [0006] the upper limit value is obtained for each slice hierarchical control parameter; [0007] shows a value of a control parameter of the current hierarchy control current fragmentation residual current slice using each syntax element BIN or bypass ( Bypass) encoding mode combination. [0008] 优选地,所述获知编码器在单位时间内产生的算术编码BIN数量的上限之前,所述方法还包括:[0009] 确定序列参数集(SPS)中新增加的控制标志设置为预定值。 Before [0008] Preferably, the known upper limit of the number of binary arithmetic coding BIN generated within a unit time, the method further comprises: [0009] determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value. [0010] 优选地,所述上限保存在所述SPS中新增的上限参数中。 [0010] Preferably, the new upper limit stored in the upper limit of the SPS parameters. [0011 ] 优选地,所述分层控制参数包含在其对应的分片的头信息中。 [0011] Preferably, the layered control parameter included in the header information of the corresponding sub-sheet. [0012] 优选地,所述上限参照与所述编码器对应的解码器的实时解码能力,或者所述编码器与所述解码器协商的结果,或者视频标准建议的参考数值来设定。 [0012] Preferably, the upper limit results in real time with reference to the decoding capability of the decoder corresponding to the encoder, or the encoder and the decoder negotiation, video standard or reference values ​​suggested set. [0013] 优选地,所述根据所述上限获得每个分片分层控制参数的数值包括:[0014]自适应选择每个分片分层控制参数的数值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所述上限。 [0013] Preferably, the upper limit in accordance with the hierarchical control parameters obtained for each fragment value includes: [0014] Adaptive hierarchical control parameter values ​​for each selected slice, so that the current generated by the arithmetic unit time BIN number closest to but not encoding exceeds the upper limit. [0015] 本发明实施例还提供了一种自适应控制算术编码二进制(BIN)数量对应的解码方法,该方法包括:[0016] 获得每个分片分层控制参数的数值;[0017] 根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 [0015] Embodiments of the present invention further provides a decoding method for controlling an adaptive binary arithmetic coding (the BIN) corresponding to the number, the method comprising: [0016] obtained control parameter values ​​for each hierarchical slice; [0017] The current hierarchy current fragmentation control parameters to control the current value of the slice represented by each syntax element using the residual BIN or bypass (bypass) decodes the combined mode. [0018] 优选地, 所述获得每个分片分层控制参数的数值之前,所述方法还包括:[0019] 确定序列参数集(SPS)中新增加的控制标志设置为预定值。 Before [0018] Preferably, the obtaining control parameter values ​​for each hierarchical slice, the method further comprises: [0019] determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value. [0020] 优选地,所述分层控制参数包含在其对应的分片的头信息中。 [0020] Preferably, the layered control parameter included in the header information of the corresponding sub-sheet. [0021] 本发明实施例还提供了一种编码器,该编码器包括:[0022] 序列参数模块,用于获知编码器在单位时间内产生的算术编码二进制(BIN)数量的上限;[0023] 分片处理模块,用于根据所述序列参数模块获知的所述上限获得每个分片分层控制参数的数值;[0024] 编码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。 [0021] Embodiments of the present invention further provides an encoder, the encoder comprising: high [0022] The sequence parameter module configured to obtain a binary arithmetic coding encoder generated per unit time (the BIN) number; [0023 ] fragment processing module, for obtaining the value of each slice hierarchical control parameters based on the upper limit of the learned sequence parameter module; [0024] encoding module for the current sub-fragment obtained according to the processing module current control parameters laminated sheet of the numerical control of the current slice represented by each syntax element using the residual BIN or bypass (bypass) coding mode combination. [0025] 优选地,所述编码器还包括:调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述序列参数模块。 [0025] Preferably, said encoder further comprises: calling means for determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value, if yes, the sequence parameter module calls. [0026] 优选地,所述上限保存在所述SPS中新增的上限参数中。 [0026] Preferably, the new upper limit stored in the upper limit of the SPS parameters. [0027] 优选地,所述分层控制参数包含在其对应的分片的头信息中。 [0027] Preferably, the layered control parameter included in the header information of the corresponding sub-sheet. [0028] 优选地,所述分片处理模块,具体用于:自适应选择每个分片分层控制参数的数值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所述上限。 [0028] Preferably, the fragment processing module is configured to: adaptively selecting each hierarchical control parameter values ​​slices, such that the number of arithmetic coding BIN generated in a unit time closest to the current does not exceed the upper limit, but . [0029] 本发明实施例还提供了一种解码器,该解码器包括:[0030] 分片处理模块,用于获得每个分片分层控制参数的数值;[0031] 解码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 [0029] The present invention further provides a decoder, the decoder comprising: [0030] fragment processing module, for obtaining values ​​for each slice hierarchical control parameter; [0031] The decoding module the fragment processing module obtains the current fragment current hierarchy control value control parameters of the current slice represented by each syntax element using the residual BIN or bypass (bypass) decodes the combined mode. [0032] 优选地,所述解码器还包括:调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述分片处理模块。 [0032] Preferably, the decoder further comprises: calling means for determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value, if yes, then call processing module of the fragment. [0033] 优选地,所述分层控制参数包含在其对应的分片的头信息中。 [0033] Preferably, the layered control parameter included in the header information of the corresponding sub-sheet. [0034] 上述自适应控制算术编码BIN数量的方法,根据上限获得每个分片的分层控制参数,根据分层控制参数分层控制表示残差的语法元素采用bin编码或bypass组合编码,从而有效地控制表示残差的语法元素所产生的BIN数量不会超过一定的上限,进而解决实时解码的瓶颈问题。 Method [0034] The adaptive control arithmetic coding BIN number of hierarchical control parameters obtained for each slice according to the upper limit, according to the hierarchical control parameter indicates the hierarchical control syntax elements using residual coding or bypass bin coding combination, such that BIN effectively control represents the number of residual syntax elements produced does not exceed a certain limit, and then solve the bottleneck problem of real-time decoding. 附图说明[0035] 图1为本发明实施例自适应控制算术编码BIN数量的流程图;[0036] 图2为本发明实施例自适应控制算术编码BIN数量对应的解码流程图;[0037] 图3为本发明编码器实施例的结构示意图;[0038] 图4为本发明解码器实施例的结构示意图。 BRIEF DESCRIPTION [0035] FIG. 1 is a flowchart BIN number of arithmetic coding according to the adaptive control of the present embodiment of the invention; [0036] FIG 2 is a flowchart of a decoding adaptive arithmetic coding control corresponding to the embodiment of the invention BIN number; [0037] FIG 3 is a schematic structure of an embodiment of the present invention, the encoder; [0038] FIG. 4 is a schematic structural diagram of the decoder of the present embodiment of the invention. 具体实施方式[0039] 为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。 DETAILED DESCRIPTION [0039] To make the objectives, technical solutions, and advantages of the present invention will become apparent from, the accompanying drawings hereinafter in conjunction with embodiments of the present invention will be described in detail. 需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。 Incidentally, in the case of no conflict, embodiments and features of the embodiments of the present application may be arbitrarily combined with each other. [0040] 根据统计结果表明,在BIN数量很高的情况下,绝大部分的BIN来自于表示残差的语法元素。 [0040] According to the statistics show that a high number of cases BIN, most of the BIN from residuals represent syntax elements. 以正在制定中的高效视频编码(HEVC)为例,sig_bin(残差系数是否为非O值标志所产生的BIN),gtl_bin (残差系数的幅度是否大于I标志所产生的BIN),gt2_bin (残差系数的幅度是否大于2标志所产生的BIN)以及x+y_bin (按扫描顺序的最后一个非O残差系数的X,y坐标标志所产生的BIN)均为表示残差的语法元素所产生的BIN。 Are being developed to efficiently video coding (HEVC) as an example, sig_bin (non-residual coefficients O value of the flag whether the BIN generated), gtl_bin (amplitude is greater than a residual coefficients produced by the I flag BIN), gt2_bin ( whether the amplitude is greater than a second flag residual coefficients produced BIN) and x + y_bin (according to the last non-residual coefficients X O scan order, BIN y coordinate generated flag) indicates residuals are syntax elements BIN generated. 它们占据了all_bin(编码器所产生的全部BIN)中最大的比例,msc_bin (残差之外的所有语法元素所产生的BIN)所占的比例或绝对数量都很小,不会构成实时解码的瓶颈。 They occupy (all BIN encoder generated) all_bin (BIN outside the residuals of all syntax elements generated by) the largest proportion, msc_bin proportion or absolute number of very small proportion, does not constitute a real-time decoding bottleneck. [0041] 按像素为单位的BIN数量统计结果如表1,数据源自JCTVC-G569提案。 [0041] by the number of pixels BIN statistical results shown in Table 1, the data derived from the proposal JCTVC-G569. [0042] 表I算术编码BIN数量统计表[0043] [0042] Table arithmetic coding tables number BIN I [0043]

Figure CN103220509AD00061

[0045] 以上统计结果表明,只要有效控制表示残差的语法元素所产生的BIN数量就可以消除实时解码的瓶颈问题。 [0045] The above statistics results show that, as long as effective control is the number of syntax elements BIN residuals generated can eliminate bottlenecks in real-time decoding. [0046] 为此,本发明实施例提供了一种自适应控制算术编码二进制(BIN)数量的方法,该方法包括:[0047] 步骤11、获知编码器在单位时间内产生的算术编码BIN数量的上限;[0048] 其中,在该步骤之前还可以包括:在序列参数集(SPS)中可以增加一个控制标志(max_bin_rate_control_flag),如果该控制标志设置为1,表示可以执行该步骤;如果该控制标志设置0,表示编码器不执行该步骤,即不启动分片自适应分层控制算术编码BIN数量的过程。 [0046] To this end, embodiments provide (BIN) of the number of adaptive control method of the present invention, binary arithmetic coding, the method comprising: [0047] Step 11, the number of arithmetic coding known BIN generated by the encoder per unit time the upper limit; [0048] wherein, prior to the step may further comprises: a sequence parameter set (SPS) may increase a control flag (max_bin_rate_control_flag), if the control flag is set to 1, indicating that this step; if the control flag is set to 0, indicates the encoder does not perform this step, i.e., does not start slice adaptive arithmetic coding BIN number of hierarchical control process. [0049] 还可以在SPS中增加一个上限(max_bin_rate数值参数,此数值参数可以是12比特表示的单位时间内BIN数量的上限。[0050] 步骤12、根据所述上限获得每个分片分层控制参数的数值;[0051] 还可以在分片的头信息(slice header)中增加一个分层控制参数(tc_bypass_level);通过设置不同的tc_bypass_level数值,可以分层控制当前分片中,表示残差的部分或全部语法元素所产生BIN的数量。[0052] 步骤13、根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。[0053] 所述bypass模式组合通常用于等概率出现的符号编码,它不更新算术编码的状态变量,可以并行操作。算术编码BIN因为充分利用了上下文模型的相关性、前后符号之间的相关性,因而压缩效率比较高但必须串行处理。bypass模式组合压缩效率比较低但利于并 [0049] The upper limit may also increase max_bin_rate a numerical parameter (in the SPS, the value of this parameter may be the upper limit of the number of unit time BIN 12 bit representation. [0050] Step 12, each slice is obtained according to the hierarchical upper Numerical control parameters; [0051] can also increase the slice header information (slice header) in a hierarchical control parameter (tc_bypass_level); tc_bypass_level by setting different values, the current slice can be hierarchical control, indicates the residual part or all of the syntax elements to generate the BIN number. [0052] step 13, the control parameters according to the value of the current slice current hierarchy control current slice represented by each syntax element using the residual BIN or bypass (bypass ) encoding mode combination. [0053] the bypass mode of combination is usually used and so the probability of symbol encoding, arithmetic coding, it does not update the state variables may operate in parallel. BIN arithmetic coding using the correlation as full context model, the correlation between the preceding and following symbols, and thus compression efficiency is high but must .bypass serial processing mode, but a combination of low compression efficiency and facilitate 操作,是有别于算术编码BIN的一种简单编码模式。两者可以共享同一个算术编码的二值化过程。所述二值化过程是指将语法元素用二进制数值表示的过程。[0054] 优选地,tc_bypass_level的具体定义可如表2所示。[0055] 表2分层控制参数定义表[0056] Operation, a simple coding mode is different from the BIN arithmetic coding. Both may share the same binary arithmetic coding process. The binarizing process is the process of syntax elements represented by binary values. [0054 ] preferably, tc_bypass_level may be specifically defined as shown in table 2. [0055] table 2 defines the hierarchical control parameter table [0056]

Figure CN103220509AD00071

[0057] 其中,在残差编码过程(CoeffNxN)中根据tc_bypass_level的取值及含义,分层控制x+y (按扫描顺序的最后一个非O残差系数的X,y坐标)、gt2(残差系数的幅度是否大于2标志)、gtl (残差系数的幅度是否大于I标志)、sig(残差系数是否为非O值标志)是否按正常算术编码BIN处理还是按bypass模式组合处理。 [0057] wherein, in the residual encoding process (CoeffNxN) based on the value and meaning of the tc_bypass_level, hierarchical control x + y (O according to the last non-residual coefficients X scan order, y coordinates), GT2 (residues if the magnitude of the difference is greater than the coefficient of the second flag), gtl (amplitude of residual coefficients is greater than I flag), sig (O value is a non-residual coefficients flag) whether the BIN normal arithmetic coding process or a combination process by bypass mode. [0058] 优选地,tc_bypass_level的取值可以是分片自适应的,这意味着x+y, gt2, gtl,sig的表示方法也是分片自适应的,它们可以自适应地选择以算术编码BIN处理或者以bypass模式组合处理。 [0058] Preferably, tc_bypass_level slice values ​​may be adaptive, which means that x + y, gt2, gtl, sig representation is adaptive fragmentation, which can be adaptively selected to arithmetic coding BIN process or combination process in bypass mode. 在保证单位时间内产生的BIN数量不超过所设定的max_bin_rate的条件下,tc_bypass_level的取值应该尽量使得表示残差的语法元素按正常算术编码BIN处理。 Under conditions BIN number generated within a unit time to ensure that no more than a set max_bin_rate, tc_bypass_level values ​​should be as such that the syntax element indicates residual BIN normal arithmetic coding process. [0059] 例如,设定的max_bin_rate为单位时间内20M,如果当前分片中tc_bypass_level的取值为OB (x+y, gt2, gtl, sig均按算术编码BIN处理),则当前单位时间内产生的算术编码BIN数量会超过20M的上限;如果当前分片中tc_bypaSS_leVel的取值为01B(x+y,gt2, gtl, sig均按bypass模式组合处理),则当前单位时间内产生的算术编码BIN数量远低于20M。 [0059] For example, to set max_bin_rate 20M, if the value of the current sheet tc_bypass_level divided into OB (x + y, gt2, gtl, sig BIN are by arithmetic coding process), the current generated per unit time per unit time BIN arithmetic coding will exceed the maximum number of 20M; if the current value of the slice tc_bypaSS_leVel 01B (x + y, gt2, gtl, sig combination process are by bypass mode), the current arithmetic coding BIN generated per unit time the number is far lower than 20M. 那么应该根据tc_bypass_level所定义的分层控制方法,选择一个最合适的tc_bypass_level值,比如0001B (x+y, gt2按bypass模式组合处理;gtl, sig按算术编码BIN处理)。 The hierarchical control method you should tc_bypass_level defined tc_bypass_level selecting a most suitable value, such as 0001B (x + y, gt2 bypass mode according to a combination process; gtl, sig according to an arithmetic coding process BIN). 分片自适应地选择tc_ bypass_level的取值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所设定的20M。 Slice value tc_ bypass_level adaptively selected such that the number of arithmetic coding BIN generated by the current unit time is closest to but not exceeding the set 20M. [0060] 上述max_bin_rate的具体数值应该参照目标解码器的标明的实时解码能力,或者编码器与目标解码器协商的结果,或者视频标准建议的典型应用配置、参考数值来设定。 Specific value [0060] The reference target max_bin_rate be indicated in real-time decoder decoding capability, or the result of the encoder and the target decoder negotiation or configuration typical application, the reference value is set to the video standard recommendation. [0061 ] 上述自适应控制算术编码BIN数量的方法,根据max_bin_rate获得每个分片的tc_bypass_level,根据tc_bypass_level分层控制表示残差的语法元素采用bin编码或者bypass组合编码,从而有效地控制表示残差的语法元素所产生的BIN数量不会超过一定的上限,进而解决实时解码的瓶颈问题。 Method [0061] The adaptive control of arithmetic coding BIN number, is obtained in accordance with max_bin_rate tc_bypass_level each tile, in accordance with the hierarchical control tc_bypass_level represented syntax elements using residual coding or bypass bin combination coding, thereby effectively controlling the residual represents BIN number of syntax elements generated does not exceed a certain limit, and then solve the bottleneck problem of real-time decoding. [0062] 与上述控制算术编码BIN数量的方法相对应,本发明实施例还提供了一种自适应控制算术编码BIN数量对应的解码方法,该方法包括:[0063] 步骤21、获得每个分片分层控制参数的数值;[0064] 在该步骤之前,也可以通过判断序列参数集(SPS)中新增加的控制标志是否设置为预定值例如I来确定是否开始执行该步骤,若是预定值,则执行此步骤,否则,不执行;[0065] 上述预定值可以根据需要被动态地调整;上述分层控制参数包含在其对应的分片的头信息中。 [0062] The control and arithmetic coding method corresponding to the BIN number, embodiments of the present invention further provides a decoding method for controlling an adaptive arithmetic encoding corresponding to BIN number, the method comprising: [0063] Step 21, obtained for each sub- sheet hierarchical control parameter values; [0064] prior to this step, may be determined by a sequence parameter set (SPS) in the newly added control flag is set to a predetermined value, for example, I to determine whether to begin this procedure, if the predetermined value , this step is performed, otherwise, not performing; [0065] the predetermined value may be dynamically adjusted as required; said hierarchical control parameter included in the header information of the corresponding sub-sheet. [0066] 步骤22、根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 [0066] Step 22, in accordance with the current value of the current slice hierarchical control parameter controlling the current slice represented by each syntax element using the residual BIN or bypass (Bypass) decodes the combined mode. [0067] 解码的过程与上述实施例中编码的过程相对应,此处不详述。 [0067] The process of decoding the above-described embodiment the process corresponding to the encoding, not described in detail here. [0068] 上述自适应控制算术编码BIN数量对应的解码方法,根据tc_bypass_level分层控制表示残差的语法元素采用bin解码或者bypass组合解码,从而有效地解决实时解码的瓶颈问题。 [0068] The adaptive control arithmetic coding decoding method corresponding to BIN number, using the syntax element indicates the residual decoded or bypass bin decoding in accordance with a combination of hierarchical control tc_bypass_level to effectively solve the bottleneck problem of real-time decoding. [0069] 实施例一[0070] 该实施例以自适应控制算术编码BIN数量的过程为例进行描述,该控制过程包括:[0071] 步骤101、通过max_bin_rate_control_flag的取值确定是否启动自适应分层控制算术编码BIN数量的方法;[0072] 在SPS中定义的控制标志,指示当前序列的编码是否需要启动本发明所述的分片自适应分层控制算术编码BIN数量的方法;如果标志设置为1,表示编码器将启动分片自适应分层控制算术编码BIN数量的方法;如果标志设置O,表示编码不启动上述方法。 [0069] Example a [0070] In this embodiment, the adaptive control of the number of BIN arithmetic coding process will be described as an example, the control process comprising: [0071] Step 101, determining whether to start an adaptive value by layering the max_bin_rate_control_flag BIN method of controlling the number of arithmetic coding; [0072] When the control flag defined SPS, indicating the current need to activate the coding sequence of the present invention is adaptive slicing sliced ​​arithmetic coding method of controlling the BIN number; if the flag is set to 1, the hierarchical representation of the control slice adaptive arithmetic coding encoder BIN number of starts; O if the flag is set, indicating a coding method described above does not start. [0073]步骤 102、获知max_bin_rate ;[0074] 在SPS中定义的数值参数,指示如果步骤101设置为启动本发明所述的方法,编码器在单位时间内产生的算术编码BIN数量的上限。 [0073] Step 102, is known max_bin_rate; BIN number indicating an upper limit of the arithmetic coding method according to the present invention, produced by the encoder within a unit time [0074] The numerical parameters defined in the SPS, if step 101 is set to start. 此数值参数可以是12比特表示的单位时间内BIN数量。 This parameter value may be the number per unit time BIN 12 bit representation. [0075] Max_bin_rate的取值应该参照目标解码器标明的实时解码能力,或者编码器与目标解码器协商的结果,或者视频标准建议的典型应用配置、参考数值来设定。 Results [0075] Max_bin_rate reference value of real-time decoding capability of the target should be as indicated in the decoder, or the encoder and the target decoder negotiation or configuration typical application, the reference value is set to the video standard recommendation. [0076]步骤 103、根据max_bin_rate 获得每个分片的tc_bypass_level ;[0077] 在slice header (分片头信息)中定义的分层控制参数。 [0076] Step 103, according to max_bin_rate tc_bypass_level obtained for each slice; [0077] (tile header information) hierarchy control parameters defined in the slice header. 如果101设置为启动本发明所述的方法,通过设置不同的tc_bypaSS_leVel数值可以分层控制当前分片中,表示残差的部分或全部语法元素所产生BIN的数量。 If 101 is set to start the method according to the present invention, by setting different values ​​can be layered tc_bypaSS_leVel slice control current, represents the number of residual BIN part or all of the generated syntax elements. [0078] bypass模式组合通常用于等概率出现的符号编码,它不更新算术编码的状态变量,可以并行操作。 [0078] bypass mode of combination is usually used and so the probability of symbol encoding, arithmetic coding, it does not update the state variables may operate in parallel. [0079] 通常意义上说,算术编码BIN会充分利用上下文模型的相关性、前后符号之间的相关性,因而压缩效率比较高但必须串行处理。 The said [0079] ordinary meaning, BIN arithmetic coding will make full use of the correlation context model, the correlation between the preceding and following symbols, and thus compression efficiency is high but must be processed serially. bypass模式组合压缩效率比较低但利于并行操作,可以作为有别于算术编码BIN的一种简单编码模式。 bypass mode combination compression efficiency is relatively low, but facilitates parallel operations, as a simple arithmetic coding encoding mode different from the BIN. [0080] 算术编码BIN和bypass模式组合可以共享同一个算术编码的二值化过程。 [0080] BIN and a bypass mode arithmetic coding combinations may share the same binary arithmetic coding process. 所述二值化过程是指将语法元素用二进制数值表示的过程。 The binarization process is the process of syntax elements represented by the binary value. [0081] 例如,根据正在制定中HEVC标准中表示残差的语法元素包含x+y (按扫描顺序的最后一个非O残差系数的X,y坐标)、gt2 (残差系数的幅度是否大于2标志)、gtl (残差系数的幅度是否大于I标志)、sig(残差系数是否为非O值标志)。 [0081] For example, according to a standard being developed HEVC syntax element indicating the residual comprises x + y (O according to the last non-residual coefficients X scan order, y coordinates), GT2 (the amplitude is greater than a residual coefficients 2 flag), gtl (amplitude of residual coefficients is greater than I flag), sig (O value is a non-residual coefficients flag). 它们通常情况下按算术编码BIN处理。 An arithmetic coding process which usually BIN. [0082] 如果tc_bypass_level的具体定义如表2所示,tc_bypass_level实际上提供了一种在当前分片中的分层控制机制。 [0082] If tc_bypass_level specifically defined as shown in Table 2, tc_bypass_level actually provided a hierarchical control mechanism points the current sheet. 它指示所述语法元素将按算术编码BIN处理,或者按bypass模式组合处理。 It will be indicative of the syntax element BIN arithmetic coding process, composition or process according to bypass mode. [0083] tc_bypass_level的取值可以是分片自适应的。 [0083] tc_bypass_level slice values ​​may be adaptive. 在保证单位时间内产生的算术编码BIN数量不超过所设定的maX_bin_rate条件下,尽可能地按正常算术编码BIN处理(提高压缩效率)。 When the number of arithmetic coding BIN generated within a unit time to ensure that no more than the set maX_bin_rate conditions, as much as possible the normal process BIN arithmetic coding (compression efficiency). [0084] 步骤104、获得表不残差的语法兀素x+y, gt2, gtl, sig ;[0085] 在残差编码模块(CoeffNxN)中定义的用来表示残差的语法元素。 [0084] Step 104, the table does not get syntax Wu residual pixel x + y, gt2, gtl, sig; [0085] defined in a residual encoding module (CoeffNxN) used to represent the residual syntax element. 它们的具体含义为:x+y指按扫描顺序的最后一个非O残差系数的x,y坐标;gt2指残差系数的幅度是否大于2标志;gtl为残差系数的幅度是否大于I标志;sig为残差系数是否为非O值标志。 Their specific meaning is: x + y refers to a non-final press x O scan order residual coefficients, y coordinates; GT2 refers to whether the amplitude is greater than 2 flag residual coefficients; gtl whether the residual coefficients for the sign magnitude greater than I ; SIG is a non-residual coefficients for the O flag value. [0086] 表I统计结果表明,所述x+y, gt2, gtl, sig语法元素编码产生的算术编码BIN的数量随着图像分辨率、帧率及量化参数的变化而快速增长,由此造成了所述BIN的解析成为实时解码的瓶颈问题。 [0086] Statistics The results in Table I show that the x + y, gt2, gtl, BIN number of arithmetic coding syntax elements sig code generator changes with image resolution, frame rate and the quantization parameter and rapid growth, resulting BIN resolved the problem of real-time decoding of a bottleneck. [0087] 基于所述统计结果,通过控制x+y, gt2, gtl, sig所产生的算术编码BIN的数量,就可有效地控制编码器产生的算术编码BIN的数量。 [0087] Based on the statistical result, by controlling the number of arithmetic coding BIN x + a y, gt2, gtl, sig produced, can effectively control the amount of arithmetic coding encoder generates a BIN. [0088]步骤 105、bypass (tc_bypass_level);[0089] 基于步骤103的结果,tc_bypass_level明确指示了当前分片中的,步骤104确定的每个语法元素x+y,gt2, gtl, sig进行熵编码时,分别是采用步骤106还是采取步骤107进行处理。 [0088] Step 105, bypass (tc_bypass_level); [0089] based on a result of step 103, tc_bypass_level explicit indication of the current slice, step 104 determines for each syntax element x + y, gt2, gtl, sig entropy encoding when, in step 106 are employed to process step 107 is taken. [0090] bypass (tc_bypass_level)以分片为单位变化,根据tc_bypass_level 的取值来确定当前分片中的分层控制操作。 [0090] bypass (tc_bypass_level) variation in slice units, to determine the current operation of the hierarchical control points based on the value tc_bypass_level the sheet. bypass (tc_bypass_level)指部分或者全部表示残差的语法元素的熵编码从算术编码BIN处理转换为bypass模式组合处理。 bypass (tc_bypass_level) refers to a portion or all of the residuals represents entropy coding syntax elements from the arithmetic coding process is converted into BIN bypass mode combination process. [0091] 步骤106、进行算术编码BIN ;[0092] 在残差编码模块(CoeffNxN)中的子功能模块,算术编码BIN充分利用了上下文模型的相关性、前后符号之间的相关性,是压缩效率比较高的熵编码方式。 [0091] Step 106, arithmetic coding BIN; [0092] In a residual coding module (CoeffNxN) in the sub-function blocks, arithmetic coding utilizing the correlation BIN full context model, the correlation between the preceding and following symbols, compression more efficient entropy encoding. [0093] 算术编码BIN具有必须串行处理的特性,如果BIN数量增长到一定程度就会导致BIN的解析成为实时解码的瓶颈问题。 [0093] Arithmetic coding has a characteristic must BIN serial processing, if the number of BIN grow to a certain extent, it will lead to resolve the bottleneck problem of BIN real-time decoding. 为了确保实时解码,就有必要控制住单位时间内BIN的数量不超过一定的上限(max_bin_rate)。 In order to ensure real-time decoding, it is necessary to control the unit time within the BIN number does not exceed a certain limit (max_bin_rate). [0094] 步骤107、进行bypass模式组合编码。 [0094] Step 107, a bypass coding mode combination. [0095] 在残差编码模块(CoeffNxN)中的子功能模块,bypass模式组合通常用于等概率出现的符号编码,它不更新算术编码的状态变量,可以并行操作。 [0095] The sub-function blocks in a residual encoding module (CoeffNxN) in, Bypass mode combination is usually used and so the probability of symbol encoding, arithmetic coding, it does not update the state variables may operate in parallel. bypass模式组合压缩效率比较低但利于并行操作,是有别于算术编码BIN的一种简单编码模式。 bypass mode combination facilitates compression but relatively low efficiency of parallel operations is different from a simple arithmetic coding mode of the coding BIN. [0096] 步骤107和步骤106可以共享同一个算术编码的二值化过程。 [0096] Step 107 and step 106 may share the same binary arithmetic coding process. 所述二值化过程是指将语法元素用二进制数值表示的过程。 The binarization process is the process of syntax elements represented by the binary value. [0097] 实施例二[0098] 该实施例以自适应控制算术编码BIN数量对应的解码过程为例进行描述,该控制过程包括:[0099] 步骤201、通过max_bin_rate_control_flag的取值确定是否启动自适应分层控制算术编码BIN数量对应的解码方法;[0100] 在SPS中定义的控制标志,指示当前序列的解码是否需要启动本发明所述的分片自适应分层控制算术编码BIN数量对应的解码方法;如果标志设置为1,表示解码器将启动分片自适应分层控制算术编码BIN数量对应的解码方法;如果标志设置0,表示解码不启动上述方法。 [0097] Second Embodiment [0098] In this embodiment, the adaptive control corresponding to the number of arithmetic coding BIN decoding process will be described as an example, the control process comprising: [0099] Step 201, the value of determining whether to start the adaptive max_bin_rate_control_flag hierarchical control arithmetic coding decoding method corresponding to BIN number; [0100] When the control flag defined SPS, indicating whether the current sequence of decoded adaptive slicing start of the present invention, the number of slice encoding control arithmetic decoding corresponding to BIN method; if the flag is set to 1, indicates the decoder starts the decoding method of the hierarchical control adaptive number of fragments corresponding to BIN arithmetic coding; if the flag is set to 0, indicating a decoding method described above does not start. [0101] 步骤202、获得每个分片的tc_bypass_level ;[0102] 在slice header (分片头信息)中定义的分层控制参数。 [0101] Step 202, tc_bypass_level obtained for each slice; [0102] (tile header information) hierarchy control parameters defined in the slice header. 如果201设置为启动本发明所述的方法,通过获得不同的tc_bypass_level数值可以分层控制当前分片中,表示残差的部分或全部语法元素所产生BIN的数量。 If 201 is set to start the method according to the present invention, by obtaining different values ​​can be layered tc_bypass_level slice control current, represents the number of residual BIN part or all of the generated syntax elements. [0103] 如果tc_bypass_level的具体定义如表2所示,tc_bypass_level实际上提供了一种在当前分片中的分层控制机制。 [0103] If tc_bypass_level specifically defined as shown in Table 2, tc_bypass_level actually provided a hierarchical control mechanism points the current sheet. 它指示所述语法元素将按算术解码BIN处理,或者按bypass模式组合处理。 It will be indicative of the syntax element BIN arithmetic decoding process, or a combination process by bypass mode. [0104] 步骤203、获得表不残差的语法兀素x+y, gt2, gtl, sig ;[0105] 在残差解码模块(CoeffNxN)中定义的用来表示残差的语法元素。 [0104] Step 203, the table does not get syntax Wu residual pixel x + y, gt2, gtl, sig; [0105] defined in a residual decoding module (CoeffNxN) used to represent the residual syntax element. 它们的具体含义为:x+y指按扫描顺序的最后一个非O残差系数的x,y坐标;gt2指残差系数的幅度是否大于2标志;gtl为残差系数的幅度是否大于I标志;sig为残差系数是否为非O值标志。 Their specific meaning is: x + y refers to a non-final press x O scan order residual coefficients, y coordinates; GT2 refers to whether the amplitude is greater than 2 flag residual coefficients; gtl whether the residual coefficients for the sign magnitude greater than I ; SIG is a non-residual coefficients for the O flag value. [0106] 表I统计结果表明,所述x+y, gt2, gtl, sig语法元素所产生的BIN的数量随着图像分辨率、帧率及量化参数的变化而快速增长,由此造成了所述BIN的解析成为实时解码的瓶颈问题。 [0106] Statistics The results in Table I show that the BIN number of x + y, gt2, gtl, sig syntax elements generated with the changed image resolution, frame rate and the quantization parameter and rapid growth, thereby resulting in the BIN later become the bottleneck problem resolution real-time decoding. [0107] 基于所述统计结果,通过控制x+y,gt2,gtl, sig所产生的BIN的数量,就可有效地解决实时解码的瓶颈问题。 [0107] Based on the statistical results, the BIN number y, gt2, gtl, sig produced, can effectively solve the bottleneck problem of real-time decoding by controlling x +. [0108]步骤 204、bypass (tc_bypass_level);[0109] 基于步骤202的结果,tc_bypass_level明确指示了当前分片中的,步骤203确定的每个语法元素x+y,gt2, gtl, sig进行熵解码时,分别是采用步骤205还是采取步骤206进行处理。 [0108] Step 204, bypass (tc_bypass_level); [0109] based on a result of step 202, tc_bypass_level explicit indication of the current slice, determined in step 203 each syntax element x + y, gt2, gtl, sig entropy decoding when, in step 205 are employed or steps taken to process 206. [0110] bypass (tc_bypass_level)以分片为单位变化,根据tc_bypass_level 的取值来确定当前分片中的分层控制操作。 [0110] bypass (tc_bypass_level) variation in slice units, to determine the current operation of the hierarchical control points based on the value tc_bypass_level the sheet. bypass (tc_bypass_level)指部分或者全部表示残差的语法元素的熵解码从算术解码BIN处理转换为bypass模式组合处理。 bypass (tc_bypass_level) refers to a portion or all of the residual represents entropy decoding syntax elements from the arithmetic decoding process is converted into BIN bypass mode combination process. [0111] 步骤205、进行算术解码BIN;[0112] 在残差解码模块(CoeffNxN)中的子功能模块,算术解码BIN具有必须串行处理的特性,如果BIN数量增长到一定程度就会导致BIN的解析成为实时解码的瓶颈问题。 [0111] Step 205 performs arithmetic decoding BIN; [0112] sub-function blocks in a residual decoding module (CoeffNxN) in the arithmetic decoding has a characteristic BIN must be serially processed, if the number of BIN increase will lead to a certain degree BIN analytical become a bottleneck in real-time decoding. 为了确保实时解码,就有必要控制住单位时间内BIN的数量不超过一定的上限(maX_bin_rate)。 In order to ensure real-time decoding, it is necessary to control the unit time within the BIN number does not exceed a certain limit (maX_bin_rate). [0113] 步骤206、进行bypass模式组合解码。 [0113] Step 206, a bypass decoding mode combination. [0114] 在残差解码模块(CoeffNxN)中的子功能模块,bypass模式组合通常用于等概率出现的符号解码,它不更新算术解码的状态变量,可以并行操作。 Symbol decoding [0114] sub-function blocks in a residual decoding module (CoeffNxN) in, Bypass mode probability and the like combination is usually used, it does not update the arithmetic decoding state variables, may operate in parallel. [0115] bypass模式组合压缩效率比较低但利于并行操作,是有别于算术解码BIN的一种简单解码模式。 [0115] bypass mode combination facilitates compression but relatively low efficiency of parallel operations is different from a simple arithmetic decoding mode decodes the BIN. [0116] 步骤205和步骤206可以共享同一个算术解码的二值化过程。 [0116] Step 205 and step 206 may share the same binary arithmetic decoding process. 所述二值化过程是指将语法元素用二进制数值表示的过程。 The binarization process is the process of syntax elements represented by the binary value. [0117] 如图3所示,为本发明编码器实施例的结构示意图,该编码器包括序列参数模块31、分片处理模块32和编码模块33,其中:[0118] 序列参数模块,用于获知编码器在单位时间内产生的算术编码二进制(BIN)数量的上限;[0119] 分片处理模块,用于根据所述序列参数模块获知的所述上限获得每个分片分层控制参数的数值;[0120] 编码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。 [0117] As shown, a schematic view of the present invention, the encoder structure 3 of the illustrated embodiment, the encoder includes a sequence parameter module 31, processing module 32 and the fragment encoding module 33, wherein: [0118] a sequence parameter module, for the upper limit (the BIN) to know the number of binary arithmetic coding encoder generates in a unit time; [0119] fragment processing module, for obtaining each slice hierarchical control parameters in accordance with the upper limit of the learned sequence parameter module Numerical; [0120] encoding module, configured to control the slice represented by each syntax element using the residual BIN or bypass (bypass the value of the current fragmentation slice division processing module obtained control parameter current hierarchy ) encoding mode combination. [0121] 另外,所述编码器还可以包括调用模块34,该调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述序列参数模块。 [0121] Further, the encoder 34 may also include a call module, the calling module, (the SPS) newly added control flag for determining the sequence parameter set is set to a predetermined value, if the sequence parameter module is called . [0122] 其中,所述上限保存在所述SPS中新增的上限参数中;所述分层控制参数包含在其对应的分片的头信息中。 [0122] where, the upper limit stored in the new upper limit parameters in the SPS; the hierarchical control parameter included in the header information of the corresponding sub-sheet. [0123] 具体地,所述分片处理模块自适应选择每个分片分层控制参数的数值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所述上限。 [0123] In particular, the fragment processing module adaptively selecting each slice hierarchical control parameter value, such that the number of arithmetic coding BIN generated in a unit time closest to the current but does not exceed the upper limit. [0124] 上述编码器,可以有效地控制表示残差的语法元素所产生的BIN数量不会超过一定的上限,具体实现过程可参见图1,此处不再赘述。 [0124] The encoder can be effectively controlled represents the number of syntax elements of residual BIN produced does not exceed a certain limit, the specific implementation process be seen in Figure 1, will not be repeated here. [0125] 如图4所示,为本发明解码器实施例的结构示意图, 该解码器包括分片处理模块41和解码模块42,其中:[0126] 分片处理模块,用于获得每个分片分层控制参数的数值;[0127] 解码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 [0125] As shown, the decoder schematic structural diagram of the embodiment of the present invention, the decoder includes a fragment processing module 41 and decoding module 42, wherein 4: [0126] fragment processing module, for obtaining each of the points sheet hierarchical control parameter values; [0127] decoding module, according to the current hierarchy control points obtained by the current slice processing module fragment value of the parameter represented by the control current slice using residual each syntax element BIN or bypass (bypass) decodes the combined mode. [0128] 另外,所述解码器还可以包括调用模块43,该调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述分片处理模块。 [0128] Further, the decoder module 43 may further include a call, the calling module, (the SPS) newly added control flag for determining the sequence parameter set is set to a predetermined value, if yes, the call processing fragment module. [0129] 其中,所述分层控制参数包含在其对应的分片的头信息中。 [0129] wherein said hierarchical control parameter included in the header information of the corresponding sub-sheet. [0130] 上述解码器,可以有效地控制表示残差的语法元素所产生的BIN数量不会超过一定的上限,具体实现过程可参见图2,此处不再赘述。 [0130] The decoder can effectively control represents the number of syntax elements of residual BIN generated will not exceed a certain limit, the specific implementation process be seen in Figure 2, will not be repeated here. [0131] 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。 [0131] Those of ordinary skill in the art will be appreciated that the above-described method may be all or part of the steps by a program instructing relevant hardware is completed, the program may be stored in a computer-readable storage medium, such as read only memory, etc., magnetic or optical disk. 可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。 Alternatively, all or part of the steps of the above-described embodiments may be implemented using one or more integrated circuits. 相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。 Accordingly, each module / unit in the above-described embodiments may be implemented in the form of hardware, software functional modules may also be implemented. 本发明不限制于任何特定形式的硬件和软件的结合。 The present invention is not limited to any specific combination of hardware and software form. [0132] 以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。 [0132] Example embodiments above are intended to illustrate and not limit the present invention only with reference to the preferred embodiments of the present invention has been described in detail. 本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。 Those skilled in the art will appreciate that modifications may be made to the technical solutions of the present invention, or equivalent replacements without departing from the spirit and scope of the technical solutions of the present invention shall be encompassed in the scope of the present invention accompanying claims.

Claims (17)

1.一种自适应控制算术编码二进制(BIN)数量的方法,其特征在于,该方法包括: 获知编码器在单位时间内产生的算术编码BIN数量的上限; 根据所述上限获得每个分片分层控制参数的数值; 根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。 A controlling adaptive binary arithmetic coding (BIN) number of methods, characterized in that, the method comprising: an arithmetic coding known upper limit number of coded BIN generated within a unit time; obtained according to the upper limit of each slice hierarchical control value of the parameter; control parameter according to the value of current hierarchy control current slice of a current slice indicates a residual for each syntax element using BIN or bypass (bypass) coding mode combination.
2.根据权利要求1所述的方法,其特征在于: 所述获知编码器在单位时间内产生的算术编码BIN数量的上限之前,所述方法还包括: 确定序列参数集(SPS)中新增加的控制标志设置为预定值。 2. The method according to claim 1, wherein: prior to said known upper limit of the number of binary arithmetic coding BIN generated within a unit time, the method further comprising: determining a sequence parameter set (SPS) in the newly added the control flag is set to a predetermined value.
3.根据权利要求2所述的方法,其特征在于: 所述上限保存在所述SPS中新增的上限参数中。 3. The method according to claim 2, wherein: the upper limit stored in the new upper limit SPS parameters.
4.根据权利要求1所述的方法,其特征在于: 所述分层控制参数包含在其对应的分片的头信息中。 4. The method according to claim 1, wherein: said hierarchical control parameter included in the header information of the corresponding sub-sheet.
5.根据权利要求1所述的方法,其特征在于: 所述上限参照与所述编码器对应的解码器的实时解码能力,或者所述编码器与所述解码器协商的结果,或者视频标准建议的参考数值来设定。 5. The method according to claim 1, wherein: said upper reference and real-time decoding capability of the decoder corresponding to the encoder, as a result of the encoder or the decoder negotiation, or video standard proposed reference values ​​set.
6.根据权利要求1-5任一权利要求所述的方法,其特征在于: 所述根据所述上限获得每个分片分层控制参数的数值包括: 自适应选择每个分片分层控制参数的数值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所述上限。 6. A method according to claim any one of claims 1-5, characterized in that: said upper limit based on the hierarchical control parameters obtained for each fragment value includes: selecting each slice adaptive hierarchical control value of the parameter, so that the number of arithmetic coding BIN generated in a unit time closest to the current but does not exceed the upper limit.
7.—种自适应控制算术编码二进制(BIN)数量对应的解码方法,其特征在于,该方法包括: 获得每个分片分层控制参数的数值; 根据当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 7.- species adaptive binary arithmetic coding control (the BIN) corresponding to the number of the decoding method, characterized in that, the method comprising: obtaining each slice hierarchical control parameter value; a current slice of the current hierarchical control parameters Numerical control current slice represented by each syntax element using the residual BIN or bypass (bypass) decodes the combined mode.
8.根据权利要求7所述的方法,其特征在于: 所述获得每个分片分层控制参数的数值之前,所述方法还包括: 确定序列参数集(SPS)中新增加的控制标志设置为预定值。 8. The method according to claim 7, wherein: the value obtained prior to each slice hierarchical control parameters, said method further comprising: determining a sequence parameter set (SPS) in the newly added control flag set a predetermined value.
9.根据权利要求7或8所述的方法,其特征在于: 所述分层控制参数包含在其对应的分片的头信息中。 9. The method of claim 7 or claim 8, wherein: said hierarchical control parameter included in the header information of the corresponding sub-sheet.
10.一种编码器,其特征在于,该编码器包括: 序列参数模块,用于获知编码器在单位时间内产生的算术编码二进制(BIN)数量的上限; 分片处理模块,用于根据所述序列参数模块获知的所述上限获得每个分片分层控制参数的数值; 编码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行编码。 10. An encoder, wherein the encoder comprises: a sequence parameter module configured to obtain the upper limit (the BIN) number of binary arithmetic coding encoder generates in a unit time; fragment processing module, according to the the upper limit of said sequence parameter module learned hierarchical control parameters obtained for each fragment value; encoding module, configured to control the fragmentation of the fragment processing module in accordance with the current fragment obtained hierarchical control current value of the parameter representing each syntax element using the residual BIN or bypass (bypass) coding mode combination.
11.根据权利要求10所述的编码器,其特征在于,所述编码器还包括: 调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述序列参数模块。 11. The encoder according to claim 10, wherein said encoder further comprises: calling means for determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value, if yes, the parameter module calling sequence.
12.根据权利要求11所述的编码器,其特征在于: 所述上限保存在所述SPS中新增的上限参数中。 The encoder according to claim 11, wherein: the upper limit stored in the new upper limit SPS parameters.
13.根据权利要求10所述的编码器,其特征在于: 所述分层控制参数包含在其对应的分片的头信息中。 13. The encoder according to claim 10, wherein: said hierarchical control parameter included in the header information of the corresponding sub-sheet.
14.根据权利要求10-13任一权利要求所述的编码器,其特征在于: 所述分片处理模块,具体用于: 自适应选择每个分片分层控制参数的数值,使得当前单位时间内产生的算术编码BIN数量最接近但不超过所述上限。 According to any of claims 10-13 14. The encoder according to one of the preceding claims, wherein: said fragment processing module is configured to: adaptively selecting each slice hierarchical control parameter value, such that the current unit the number of arithmetic coding BIN generated time closest to but not exceeding the upper limit.
15.一种解码器,其特征在于,该解码器包括: 分片处理模块,用于获得每个分片分层控制参数的数值; 解码模块,用于根据所述分片处理模块获得的当前分片的当前分层控制参数的数值控制当前分片中表示残差的每个语法元素采用BIN或者旁路(bypass)模式组合进行解码。 15. A decoder, wherein the decoder comprising: fragment processing module, hierarchical control parameter values ​​for each slice for obtaining; decoding module based on the currently obtained fragment processing module current hierarchy slice control parameter values ​​to control the current slice represented by each syntax element using the residual BIN or bypass (bypass) decodes the combined mode.
16.根据权利要求15所述的解码器,其特征在于,所述解码器还包括: 调用模块,用于判断序列参数集(SPS)中新增加的控制标志是否设置为预定值,若是,则调用所述分片处理模块。 16. The decoder of claim 15, wherein said decoder further comprises: calling means for determining the sequence parameter set (SPS) in the newly added control flag is set to a predetermined value, if yes, invoking the fragment processing module.
17.根据权利要求15或16所述的解码器,其特征在于: 所述分层控制参数包含在其对应的分片的头信息中。 17. The decoder of claim 15 or claim 16, wherein: said hierarchical control parameter included in the header information of the corresponding sub-sheet.
CN201210019699.7A 2012-01-21 2012-01-21 The method of adaptive control of the number of bin arithmetic coding, the encoder and decoder CN103220509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210019699.7A CN103220509B (en) 2012-01-21 2012-01-21 The method of adaptive control of the number of bin arithmetic coding, the encoder and decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210019699.7A CN103220509B (en) 2012-01-21 2012-01-21 The method of adaptive control of the number of bin arithmetic coding, the encoder and decoder

Publications (2)

Publication Number Publication Date
CN103220509A true CN103220509A (en) 2013-07-24
CN103220509B CN103220509B (en) 2017-12-15

Family

ID=48817932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210019699.7A CN103220509B (en) 2012-01-21 2012-01-21 The method of adaptive control of the number of bin arithmetic coding, the encoder and decoder

Country Status (1)

Country Link
CN (1) CN103220509B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050169374A1 (en) * 2004-01-30 2005-08-04 Detlev Marpe Video frame encoding and decoding
CN1953552A (en) * 2005-10-20 2007-04-25 松下电器产业株式会社 Coding apparatus and decoding apparatus
US20090096643A1 (en) * 2007-10-16 2009-04-16 Yuan-Teng Chang System and Method for Context-Based Adaptive Binary Arithematic Encoding and Decoding
CN101553988A (en) * 2006-12-14 2009-10-07 日本电气株式会社 Video encoding method, video encoding device, and video encoding program
CN101809871A (en) * 2007-09-27 2010-08-18 高通股份有限公司 optimized cabac decoder
CN101902639A (en) * 2009-05-27 2010-12-01 索尼公司 Encoding apparatus and encoding method, and decoding apparatus and decoding method
CN101911702A (en) * 2008-01-08 2010-12-08 高通股份有限公司 Quantization based on rate-distortion modeling for cabac coders
CN101951520A (en) * 2010-10-21 2011-01-19 上海交通大学 Adaptive H.264 compressed domain video watermark embedding and extracting method
CN102231830A (en) * 2010-11-23 2011-11-02 浙江大学 Arithmetic unit used for context arithmetic encoding and decoding

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050169374A1 (en) * 2004-01-30 2005-08-04 Detlev Marpe Video frame encoding and decoding
CN1953552A (en) * 2005-10-20 2007-04-25 松下电器产业株式会社 Coding apparatus and decoding apparatus
CN101553988A (en) * 2006-12-14 2009-10-07 日本电气株式会社 Video encoding method, video encoding device, and video encoding program
CN101809871A (en) * 2007-09-27 2010-08-18 高通股份有限公司 optimized cabac decoder
US20090096643A1 (en) * 2007-10-16 2009-04-16 Yuan-Teng Chang System and Method for Context-Based Adaptive Binary Arithematic Encoding and Decoding
CN101911702A (en) * 2008-01-08 2010-12-08 高通股份有限公司 Quantization based on rate-distortion modeling for cabac coders
CN101902639A (en) * 2009-05-27 2010-12-01 索尼公司 Encoding apparatus and encoding method, and decoding apparatus and decoding method
CN101951520A (en) * 2010-10-21 2011-01-19 上海交通大学 Adaptive H.264 compressed domain video watermark embedding and extracting method
CN102231830A (en) * 2010-11-23 2011-11-02 浙江大学 Arithmetic unit used for context arithmetic encoding and decoding

Also Published As

Publication number Publication date
CN103220509B (en) 2017-12-15

Similar Documents

Publication Publication Date Title
JP6097332B2 (en) Transform coefficient block decoding apparatus and method, and transform coefficient block coding apparatus and method,
JP3842803B2 (en) Signal encoding method, a signal decoding method, a signal encoding apparatus, a signal decoding device, the signal encoding program, and a signal decoding program
US20130187796A1 (en) Lossless coding technique for cabac in hevc
JP4660433B2 (en) Encoding circuit, a decoding circuit, an encoder circuit, a decoder circuit, CABAC processing method
US6894628B2 (en) Apparatus and methods for entropy-encoding or entropy-decoding using an initialization of context variables
JP5902307B2 (en) Intra-mode video coding
KR20180006510A (en) Entropy coding of motion vector differences
JP5812448B2 (en) Unified significance map encoding method and apparatus
JP6037341B2 (en) Method for decoding video
KR100750165B1 (en) Cabac encoding method and apparatus using improved context model selection with better compression ratio, and cabac decoding method and apparatus
JP2005229632A (en) Method and arrangement for coding transform coefficients in picture and/or video coders and decoders, corresponding computer program and corresponding computer-readable storage medium
WO2008108534A1 (en) Method and apparatus for context adaptive binary arithmetic coding and decoding
EP2596634A1 (en) Video compression using multiple variable length coding methods for multiple types of transform coefficient blocks
TW200536379A (en) System and method for the dynamic resolution change for video encoding
KR20130129469A (en) Transforms in video coding
JP2012500565A (en) Watermarking compliant cabac / avc of syntax elements in the compressed video
JP4241417B2 (en) Arithmetic decoding apparatus, and the arithmetic decoding program
US8018996B2 (en) Arithmetic decoding apparatus and method
CN101039422B (en) Image encoding apparatus, image decoding apparatus and control method therefor
JP2017143573A (en) Video decoding method and apparatus thereof
CN103597834B (en) Context-based adaptive binary arithmetic coding method and apparatus
US8446301B2 (en) Methods and devices for coding and decoding the position of the last significant coefficient
US8615138B2 (en) Image compression using sub-resolution images
JP2009510962A (en) Adaptive variable length coding for the independent variables
CN102550025B (en) Methods and apparatuses for encoding and decoding mode information

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01