Residual decoding to reduce the use of local neighborhood

By determining the context model index of quantized transform coefficients in the video compression system, the number of CABAC contexts is reduced, the problem of high residual decoding complexity is solved, and the video compression efficiency and computing performance are improved.

CN113170137BActive Publication Date: 2024-09-27INTERDIGITAL VC HOLDINGS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980076870.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-21
Filing Date
2019-11-20
Publication Date
2024-09-27
Estimated Expiration
2039-11-20

AI Technical Summary

Technical Problem

The complexity of residual decoding in existing video compression systems is high, which affects compression efficiency and computing performance.

Method used

By determining the context model index of the quantized transform coefficients of the transform block, appropriate context models are selected for the quantized transform coefficients in different areas, reducing the number of CABAC contexts and decoder-side operations, and improving the adaptability of entropy decoding.

Benefits of technology

It reduces the complexity and computational load of the video compression system, improves compression efficiency and decoding efficiency, and reduces ineffective decoding steps and CABAC context usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113170137B_ABST
    Figure CN113170137B_ABST
Patent Text Reader

Abstract

Different implementations are described, in particular implementations for video encoding and decoding using entropy coding of quantized transform coefficients. The method comprises: determining a context model index for one or more syntax elements of quantized transform coefficients of a transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the transform block, and a single context index is used for at least one region of the transform block; and selecting one of several context models for one or more syntax elements associated with a particular quantized transform coefficient based on the determined context model index.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of video compression and aims to reduce the complexity of residual decoding compared with existing video compression systems. Background Art

[0002] For the compression of video data, block-shaped areas of a picture are decoded using inter-picture prediction to exploit the temporal redundancy between different pictures of a video source signal, or intra-picture prediction to exploit the spatial redundancy in a single picture of the source signal. To this end, various block sizes in a picture can be specified depending on the compression standard used. The prediction residual is then further compressed using a transform to remove the correlation within the residual before it is quantized, and finally entropy coding (also called residual coding) is used to further compress the prediction residual.

[0003] Current video compression standards, such as H.264 / MPEG-4 AVC and High Efficiency Video Coding (HEVC), use so-called context-adaptive binary arithmetic coding (CABAC) for entropy coding. CABAC uses binary arithmetic coding, which means that only binary values ​​are encoded. Accordingly, before arithmetic decoding, the signs of non-binary values ​​must be converted to binary values. Then, for each bit, the decoder selects a probability model to use and uses information from nearby elements to optimize the probability estimate. Finally, arithmetic decoding is applied to compress the data.

[0004] Furthermore, currently developing standards, such as JEM VTM-1 or VVC Draft 3 (see “Generic Video Coding (Draft 3)”, document: JVET-L1001, Joint Video Exploration Team (JVET) of ITU-T SG16 WP3 and ISO / IEC JTC1 / SC29 / WG11, 12th Meeting: Macau, China, October 3-12, 2018) employ so-called local neighbor templates of the current coefficient to model the CABAC context, which is used to signal some syntax elements associated with the current coefficient. Summary of the invention

[0005] According to one aspect of the present disclosure, a method for encoding and / or decoding a picture is disclosed. The method includes: determining a context model index for one or more syntax elements of a quantized transform coefficient of a transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the transform block, and a single context index is used for at least one region of the transform block; and selecting one of several context models for one or more syntax elements associated with a specific quantized transform coefficient based on the determined context model index.

[0006] According to another aspect of the present disclosure, a device for encoding and / or decoding a picture is disclosed. The device includes one or more processors, wherein the one or more processors are configured to:

[0007] determining context model indexes for one or more syntax elements of quantized transform coefficients of a transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the transform block and a single context index is used for at least one region of the transform block; and

[0008] Based on the determined context model index, one of several context models is selected for one or more syntax elements associated with a particular quantized transform coefficient.

[0009] According to another aspect of the present disclosure, an apparatus for encoding and / or decoding a picture is disclosed, the apparatus comprising:

[0010] means for determining context model indices for one or more syntax elements of quantized transform coefficients of a transform block, wherein different context model indices are obtained for quantized transform coefficients in different regions of the transform block and a single context index is used for at least one region of the transform block; and

[0011] Means for selecting one of several context models for the one or more syntax elements associated with a particular quantized transform coefficient based on the determined context model index.

[0012] The present disclosure also provides a computer program product comprising instructions, which, when executed by a computer, cause the computer to perform the described method.

[0013] A simplified overview of the subject matter is presented above in order to provide a basic understanding of some aspects of the subject matter embodiments. This overview is not an exhaustive review of the subject matter. It is not intended to identify the key / important elements of the various embodiments or to describe the scope of the subject matter. Its sole purpose is to present some concepts of the subject matter in a simplified form as a preface to a more detailed description presented later.

[0014] Additional features and advantages of the present disclosure will become apparent from the following detailed description of illustrative embodiments, which proceeds with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A block diagram showing an example of a general video compression scheme.

[0016] Figure 2 A block diagram showing an example of a general video decompression scheme.

[0017] FIG. 3 shows in a) some coding tree units representing a compressed HEVC picture and in b) the division of the coding tree units into coding units, prediction units and transform units.

[0018] Figure 4 An example in which a decoding tree unit is divided into two forms, a quadtree and a binary tree, and a corresponding decoding tree representation of the decoding tree unit are shown.

[0019] FIG. 5 shows in a) the horizontal and vertical triple-tree coding unit partitioning modes and in b) the complete set of coding unit partitioning modes supported in the video coding scheme considered in this application.

[0020] Figure 6 Two scalar quantizers used in a VVC related quantization system are shown.

[0021] Figure 7 A finite state machine for switching between scalar quantizers in VVC is shown.

[0022] Figure 8 The scanning order between CG and coefficients in an 8×8 transform block is shown.

[0023] Fig. 9 The decoding / parsing of syntax elements in a 4-round process is shown.

[0024] Fig.10 The contexts for coding coefficient significance flags in (a) luma and (b) chroma, respectively, are shown.

[0025] Fig.11 A VVC draft 3 process for determining the context for coding coefficient significance flags is shown.

[0026] Fig.12 Contexts used in VVC draft 3 are shown for decoding flags GT1, parity and GT2 associated with each quantized coefficient in (a) luma and (b) chroma, respectively.

[0027] Fig.13 A VVC draft 3 process of determining a context for coding coefficient significance flags is shown.

[0028] Fig.14 The proposed context modeling for CABAC decoding of GT1, parity, GT2 flags of chroma blocks according to the first embodiment is shown.

[0029] Fig.15The proposed process for calculating the index of the CABAC context used for decoding the GT1, parity and GT2 flags according to the first embodiment is shown.

[0030] Fig.16 The impact of the proposed first embodiment on the decoding efficiency in the RA configuration (one intra-frame period) of the VVC test condition is shown.

[0031] Fig.17 The proposed context modeling for CABAC coding of GT1, parity, GT2 flags of chroma blocks according to the second embodiment is shown.

[0032] Fig.18 The proposed context modeling for CABAC coding of GT1, parity, GT2 flags of chroma blocks according to the third embodiment is shown.

[0033] Fig.19 The proposed context modeling for CABAC coding of GT1, parity, GT2 flags of chroma blocks according to the fourth embodiment is shown.

[0034] Fig. 20 The proposed context modeling for CABAC decoding of GT1, parity, GT2 flags of chroma blocks according to the fifth embodiment is shown.

[0035] Fig.21 The proposed context modeling for CABAC decoding of GT1, parity, GT2 flags of chroma blocks according to the sixth embodiment is shown.

[0036] Fig. 22 A general flow chart of a method according to an embodiment of the present disclosure is shown.

[0037] Fig.23 The CABAC decoding process is shown.

[0038] Fig.24 The CABAC decoding process is shown.

[0039] Fig.25 A block diagram is shown of an example of a system in which aspects of the illustrative embodiments may be implemented.

[0040] It should be understood that the drawings are for purposes of illustrating examples of various aspects and embodiments and are not necessarily the only possible configurations. Throughout the drawings, the same reference numerals represent the same or similar features. DETAILED DESCRIPTION

[0041] For clarity of description, the following description will describe various aspects with reference to embodiments involving video compression techniques, such as HEVC, JEM and / or H.266. However, the described aspects are applicable to other video processing techniques and standards.

[0042] Figure 1 An example encoder 100 is shown. Variations of the encoder 100 are contemplated, but for clarity, the encoder 100 is described below without describing all contemplated variations.

[0043] Before being encoded, the video sequence may be subjected to a pre-encoding process (101), for example by applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0) or performing a remapping of the input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and appended to the bitstream.

[0044] To encode a video sequence with one or more pictures, the pictures are partitioned (102), for example, into one or more slices, where each slice may include one or more slice segments. In HEVC, slice segments are organized into coding units, prediction units, and transform units. The HEVC specification distinguishes between "blocks" and "units," where a "block" addresses a specific area in a sample array (e.g., luma, Y), and a "unit" contains a concatenated block of all coded color components (Y, Cb, Cr, or monochrome), syntax elements, and prediction data (e.g., motion vectors) associated with the block.

[0045] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is divided (1021) and processed in units such as CUs. Each unit is encoded using intra or inter mode. When the unit is encoded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which of intra mode or inter mode to use to decode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. For example, the prediction residual is calculated by subtracting (110) the predicted block from the original image block.

[0046] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, along with motion vectors and other syntax elements, are entropy coded (145) to output a bitstream. The encoder may skip the transform and apply quantization directly to the untransformed residual signal. The encoder may bypass the transform and quantization, i.e., directly code the residual without applying a transform or quantization process.

[0047] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (140) and inverse transformed (150) to decode the prediction residual. The decoded prediction residual and the prediction block are combined (155) to reconstruct the image block. An in-loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).

[0048] Figure 2 2 shows a block diagram of a video decoder 200. In the decoder 200, a bitstream is decoded by decoder elements as described below. The video decoder 200 generally performs the same Figure 1 The encoding pass described in is a decoding pass that is the inverse of the encoding pass described in . The encoder 100 also typically performs video decoding as part of encoding the video data.

[0049] In particular, the input to the decoder includes a video bitstream, which may be generated by the video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors and other decoding information. Picture segmentation information indicates how the picture is segmented. The decoder can therefore divide (235) the picture according to the decoded picture segmentation information. The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The decoded prediction residual is combined (255) with the prediction block to reconstruct the image block. The prediction block can be obtained (270) from intra-frame prediction (260) or motion compensated prediction (i.e., inter-frame prediction) (275). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).

[0050] The decoded picture may further undergo post-decoding processing (285), such as inverse color conversion (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or performing an inverse remapping of the remapping process performed in the pre-encoding process (101). The post-decoding process may use metadata derived in the pre-encoding process and signaled in the bitstream.

[0051] This application proposes that in Figure 1 and Figure 2 Adaptation of entropy coding of transform coefficients in an encoder and a decoder shown in , where various rectangular coding unit sizes can be used to represent a picture in the compressed domain.

[0052] In HEVC, a video compression standard or a technology similar to the HEVC coding unit is defined as follows. The picture to be encoded or decoded is divided into so-called coding tree units (CTUs), which are the basic units of decoding, and continuous sets of CTUs are grouped into slices. A CTU typically includes three coding tree blocks (CTBs) and associated syntax elements, one block for luma sampling and two blocks for chroma sampling. The coding tree unit can be further divided into coding units (CUs), which are the smallest coding elements for prediction type decision, i.e., whether to perform inter-picture or intra-picture prediction. Finally, the coding unit can be further divided into one or more prediction units (PUs) to improve prediction efficiency.

[0053] Figure 3a An example of partitioning a part of a picture into CTUs 0, 1, and 2 is shown. In the figure, CTU 0 on the left is used directly, while CTU 1 on its right is partitioned into multiple smaller parts based on the signal characteristics of the picture area covered by the CTU. The arrows indicate the predicted motion vectors of the corresponding parts.

[0054] The CTB is the root of the quadtree partition into coding blocks (CBs), and the coding blocks can be partitioned into one or more prediction blocks (PBs) and form the root of the quadtree partition into transform blocks (TBs). Transform blocks (TBs) larger than 4×4 are divided into 4×4 sub-blocks of quantized coefficients called coefficient groups (CGs). Corresponding to the coding blocks, prediction blocks, and transform blocks, the coding unit (CU) includes a tree structured set of prediction units (PUs) and transform units (TUs), the PU includes prediction information for all color components, and the TU includes a residual coding syntax structure for each color component. The sizes of the CB, PB, and TB of the luminance component are applicable to the corresponding CU, PU, ​​and TU. Figure 3b An example for dividing a coding tree unit into coding units, prediction units, and transform units is shown in FIG.

[0055] Emerging video compression tools include a coding tree unit representation in the compressed domain, which allows for a more flexible representation of picture data in the compressed domain. The advantage of this flexible representation of the coding tree is that it provides increased compression efficiency compared to the CU / PU / TU arrangement of the HEVC standard. The so-called quadtree plus binary tree (QTBT) coding tool provides this increased flexibility. It includes a coding tree where the coding units can be split into quadtree and binary tree forms. Figure 4 An example of block partitioning of coding tree units using QTBT and corresponding coding tree representation is shown in FIG.

[0056] The division of the coding unit is determined on the encoder side by a rate-distortion optimization process, which consists in determining the QTBT representation of the CTU with the minimum rate-distortion cost. In the QTBT technique, the CU has a square or rectangular shape. The size of the coding unit is always a power of 2 and is usually from 4 to 128. In addition to these various rectangular shapes of the coding unit, this new CTU representation has the following different features compared to HEVC.

[0057] The QTBT decomposition of a CTU consists of two stages: first, the CTU is split in a quadtree fashion, and then each quadtree leaf can be further split in a binary fashion. Figure 4 , where the solid line represents the quadtree decomposition stage and the dashed line represents the binary decomposition spatially embedded in the leaves of the quadtree. In each split node of the binary tree, a flag signals whether horizontal split (0) or vertical split (1) is used. For quadtree split, no indication of the split type is required.

[0058] In intra slices, the luma and chroma block partitioning structures are separated and determined independently.

[0059] CU partitioning into prediction units or transform units is no longer used. In other words, each coding unit is systematically composed of a single prediction unit (previous 2N×2N prediction unit partitioning type) and a single transform unit (not divided into transform trees).

[0060] Another CU segmentation mode adopted in the VVC (Versatile Video Coding) video compression standard, called horizontal or vertical ternary tree segmentation mode, consists in dividing the coding unit (CU) into three sub-coding units (sub-CUs), and the size of each sub-coding unit is equal to one-quarter, one-half, and one-quarter of the size of the parent CU in the direction of the considered spatial division. Figure 5a The complete set of CU splitting modes supported in the video decoding scheme considered in this application is shown in Figure 5b superior.

[0061] In the following, the proposed method is described in detail. First, the coefficient quantization and entropy coding performed in VVC draft 3 are described. Then, different embodiments for coding the significant coefficient flag are proposed.

[0062] In the JVET paper entitled "Description of a Technical Solution for SDR, HDR and 360° Video Coding Proposed by Fraunhofer HHI" (JVET-J0014, 10th Meeting: San Diego, USA, April 10-20, 2018 (hereinafter referred to as "JVET-J0014")), correlated scalar quantization is proposed, in which two scalar quantizers with different reconstruction levels are used for quantization. Compared to traditional independent scalar quantization () as used in HEVC and VTM-1, the main effect of this method is that the set of allowable reconstruction values ​​of the transform coefficients depends on the values ​​of the transform coefficient levels that precede the current transform coefficient level in the reconstruction order.

[0063] The method of correlated scalar quantization is implemented by the following steps: (a) defining two scalar quantizers with different reconstruction levels, and (b) defining a process of switching between the two scalar quantizers.

[0064] Figure 6 The two scalar quantizers used are shown in , denoted by Q0 and Q1. The positions of the available reconstruction levels are uniquely specified by the quantization step size Δ. If we ignore the fact that the actual reconstruction of the transform coefficients uses integer arithmetic, the two scalar quantizers Q0 and Q1 are characterized as follows:

[0065] Q0: The reconstruction level of the first quantizer Q0 is given by an even integer multiple of the quantization step size Δ.

[0066] When the quantizer is used, the dequantized transform coefficient t' is calculated according to the following formula:

[0067] t'=2·k·Δ,

[0068] where k represents the associated quantization coefficient (transmitted quantization index).

[0069] Q1: The reconstruction level of the second quantizer Q1 is an odd integer multiple of the quantization step size Δ plus a reconstructed value equal to zero.

[0070] The dequantized transform coefficient t' is calculated as a function of the quantization coefficient k as follows:

[0071] t'=(2·k-sgn(k))·Δ,

[0072] where sgn(·) is a symbolic function defined as follows:

[0073] sgn(x)=(k==0?0:(k<0?-1:1)).

[0074] The scalar quantizer used (Q0 or Q1) is not explicitly signaled in the bitstream. Instead, the quantizer used for the current transform coefficient is determined by the parity of the quantized coefficients that precede the current transform coefficient in the decoding / reconstruction order.

[0075] like Figure 7 As shown, the switching between the two scalar quantizers (Q0 and Q1) is implemented via a state machine with four states, which are equal to 0, 1, 2 or 3 respectively. The state of a given quantized coefficient is uniquely determined by the parity of the quantized coefficient that precedes the current quantized coefficient in the decoding / reconstruction order. At the beginning of inverse quantization of the transform block, the state is set equal to 0. The transform coefficients are reconstructed in scanning order (i.e., in the same order in which they are entropy decoded). As shown in FIG. Figure 7 As shown, after reconstructing the current transform coefficient, the state is updated. k is the quantized coefficient. The next state depends on the current state and the parity of the current quantized coefficient k (k&1):

[0076] state=stateTransTable[state][k&1],

[0077] Where stateTransTable represents Figure 7 The state transition table is shown, and the operator & specifies a bitwise AND operation in two's complement arithmetic.

[0078] Next, it is described how to entropy code and decode the quantized coefficients included in the transform block (TB).

[0079] First, the transform block is divided into 4×4 sub-blocks of quantized coefficients called coding groups (CGs). Entropy coding / decoding consists of several scanning passes, which are based on Figure 8 The TBs are scanned in the diagonal scanning order shown.

[0080] Transform coefficient decoding in VVC involves five main steps: scanning, last significant coefficient decoding, significance map decoding, coefficient level remainder decoding, absolute level and sign data decoding.

[0081] Then, the scanning pass on TB includes processing each CG sequentially according to the diagonal scanning order and also scanning the 16 coefficients within each CG according to the diagonal scanning order considered. The scanning pass starts with the last significant coefficient in the TB and processes all coefficients until the DC coefficient.

[0082] Entropy coding of transform coefficients includes up to 7 syntax elements from the following list:

[0083] sig_flag: significance of coefficient (zero / non-zero).

[0084] gt1_flag: Indicates whether the absolute value of the coefficient level is greater than 1.

[0085] par_flag: indicates that the parity of the coefficient is greater than 1.

[0086] gt2_flag: Indicates whether the absolute value of the coefficient level is greater than 2.

[0087] remainder: The remainder of the absolute value of the coefficient level (if the value is greater than the value coded in the previous round).

[0088] abs_level: value of the absolute value of the coefficient level (if no CABAC bin is signaled for the current coefficient for the maximum number of bin budget items).

[0089] ·sign_flag: the sign of the significant coefficient (0: positive; 1: negative).

[0090] Once the absolute value of a quantized coefficient is known by decoding a subset of the above elements (except the sign), no further syntax elements are coded for that coefficient in terms of its absolute value. In the same way, the sign flag is signaled only for non-zero coefficients.

[0091] All necessary scanning passes for a given CG are decoded until all quantized coefficients in that CG can be reconstructed before going to the next CG.

[0092] The overall decoding TB parsing process consists of the following main steps:

[0093] 1. Decode the last significant coefficient coordinates. This includes the following syntax elements:

[0094] last_sig_coeff_x_prefix, last_sig_coeff_y_prefix,

[0095] last_sig_coeff_x_suffix and last_sig_coeff_y_suffix.

[0096] This provides the decoder with the spatial position (x and y coordinates) of the last non-zero coefficient in the entire TB.

[0097] Then, for each consecutive CG from the CG containing the last significant coefficient in the TB to the top-left CG in the TB, apply the following steps.

[0098] 2. Decode the CG validity flag, which is called coded_sub_block_flag in the HEVC specification.

[0099] 3. For each coefficient in the considered CG, decode the significant coefficient flag. This corresponds to the syntax element sig_flag. This indicates which coefficients in the CG are non-zero.

[0100] The next parsing stage aims to signal the coefficient levels for the coefficients known to be non-zero in the considered CG. This involves the following syntax elements.

[0101] 4.gt1_flag: This flag indicates whether the absolute value of the current coefficient is higher than 1. If not, the absolute value is equal to 1.

[0102] 5.par_fag: This flag indicates whether the current quantized coefficient is even. If the gt1_flag of the current quantized coefficient is true, it is decoded. If par_fag is zero, the quantized coefficient is even, otherwise it is odd. After parsing par_fag_ on the decoder side, the partially decoded quantized coefficient is set equal to (1+gt1_flag+par_flag).

[0103] 6.gt2_flag: This flag indicates whether the absolute value of the current coefficient is higher than 2. If not, the absolute value is equal to (1+gt1_flag+par_flag). If (1+gt1_flag+par_flag) is greater than or equal to 2, gt2_flag is decoded. Once gt2_flag g is parsed, the quantized coefficient value becomes (1+gt1_flag+par_flag+(2*gt2_flag)) on the decoder side.

[0104] 7. remainder: This encodes the absolute value of the coefficient. This applies to partially decoded absolute values ​​greater than or equal to 4. Note that in VVC draft 3, a maximum number of bins for conventional decoding (i.e., bins for context-based arithmetic decoding) budget is fixed for each decoding group. Therefore, for some coefficients, only sig_flag, gt1_flag and par_flag elements may be signaled, while for other coefficients, gt2_flag may also be signaled. Therefore, based on the partially decoded quantized coefficient, the decoded and parsed remainder value is calculated relative to the already decoded flag of the coefficient.

[0105] 8. abs-level: This indicates the absolute value of the coefficient for which no flag (in sig_flag, gt1_flag, par_flag or gt2_flag) is coded in the considered CG for the maximum number of conventionally coded bin entries. Similar to the rest of the syntax elements, this syntax element is Rice-Golomb binarized and bypass coded.

[0106] 9.sign_flag: This indicates the sign of the non-zero coefficient. This is bypass-coded, i.e. decoded by simply writing / parsing the bin value as a bit in the VVC bitstream. .

[0107] like Fig. 9 As shown, the decoding / parsing of the syntax elements listed above, i.e., sig_flag, gt1_flag, par_flag, gt2_flag, remainder, and abs_level syntax elements according to VVC draft 3, is performed in a 4-round process. EP means "equip-probable", which means that the relevant bin is not arithmetically decoded, but decoded in bypass mode. The bypass mode consists in directly writing / parsing a bit, which is usually equal to the binary syntax element (bin) that you want to encode or parse.

[0108] In VVC draft 3, as described below, the sig_flag flag is context-based arithmetic decoding with a context selected among multiple possible contexts. The context used is identified by its index. The index for a given coefficient is calculated as follows.

[0109] According to the existing technology, the context index is calculated in Fig.10 is shown in Fig.11 It depends on the partially decoded coefficient values ​​of previously decoded coefficients in the neighborhood covered by the local neighbor template (LNT). More specifically, the context index is determined based on the sum of the absolute values ​​of neighboring coefficients that are in their partially reconstructed state when processing the current coefficient. Fig.10 The template is described in . In order to capture the characteristics of the transform coefficients at different frequencies, such as Fig.10 As shown, a transform block (TB) is divided into up to three regions in a pre-fixed manner. Each TB region is shown to have a different grayscale level, and the context index assigned to each region is shown. For example, the first region (the upper left portion of the TB) is assigned context indexes 12 to 17.

[0110] The context index associated with a given transform coefficient X is calculated as follows.

[0111] The sum of the absolute values ​​of the coefficients in -LNT is calculated:

[0112] - where (x0, ..., x4) are the partially reconstructed coefficients in the considered LNT located at the current coefficient X.

[0113] - The index of the diagonal corner to which the coefficient X belongs is calculated as the sum of its coordinates:

[0114] diag=posX(X)+poxY(X)

[0115] -Finally, the context index of the current coefficient X is calculated as:

[0116] ctxIdx=(diag<2?6:0)+(diag<5?6:0)+min(sumAbs,5)

[0117] The luminance and chrominance components are processed in a similar manner, but using separate sets of context models. The chrominance case is shown in Fig.10 (b). It can be seen that there are two regions instead of three for chromaticity. This is also Fig.11 , where a test is performed on the channel type (i.e., luma / chroma) and some specific context index calculation steps are performed for the luma case rather than for the chroma channel type.

[0118] Finally, note that the context for signaling sig_flag is selected based on 2 parameters: the context index calculated as described above and Figure 7 The current state of the state machine.

[0119] Regarding the syntax elements gt1_flag, par_flag and gt2_flag, different methods are used for context index calculation in VVC draft 3. The process is Fig.12 Shown and by Fig.13 The algorithm is described in detail. Now the process is explained. Fig.13 The first step of the process is to calculate the difference between the sum of the absolute values ​​of the coefficients already processed in the LNT sumAbs and the number of non-zero coefficients in the LNT. This difference is denoted sum1. Next, the context offset value denoted offset is initialized to offset=0. The next steps consist in successively increasing the value of offset by 5 according to the diagonal position of the current coefficient (diag=x+y) and the predefined area of ​​the diagonal manner used in the luminance and chrominance channel types, respectively. Finally, the context index takes the value equal to ctxIdx=(min(sum1,4)+1)+offset, and Fig.13 Note that the context index is defined here from 1, because the context with index 0 is used for encoding of some other syntax elements of the decoded bitstream.

[0120] Therefore, it can be seen that the LNT mechanism is used for all flags and for each quantized coefficient to be decoded or parsed.

[0121] In general, the use of LNT has the following specific disadvantages:

[0122] - LNT implies context selection dependency. A large number of decoder-side operations are used to compute the context for resolving significance information associated with quantized coefficients.

[0123] - Due to the concept of LNT, a large number of contexts are used, since typically 6 potential contexts may be used for sig_flag in each TB region, and 5 potential contexts may be used for each gt1_flag, par_flag and gt2_flag element in each TB region.

[0124] In the following, methods are provided to adapt the use of such local neighbor templates for transform coefficients to be encoded or decoded in a way that ensures good decoding efficiency and avoids decoding steps that are useless in a compression manner and avoids CABAC contexts that are useless in a compression manner. In particular, the proposed method concerns reducing the LNT usage depending on the transform block region and channel type considered.

[0125] The first proposed embodiment is Fig.14 and Fig.15 It includes a simplified context allocation process for the decoding of gt1_flag, par_flag and gt2_flag in the chroma TB.

[0126] like Fig.14 As can be seen above, in the proposed method, a modified context allocation is used in the chroma block. In fact, LNT processing is only used for the lowest frequency coefficient of the chroma TB. For other coefficients, a single context index is used for other coefficients. This single context index is used for all gt1_flags, par_flags and gt2_flags in the chroma TB. More generally, if x+y≥T, the transform coefficients share the same context index, and the lowest transform coefficient uses the template for deriving the context index.

[0127] The modification process is Fig.15 The algorithm depicted in FIG. 1 is a flowchart of a decoder. Basically, a test is introduced to check if the current coefficient being processed is different from the lowest frequency coefficient. If so, the offset variable is set to a single value of 1. Otherwise, it is set to (min(sum1, 4) + 1). Finally, the context index for the decoding / parsing element gt1_flag, par_flag or gt2_flag is set to offset.

[0128] Note that in the proposed embodiment 1, 12 CABAC contexts (i.e., 4 contexts for each of gt1_flag, par_flag, gt2_flag) are suppressed from the codec design, which is achieved with limited loss in decoding efficiency, as in Fig.16 Visible in.

[0129] The second embodiment proposed in this disclosure is as follows: Fig.17 As shown, it is a further simplified version of the first embodiment, in which the number of contexts for gt1_flag, par_flag and gt2_flag used for decoding the lowest frequency coefficients is reduced, using a single CABAC context instead of 5 contexts in the prior art.

[0130] Hence, a further reduced number of CABAC contexts is obtained in this embodiment, as well as a reduced number of decoder-side operations due to the complete removal of LNT usage.

[0131] according to Fig.18 The third embodiment shown applies the concept of mixing the use of a single context model with LNT usage according to TB region and / or channel type to luma TBs. Here, it is proposed to use a single context to encode the gt1_flag, par_flag and gt2_flag elements belonging to the highest frequency luma TB region (e.g., when x+y≥8). This approach may be a better compromise than the second embodiment between CABAC context and LNT usage reduction on the one hand and decoding efficiency on the other hand.

[0132] exist Fig.19 In the variation of the third embodiment shown, compared with Embodiment 3, the luma TB area is further expanded to a larger luma TB area, in which a single CABAC context is used to decode gt1_flag, par_flag, and gt2_flag.

[0133] In another variation, several luma TB regions may use a single CABAC context to code the gt1_flag, par_flag, and gt2_flag elements, see Fig. 20 For example, when x+y≥8, context index 1 is used; and when 3≤x+y≤7, context model index 6 is used.

[0134] In a variation of the second embodiment, the lowest frequency coefficients in the chroma channels may be coded / parsed with multiple contexts that are higher than one, but reduced compared to prior methods.

[0135] This is Fig.21 It can be seen that the reduction in the number of contexts is accompanied by a reduction in the size of the local neighbor templates used to decode some bins of the lowest frequency chrominance quantization coefficients. These bins may generally correspond to the gt1_flag, par_flag, and gt2_flag syntax elements.

[0136] According to another variation of the present disclosure, the simplified context modeling as described in the above embodiments is also applied to the coding of the sig_flag syntax element.

[0137] According to another variant, the simplification of context modeling for chroma transform blocks may be applied only to a portion of the gt1_flag, par_flag and gt2_flag syntax elements. For example, it may be applied only to the decoding of the gt2_flag syntax element. According to another example, it may be applied only to the gt2_flag and par_flag syntax elements. According to another variant, it may be applied only to sig_flag. According to another variant, it may be applied to sig_flag and a subset of the gt1_flag, par_flag and gt2_flag syntax elements.

[0138] According to another variant, the simplification of context modeling for luma transform blocks may be applied only to a portion of the gt1_flag, par_flag and gt2_flag syntax elements. For example, it may be applied only to the coding of the gt2_flag syntax element. According to another example, it may be applied only to the gt2_flag and par_flag syntax elements. According to another variant, it may be applied to sig_flag and a subset of the gt1_flag, par_flag and gt2_flag syntax elements.

[0139] The proposed embodiments can efficiently entropy code quantized transform coefficients with limited decoding process complexity (e.g., a reduced number of operations in the decoder process and / or in the context of context adaptive binary arithmetic coding (CABAC)) by reducing LNT usage based on the considered transform block region and channel type as mentioned above.

[0140] As described, the obtained context index used in controlling the probability model used for arithmetic coding of syntax elements associated with the quantized transform coefficients is based on the position of the quantized transform coefficients. In particular, although different context model indexes are obtained for the quantized transform coefficients in different regions of the processed transform block, a single context index is used for at least one region of the transform block.

[0141] Fig. 22A corresponding general flow chart 300 is shown in FIG. 310. For one or more syntax elements of the quantized transform coefficients of the transform block, a context model index is determined in step 310, wherein different context model indexes are obtained for the quantized transform coefficients in different regions of the transform block, and a single context index is used for at least one region of the transform block. Finally, in step 320, one of several context models is selected for one or more syntax elements associated with the specific quantized transform coefficient based on the determined context model index.

[0142] If the positions of multiple quantized transform coefficients meet a certain condition, then the multiple quantized transform coefficients can share the same context index, such as quantized transform coefficients with x+y≥T, where x and y are the horizontal and vertical positions of the transform coefficient. In one example, T=1, that is, except for the lowest frequency coefficient, all other coefficients share a single context. In addition, quantized transform coefficients with x+y<T can use a single context index. In one example, T=1, that is, the lowest frequency coefficient uses a single context index. In addition, if the positions of these multiple quantized transform coefficients meet a certain condition, then the multiple quantized transform coefficients can use a limited set of context indices.

[0143] Below, a description of the internal CABAC (Context Adaptive Binary Arithmetic Coding) decoding process is provided. Fig.23 Describes the CABAC decoding process for syntax elements given an input decoded bitstream. Fig.24 The inverse process of the syntax element decoding process.

[0144] Fig.23 The input to the process consists of a decoded bitstream, typically conforming to the HEVC specification or its further evolution (e.g., VTM-1). At any point in the decoding process, the decoder knows which syntax element will be decoded next. This is fully specified in the standardized bitstream syntax and decoding process. In addition, it also knows how the current syntax element to be decoded is binarized (i.e., represented as a sequence of binary symbols called bins, each bin equal to "1" or "0"), and how each bin of the bin string has been encoded.

[0145] Therefore, the first stage of the CABAC decoding process ( Fig.23 ) on the left side of the bitstream. For each bin, it knows whether it was encoded according to bypass mode or normal mode. Bypass mode consists in simply reading a bit in the bitstream and assigning the bit value thus obtained to the current bin. This mode has the advantage of being direct and therefore fast. It is generally efficient and is therefore used for bins with a uniform statistical distribution (i.e., equal probability of being either '1' or '0').

[0146] In contrast, if the current bin has not been coded in bypass mode, this means that it has been coded in so-called conventional manner, ie by context-based arithmetic coding.

[0147] In this case, the decoding of the considered bin is performed as follows. First, for the decoding of the current bin, the context is obtained. It is composed of Fig.23 The context modeler module shown is given. The goal of the context is to obtain the conditional probability that the current bin has the value "0" given some context prior or information X. The prior X here is the value of some already decoded syntax element available at both the encoder and decoder side in a synchronized manner when the current bin is decoded.

[0148] Typically, the prior X for the decoding of a bin is specified in the standard and is chosen because it is statistically related to the current bin to be decoded. The interest in using this contextual information is that it reduces the rate cost of decoding the bin. This is based on the fact that the conditional entropy of the bins for a given X is all getting lower because the bin is correlated with X. The following relationship is well known in information theory:

[0149] H(bin|X) <H(bin)

[0150] This means that the conditional entropy of a bin knowing X is lower than the entropy of a bin that is statistically related to X. The contextual information X is thus used to obtain the probability of a bin being '0' or '1'. Given these conditional probabilities, Fig.23 The conventional decoding engine of performs arithmetic decoding of the binary value bin. Then, knowing the current context information X, the value of the bin is used to update the value of the conditional probability associated with the current bin. This is called Fig.23 Updating the context model of each bin allows to gradually improve the context modeling of each binary element as long as the bin is decoded (or decoded). Therefore, the CABAC decoder gradually learns the statistical behavior of each conventionally encoded bin.

[0151] Note that the context modeler and context model update steps are exactly the same operations on the encoder and decoder sides.

[0152] Conventional arithmetic decoding of the current bin or its bypass decoding (depending on how it is coded) results in a series of decoded bins.

[0153] The second stage of CABAC decoding, such as Fig.23As shown on the right side of , it consists in converting this series of binary symbols into a higher-level syntax element. The syntax element may take the form of a flag, in which case it directly takes the value of the current decoded bin. On the other hand, according to the standard specification considered, if the binarization of the current syntax element corresponds to a set of several bins, a conversion step will be performed, which is performed in Fig.23 This is called "converting binary codewords into syntax elements".

[0154] This performs the inverse of the binarization step done by the encoder. The inverse transformation performed here therefore consists in obtaining the values ​​of these syntax elements based on their respective decoded binarized versions.

[0155] The present application describes a number of aspects, including tools, features, embodiments, models, methods, etc. Many of these aspects are described as having specificity, and at least in order to illustrate individual characteristics, are usually described in a manner that may sound limited. However, this is for the purpose of describing clearly, and does not limit the application or scope of those aspects. In fact, all different aspects can be combined and interchanged to provide other aspects. In addition, these aspects can also be combined and interchanged with the aspects described in earlier documents.

[0156] The aspects described and contemplated in this application can be implemented in many different forms. Figure 1 , 2 25 provide some embodiments, but other embodiments are contemplated and are Figure 1 , 2 The discussion of 25 does not limit the breadth of implementation. At least one aspect generally relates to video encoding and decoding, and at least one other aspect generally relates to transmitting a generated or encoded bitstream. These and other aspects can be implemented as methods, apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the described methods.

[0157] In this application, the terms "reconstruction" and "decoding" are used interchangeably, the terms "pixel" and "sample" are used interchangeably, and the terms "image", "picture" and "frame" are used interchangeably. Usually, but not necessarily, the term "reconstruction" is used on the encoder side, while "decoding" is used on the decoder side.

[0158] Various methods are described herein, and each method includes one or more steps or actions for implementing the described method. Unless a specific order of steps or actions is required for proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.

[0159] Various methods and other aspects described in this application can be used to modify modules, e.g. Figure 1 and Figure 2 Intra prediction modules (160, 260) of the video encoder 100 and decoder 200 shown in FIG. 1 and FIG. 2 are shown in FIG. 3 . Furthermore, aspects of the present invention are not limited to VVC or HEVC, and may be applied to, for example, other standards and recommendations (whether pre-existing or developed in the future) and extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise specified or technically excluded, the aspects described in this application may be used alone or in combination.

[0160] Various numerical values ​​are used in this application. The specific values ​​are for illustrative purposes, and the described aspects are not limited to these specific values.

[0161] Fig.25 A block diagram of an example of a system in which various aspects and embodiments are implemented is shown. System 1000 can be implemented as a device including various components described below, and is configured to perform one or more of the various aspects described in this document. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected household appliances and servers. The elements of system 1000 can be implemented individually or in combination in a single integrated circuit (IC), multiple ICs and / or discrete components. For example, in at least one embodiment, the processing of system 1000 and encoder / decoder elements are distributed across multiple ICs and / or discrete components. In various embodiments, system 1000 is coupled to one or more other systems or other electronic devices via, for example, a communication bus or by a dedicated input and / or output port communication. In various embodiments, system 1000 is configured to implement one or more of the aspects described in this document.

[0162] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein for implementing, for example, various aspects described in this document. The processor 1010 may include embedded memory, input-output interfaces, and various other circuits known in the art. The system 1000 includes at least one memory 1020 (e.g., a volatile memory device and / or a non-volatile memory device). The system 1000 includes a storage device 1040, which may include a non-volatile memory and / or a volatile memory, including but not limited to an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a programmable read-only memory (PROM), a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a magnetic disk drive, and / or an optical disk drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device (including a removable and non-removable storage device), and / or a network-accessible storage device.

[0163] The system 1000 includes an encoder / decoder module 1030, which is configured to, for example, process data to provide encoded video or decoded video, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a module (one or more) that may be included in a device to perform encoding and / or decoding functions. As is known, a device may include one or both of the encoding and decoding modules. In addition, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated into the processor 1010 as a combination of hardware and software known to those skilled in the art.

[0164] Program code to be loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described in this document may be stored in the storage device 1040 and subsequently loaded onto the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoder / decoder module 1030 may store one or more of the various items during the execution of the processes described in this document. These stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.

[0165] In some embodiments, memory within the processor 1010 and / or the encoder / decoder module 1030 is used to store instructions and to provide working memory that needs to be processed during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device may be the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be memory 1020 and / or a storage device 1040, such as a dynamic volatile memory and / or a non-volatile flash memory. In several embodiments, the external non-volatile flash memory is used to store, for example, an operating system for a television. In at least one embodiment, fast external dynamic volatile memory such as RAM is used as working memory for video encoding and decoding operations, such as working memory for MPEG-2 (MPEG refers to Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, and 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, a new standard developed by JVET, Joint Video Team Experts).

[0166] As shown in block 1130, input to the elements of system 1000 may be provided through various input devices. Such input devices include, but are not limited to, (i) a radio frequency (RF) portion that receives an RF signal transmitted over the air, for example, by a broadcaster, (ii) a composite (COMP) input terminal (or a set of COMP input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Fig.25 Other examples not shown include composite video.

[0167] In various embodiments, the input device of block 1130 has associated corresponding input processing elements known in the art. For example, the RF portion may be associated with elements suitable for the following necessary functions: (i) selecting a desired frequency (also referred to as selecting a signal, or band limiting a signal to a frequency band), (ii) down-converting the selected signal, (iii) again band-limiting to a narrower frequency band to select a signal frequency band that may be referred to as a channel in some embodiments, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired data packet stream. The RF portion of various embodiments includes one or more elements to perform these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF portion may include a tuner that performs various of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or near baseband frequency) or baseband. In a set-top box embodiment, the RF part and its relevant input processing element receive the RF signal sent by wired (for example, cable) medium, and filter to the desired frequency band again to perform frequency selection by filtering, down-conversion and filtering. Various embodiments rearrange the order of above-mentioned (and other) elements, remove some in these elements, and / or add other elements that perform similar or different functions. Adding element can include inserting element between existing element, for example inserting amplifier and analog-to-digital converter. In various embodiments, the RF part includes antenna.

[0168] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 1000 to other electronic devices via USB and / or HDMI connections. It should be understood that various aspects of input processing, such as Reed-Solomon error correction, may be implemented as needed, for example, in a separate input processing IC or processor 1010. Similarly, various aspects of USB or HDMI interface processing may be implemented as needed, either in a separate interface IC or in processor 1010. The demodulated, error corrected, and demultiplexed streams are provided to various processing elements (including, for example, processor 1010 and encoder / decoder 1030), which operate in conjunction with memory and storage elements to process the data streams as needed for presentation on output devices.

[0169] The various components of system 1000 may be disposed within an integrated housing and may interconnect and transmit data therebetween using a suitable connection arrangement, such as an internal bus including an inter-chip (I2C) bus, wiring, and printed circuit boards as known in the art.

[0170] The system 1000 includes a communication interface 1050 that enables communication with other devices via a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to send and receive data through the communication channel 1060. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented, for example, within a wired and / or wireless medium.

[0171] In various embodiments, a wireless network, such as a Wi-Fi network such as IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers), is used to stream data or otherwise provide it to the system 1000. The Wi-Fi signals of these embodiments are received by a communication channel 1060 and a communication interface 1050 suitable for Wi-Fi communication. The communication channel 1060 of these embodiments is usually connected to an access point or a router, which provides access to an external network including the Internet to allow streaming applications and other over-the-top communications. Other embodiments use a set-top box to provide streaming data to the system 1000, which passes data through the HDMI connection of the input block 1130. Still other embodiments use the RF connection of the input block 1130 to provide streaming data to the system 1000. As described above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use a wireless network other than Wi-Fi, such as a cellular network or a Bluetooth network.

[0172] The system 1000 can provide output signals to various output devices, including a display 1100, a speaker 1110, and other peripheral devices 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be used for a television, a tablet computer, a laptop computer, a cellular phone (mobile phone), or other devices. The display 1100 can also be integrated with other components (e.g., as in a smart phone), or applied separately (e.g., as an external monitor for a laptop computer). In each example of each embodiment, other peripheral devices 1120 include one or more of an independent digital video disk (or digital versatile disk) (DVR, two items), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disk player performs the function of playing the output of the system 1000.

[0173] In various embodiments, control signals are transmitted between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 using signaling such as AV.link, consumer electronics control (CEC), or other communication protocols, which enables device-to-device control with or without user intervention. Output devices can be communicatively coupled to the system 1000 via dedicated connections through corresponding interfaces 1070, 1080, and 1090. Alternatively, the output device can be connected to the system 1000 via the communication interface 1050 using the communication channel 1060. The display 1100 and the speaker 1110 can be integrated into a single unit in an electronic device (e.g., a television) along with other components of the system 1000. In various embodiments, the display interface 1070 includes a display driver, such as a timing controller (Tcon) chip.

[0174] For example, if the RF portion of input 1130 is part of a separate set-top box, the display 1100 and speaker 1110 may alternatively be separate from one or more of the other components. In various embodiments where the display 1100 and speaker 1110 are external components, the output signal may be provided via a dedicated output connection, including, for example, an HDMI port, a USB port, or a COMP output.

[0175] These embodiments may be implemented by computer software implemented by the processor 1010 or a combination of hardware and software. As a non-limiting example, the embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment and may be implemented using any appropriate data storage technology, such as, as a non-limiting example, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory. The processor 1010 may be of any type suitable for the technical environment and may include, as a non-limiting example, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0176] Various implementations involve decoding. As used in the present application, "decoding" may include, for example, all or part of a process performed on a received coded sequence to produce a final output suitable for display. In various embodiments, such a process includes one or more of the processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transform, and differential decoding. In various embodiments, such a process also or alternatively includes a process performed by a decoder of the various implementations described in the present application.

[0177] As a further example, in one embodiment, "decoding" refers only to entropy decoding, in another embodiment, "decoding" refers only to differential decoding, and in another embodiment, "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or generally to a broader decoding process will be clear based on the context of the specific description and is believed to be well understood by those skilled in the art.

[0178] Various implementations involve encoding. In a manner similar to the above discussion of "decoding", "encoding" as used in this application may include, for example, all or part of a process performed on an input video sequence to produce an encoded bitstream. In various embodiments, such processes include one or more processes typically performed by an encoder, such as segmentation, differential encoding, transforms, quantization, and entropy encoding. In various embodiments, such processes also or alternatively include processes performed by an encoder of the various implementations described in this application.

[0179] As a further example, in one embodiment, "encoding" refers only to entropy encoding, in another embodiment, "encoding" refers only to differential encoding, and in another embodiment, "encoding" refers to a combination of differential encoding and entropy encoding. Whether the phrase "encoding process" is intended to refer specifically to a subset of operations or generally to a broader encoding process will become clear based on the context of the specific description and is believed to be well understood by those skilled in the art.

[0180] Note that the syntax elements used here are descriptive terms. Therefore, they do not exclude the use of other syntax element names.

[0181] When a figure is presented as a flow chart, it should be understood that it also provides a block diagram of the corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow chart of the corresponding method / process.

[0182] The implementations and aspects described herein may be implemented in, for example, a method or process, a device, a software program, a data stream, or a signal. Even if discussed only in the context of a single form of implementation (e.g., discussed only as a method), the implementation of the features discussed may also be implemented in other forms (e.g., a device or program). For example, a device may be implemented with appropriate hardware, software, and firmware. The method may be implemented in, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes a communication device, such as a computer, a cellular phone, a portable / personal digital assistant ("PDA"), and other devices that facilitate information communication between end users.

[0183] References to "one embodiment" or "an embodiment" or "an implementation" or "implementations" and other variations mean that a particular feature, structure, characteristic, etc. described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in an implementation" or "in an implementation" and any other variations in various places throughout this document are not necessarily all referring to the same embodiment.

[0184] Additionally, the present application may refer to “determining” various information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from a memory.

[0185] Furthermore, the present application may refer to "accessing" various information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.

[0186] Additionally, the present application may involve "receiving" various information. Like "accessing," receiving is intended to be a broad term. Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, during operations such as storing information, processing information, sending information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information, "receiving" is generally involved in one way or another.

[0187] It should be understood that, for example, in the case of "A / B", "A and / or B", and "at least one of A and B", the use of any of the following " / ", "and / or", and "at least one of..." is intended to cover the selection of only the first listed option (A), or only the second listed option (B), or both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C", such wording is intended to include the selection of only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first and second listed options (A and B), or only the first and third listed options (A and C), or only the second and third listed options (B and C), or all three options (A and B and C). This can be extended to many of the listed items, as will be apparent to one of ordinary skill in this and related arts.

[0188] As will be appreciated by those skilled in the art, implementations may generate various signals formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method, or data generated by one of the described implementations. For example, a signal may be formatted to carry a bitstream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is known, the signal may be transmitted via a variety of different wired or wireless links. The signal may be stored on a processor readable medium.

[0189] As will be apparent to one of ordinary skill in the art, implementations may generate various signals formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method, or data generated by one of the described implementations. For example, a signal may be formatted to carry a bitstream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is known, the signal may be transmitted over a variety of different wired or wireless links. The signal may be stored on a processor readable medium.

Claims

1. A method for encoding a picture, comprising: Splitting the chroma transform block into two regions, wherein the first region includes one or more lower frequency quantized transform coefficients and the second region includes a plurality of higher frequency quantized transform coefficients; determining context model indexes for one or more syntax elements of quantized transform coefficients of the chroma transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the chroma transform block, and wherein a single context index is used for the first region of the chroma transform block and another single context index is used for the second region of the chroma transform block; dividing a luma transform block corresponding to the chroma transform block into a plurality of regions, wherein each of the plurality of regions includes one or more quantized transform coefficients, and wherein a plurality of context indexes are used for each of the plurality of regions of the luma transform block; selecting, based on the determined context model index, one of several context models for the one or more syntax elements associated with a particular quantized transform coefficient; as well as The one or more syntax elements are binary arithmetic coded according to the selected context model.

2. A method for decoding a picture, comprising: dividing the chroma transform block into two regions, wherein the first region includes one or more lower frequency quantized transform coefficients and the second region includes a plurality of higher frequency quantized transform coefficients; determining context model indexes for one or more syntax elements of quantized transform coefficients of the chroma transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the chroma transform block, and wherein a single context index is used for the first region of the chroma transform block and another single context index is used for the second region of the chroma transform block; dividing a luma transform block corresponding to the chroma transform block into a plurality of regions, wherein each of the plurality of regions includes one or more quantized transform coefficients, and wherein a plurality of context indexes are used for each of the plurality of regions of the luma transform block; selecting, based on the determined context model index, one of several context models for the one or more syntax elements associated with a particular quantized transform coefficient; as well as The one or more syntax elements are binary arithmetic decoded according to the selected context model. The method according to claim 1 , wherein the one or more syntax elements are binary values.

4. The method according to claim 1 or 2, wherein in the first region of the chroma transform block, a first predefined context index is used, and in the second region of the chroma transform block, a second predefined context index is used.

5. An apparatus for encoding a picture, comprising one or more processors, wherein the one or more processors are configured to: dividing the chroma transform block into two regions, wherein the first region includes one or more lower frequency quantized transform coefficients and the second region includes a plurality of higher frequency quantized transform coefficients; determining context model indexes for one or more syntax elements of quantized transform coefficients of the chroma transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the chroma transform block, and wherein a single context index is used for the first region of the chroma transform block and another single context index is used for the second region of the chroma transform block; dividing a luma transform block corresponding to the chroma transform block into a plurality of regions, wherein each of the plurality of regions includes one or more quantized transform coefficients, and wherein a plurality of context indexes are used for each of the plurality of regions of the luma transform block; selecting, based on the determined context model index, one of several context models for the one or more syntax elements associated with a particular quantized transform coefficient; and The one or more syntax elements are binary arithmetic coded according to the selected context model.

6. An apparatus for decoding a picture, comprising one or more processors, wherein the one or more processors are configured to: dividing the chroma transform block into two regions, wherein the first region includes one or more lower frequency quantized transform coefficients and the second region includes a plurality of higher frequency quantized transform coefficients; determining context model indexes for one or more syntax elements of quantized transform coefficients of the chroma transform block, wherein different context model indexes are obtained for quantized transform coefficients in different regions of the chroma transform block, and wherein a single context index is used for the first region of the chroma transform block and another single context index is used for the second region of the chroma transform block; dividing a luma transform block corresponding to the chroma transform block into a plurality of regions, wherein each of the plurality of regions includes one or more quantized transform coefficients, and wherein a plurality of context indexes are used for each of the plurality of regions of the luma transform block; selecting, based on the determined context model index, one of several context models for the one or more syntax elements associated with a particular quantized transform coefficient; and The one or more syntax elements are binary arithmetic decoded according to the selected context model.

7. The apparatus of claim 5 or 6, wherein the one or more syntax elements are binary values.

8. The apparatus according to claim 5 or 6, wherein in the first region of the chroma transform block, a first predefined context index is used, and in the second region of the chroma transform block, a second predefined context index is used.