Partition-based intra coding concept

By partitioning blocks in video codecs into multiple intra-predictive partitions, the method reduces signaling overhead and improves coding efficiency through enhanced spatial prediction, addressing inefficiencies in existing intra-prediction methods.

JP2024153913AActive Publication Date: 2024-10-29FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV

Patent Information

Application Number
JP2024130770
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-01-02
Filing Date
2024-08-07
Publication Date
2024-10-29
Estimated Expiration
2039-02-07

AI Technical Summary

Technical Problem

Existing block-based video codecs like HEVC face inefficiencies in intra-prediction due to higher signaling overhead and reduced accuracy in predicting block interiors, leading to suboptimal coding efficiency.

Method used

Intra-predictive coding is enhanced by partitioning blocks into multiple partitions along a dimension, allowing for reduced signaling overhead and improved spatial prediction by applying the intra-prediction mode to each partition, with options for horizontal or vertical partitions and synchronized processing between encoder and decoder.

Benefits of technology

This approach reduces signaling overhead and improves coding efficiency by minimizing the distance between predicted samples and their neighbors, enhancing the accuracy of intra-prediction in block-based codecs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153913000001_ABST
    Figure 2024153913000001_ABST
Patent Text Reader

Abstract

To provide a concept for intra-coding which is more efficient.SOLUTION: A prediction residual is encoded into a data stream 14 in a transform domain. A transform 182 of partitions 120i of a current block might each be partitioned into one or more sub-blocks with a coded sub-block flag indicating whether transform coefficients 186 within that sub-block are all zero or at least one coefficient thereof is non-zero. It might be agreed between a decoder and an encoder that at least one of the n partitions of the current block has a non-zero coded block flag (CBF) 188. If the first (n-1) sub-partitions in coding order produce a zero CBF, the CBF of the n-th partition will be inferred to be 1. Therefore, it is not necessary to decode it and it is not encoded.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the concept of intra-coding for use in block-based codecs, such as hybrid video codecs. [Background technology]

[0002] Intra prediction in HEVC is performed by extrapolating the decoded boundary samples of neighboring blocks according to a certain pattern, namely 33 angular modes, one DC mode and one planar mode, given a block [1]. Then, one intra prediction mode that minimizes the rate-distortion cost is signaled to the decoder. Although there are known codecs that support many intra prediction modes (IPM), the intra prediction achieved by these known codecs still has room for evolution in finding better intra predictors that lead to higher coding efficiency. This is not only relevant for HEVC, but also for other block-based codecs that use intra prediction. In view of the fact that more accurate predictors reduce the prediction residual, and thus the signaling overhead associated with coding the prediction residual, finding a set of intra prediction modes suitable for efficiently coding the interior of a block requires considering the overhead for signaling intra prediction modes in terms of signaling overhead, and the resulting quality of the predictors obtained by these intra prediction modes. To keep the signaling overhead associated with intra prediction modes low, intra prediction blocks need to be large, i.e. the granularity at which intra prediction modes are signaled needs to be kept coarse, while spatial prediction of larger blocks tends to be less accurate due to the larger average sample distance between samples inside the intra prediction block, i.e. the block to be predicted, and already decoded / coded samples, i.e. the reference samples, that are adjacent to this block. HEVC somewhat mitigates this dilemma by allowing transform residual blocks to inherit the intra prediction mode of the corresponding coding unit, compared to the case where the transform residual blocks form leaf blocks, which are subdivided by the coding units via multi-tree sub-partitioning. However, even in this case, signaling overhead is still required to inform the decoder of the sub-partitioning of the individual intra-coded coding units into transform blocks.

[0003] Therefore, it is desirable to have concepts that further increase the coding efficiency of intra coding. Summary of the Invention [Problem to be solved by the invention]

[0004] It is therefore an object of the present invention to provide a more efficient intra-coding concept.

[0005] This object is achieved by the subject matter of the independent claims of the present application.

[0006] The invention is based on the finding that block-based coding of pictures can be made more efficient by providing an intra-prediction coding concept, according to which a given block of a picture is intra-predictively coded using an intra-coding mode, the given block being partitioned along a dimension into a number of partitions, the number of which is greater than two and / or the partitions being one sample wide along said dimension, such that during reconstruction, the partitions are successively subjected to spatial prediction using the intra-prediction coding mode signaled for the given block, and then the predictor thus obtained is modified with a prediction residual, so that when processing the next or current partition, it is possible to reconstruct several samples at once for the previous partitions at the decoder. As a result, the signaling overhead for partitioning can be omitted or kept low. For example, only signaling regarding the partition dimension may be consumed in the data stream, such as a distinction between a partition along the vertical axis, where a given block is partitioned into a number of horizontal slices, each slice having a given block width, and a partition along the horizontal axis, where a given block is partitioned into a number of vertical slices, each slice having a given block height. The number of partitions may be inherently clear, for example, by having a number of partitions agreed upon between the encoder and the decoder, in which case the encoder and the decoder may divide the given block into this number of partitions, or the given block may be partitioned into as many partitions as the given block is dimensioned by a number of samples along a given dimension, with each partition having a width of one sample along that given dimension, i.e. into partitions having a width of one sample. This allows the partitioning to keep the overall signaling overhead low for a given block for which an intra-prediction mode is signaled in the data stream.On the other hand, it offers the encoder and decoder the possibility to reduce the average distance of the samples of a given block from neighbouring reference samples already reconstructed / encoded, which reference samples are at least partly located within the given block itself, i.e. in previously processed partitions for which the prediction residuals have already been determined and which are available for the modification of the predictors used for the partitions in which they are located.

[0007] Advantageous aspects of the invention are the subject matter of the dependent claims. Preferred embodiments of the present application are described below with reference to the figures. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 shows a block diagram of an apparatus for predictive coding of pictures as an example of an encoder in which the intra prediction concept according to the embodiments of the present application can be implemented. [Diagram 2] FIG. 2 shows a block diagram of an apparatus for predictively decoding pictures, compatible with the apparatus of FIG. 1, as an example of a decoder in which the intra prediction concept according to embodiments of the present application can be implemented. [Diagram 3] FIG. 3 is a schematic diagram illustrating an example of the relationship between the prediction residual signal, the prediction signal and the reconstructed signal, showing the possibility of setting subdivisions for the coding mode selection, the transform selection and the transform performance, respectively. [Figure 4] FIG. 4 shows a schematic diagram illustrating a partitioning process of an intra-coded block according to an embodiment allowing a choice between different partitioning dimensions, i.e. horizontal and vertical partitioning. [Diagram 5] FIG. 5 shows a schematic diagram illustrating the sequential processing of partitions of an intra-coded block processed according to the partition option. [Figure 6] FIG. 1 shows a schematic diagram illustrating a predicted derivation of the partition filling process. [Figure 7]An example of a partitioned intra-prediction block is shown, partitioned according to horizontal and vertical partition modes, each having two different intra-prediction modes associated therewith, illustrating the possibility of determining a partition order depending on the intra-prediction mode associated with the intra-prediction block. [Figure 8] 1 shows a schematic diagram illustrating possible signaling expended for an intra-predicted block 80 processed using the partition option. [Figure 9] 4 shows a schematic diagram illustrating a possible way of transmitting prediction residuals for a partition according to one embodiment. [Figure 10] A schematic diagram is shown showing the determination of the partial sum of the coding cost associated with the partitioning of intra-prediction modes, in order to be able to stop testing when it is clear that it does not perform better than any of the normal intra-prediction modes. [Figure 11] 1 illustrates a flow chart of encoder modes or operations for performing partition mode testing, according to one embodiment. [Figure 12a] An example of an alternative partitioning of intra-coded blocks is given as a further embodiment. [Figure 12b] Examples of alternative partitioning of intra-coded blocks are shown as exemplary comparative embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The figures are described below, but first a description of an encoder and decoder of a block-based predictive codec for encoding video pictures is presented to form an example of an encoding framework in which an embodiment of an intra-predictive codec may be included. Conventional encoders and decoders are described with respect to Figures 1-3. A description of an embodiment of the intra-prediction concept of the present application is then presented, together with a description of how the concept may be incorporated into the encoder and decoder of Figures 1 and 2, respectively, although the embodiment shown in the subsequent Figure 4 and subsequent figures may also be used to form encoders and decoders that do not operate according to the encoding framework underlying the encoder and decoder of Figures 1 and 2.

[0010] FIG. 1 shows an apparatus for predictively encoding a picture 12 into a data stream 14, exemplarily using transform-based residual coding. The apparatus or encoder is indicated using the reference number 10. FIG. 2 shows a corresponding decoder 20, i.e. an apparatus 20 configured to predictively decode a picture 12' from the data stream 14, also using transform-based residual decoding. Here, the apostrophe is used to indicate that the picture 12' reconstructed by the decoder 20 is offset from the original picture 12 encoded by the apparatus 10 due to coding losses introduced by quantization of the predictive residual signal. Although FIG. 1 and FIG. 2 exemplarily use transform-based predictive residual coding, embodiments of the present application are not limited to this type of predictive residual coding. This also applies to other details described with respect to FIG. 1 and FIG. 2, as outlined below.

[0011] The encoder 10 is configured to subject the prediction residual signal to a spatial-to-spectral transformation and to encode the thus obtained prediction residual signal into a data stream 14. Similarly, the decoder 20 is configured to decode the prediction residual signal from the data stream 14 and to subject the thus obtained prediction residual signal to a spectral-to-spatial transformation.

[0012] Internally, the encoder 10 may comprise a prediction residual signal forming unit 22 which generates a prediction residual 24 in order to measure the deviation of a prediction signal 26 from the original signal, i.e. the picture 12. The prediction residual signal forming unit 22 may for example be a subtractor which subtracts the prediction signal from the original signal, i.e. the picture 12. The encoder 10 then further comprises a transformer 28 which subjects the prediction residual signal 24 to a spatial-spectral transformation to obtain a spectral domain prediction residual signal 24' which is then quantized by a quantizer 32 included in the encoder 10. The prediction residual signal 24'' thus quantized is coded into the bitstream 14. For this purpose, the encoder 10 may optionally comprise an entropy coder 34 which entropy codes the transformed and quantized prediction residual signal 24''. The prediction residual 26 is generated by a prediction stage 36 of the encoder 10 on the basis of a prediction residual signal 24'' that is encoded into and decodable from the data stream 14. To this end, the prediction stage 36 may internally comprise, as shown in FIG. 1, an inverse quantizer 38, which inversely quantizes the prediction residual signal 24'' to obtain a spectral domain prediction residual signal 24''', which corresponds to the signal 24' except for the quantization losses. The inverse quantizer 38 is followed by an inverse transformer 40, which performs an inverse transformation, i.e. a spectral-spatial transformation, of the prediction residual signal 24''', to obtain a prediction residual signal 24'''', which corresponds to the original prediction residual signal 24 except for the quantization losses. A combiner 42 of the prediction stage 36 then recombines the prediction signal 26 and the prediction residual signal 24'''', such as by addition, to obtain a reconstruction signal 46, i.e. a reconstruction of the original signal 12. The reconstructed signal 46 may correspond to the signal 12'. A prediction module 44 of the prediction stage 36 then generates a predicted signal 26 based on the signal 46, for example by using spatial or intra-prediction and / or temporal or inter-prediction.

[0013] Similarly, the decoder 20 may be internally composed of components corresponding to and interconnected in a corresponding manner with the prediction stage 36. In particular, an entropy decoder 50 of the decoder 20 may entropy decode a quantized spectral domain prediction residual signal 24'' from the data stream, after which an inverse quantizer 52, an inverse transformer 54, a combiner 56 and a prediction module 58, interconnected and cooperating in the manner described above with respect to the modules of the prediction stage 36, recover a reconstructed signal based on the prediction residual signal 24'', such that the output of the combiner 56 provides a reconstructed signal, i.e. picture 12', as shown in Figure 2.

[0014] Although not specifically described above, it is readily apparent that the encoder 10 may set some encoding parameters, including, for example, prediction mode, motion parameters, etc., according to some optimization scheme, for example in such a way as to optimize some rate- and distortion-related criteria, i.e., encoding cost. For example, the encoder 10 and the decoder 20 and corresponding modules 44, 58 may support different prediction modes, such as intra- and inter-coding modes, respectively. The granularity with which the encoder and the decoder switch between these prediction mode types may correspond to a subdivision of the pictures 12 and 12', respectively, into coding segments or coding blocks. The pictures may be subdivided, for example, at the unit of these coding segments, into intra-coded and inter-coded blocks.

[0015] As outlined in more detail below, intra-coded blocks are predicted based on the spatial, already coded / decoded neighborhood of each block. Several intra-coding modes may exist, including directional or angular intra-coding modes, which may be selected for each intra-coded segment. According to the selected mode, each segment is filled into each intra-coded segment by extrapolating neighboring sample values ​​along a direction, which is specific for each directional intra-coding mode. The intra-coding modes may also include one or more further modes, such as a DC coding mode, in which the prediction for each intra-coded block assigns a DC value to all samples in each intra-coded segment, and / or a planar intra-coding mode, in which the prediction for each block is approximated or determined as a spatial distribution of sample values, which is described by using a two-dimensional linear function over the sample positions of each intra-coded block, and moving the slope and intercept of a plane defined by the two-dimensional linear function on the basis of neighboring samples.

[0016] In contrast, inter-coded blocks may be predicted, for example, temporally. For inter-coded blocks, motion vectors may be signaled in the data stream, indicating the spatial displacement of a certain portion of the previously coded picture of the video to which the picture 12 belongs, i.e., the previously coded / decoded picture is sampled to obtain a prediction signal for each inter-coded block. That is, in addition to the residual signal coding included in the data stream 14, such as the entropy-coded transform coefficient levels representing the quantized spectral domain prediction residual signal 24'', the data stream 14 may also include coded therein any other parameters, such as coding mode parameters for assigning coding modes to the various blocks, prediction parameters for some blocks, such as motion parameters for the inter-coded segments, and parameters that control and inform the subdivision of the pictures 12 and 12' into segments, respectively. The decoder 20 uses these parameters to subdivide the picture in the same way as the encoder did, assigning each of the same prediction modes to each segment, and performing the same predictions resulting in the same prediction signals.

[0017] FIG. 3 illustrates the relationship between the reconstructed signal, i.e. the reconstructed picture 12′, on the one hand, and the combination of the prediction residual signal 24″″ and the prediction signal 26 signaled in the data stream, on the other hand. As mentioned above, this combination may be additive. The prediction signal 26 is illustrated in FIG. 3 as a subdivision of the picture region into intra-coded and inter-coded blocks, the intra-coded blocks being illustratively shown using hatching and the inter-coded blocks being illustratively shown without hatching. This subdivision may be any subdivision, such as a regular subdivision of the picture region into blocks or rows and columns of blocks, or a multi-tree subdivision of the picture 12 into leaf blocks of various sizes, such as a quad-tree subdivision, a mixture of which is illustrated in FIG. 3, where the picture region is first subdivided into rows and columns of tree root blocks, and then further subdivided according to a recursive multi-tree subdivision. Again, data stream 14 may have encoded therein an intra-coding mode for intra-coded block 80 that assigns one of several supported intra-coding modes to each intra-coded block 80. Further details are provided below.

[0018] In the case of an inter-coded block 82, the data stream 14 may have one or more motion parameters coded therein. Generally speaking, the inter-coded block 82 is not limited to being temporally coded. Alternatively, the inter-coded block 82 may be any block predicted from an earlier coded portion than the current picture 12 itself, for example a previously coded picture of the video to which the picture 12 belongs, or a picture of another view, or a hierarchically lower layer if the encoder and decoder are hierarchical encoders and decoders, respectively. The predicted residual signal 24'''' in FIG. 3 is also shown as a subdivision of the picture region into blocks 84. These blocks may be called transform blocks to distinguish them from the coding blocks 80 and 82. In fact, FIG. 3 shows that the encoder 10 and the decoder 20 may each use two different subdivisions to divide the picture 12 and the picture 12' into multiple blocks, namely, one subdivision into coding blocks 80 and 82, and the other subdivision into blocks 84. Although both subdivisions may be the same, i.e. each coding block 80 and 82 may simultaneously form a transform block 84, Fig. 3 shows the case, for example, where the subdivision into transform blocks 84 forms an extension of the subdivision into coding blocks 80 / 82. As a result, any boundary between the two blocks 80 and 82 overlaps with the boundary between the two blocks 84, or in other words, each block 80 / 82 coincides with one of the transform blocks 84 or with a group of transform blocks 84. However, the subdivisions may also be determined or selected independently of each other, such that the transform block 84 can cross the block boundary between the blocks 80 / 82. As far as the subdivision into transform blocks 84 is concerned, the same explanations apply as those explained with respect to the subdivision into blocks 80 / 82.That is, blocks 84 may be the result of a regular subdivision of the picture region into multiple blocks, i.e., blocks arranged in rows and columns, or may be the result of a recursive multi-tree subdivision of the picture region, or a combination thereof, or other types of blocking. As an aside, it should be noted that blocks 80, 82, 84 are not limited to quadratic, rectangular, or other shapes.

[0019] 3 shows that the combination of the prediction signal 26 and the prediction residual signal 24'''' directly results in the reconstructed signal 12'. However, it should be noted that, according to alternative embodiments, more than one prediction signal 26 may be combined with the prediction residual signal 24'''' to obtain the resulting picture 12'.

[0020] In Fig. 3, the transform segments 84 shall have the following meaning: The transform unit 28 and the inverse transform unit 54 perform transforms in units of these transform segments 84. For example, many codecs use some kind of DST or DCT for all transform blocks 84. Some codecs skip such transforms, so that for some segments 84, the prediction residual signal is directly coded in the spatial domain. However, according to the embodiment described below, the encoder 10 and the decoder 20 are configured such that they support several transforms. For example, the transforms supported by the encoder 10 and the decoder 20 may include: DCT-II (or DCT-III), where DCT stands for discrete cosine transform DST-IV, where DST stands for discrete sine transform DCT-IV DST-VII Identity Transformation (IT)

[0021] Of course, while the transform unit 28 will support all of the forward transform versions of these transforms, the decoder 20 or inverse transform unit 54 will support the corresponding backward or inverse versions thereof. Inverse DCT-II (or inverse DCT-III) Reverse DST-IV ·Inverse DCT-IV · Reverse DST-VII Identity Transformation (IT)

[0022] The following description provides details of transforms that may be supported by the encoder 10 and the decoder 20. In any case, the set of supported transforms may only include one transform, such as one spectral-to-spatial or spatial-to-spectral transform.

[0023] As mentioned above, Figs. 1-3 have been presented as examples in which the intra-prediction concept further described below may be implemented, in order to form specific examples of encoders and decoders according to the present application. So far, the encoders and decoders of Figs. 1 and 2 respectively represent possible implementations of the encoders and decoders described below in this specification. When constructing an embodiment of intra-prediction as described below in the encoders and decoders of Figs. 1 and 2 as outlined in more detail below, the encoder of Fig. 1 and the decoder of Fig. 2 support, as at least one option, processing intra-predicted blocks 80 in a manner outlined in more detail below. Thus, the embodiments described below refer to an encoder equivalent to the encoder 10 of Fig. 1 that processes intra-coded blocks 80 in a manner outlined in more detail below, and the same applies with respect to the decoder of Fig. 2. That is, Fig. 2 represents an example of a decoder according to an embodiment, in which intra-coded blocks are processed in a manner outlined in more detail below. However, Figs. 1 and 2 are only specific examples. However, an encoder according to an embodiment of the present application may perform block-based encoding of the picture 12' using concepts outlined in more detail below and different from the encoder of FIG. 1, such as, for example, the encoder is not a video encoder, does not support inter-prediction, or the subdivision into blocks 80 is performed in a different way than illustrated in FIG. 3, or the encoder does not use transform predictive residual coding, but instead encodes the predictive residual directly, for example in the spatial domain, etc. Similarly, a decoder according to an embodiment of the present application may perform block-based decoding of the picture 12' from the data stream 14 using intra-predictive coding concepts outlined further below, but may differ from the decoder 20 of FIG. 2, such as, for example, the decoder is a still picture decoder rather than a video decoder, does not support intra-prediction, or subdivisions the picture 12' into blocks in a different way than described with respect to FIG. 3, and / or derives the predictive residual from the data stream 14 in the spatial domain rather than the transform domain, etc.

[0024] Given the above caveats, the following discussion will focus on the description of intra-prediction according to embodiments of the present application. According to intra-prediction presented herein, an intra-prediction block, such as block 80 in FIG. 4, may be divided into one-dimensional horizontal partitions or one-dimensional vertical partitions. Such block processing may be available for intra-prediction blocks 80 of any size, or may be limited to blocks 80 within a certain range of block sizes, such as blocks larger than a certain size. "One-dimensional" - when referring to partitions resulting from partitioning - refers to the fact that the partitions are only one sample wide along the partition dimension. However, the one-dimensionality of the partitioning modes discussed herein refers to the fact that the partitioning is done along a certain dimension, and the resulting partitions are like stripes that extend completely across the block in a direction transverse to the partitioning direction. See, for example, FIG. 4. FIG. 4 shows, on the left side, an intra-prediction block 80, i.e., a block to be decoded or coded. It has dimensions / dimensions W×H. That is, it is a block of dimensions W×H, H being the height and W being the width of the block 80 measured in samples. According to FIG. 4, two splitting or partitioning options are available. One option is a horizontal partitioning 100, in which the block 80 is split or partitioned into several partitions 1021, 1022, 1023 and 1024 along the vertical axis, i.e. the partition dimension 104. According to the example of FIG. 4, which is the application example in the following description, each partition 1021-1024 is one sample wide, as indicated by the double-headed arrow 106, so that the number of partitions 1021-1024 obtained from the block 80 is equal to H, i.e. the height of the block 80 in units of samples 108 of the block 80. However, it is clear that the partitioning may also be performed by the encoder and the decoder according to another method agreed between them, such as:For example, the partitioning of block 80 along dimension 104 may be done in a manner that results in a predetermined number of partitions 102i, where the predetermined number is, for example, greater than two or a mixture thereof, and that evenly distributes the dimension of block 80 along the partition dimension into the predetermined number of partitions.

[0025] Another coding option, illustrated in Fig. 4 and denoted by reference number 110, corresponds to the division of the block 80 into vertical partitions 1121, 1122, ... 1128. That is, according to option 110, the block 80 is divided into partitions 112i along the horizontal axis, i.e. the horizontal partition dimension 104. In the case of option 100, each partition 102i is the same width as the block 80, i.e. has a width W of the block, but each partition 112i adopts the height H of the block 80, i.e. has a height H. In summary, similar to the description of option 100, the vertical division 110 allows the division of the block 80 into W partitions 112i, where W denotes the horizontal width of the block 80 measured in samples 108, and each partition 112i is one sample wide in the horizontal direction. However, the division according to option 110 can also be performed in another way agreed between the encoder and the decoder.

[0026] Thus, according to Fig. 4, the encoder is free to partition the block 80 into H W x 1 partitions 102i according to the horizontal partitioning option 100 or into W 1 x H partitions 112i according to the vertical partitioning option 110, and the partitioning option selected by the encoder for the block 80 may be signaled in the data stream 14 for the block 80, for example by a corresponding partition dimension flag 114 in the data stream 14. However, it is clear that the embodiments of the present application cover encoders and decoders that use only one of the options 100 and 110 by default, without requiring the flag 114 in the data stream. Furthermore, in other examples, the flag 114 may be conveyed in the data stream 14 depending on the intra coding mode 116 signaled in the data stream 14 for the block 80 from the encoder to the decoder. As mentioned above, the intra coding mode may indicate one from a set of available / supported intra coding modes, including for example an angular mode and, optionally, one or more non-angular modes, such as a DC mode or a planar mode. That is, flag 114 may be conveyed in data stream 14 in a manner that is conditionally dependent on intra-coding mode 116, according to alternative embodiments not described further below. According to embodiments described below, flag 114 is present in data stream 14 for block 80 independent of the intra-coding mode 116 signaled for block 80 in data stream 14, although there may be a dependency on intra-coding mode 116 with respect to flag switching between partition processing of intra-coded block 80 as described above and different intra-coding processing methods for block 80 as outlined below.

[0027] According to an embodiment of the present application, each of the partitions 102 / 112 is predicted, transformed, quantized and coded separately, processing the partitions in this manner sequentially. Thus, the reconstructed samples of a particular partition could be used to predict any subsequent partition 102 / 112 in the partition order among the partitions into which the block 80 is divided, and in this way the process of intra prediction cycles through the partitions 102 / 112 into which the block 80 is divided. Figure 5 exemplarily shows an intra prediction block 80 divided according to the option 100. Each partition 1021-1024 of the block 80 is subjected to prediction, i.e. derivation of a predictor for the respective partition 102i, and a task related to the prediction residual, i.e. modification of the predictor using the prediction residual. The latter task can be performed by combining the prediction residual with the predictor. This is performed in the decoder for reconstruction. The encoder performs the tasks related to the prediction residual, such as determining the prediction residual, including transformation and quantization, and modifying the predictor using the prediction residual. That is, the prediction loop is kept synchronized with the decoder by filling the decoded picture buffer in the encoder with the reconstruction of the picture. The above tasks, i.e. prediction and residual processing, are performed for the partitions 1021-1024 individually and sequentially between the partitions. After performing these two steps for one partition currently being processed, the next partition 102i in the partition order is processed in the same way. The partition order is exemplarily shown in FIG. 5 using three arrows 126.

[0028] Figure 5 shows that the partition containing the top left most pixel of block 80 is processed first before proceeding to the immediately lower adjacent partition 1022, and thus corresponds to the assignment of indices to partitions 1021-1024 in Figure 5. However, this order is merely one example, and as will become apparent below, this partition order may be selected depending on other settings, such as the intra-coding mode and / or the size of block 80, with the dependency on intra-coding mode being explained below.

[0029] In an example described further below, the partition order 126 only varies between partitions across partitions 102 / 112; that is, immediately succeeding partitions are immediately adjacent to one another, and the partition order proceeds from top to bottom or bottom to top for partition type 100, and from left to right or right to left for partition type 110, respectively. However, other examples are contemplated. For example, a partition order may be selected such that the partitions are scanned twice in the adjacent order described above, with the first scan processing every other partition in any order applicable, such as top to bottom, bottom to top, left to right, or right to left, and then the remaining partitions are processed in the same order direction, or in the reverse direction.

[0030] In any case, FIG. 5 shows the first partition 1021, which is the partition that should be processed first and is currently being processed. For the first partition (here 1021 as an example), the set of neighboring samples 1181 used to form the predictor of the partition 1021 may simply be selected based on samples that are outside the boundaries of the block 80, since when processing the first partition of the block 80, the samples of the block 80 have not yet been processed, i.e. reconstructed or coded. That is, the samples of the set 1181 have already been reconstructed in the encoder using any prediction and correction of the corresponding predictor with the prediction residual transmitted in the data stream. They belong to previously coded / decoded picture blocks and may be inter-coded or intra-coded or other coded blocks. As for the number and exact position of the samples of the set of neighboring samples 1181 used to form the predictor of the first partition 1021, they depend on the intra-coding mode assigned to the block 80. This intra-coding mode is used jointly or equally for the processing of all partitions of the block 80, as will be explained below. To complete the processing of the first partition 1021, a predictor for this partition 1021 is derived in the decoder and encoder by filling this partition 1021 depending on one or more already reconstructed / encoded samples of the set 1181, and its prediction residual is determined by the transformation and quantization described above as far as the encoder is concerned. This prediction residual (the version transmitted in the data stream, i.e. including the quantization loss) is then used to reconstruct this partition 1021 by modifying the predictor using the prediction residual in the data stream 14. For example, FIG. 5 exemplarily shows the prediction residual for partition 1021 at 1201, i.e. including transform coefficients corresponding to the transformation of the prediction residual for partition 1021, the description of data 1201 being given in more detail below.

[0031] Now we move to the next partition in the partition order, i.e. partition 1022 in the example of Fig. 5. The situation changes in that the set of adjacent already reconstructed / encoded samples used to derive the predictor of partition 1022 may consist of samples located outside sample block 80 and / or samples in block 80. That is, the samples in block 80 are those located in a partition already processed, here partition 1021 in the example of Fig. 5, because for these samples the prediction residual has already been determined and is already available in the data stream. That is, the encoder and decoder derive a predictor for this partition 1022, followed by prediction residual determination in the encoder and use of the prediction residual for predictor modification in the encoder and decoder, respectively. Then, this process continues with the next partition, i.e. the next partition in the partition order, so that all partitions of block 80 are processed sequentially.

[0032] As already mentioned above, the partition order 126 may be selected in a way other than traversing the partitions so that immediately successive partitions are immediately adjacent partitions. That is, the partition order may jump from one partition to the next. This means that the set of adjacent samples 118i used to derive each predictor by filling each partition 102i is not limited to the immediately adjacent samples of the respective partition, as shown in FIG. 5. This also relates to the selection of the start of the partition order 126. For example, suppose that partition 1024 was the first partition in the partition order. In that case, its predictor can be derived by filling it by relying on a set of adjacent samples 1184, not shown in FIG. 5, which is collected from the samples located to the left and above the block 80 along the perimeter of the block 80. Some of the samples in the set 1184 will not be immediately adjacent to the partition 1024. Now, this would correspond to the situation of filling the last sample row in a normal intra-prediction filling of the block 80 altogether. Such a possibility also applies to any partitions processed subsequently, i.e., the second or subsequent partitions in the partition order. That is, their adjacent sample sets 118i may also include samples that are not immediately adjacent to the respective partition 102i. Moreover, if the partition order is not limited to a manner of traversing the partitions such that consecutive partitions are immediately adjacent to each other, the set of reference samples 118i for any second or subsequent processed partition 102i may not only collect samples on the left and upper sides of the respective partition 102i, but may also be samples on the lower side of the respective partition 1021, depending on whether any partition of the block 80 has been processed before the partition 1021 according to the partition order. That is, the set 180i may include samples located on three or more sides of the partition 102i.

[0033] To briefly summarize, Fig. 5 illustrates the sequential processing of the partitions 102 / 112 of the block 80, here exemplarily with respect to the horizontal partitions, but the same explanation also applies to the vertical mode 110 with respect to the vertical partitions 112i. For each partition 102i, a corresponding prediction residual 102i is included in the data stream 14. The data 1201-1204 together form the prediction residual 120 for the block 80. It should be recalled here that transform residual coding may not be used according to an alternative embodiment of the present application, i.e. the prediction residual 120 of the block 80 may be directly signaled in the data stream 14, for example in the spatial domain. In this case, the data 1201-1204 of the various partitions 1021-1024 may not include in the data stream 14 a separate field per partition as shown in Fig. 5, where each data portion 120i represents the signaling of a specific transformation of the respective partition 102i. Rather, in that case, the prediction residuals 120 of the block 80 may form one field of data 14. In this alternative embodiment, when the decoder processes a particular partition 102i, it will gather information about the prediction residuals of this partition 102i from the field 120. This procedure could also be applied when using a truly reversible version of the transform so that quantization can be performed in the spatial domain.

[0034] 5 thus shows that in the encoder and decoder, two tasks are performed for each partition 102i: (1) a prediction derivation task 122 that generates a prediction or predictor for the respective partition 1021, i.e., a predicted sample value for each sample of the respective partition 102i, and (2) a prediction residual-related task that is subsequently performed, i.e., derivation of a prediction residual in the encoder, including quantization of the prediction residual for entry into the data stream 14, and reconstruction of a sample of each partition 102i by combining or modifying the prediction residual and the predictor to obtain a reconstructed sample of this partition 102i. The reconstructed sample can serve as a reservoir for the adjacent sample set 118j of partition 102j that is subsequently processed according to the partition order 126 for the prediction derivation task.

[0035] Before proceeding to further describe the details of the embodiment of the present application, Fig. 6 illustrates the process of prediction derivation 122 by filling the currently processed partition 102i. It should be remembered here that the illustration regarding the horizontal partition 102 is chosen only as an example, and the same description also concerns the vertical partition 112. Fig. 6 illustrates the currently processed partition 102i and its corresponding set of adjacent samples 118i already reconstructed / encoded. As already mentioned above with respect to Fig. 5, the set 118i may not be limited to the samples 128 directly adjacent or adjacent to the partition 102i. However, due to the partitioning, the average distance 130 between the samples of the partition 102i and the samples 128 of the set 118i, averaged over all the samples of the block 80, is lower compared to performing intra prediction of the block 80 known for example from H.264 or HEVC. As described with respect to FIG. 5, the predictor derivation or filling 122 is performed for each partition 102i using an intra-prediction mode associated with the block 80, which mode indicates one of a set of available intra-prediction modes. This set may include an angular mode or a directional mode, which differ from each other in the angle or direction 132 in which the sample content of the neighboring sample set 118i is copied to the sample 134 of the partition 102i. To perform this copying, the prediction of each sample 134 of the partition 102i may be derived based on a number of neighboring samples 134 from the set 118i located on the opposite side of the direction 132 to the sample 134. The number is defined, for example, by the kernel of the interpolation filter used to derive the inter-pel positions between the samples 128 of the sample set 118i. FIG. 6 shows, for example, that three samples 128 from the set 118i are used to calculate the prediction of one sample 134 from the partition 102i currently being processed. Because the average distance 130 is relatively small, the number of reference samples 134 per each sample 134 in the partition 102i can be kept low, as described in more detail below.However, for completeness, it is noted that the set of available intra-prediction modes may include a DC mode, according to which one DC value is assigned to all samples 134 of a partition 102i, and this DC value is derived by averaging the set of neighboring samples 118i. Furthermore, there may also be a planar mode, according to which the predicted value of a sample 134 is defined by a linear function over the sample positions in the partition 102i, and the slope and offset of this linear function are derived based on the neighboring samples 118i. Furthermore, it is noted that the neighbor set 118i may differ depending on the intra-prediction mode selected for the block 80, for example, between angular and non-angular modes, DC / planar, among others.

[0036] For example, in the latest JEM decoder, 67 intra prediction modes are available, 65 of which are angular modes, and two of them, DC and planar, form a non-directional texture. That is, according to the predictor derivation 122 performed on the partitions 102 / 112 and mentioned above and below, the block 80 is partitioned / divided into partitions along the dimension 104, and the resulting partitions extend across the full width of the block in the direction across the dimension 104 and are one or more sample wide along the direction 104. This 1D partition mode (simply called 1D partition mode) can be combined with any of the intra prediction modes mentioned above, or in other words can be implemented using any of them. According to the 1D partition mode, as already explained with respect to FIG. 5, all partitions 102 / 112 of one block 80, such as a coding unit CU, use the same associated intra prediction mode of the block 80, thereby avoiding excessive overhead in signalization. This is because the intra-prediction mode 116 only needs to be transmitted once for the block 80 in the data stream 14 .

[0037] That is, the prediction 122 may be performed in the same way as in the two-dimensional case outlined in the JEM decoder. However, compared to JEM, only one line, be it horizontal or vertical, is calculated for the currently processed partition 102 / 112 so that the prediction process 122 can be adjusted accordingly. If one selects a partition order that traverses the partitions such that successive partitions are directly next to each other, the prediction process 122 may correspond to the two-dimensional case of JEM, but only for the first line, i.e. the line closest to the already reconstructed / encoded neighbor. In some cases, both HEVC and JEM allow the use of a specific filter applied to the reference sample 128 or the resulting predictor. This is useful in the two-dimensional case to better predict samples in the prediction block 80 that are far away from the reference sample 128 and to reduce discontinuities in the boundaries. However, the use of partitioning into partitions 102 / 112 allows exploiting the high correlation between neighboring pixels, which should be the objective.

[0038] That is, a reduced average distance 130 should be utilized. Excessive smoothing can degrade this quality. Therefore, if an encoder or decoder is capable of performing both types of intra prediction, i.e. intra prediction using the partitions described above with respect to Figs. 4-6 and intra prediction as outlined below, when using the partitions described above, the intra filters, i.e. the filters involved in predictor derivation 122, are disabled or at least the number of samples 135 contributing to each partition sample 134 is reduced compared to the number of samples contributing to one sample in the two-dimensional case. In the two-dimensional case, the intra prediction of the block 80 is performed on the block in bulk or according to HEVC, i.e. decomposed into rectangular blocks that are leaf blocks of a hierarchical quadtree subdivision of the block 80.

[0039] As is evident from the above discussion, to perform the prediction residual related tasks 124, the decoder decodes, for example, from the data stream 14, a transformation of the prediction residual of each of the currently processed partitions and performs an inverse transformation, such as a spectral-spatial transformation, on this transformation to generate a prediction residual that is used to modify the predictor obtained at 122 by combining / adding. The same is done in the encoder to keep the decoder and the prediction loop synchronized. Furthermore, the encoder performs a transformation of the prediction error of the predictor determined using 122 for the currently processed partition, performs a transformation, such as a spatial-spectral transformation, followed by quantization of the transform coefficients, and then encodes the transformation into the data stream 14 to generate the data 120i corresponding to the currently processed partition 102i. With regard to the transformation, all partitions 102 / 112 in the block 80 may be processed using this same transformation, which may be DCT-II, except for the planar mode where DST-VII can be used, for example. For this reason, all tools related to transform and inverse transform that the encoder and decoder can use for other blocks, such as transform skip, i.e., coding in the spatial domain, EMT (Explicit multiple core transform), NSST (Mode dependent non-separable transforms), etc., may be disabled to avoid unnecessary overhead bits if block 80 is coded using an intra prediction mode in the partitioned manner outlined above with respect to Figures 4-7 and further described below. Further alternatively, the transform may be a linear transform, the type of which may be selected based on one or more of the intra prediction mode, the dedicated syntax element, and the predefined partition order.

[0040] Some explanation has already been given above regarding the partition order 126 used when the partitions 102 / 112 of the currently processed block 80 are processed sequentially. It is emphasized that this embodiment is merely an example and that the partition order may be static according to alternative embodiments or may vary in a different way according to other embodiments, examples of which are given below. Figure 7 illustrates, by numbering, the possible partition / processing orders shown in Figure 5 with the arrows 126, where the order continues in ascending order of the numbering. Figure 5 represented an example where the order 126 starts with the partition containing the pixel / sample 140 at the top left of the block 80 and proceeds downwards towards the bottom partition. Similarly, if the partition type is vertical, the processing order starts with the leftmost partition containing the pixel / sample at the top left and proceeds to the right. However, this is not the optimal case for all existing intra prediction modes. This is illustrated in FIG. 7, which shows the vertical and horizontal division of a block 80 for diagonal mode 2, i.e. the mode where the copy angle / direction 132 points 45° from bottom left to top right, and diagonal mode 34, i.e. the mode where the copy angle / direction 132 points −45° from top left to bottom right. In the former case, if the division is horizontal, starting at the top left corner of the block 80 would generate a partition whose reconstructed samples do not affect the prediction of the next partition. As a result, it is more reasonable to start at the bottom left corner of the block, so that the reconstructed samples of each partition can be used to predict the next partition in the partition order. However, for vertical division, this is not necessary, as can be seen in the previous figure. On the other hand, for mode 34, no such problem occurs, since in both cases of horizontal and vertical division, samples come from both sides. Therefore, the normal processing order can be used for both divisions.

[0041] Table 1 shows a complete list of processing orders depending on intra prediction modes and partition types.

[0042] [Table I]

[0043] In summarizing the embodiments described so far with regard to signaling overhead, please refer to FIG. 8. FIG. 8 shows what is transmitted for block 80 according to an embodiment of the present application. In particular, there is an intra-prediction mode signaling 116 that informs which intra-prediction mode should be applied to block 80. That is, the signaling 116 indicates one of the available modes, including, for example, one of the angular modes, or one of the angular modes and non-angular modes such as DC or planar. In addition to this signaling 116, there is a partitioning flag 160 that is coded by the encoder into the data stream 14 and decoded by the decoder from the data stream for block 80, which indicates whether the partitioning process according to FIG. 4-FIG. 7 has been applied to block 80, or whether it has been processed "as usual", either collectively or in one piece or in two dimensions, i.e. whether only samples outside block 80 are used to form a reference sample reservoir 118 for predicting each sample within block 80. Alternatively, flag 160 may switch between the partitioning process described with respect to Figures 4-7 and decomposition of block 80 using quadtree subdivision into transform blocks, with the drawback that decomposition using quadtree subdivision, although the transform blocks are processed sequentially, requires signaling of the decomposition in data stream 14. If partition flag 160 indicates partitioning according to Figure 4, data stream 14 includes partition dimension flag 114 for block 80 to switch between partition types 100 and 110 as described with respect to Figure 4. Also, if partition flag 160 indicates this partitioning option, for each partition of block 80 into which block 80 is subdivided / partitioned, data stream 14 includes signaling / data 1201 having the prediction residual for each partition coded into the data stream, such as in the transform domain as described above.

[0044] 8, it should be noted that the prediction residual data 1201, 1202... may be coded into the data stream 14 in an order corresponding to the partition / coding order 126. The partition order 126 may be determined independently by the intra-prediction mode indicated by the signalization 116, as described above. However, in alternative embodiments, the partition order 126 may also be determined, at least in part, based on any additional signalization in the data stream 14.

[0045] In a further alternative to the description presented herein, the signaling 116 may alternatively be used to indicate whether the partition option is used. In other words, one syntax element may be jointly responsible for the signaling of 116 and 160. Such a syntax element may assume a value from a range of values, each value corresponding to a combination of an intra-prediction mode and an indication of whether block partitioning was used. In such a case, it is also possible to provide the partition option only for a certain subset of intra-prediction modes. And finally, it should be noted that the partition flag 160 may also be conveyed in the data stream 14, conditionally only if the intra-prediction mode indicated by the signaling 116 is assumed to be a certain subset of the available intra-prediction modes.

[0046] Fig. 9 exemplarily illustrates how data 120i with prediction residuals of a particular partition 102 / 112i may look. According to the embodiment of Fig. 9, the prediction residuals are coded in the transform domain into the data stream 14. That is, the encoder generates a transform 182 of the prediction residuals by a transform 180, and the decoder derives the prediction residuals in the spatial domain by an inverse transform 184. Fig. 9 illustrates transform coefficients 186 corresponding to, for example, different spectral frequencies f of the transform 182. The data 120i may include a coded block flag CBF, and the data 120i may include a coded block flag CBF 188 indicating whether the transform 182 includes significant transform coefficients 186, i.e. whether the transform 182 is completely zero. If CBF 188 is set, the transform 182 is not zero, the data 120i may include a last position (LP) syntax element 190 indicating a last position 192 along increasing spectral frequency (see axis 194) of the significant transform coefficients, i.e., the non-zero transform coefficients 186, starting from the lowest or DC coefficient 196. The data 120i then includes signaling 198 announcing the transform coefficients 196 through 192.

[0047] That is, Fig. 9 shows that each partition 102i / 112i may have its prediction residual coded into the data stream 14 by CBF 188, LP 190 and transform coefficient data 198. That is, for a block 80 with n partitions 102 / 112, there are n CBFs 188, one LP 190 for each partition with a non-zero CBF 188, and transform coefficient data 198 only for those partitions with an associated non-zero CBF 188. This coefficient data 198 may be coded in the same way as for intra-predicted blocks that are processed normally, i.e. blocks 80 whose partition flag 160 indicates the non-partition option, with the following exceptions: Each LP 190 only needs one coordinate if the partition is one sample wide (two coordinates are needed as usual otherwise), i.e. only the x coordinate for the horizontal partition 100 and the y coordinate for the vertical partition 110. However, for two-dimensional partitions, the LP 190 uses a rank indication or x and y coordinates to indicate the final position along the scan direction or scan path. The context of each CBF 188 may be selected to be the value of the previously coded CBF, i.e., the CBF of the previous partition in the partition order 126. Furthermore, due to this partitioning, the transform coefficient data 198 pertains to different shapes, i.e., the transform 182 also has a different shape. As described with respect to FIG. 4, if the partition is a one-dimensional partition, the transform 182 is a one-dimensional transform. That is, the transform 182 may be a W / H length vector of transform coefficients 186 depending on the partition type 100 or 110.

[0048] Regarding the flags 160 and 114 in FIG. 8 and their coding, the following should be noted: The flag 160, indicating whether the block 80 is split into partitions 102 / 112, defines the condition to be checked whether the flag 114 is conveyed in the data stream 14 for the block 80. In particular, if the flag 160 indicates a split into partitions 102 / 112, the flag 114 is present in the data stream 14 and sent to the decoder to signal which type of split 100 / 110 should be performed, i.e., horizontal or vertical. Similar to the flag CBF, the flag 114 may also be coded using context-dependent entropy coding / decoding. The context of the flag 114 may have three possibilities according to the intra-prediction mode of the block 80: 0 for non-angular mode, 1 for horizontal mode, and 2 for vertical mode.

[0049] Although FIG. 9 shows that the CBF 188 may exist once per partition i of the current block 80, additionally or alternatively, the transform 182 of the partition 120i of the current block may be divided into one or more sub-blocks, each of which may have a coded sub-block flag signaled in the data 120i indicating whether the transform coefficients 186 in the sub-block are all zero or at least one of them is non-zero. In this way, only the coefficients 186 in the sub-blocks for which the coded sub-block flag signals the presence of a non-zero coefficient will be coded. Other coefficients in the sub-blocks for which the coded sub-block flag signals the absence of any non-zero coefficients will be estimated to be zero at the decoder side. It should be noted that since each partition 120i is transformed separately, the sub-blocks belonging to one partition may differ in the spectral content of the transform 182 of the partition and in the transform coefficients 186 that compose the transform. For example, the sub-blocks can be configured to be 4×4 coefficient blocks, so long as each partition 102i / 112i has dimensions x (partition width) and y (partition height), both of which are equal to or greater than four samples 140, and, consequently, the transform 180 of each partition 102i / 112i has dimensions x and y, both of which are equal to or greater than four coefficients 186. For 4×N partitions, the sub-blocks form columns of m 4×4 sub-blocks, where m*4=N, where m is an integer. For N×4 partitions, the sub-blocks form rows of m 4×4 sub-blocks, where m*4=N, where m is an integer.

[0050] For wider partitions, an array of 4×4 sub-blocks arranged in rows and columns may be generated. However, in some embodiments, such partitions, i.e. partitions with more than or equal to 4 samples, may not occur. Regardless of whether they occur, if a partition is narrow, i.e. one of its dimensions is less than 4 samples, i.e. less than 4 samples wide in at least one dimension x or y, a sub-block division of the transform 180 into sub-blocks that collect different groups of coefficients of the transform 180 may be performed, such that the sub-blocks have a minimum number M of coefficients in all possible cases of the size of the current block. That is, the partitions may be set to be as large as the block width N along one dimension, and a division may be made along the other dimension 104. Thus, the size of the transform 180 of each partition may be 1×N, 2×N, N×1 or N×2. In fact, the transform 180 of a particular partition may have a number of coefficients equal to the number of samples in this partition. For a 1×N partition / transform, the subblocks may form a column of m 1×M subblocks, where m*M=N, m being an integer. For an N×1 partition, the subblocks may form a row of m M×1 subblocks, where m*M=N, m being an integer. For a 2×N partition / transform, the subblocks may form a column of m 2×(M / 2) subblocks, where m*(M / 2)=N, m being an integer. For an N×2 partition, the subblocks may form a row of m (M / 2)×2 subblocks, where m*(M / 2)=N, m being an integer. This is exemplarily shown in Table 1 for the exemplary case where M=16 for the minimum number of coefficients.

[0051] [Table 1]

[0052] While FIG. 9 showed that the CBF 188 may exist once per partition i of the current block 80, it may be agreed between the decoder and the encoder that at least one of the n partitions of the current block 80 has a nonzero CBF 188. Thus, if n is the number of subpartitions and the first (n-1) subpartitions in the coding order produced a CBF of zero, the CBF of the nth partition would be inferred to be one. Thus, there is no need to decode it and it will not be coded. Thus, if the CBF in data 1201-120n-1 signals zero, the CBF of data 120n will be missing and the decoder will infer that this CBF signals the presence of at least one nonzero coefficient in the transform of that partition.

[0053] As far as the intra coding mode signaling 116 is concerned, the following may apply: the coding mode signaling 116 may be transmitted as a pointer or index to one from a list of most probable modes (MPM). The MPM list may be determined in the same way by the encoder and the decoder based on the intra prediction modes used for previously coded / decoded intra prediction blocks, such as spatially and / or temporally adjacent intra prediction modes. The list of MPMs may therefore represent a suitable subset of available / supported intra prediction modes, i.e. one or more of the aforementioned angular and / or DC and planar modes. As mentioned above, there may be intra prediction blocks using the LIP or ISP scheme, such as block 80 in the figure, and there may be other blocks that are intra predicted in a conventional manner, i.e., intra predicted in bulk or on a unit of transform blocks where such intra predicted blocks are divided using a recursive quadtree partition. Both types of intra prediction blocks may support the same set of available / supported intra prediction modes. For normal / conventional intra-predicted blocks, an MPM flag may be signaled in the data stream - the decoder decodes this and the encoder encodes this - indicating whether the mode of the block is selected from the MPM list, in which case a pointer / index to this MPM list is transmitted - the decoder decodes this and the encoder encodes this - but for intra-predicted blocks using the LIP or ISP schemes like block 80, it would be assumed that the MPM flag signals a restriction of the MPM list. If for a particular normal / conventional intra-predicted block, the MPM flag signals that no MPM mode is used, then there is no index / pointer for that block in the data stream and instead a pointer / index to a remainder list of intra-prediction modes is transmitted in the data stream for that block.The remaining list may also be a suitable subset of the set of available / supported intra-prediction modes, in particular a complementary set of the MPM list compared to the set of available / supported intra-prediction modes. That is, all members of the set of available / supported intra-prediction modes will either be members of the MPM list or of the remaining set. The pointers / indexes to the MPM list may be VLC encoded and the pointers / indexes to the remaining set may be encoded using a fixed-length code. Of course, even in the case of intra-predicted blocks of the LIP or ISP scheme, the MPM flag may be transmitted and the encoder may be free to select any mode from the set of available / supported intra-prediction modes and set the MPM flag depending on whether the selected mode is in the MPM list or in the remaining set.

[0054] The MPM list may be the same, i.e., determined by the encoder and the decoder in the same way for normal / traditional intra-predicted blocks and ISP / LIP intra-predicted blocks. However, regardless of whether the restrictions on the MPM list and the inference of the MPM flag informing the use of the MPM list for ISP / LIP intra-predicted blocks are applied, the MPM list for ISP / LIP intra-predicted blocks may alternatively be determined in a different way to adapt to the statistics of the ISP / LIP modes. For example, the MPM list may be modified to exclude DC intra-mode and to prefer horizontal intra-mode for ISP horizontal splitting, i.e., horizontal direction 104, and vertical intra-mode for vertical splitting, i.e., vertical direction 104. That is, for normal / traditional intra-predicted blocks, the MPM list may form a suitable subset of the set of available / supported intra-prediction modes, which may be selected and ordered according to a certain concept. For the ISP / LIP intra prediction block 80, the MPM index may point to an MPM list that depends on the partition direction 104 signaled by the flag 114 and / or that forms a proper subset of the set of available / supported intra prediction modes that does not include DC mode or that does not include DC and planar modes, i.e., a proper subset of angular modes in the set of available / supported intra prediction modes. When building an MPM list based on previously used intra prediction modes of previously encoded / decoded blocks, when the flag 114 indicates that the partition direction 104 is horizontal, an angular mode with an angular intra prediction direction closer to the horizontal dimension will be preferred, and when the flag 114 indicates that the partition direction 104 is vertical, an angular mode with an angular intra prediction direction closer to the vertical dimension will be preferred.

[0055] With regard to the above description, it should be noted again that the intra-prediction modes processed normally and the intra-prediction modes processed using partitions as outlined herein do not need to be in juxtaposition. That is, the encoder and decoder may necessarily use the partitions presented herein to process the intra-prediction block 80, and in that case, for example, the partition flag 160 may be unnecessary as a result. However, if the partition option signaled by the flag 160 is available as a decision for the encoder, the following description will clarify the possibilities of how the encoder performs the decision or finds out which partition mode should be used for a particular block 80 and which partition type, i.e., horizontal or vertical, is optimal. To do this, the encoder should test both options of different intra-prediction modes for each block. Compared to the case where the encoder has only one option, such as the normal option, the encoder speed will be slower since it needs to test more options. To reduce this effect, the partition mode signaled by the flag 160 may be tested by being coded according to the following strategy, where reference is made to Figures 10 and 11.

[0056] 1) The 1D partition mode is the last intra mode to be tested. 2) Let Cmin be the minimum cost up to the point at which the 1D partition mode is about to be tested. 3) Select the combination of intra mode and split type to be tested. 4) The block is divided into N 1D partitions, where i denotes the index of each of these partitions, i=[1,N]. 5) After all partitions are encoded, their sub-costs Ji are calculated. Thus, after partition i is encoded, the sum of all available sub-costs, i.e.

number

[0057] The advantage of this procedure is that in the 1D partition mode, it is already possible to know that it is unlikely to obtain a cost better than the existing minimum cost, so it is possible to avoid processing unnecessary 1D partitions. Moreover, there are no drawbacks in terms of RD loss. The overall process is shown as a flowchart in FIG. 11.

[0058] All of the above embodiments show sections that are executed in stripes with a 1-sample width crossing the direction 104. Alternatively, the sections may be executed to be wider partitions, whereby it should be noted that as long as the specific details in the description of the embodiments do not utilize one-dimensionality, they can be carried out in a way that leads to two-dimensional partitions. Further alternatives regarding the sections are shown below.

[0059] In other words, in the above description, an embodiment was described that may be simply described as including a line-based intra-prediction (LIP) coding mode tool, in which an intra-predicted W×H block 80 is divided into one-dimensional partitions 102 / 112 or lines. There, it was described that each of the resulting lines 102 / 112 is predicted, a residual signal is generated, which is transformed, quantized, entropy coded, and finally the coefficients are sent to the decoder. The reconstructed samples of such a line can be used to predict the next line, etc. This process is repeated until all one-dimensional partitions in the original block are coded.

[0060] However, modifications to this LIP concept are possible. It has already been shown above when discussing FIG. 4 that the embodiments of the present application are not limited to having partitions 102 / 112 that are one sample wide along the partitioning / splitting direction 104. In the embodiments described below, the width along the splitting direction 104 is defined based on 1) whether the intra-prediction mode is angular or non-angular, and 2) the width of the intra-predicted block along that direction 104.

[0061] 1) A W×H (where W and H are assumed to be powers of 2) block 80 may be divided horizontally or vertically (e.g., as indicated by syntax element 114 sent to the decoder) into K equal partitions 102 / 112 of dimension w×h, whose values ​​are listed in Table II. According to Table II, a block with W=16, H=8 predicted using a non-angular intra mode and with a vertical partition (i.e., a partition in a direction 104 that is vertical) may be divided into, for example, 4 partitions 102, all of which would have dimensions / dimensions of w=16 and h=2. An example of this is shown in FIG. 12a. If the same block 80 were predicted using an angular intra mode, it would be divided into 8 partitions 102 with dimensions / dimensions of w=16 and h=1.

[0062] [Table II]

[0063] 2) A W x H (where W and H are assumed to be powers of 2) block 80 can alternatively be divided horizontally or vertically (e.g., as indicated by syntax element 114 sent to the decoder) into K equal partitions of dimension w x h, where the value of K is not fixed (and thus its value is transmitted to the decoder using a syntax element) and can range from a power of 2 between 2 and S, where S is the value of the dimension being divided (width for a vertical division and height for a horizontal division). The values ​​of w and h are obtained as shown in Table III.

[0064] [Table III]

[0065] Instead, the width of the partition along dimension 104 may be signaled directly for block 80 .

[0066] 3) A W×H (where W and H are assumed to be powers of 2) block 80 can alternatively be divided horizontally or vertically (e.g., as indicated using syntax element 114 sent to the decoder) into K partitions of dimensions w i × h i (where K depends on W and H), with i=1, 2, ..., K. If the division is horizontal, then S=H, si=h i , and if the division is vertical, then S=W, si=w i . Various options for the value of si are described in Table IV for different values ​​of S, where the value of S quantifies the width of block 80 along dimension 104 and si quantifies the width of partition i along dimension 104.

[0067] [Table IV]

[0068] The options used in the decoder may be fixed or may be implicitly determined according to the values ​​of parameters present on the decoder side.

[0069] 4) A W×H (where W and H are assumed to be powers of 2) block 80 can alternatively be divided horizontally or vertically (e.g., indicated using syntax element 114 transmitted to the decoder) into K partitions of dimension wi×hi (K depends on W and H), with i=1,2,...,K. If the division is horizontal, then S=H, si=hi, and if the division is vertical, then S=W, si=wi. The value of si will be determined by a syntax element indicating which of the three options shown in example 3) should be used to divide the block into subpartitions.

[0070] Thus, as illustrated in Examples 1-4 above, partitioning may be done along one dimension 104, where the partitions are as wide as the given block in a direction perpendicular to the given dimension, while the width of the partitions measured along the given dimension 104 is selected from at least two different width settings or options. An explicit or implicit signaling concept may be used to keep the selection synchronized between the encoder and the decoder. This selection thus allows the partitioning to be changed between blocks of the same size and shape, while keeping the overhead associated with this change reasonably low. The selection may be made depending on the intra-coding mode of the given block, for example, depending on whether the intra-coding mode for the given block is angular mode or not. The selection may also be made depending on an index in the data stream for the given block, which indexes one of at least two different width settings, as shown in Example 4. The partitions may be more than one sample wide along the partition dimension. Within one block, the partition / partition width along the given direction may vary. One may be one sample wide, i.e. a one-dimensional stripe, and the other may be more than one sample wide, i.e. a two-dimensional field of samples.

[0071] Furthermore, for some of the embodiments of the LIP concept, two types of processing orders (called partition order 126 in the above description) have been proposed to be available for each block 80, and the one finally applied has been selected depending on the intra mode used in the block 80. However, as already mentioned above, there are alternatives for determining the partition order 126. The processing order 126 indicates in which order the sub-partitions 102 / 112 should be processed. A possible processing order 126 is to start from the top left sub-partition and continue in a predefined order, such as downwards in case of horizontal division, rightwards in case of vertical division, or other orders such as raster scan format in other cases where other divisions into partitions are used. In general, the processing order 126 could be determined by existing parameters available on the decoder side when the respective sub-partitions are decoded / processed. That is, for the decoder, the processing order 126 could be determined on the fly, i.e. depending on the prediction of the various sub-partitions 102 / 112. Such existing parameters may include intra mode, sub-partition index, dimensions of the original block, dimensions of the sub-partition, CBF flags of the current partition, etc. The order 126 can also be transmitted directly to the decoder.

[0072] 5, there may be a motivation to change the partition order for blocks 80 that undergo partitioned intra prediction using the same partitioning into partitions 102 / 112. That is, changing the order 126 in which the partitions 102 / 112 are processed allows for distribution of prediction accuracy among the various partitions 102 / 112. For example, as illustrated above, if a partition 102 / 112 that is far from the neighboring sample set 118 is selected to be processed first according to the partition order 126, this would mean that the intra prediction would be worse than if the far partition was processed last according to the partition order 126, because in the latter case the reference sample used to fill that partition would be located in a partition that is closer, i.e., adjacent to that partition on the side facing the reference sample set 118. For example, in the case of FIG. 5, if the intra prediction result obtained for partition 1024 is the first in the partition order 126 (prediction will be obtained based on adjacent samples outside block 80), it is clear that the prediction residual will be larger compared to the case where partition 1024 is processed last according to the partition order 126 (prediction will be generated based on adjacent sample sets covering samples directly adjacent to partition 1024 and including partition 1023, for example). However, the opposite is true for the remaining partitions. If partition 1024 is processed first, its reconstruction using the prediction residual of partition 1024 can be included in the adjacent sample set 118i of any partition processed thereafter according to the partition order 126. This allows prediction of the interior of each partition 1021-1023 of FIG. 5, for example, using the intra prediction modes of blocks 80 from both sides of these partitions.

[0073] When processing partition 1024, the adjacent sample sets 118i are only located on one side of each partition 102i for i=1...4. That is, the situation would be reversed for partitions 1021-1023. For these partitions, the prediction residual would be lower if partition 1024 is processed first compared to processing partition 1024 last. Furthermore, as mentioned above, it is necessary to consider that not only can the order be switched between the two options of traversing the partitions side by side in succession, but also that further partition orders 126 can be allowed, such as first processing every second partition according to a predefined order, and then processing the remaining partitions in the same or reverse predefined order. Which option is optimal may be determined on the encoder side by testing various ordering options and sending respective additional signaling regarding the order 126 of the blocks 80 in the data stream, or the order 126 may be selected in the same way on the encoder side and the decoder side depending on syntax elements sent in the data stream for the block 80 or adjacent blocks, so that the order 126 is not the same but may vary between blocks 80 even if they have the same size and shape and are divided in the same way into partitions 102 / 112.

[0074] Thus, the partition order in which the partitions of each block 80 are processed can be selected from at least two different orders. An explicit or implicit signaling concept can be used to keep the selection synchronized between the encoder and the decoder. That is, the selection allows one partition order to be applied to a given block, while another order is applied to another block, i.e. a block that is also coded using the partitioned intra prediction concept, has the same size and shape, and is partitioned in the same way into partitions. The freedom of the encoder to select the partition processing order, or the rendering of the partition processing order depending on parameters other than size, shape, and partitioning, is effective in increasing the effectiveness of the partitioned intra prediction mode. The effectiveness can be even greater when recruiting reference samples 118i in a manner that depends on the selection of a given partition order 126 for a given block from at least two different orders for the derivation of a predictor for a particular partition 102i. In particular, as mentioned above, for one available or selectable partition order, the collected reference samples 118i can be located on two opposite sides of the current partition, and for another selectable partition order, the collected reference samples 118i can be located only on one of the two opposite sides of that partition 120i. In the case of a division along a dimension 104, a "side" may be both sides of the partition 120i facing along that direction, such as the upper and lower sides in the case of a vertical direction 104, or the left and right sides in the case of a horizontal direction. However, in the case of another partition, which will be briefly described below, a "side" may simply be defined as one side of the partition facing samples from the reference sample set 118i that are outside the block 80, and the other side of the partition facing samples from the reference sample set 118i that are inside the block 80, i.e., in one of the previously processed partitions.For example, one of the at least two different selectable orders may traverse the partitions starting with the partition furthest from the top left corner of a given block, while another of the at least two different selectable orders may traverse the partitions starting with the partition closest to the top left corner of a given block.

[0075] Another problem to be addressed concerns residual coding. As mentioned above, residual coding may be performed using transform coding. Each subpartition 102 / 112 may have its own coded block flag (CBF) 188, last position (LP) syntax element 190, and transform coefficients 198 in the data stream, which will be transmitted to the decoder. Thus, for a block 80, such as a CU with K subpartitions 102 / 112, there will be K CBFs 188 and one LP 190 for each partition 102 / 112 with a non-zero CBF. The context used to code each CBF 188 may depend on the value of the CBF of a subpartition previously coded in the same block - for example according to the order 126. Additionally, further syntax elements not described above may be transmitted to the decoder in the data stream to indicate whether the above-mentioned concepts are used for all blocks, or for the entire data stream or for a range corresponding to a particular picture, or for example a slice of a particular picture, whether the partitioned intra prediction concepts described in this specification are used for all intra prediction blocks 80 within that range, or whether some (partitions) are signaled to be treated as one piece, i.e., partitioned into only one partition.

[0076] Similarly, as explained above, each subpartition can be transformed individually using one transform, thereby generating one transform for each partition 102 / 112 that is not quantized to all zeros. As the transform for a particular partition 102 / 112, a 2D transform may be used, except when one of the dimensions of that partition 102 / 112 is one, in which case a 1D transform will be applied. The transform core can be a DCT-II or any other transform determined by parameters present at the decoder side when the subpartition is to be decoded. For example, the transform can be selected according to a combination of intra mode, subpartition index, subpartition dimension, or a subset of the latter parameters. The transform can also be signaled directly to the decoder, or in other words in the form of additional syntax elements transmitted, for example, for all partitions in a block 80, or for each partition 102 / 112 of a block 80 individually.

[0077] One aspect, as already mentioned above, is related to the fact that after quantization in the spatial domain or some intermediate transform domain, which is arrived at by performing a transform on the prediction residual of each partition by partition and then quantizing the transform coefficients, the residuals of the partitions 102 / 112 of the block 80 may be further transformed, which can be lossless or inverse. That is, the decoder can obtain the transform coefficient levels of the transform for the whole block 80, perform an inverse lossless transform on the transform coefficient levels, and obtain the prediction residuals for each partition 102 / 112 in the spatial domain, or the intermediate transform domain is obtained by re-transformation for each partition 102 / 112 from the prediction residuals in the spatial domain.

[0078] It should be noted that according to a variant of the above embodiment, the partitioning can be done in a way different from the form of partitioning along the dimension 104. Intra-predictive coding using such a variant can be named Flexible Intra-Predictive Sub-Partitioning (FIPS) or similar. Instead of the partitioning into stripes 102 / 112, the division / partitioning of the block 80 can result in any rectangular sub-partition of the block 80. Flexible Intra-Predictive Sub-Partitioning (FIPS) divides one W×H intra-predictive block 80 into K rectangular non-overlapping sub-partitions of size wi×hi (i=1,2,...,K). The resulting layout of the sub-partitions is completely watertight, which means that the sum of the areas of the sub-partitions is equal to the area of ​​the original block. That is,

number

[0079] [Table V]

[0080] So far, the above-mentioned embodiments may be said to show exemplary partitions of the partitions just mentioned. For example, FIG. 4 shows two examples of such FIPS partitions of a block 80. However, in this case, all subpartitions 102 / 112 have the same size. In particular, perpendicular to the dimension 104, the subpartitions are the width of the block, and in the direction along the dimension 104, they are of equal width, corresponding to a certain fraction of the width of the block along the dimension 104. As with any of the above partitions 102 / 112, each subpartition 102 generated in the FIPS is predicted, and the resulting residual signal is transformed, quantized and coded, for example, separately. Its reconstructed values ​​may therefore be used to predict other subpartitions 102 that have not yet been coded / decoded. For example, in the case of the block 80 shown in FIG. 12b, subpartition number 1 may be predicted first, and then its reconstructed samples may be used to predict subpartitions numbers 2 and 3. This process is repeated until all subpartitions are coded / decoded.

[0081] To summarize the generalization of FIPS, the partitioning of the intra-predicted block 80 into partitions 102 / 112 may be defined and signaled via the data stream in a different way than described above, for example using a recursive multi-tree subdivision of the block 80 into rectangular partitions of various sizes, or any other possible partition definition. For example, the partitioning may be defined by the derivation of the dimension 104 as described above, based on which it is determined whether the partition of the block 80 is a horizontal stripe 102 or a vertical stripe 112, respectively, and also with regard to the width of the stripe, i.e. the height of the horizontal stripe 102 and the width of the vertical stripe 112, depending on the intra-prediction mode. All other possibilities discussed above remain, such as the possibility of changing the processing / partition order 126, i.e. the change may depend on the intra-prediction mode, as described above, or on some syntax element for the block 80 transmitted in addition to the intra-prediction mode parameter in the data stream, or according to some other information transmitted in the data stream, such as information derivable from the prediction residual transmitted in the data stream for the various partitions.

[0082] Moreover, it has already been mentioned above that the prediction residuals of the various partitions of the block 80 are quantized and coded sequentially into the data stream, partition by partition, alternating with respect to the individual intra predictions of these partitions. This is not only true for the description of FIG. 5, but also for the description of FIG. 10 and FIG. 11. However, the decoder does not have to perform the decoding by alternating between the residual decoding on the one hand and the reconstruction of the various partitions by combining the intra prediction and the prediction residuals on the other hand. That is to say, when decoding a certain block 80, the decoder may separate the decoding of the prediction residuals 120 of the various partitions from the actual reconstruction procedure, which includes the individual intra predictions of the various partitions. See FIG. 5. Here, the decoder may decode the prediction residuals 120 of all partitions, i.e. the prediction residuals 1201-1204 of the block 80, from the data stream 14 according to one processing task, and the decoder may reconstruct the interior of the block 80 partition by partition, according to the partition order 126, using the prediction residuals 120i of the partition 102i according to another task. For this purpose, the decoder continues the reconstruction of the block 80 by performing, in a second task, an intra prediction of each partition 120i using the intra prediction mode of the block 80, adding the prediction residual 120i obtained from the first task, and then stepping to the next partition 120i+1 in the partition order 126, thereby performing a spatial prediction and then performing a reconstruction using the prediction residual of that partition to correct the intra prediction result. The decoder may perform the first task of completely deriving the prediction residual 120 from the data stream 14 before starting the second task of performing prediction and prediction correction using the prediction residual, or the decoder may perform the two tasks in parallel, in which case it must have a means to ensure that the prediction residual 120i of a particular partition 102i is ready when it is needed, i.e. when the prediction result of that partition 102i has been obtained using the intra prediction mode of that block and needs to be corrected.In particular, during a first task or phase, the decoder may perform all inverse transforms in parallel for all non-zero partitions, ie, all partitions 102 for which the prediction residuals 120i are signaled to be non-zero.

[0083] As an aside, it should be noted that according to the above embodiment in which the residuals 120i of partitions i are quantized in the transform domain, the reconstructed samples of these partitions may leave, i.e. exceed or inherit, a certain range of allowed sample values. As mentioned above, the reconstructed samples may serve as members of the reference samples 118j for the following partition j in the order 126. According to an embodiment, these samples are left as they are for the purpose of predicting the following partition j in the order 126, and the clipping of these samples of the block 80 is performed as the last clipping step for the entire block 80, thereby improving, for example, the ease of implementation on the decoder side. Thus, when deriving the predictor of a partition 102i, the reconstructed samples of the partition preceding this partition 102i according to the partition order 126, which are among the one or more already reconstructed samples 118i serving as references for the current partition, may be used in an unclipped state, and the clipping of the reconstructed samples from an unclipped state to a clipped state within the allowed sample value range is performed last, after performing a series of reconstructions, in order to finally reconstruct the given block. On the encoder side, clipping is performed only to obtain reconstructed versions of such samples that serve as prediction references for subsequent coded blocks in order to maintain reference synchronization with the decoder. However, this final clean-up type clipping is only an example, and alternatively, clipping may be performed immediately, i.e., before the reconstructed samples of partition i serve as reference samples 118j of the subsequently processed partition j.

[0084] Among the embodiments described above, one embodiment will be described below with a concrete example. In particular, according to this embodiment, the data stream 14 signals for an intra-coded block 80 whether it is coded using the LIP or ISP scheme via a partition mode flag 160. The corresponding syntax element in the data stream 14 can be named in-tra_subpartitions_mode_flag. If this flag is, for example, 1, the intra-coded block 80 can be coded using the LIP or ISP scheme, otherwise the block 80 is coded using normal intra prediction. The LIP or ISP scheme can be available for the current intra-coded block 80 only if, for example, one or more specific conditions are met. The one or more conditions can include, for example: the intra-coded block 80 must be larger than some minimum size in terms of the number of samples of the block 80, and / or the intra-coded block 80 cannot exceed a certain dimension at least in both the horizontal and vertical directions, for example to avoid excessive transform size. More precisely, the LSP or ISP mode may be available only if the block 80 is less than or equal to the aforementioned maximum transform-related size in at least one direction, i.e. horizontal or vertical. Thus, the in-tra_subpartitions_mode_flag may be present in the data stream only if the block 80 satisfies the above conditions. Otherwise, the decoder may infer that the intra-coded block 80 is intra-coded as usual.

[0085] If the split mode flag (intra_subpartitions_mode_flag) indicates that the intra-coded block 80 is an LSP or ISP coded block, then a partition dimension flag 114 may be further signaled for the intra-coded block 80. However, this intra_subpartitions_mode_flag is not necessarily explicitly signaled, but may be inferred to indicate a particular partition dimension 104 for certain circumstances. For example, if the intra-coded block 80 has a width that exceeds (but has a height that does not exceed) the maximum transform size mentioned above, then the partition dimension 104 may be necessarily horizontal, and if the height of the block 80 exceeds (but does not exceed) the maximum transform size mentioned immediately above, then the dimension 104 may be necessarily vertical. In either case, the intra_subpartitions_split_flag will not be explicitly signaled in the data stream, but will be inferred accordingly by the decoder. The intra-coding mode 116 may be signaled in the data stream by using a list of most probable intra-prediction modes built at the encoder and decoder sides as outlined above. On the other hand, for a LIP or ISP intra-coded block 80, the data stream 14 may signal the intra-coding mode via an MPM list pointer, for example called intra_luma_mpm_IDX, which necessarily points to the list of most probable intra-prediction modes, and which may be preceded in the data stream 14 by an MPM flag if the intra-coded block is not coded with a LIP or ISP scheme. If an MPM flag, for example called intra_luma_mpm_flag, has a certain flag state, a pointer to the remaining list of intra-prediction modes will be signaled in the data stream instead of a pointer to the most probable intra-prediction mode list.However, as mentioned above, this is just an example and the signalable set of intra-prediction modes may be the same, i.e., cover all supported intra-prediction modes for both normally coded intra-predicted blocks and LIP or ISP intra-predicted blocks.

[0086] For example, intra_luma_mpm_flag may be transmitted for both types of intra-coded blocks. Alternatively, the pointers transmitted for both types of intra-predicted blocks may directly point to the complete list of supported intra-prediction modes for both types of intra-coded blocks without the MPM flag. If the intra-coded block 80 is coded using the LIP or ISP scheme, the number of partitions 102 / 112 may be defined as follows: In particular, the encoder and decoder may determine the number of partitions depending on the size of the block 80. No signal would be consumed in the data stream. For small block sizes, the number may be 2, otherwise the number of partitions 102 / 112 is 4. The partition order in which the intra prediction of the partitions and the coding of the prediction residuals into the data stream are performed may proceed sequentially along the partition direction 104 from the leftmost partition in the horizontal direction 104, or from the topmost partition in the vertical partition direction, to the furthest partition. Again, no signal would be consumed. As described above, a residual transform may be performed for each partition 102 / 112. That is, each partition may be transformed individually.

[0087] In comparison, for a normally intra-coded block 80, the number of transforms may depend on the size of the intra-coded block 80 as follows: if the intra-coded block is smaller than the aforementioned maximum transform size in the horizontal and vertical directions, the residual of the intra-coded block 80 is coded using one transform, i.e. the residual of the block 80 is completely subjected to one transform. If the maximum transform size in the horizontal direction is exceeded, the intra-coded block 80 is divided horizontally into two half blocks or a corresponding number of transform blocks, where the half blocks or transform blocks match the maximum transform size, and the residual of the block 80 is subjected to one transform for each half block / transform block. The same applies for a block 80 that exceeds the maximum transform size in the vertical direction. If the maximum transform size is exceeded both vertically and horizontally, four or a corresponding number of transforms are used to transform the residual of the block 80 into the four quadrants of this block 80, or to transform a standard two-dimensional subdivision of the block 80 into a corresponding number of transform blocks. Furthermore, the processing of normal intra-coded blocks 80 may differ from the handling of LIP or ISP coded intra-coded blocks 80 in that normal intra-coded blocks are intra predicted block-wide, i.e., normal intra-coded blocks are not sub-partitioned. A further difference may relate to the coding of the transform blocks, for coding the prediction residual of the block 80. For each transform, a coded block flag 188 such as tu_cbf_luma may be transmitted, but while for normal intra-coded blocks 80 this flag may necessarily be coded for each transform in the block 80, if the block 80 is LIP or ISB coded and all preceding CBFs of the previous transform are zero, this flag may be inferred to be 1 for the last transform of the block 80. Furthermore, the choice of the dimensions of the sub-blocks within each transform may differ between normal intra-coded blocks 80 and LIP or ISP coded blocks 80. Details are given above.However, alternatively, the subdivision of the transform 182 into sub-blocks may be performed equally for normal intra-coded blocks and for LIP or ISP-coded blocks. For example, let log2SbW and log2SbH be the logarithms of the width and height of the sub-blocks, respectively, and let log2TbWidth and log2TbHeight be the logarithms of the width and height of the transform, respectively. The dimensions of the sub-blocks can then be determined as follows:

[0088]

number

[0089] The above pseudocode generates sub-blocks of the sizes shown in Table 1. This may result in only sub-blocks of 4x4 coefficients for a regular intra-coded block 80 due to the inherent minimum size of the intra-coded block 80 and the non-subdivision of regular intra-coded blocks. Finally, while the examples outlined above may result in LIP or ISP intra-predicted blocks of various sizes, including blocks that are partitioned into only two partitions 102 / 112, it should be noted that there may be LIP or ISP intra-predicted blocks that are partitioned into more than two partitions, regardless of whether such LIP or ISP intra-predicted blocks exist.

[0090] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of a corresponding method, with blocks or devices corresponding to method steps or features of method steps. Similarly, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus. Some or all of the method steps can be performed by (or using) a hardware apparatus, such as, for example, a microprocessor, a programmable computer, or an electronic circuit. In some embodiments, one or more of the most important method steps can be performed by such an apparatus.

[0091] The data stream of the present invention can be stored on a digital storage medium or transmitted over a transmission medium, such as a wireless or wired transmission medium, such as the Internet.

[0092] Depending on specific implementation requirements, the embodiments of the present invention can be implemented in hardware or software. The implementation can be carried out using a digital storage medium, such as a floppy disk, DVD, Blu-ray, CD, ROM, PROM, EPROM, EEPROM, or flash memory, which cooperates (or can cooperate) with a programmable computer system so that the respective methods are executed. The digital storage medium can therefore be computer-readable.

[0093] Some embodiments according to the invention include a data carrier having electronically readable control signals capable of cooperating with a programmable computer system to cause one of the methods described herein to be performed.

[0094] Generally, embodiments of the present invention can be implemented as a computer program product having program code which operates to perform one of the methods when the computer program product is run on a computer. The program code may for example be stored on a machine readable carrier.

[0095] Other embodiments comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.

[0096] In other words, an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.

[0097] A further embodiment of the inventive method is therefore a data carrier (or digital storage medium, or computer readable medium) having recorded thereon a computer program for performing one of the methods described herein. The data carrier, digital storage medium, or recorded medium is typically tangible and / or non-transitory.

[0098] A further embodiment of the inventive method is therefore a data stream or a sequence of signals representing the computer program for performing one of the methods described herein. The data stream or the sequence of signals may for example be adapted to be transferred via a data communication connection, such as the Internet.

[0099] A further embodiment comprises a processing means, for example a computer, or a programmable logic device, configured to or adapted to perform one of the methods described herein.

[0100] A further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.

[0101] Further embodiments according to the invention include an apparatus or system configured to transfer (e.g. electronically or optically) a computer program for performing one of the methods described herein to a receiver. The receiver may be, for example, a computer, a mobile device, a memory device, etc. The apparatus or system may, for example, include a file server for transferring the computer program to the receiver.

[0102] In some embodiments, a programmable logic device (e.g., a field programmable gate array) may be used to perform some or all of the functions of the methods described herein. In some embodiments, a field programmable gate array may cooperate with a microprocessor to perform one of the methods described herein. In general, the methods are preferably performed by any hardware apparatus.

[0103] The apparatus described herein may be implemented using a hardware apparatus, or using a computer, or using a combination of a hardware apparatus and a computer.

[0104] The apparatus described herein, or any components of the apparatus described herein, may be implemented at least in part in hardware and / or software.

[0105] The methods described herein can be performed using a hardware apparatus, or using a computer, or using a combination of a hardware apparatus and a computer.

[0106] Any of the methods described herein, or any components of the apparatus described herein, may be at least partially implemented by hardware and / or software.

[0107] The above-described embodiments merely illustrate the principles of the present invention. It is understood that modifications and variations of the arrangements and details described herein will be apparent to those skilled in the art. It is therefore intended to be limited only by the scope of the appended claims and not by the specific details presented as descriptions and explanations of the embodiments herein.

Claims

1. 1. A decoder for decoding a picture comprising a plurality of blocks from a data stream, comprising: the decoder comprises a processor; The processor, determining an intra coding mode for a block among the plurality of blocks, the block being divided into at least two partitions along a partition dimension; deriving a predictor for the current partition of the one block based on one or more previously reconstructed samples neighboring the current partition using the intra coding mode of the one block; determining whether the current partition is the last partition in the one block according to a partition order; responsive to determining that the current partition is not the last partition in the one block according to the partition order, decoding a partition flag of the current partition from the data stream; (i) in response to determining that the current partition is the last partition in the one block according to the partition order, and (ii) for each previous partition in the one block according to the partition order, a respective partition flag is zero, inferring the partition flag of the current partition to be one without decoding from the data stream; decoding transform coefficients of the current partition from the data stream in response to the partition flag for the current partition being equal to one; inferring that the transform coefficients of the current partition are zero in response to the partition flag of the current partition being equal to zero; reconstructing the current partition based on the predictor and the transform coefficients. A decoder configured as follows:

2. To reconstruct the current partition of the one block, the processor: performing an inverse transform on the transform coefficients to obtain a prediction residual for the current partition; configured to combine the predictor and the prediction residual.

2. A decoder as claimed in claim 1.

3. The processor, configured to decode the partition flag for the current partition from the data stream using context-dependent entropy decoding, the context depending on a coded partition flag decoded for a partition preceding the current partition according to the partition order.

2. A decoder as claimed in claim 1.

4. The processor, and further configured to decode a first flag indicating that the one block is divided into the at least two partitions.

2. A decoder as claimed in claim 1.

5. Based on the first flag indicating that the one block is divided into the at least two partitions, the decoder is further configured to entropy decode a second flag indicating whether the one block is divided vertically or horizontally.

5. A decoder as claimed in claim 4.

6. The processor, and determining a width of the at least two partitions based on a size of the one block.

2. A decoder as claimed in claim 1.

7. 2. The decoder of claim 1, wherein said at least two partitions are four partitions.

8. 1. A method for decoding a picture comprising a plurality of blocks from a data stream, comprising the steps of: The method comprises: determining an intra coding mode for a block of the plurality of blocks, the block being divided into at least two partitions along a partition dimension; deriving a predictor for a current partition of the one block based on one or more already reconstructed samples neighboring the current partition using the intra coding mode of the one block; determining whether the current partition is the last partition in the one block according to a partition order; in response to determining that the current partition is not the last partition in the one block according to the partition order, decoding a partition flag of the current partition from the data stream; inferring the partition flag of the current partition to be one without decoding from the data stream in response to determining that (i) the current partition is the last partition in the one block according to the partition order, and (ii) for each previous partition in the one block according to the partition order, a respective partition flag is zero; in response to the partition flag for the current partition being equal to one, decoding transform coefficients of the current partition from the data stream; inferring that the transform coefficients of the current partition are zero in response to the partition flag of the current partition being equal to zero; reconstructing the current partition based on the predictor and the transform coefficients; A method for providing the above.

9. The step of reconfiguring the current partition includes: performing an inverse transform on the transform coefficients to obtain a prediction residual for the current partition; combining the predictor and the prediction residual; 9. The method of claim 8, comprising:

10. the partition flag for the current partition is decoded from the data stream using context-dependent entropy decoding, the context depending on the coded partition flag for a partition preceding the current partition according to the partition order.

9. The method of claim 8.

11. and decoding a first flag indicating that the one block is divided into at least two partitions. The method according to claim 8.

12. and entropy decoding a second flag indicating whether the block is divided vertically or horizontally based on the first flag indicating that the one block is divided into the at least two partitions. The method of claim 11.

13. determining a width of the at least two partitions based on a size of the one block; The method according to claim 8.

14. 9. The method of claim 8, wherein the at least two partitions are four partitions.

15. 1. A non-transitory computer-readable medium comprising instructions for decoding a picture comprising a plurality of blocks from a data stream, the non-transitory computer-readable medium comprising: The instructions, when executed by a computer, determining an intra coding mode for a block of the plurality of blocks, the block being divided into at least two partitions along a partition dimension; deriving a predictor for a current partition of the one block based on one or more already reconstructed samples neighboring the current partition using the intra coding mode of the one block; determining whether the current partition is the last partition in the one block according to a partition order; in response to determining that the current partition is not the last partition in the one block according to the partition order, decoding a partition flag of the current partition from the data stream; inferring the partition flag of the current partition to be one without decoding from the data stream in response to determining that (i) the current partition is the last partition in the one block according to the partition order, and (ii) for each previous partition in the one block according to the partition order, a respective partition flag is zero; in response to the partition flag for the current partition being equal to one, decoding transform coefficients of the current partition from the data stream; inferring that the transform coefficients of the current partition are zero in response to the partition flag of the current partition being equal to zero; reconstructing the current partition based on the predictor and the transform coefficients; A non-transitory computer-readable medium for causing the computer to execute the method.

16. The step of reconfiguring the current partition includes: performing an inverse transform on the transform coefficients to obtain a prediction residual for the current partition; combining the predictor and the prediction residual; 20. The non-transitory computer readable medium of claim 15, comprising:

17. 16. The non-transitory computer-readable medium of claim 15, further comprising instructions that, when executed by the computer, cause the computer to decode the partition flag for the current partition from the data stream using context-dependent entropy decoding that uses a context that depends on a coded partition flag decoded for a partition that precedes the current partition according to the partition order.

18. 16. The non-transitory computer-readable medium of claim 15, further comprising instructions that, when executed by the computer, cause the computer to perform the step of decoding a first flag indicating that the one block is divided into the at least two partitions.

19. 20. The non-transitory computer-readable medium of claim 18, further comprising instructions that, when executed by the computer, cause the computer to perform the step of entropy decoding a second flag indicating whether the one block is divided vertically or horizontally based on the first flag indicating that the one block is divided into the at least two partitions.

20. 16. The non-transitory computer-readable medium of claim 15, wherein the at least two partitions are four partitions.

Citation Information

Patent Citations

  • Video decoding method and apparatus therefor

    JP2016213895A

  • Moving picture encoding device and moving picture decoding device

    JP2017028726A

Cited By

  • Water filtration system and method

    US12311291B2