Encoder and decoder, and encoding method and decoding method with complex handling for flexibly sized picture partitions

By implementing variably sized CTU blocks with consistent partial CTUs and adaptive signaling, the patent addresses inefficiencies in HEVC's fixed-sized CTU blocks, enhancing encoding and decoding efficiency and flexibility.

JP2024123256AActive Publication Date: 2024-09-10FRAUNHOFER GESELLSCHAFT ZUR FORDERUNG DER ANGEWANDTEN FORSCHUNG EV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024103869
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2018-12-28
Filing Date
2024-06-27
Publication Date
2024-09-10
Estimated Expiration
2040-02-11

AI Technical Summary

Technical Problem

Existing video encoding and decoding technologies, such as HEVC, struggle with inefficient parallel processing capabilities due to fixed-sized CTU blocks, which limit the flexibility and adaptability in handling variable-sized image partitions, leading to suboptimal performance in load balancing and network transmission.

Method used

The introduction of variably sized CTU blocks, with constraints to maintain a consistent number of partial CTUs across images, and adaptive signaling of tile complexity to manage partial CTUs, ensuring aligned CTU grids and reduced complexity in decoding processes.

Benefits of technology

Enhances video encoding and decoding efficiency by allowing flexible image partitioning, improving load balancing and reducing complexity in decoding operations, while maintaining compatibility with existing standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024123256000001
    Figure 2024123256000001
Patent Text Reader

Abstract

To provide a video encoder where a VCL (video coding layer) includes techniques for fragmentation and spatial partitioning.SOLUTION: A video encoder (101) for encoding a plurality of pictures of a video each including original picture data includes a data encoder (110) configured for generating an encoded video signal. The data encoder (110) encodes the plurality of pictures of the video into encoded picture data. Moreover, the video encoder (101) includes an output interface (120) configured for outputting the encoded picture data of each of the pictures.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to video encoding and video decoding, and in particular to an encoding method and a decoding method involving an encoder, a decoder, and complex processing for flexibly sized image data. [Background technology]

[0002] H.265 / HEVC (HEVC = High Efficiency Video Coding) is a video coder that already offers tools to enhance or even enable parallel processing at the encoder and / or decoder. For example, HEVC supports subdivision of an image into an array of tiles that are coded independently of each other. Another concept supported by HEVC is associated with WPP according to which CTU-columns or CTU-lines of an image are processed in parallel, e.g. striped, from left to right (CTU = Coding Tree Unit), provided that in the processing of successive CTU lines a certain minimum CTU offset is respected. However, it would be preferable to have at hand a video coder that supports even more efficiently the parallel processing capabilities of a video encoder and / or video decoder.

[0003] In the following an introduction to VCL partitioning according to the state of the art is described (VCL=Video Coding Layer).

[0004] Generally, in video coding, the coding process of image samples requires smaller partitions. The samples are divided into several rectangular areas for joint processing such as prediction or transform coding. Thus, the image is partitioned into blocks of a certain size that is constant during the encoding of a video sequence. In the H.264 / AVC standard, fixed-size blocks of 16x16 samples, so-called macroblocks, are used (AVC=Advanced Video Coding).

[0005] In the state-of-the-art HEVC standard (see Non-Patent Document 1), there is a maximum size of a Coding Tree Block (CTB) or Coding Tree Unit (CTU) of 64 x 64 samples. In further descriptions of HEVC, the more common term CTU is used for such kind of block.

[0006] The CTUs are processed in raster scan order, starting with the top left CTU and processing a line of CTUs in the image, working down to the bottom right CTU. [Prior art documents] [Non-patent literature]

[0007] [Non-Patent Document 1] [1] ISO / IEC, ITU-T. High efficiency video coding. ITU-T Recommendation H.265 | ISO / IEC 23008 10 (HEVC), edition 1, 2013; edition 2, 2014. Summary of the Invention [Problem to be solved by the invention]

[0008] The coded CTU data is organized into a kind of container called a slice. Originally, in previous video coding standards, a slice meant a segment of a picture that contained one or more consecutive CTUs. Slice is adopted for a segment of coded data. From another point of view, a complete picture can also be defined as one large segment, and later, historically, the term slice is still used. Besides the coded picture samples, a slice also contains additional information related to the coding process of the slice itself, which is placed into a so-called slice header.

[0009] According to the state of the art, the VCL (Video Coding Layer) also includes techniques for fragmentation and spatial partitioning. Such partitioning is used in video coding for various reasons, such as load balancing in parallelization, CTU size matching in network transmission, error mitigation, etc.

[0010] It is therefore an object of the present invention to provide an improved concept for video encoding and video decoding. [Means for solving the problem]

[0011] The object of the invention is solved by the subject matter of the independent claims.

[0012] Preferred embodiments are provided in the dependent claims. Effect of the Invention

[0013] According to the invention an improved concept for video encoding and decoding is provided. [Brief description of the drawings]

[0014] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[0015] [Figure 1] FIG. 1 shows a video encoder according to an embodiment. [Diagram 2] FIG. 2 shows a video decoder according to an embodiment. [Diagram 3] FIG. 3 shows a system according to an embodiment. [Figure 4] FIG. 4 illustrates a CTU affected by replacing a partial CTU that creates a tile boundary. [Diagram 5] FIG. 5 shows luma samples per image compensation from a partial CTU. [Figure 6]FIG. 6 shows the CTU grid alignment mismatch. [Figure 7] Figure 7 shows the proportion of CTUs affected by grid mismatch. [Figure 8] FIG. 8 shows two sets of tile boundaries. [Figure 9] FIG. 9 shows a sequence of corresponding CTUs in the reference image after a portion CTU in the current image. [Figure 10] FIG. 10 shows a video encoder. [Figure 11] FIG. 11 shows a video decoder. [Figure 12] FIG. 12 shows the relationship between, on the one hand, the reconstructed signal, i.e. the reconstructed image, and, on the other hand, the combination of the predicted residual signal and the predicted signal signalled in the data stream. [Figure 13] FIG. 13 illustrates image segmentation by slices in raster scan order. [Figure 14] FIG. 14 shows image partitioning by tiles. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] The following description of the drawings begins with the provision of an encoder and decoder of a block-based predictive encoder for coding images of video to form an example for a coding frame operation in which embodiments of the present invention are incorporated. The respective encoders and decoders are described with reference to Figures 10-12. In the following, a description of an embodiment of the present inventive concept is provided together with an explanation of how such concepts are incorporated in the encoder and decoder of Figures 10 and 11, respectively, although the embodiments described in Figures 1-3 and subsequent figures may also be used to form encoders and decoders that do not operate in accordance with the coding frame operation underlying the encoder and decoder of Figures 10 and 11.

[0017] FIG. 10 shows a video encoder, an apparatus for predictively coding an image 12 into a data stream 14, exemplarily using a transform-based residual coding. The apparatus, or encoder, is indicated using the reference numeral 10. FIG. 11 shows a corresponding video decoder 20, i.e. an apparatus 20 configured to predictively decode an image 12' from a data stream 14, using a transform-based residual coding. The apostrophe is used to indicate that the image 12' as reconstructed by the decoder 20 is derived from the image 12 originally coded by the apparatus 10, with coding losses introduced by quantization of the predictive residual signal. Although the embodiments of this application are not limited to this type of predictive residual coding, FIGS. 10 and 11 exemplarily use a transform-based predictive residual coding. This also applies to other details described with respect to FIGS. 10 and 11, as outlined below.

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

[0019] Internally, the encoder 10 includes a prediction residual signal former 22 which generates a prediction residual signal 24 so as to measure the derivation of a prediction signal 26 from the original signal, i.e. from the image 12. The prediction residual signal former 22 is, for example, a subtractor which derives a prediction signal from the original signal, i.e. from the image 12. The encoder 10 further includes a transformer 28 which subjects the prediction residual signal 24 to a spatial to spectral transformation in order to obtain a spectral domain prediction residual signal 24' which is subjected to quantization by a quantizer 32 which is also included in the encoder 10. The quantized prediction residual signal 24'' is thus coded into the bitstream 14. For this purpose, the encoder 10 optionally includes an entropy coder 34 which codes the prediction residual signal such that the entropy is transformed and quantized into the data stream 14. The prediction signal 26 is generated by a prediction stage 36 of the encoder 10 on the basis of the prediction residual signal 24'' encoded into and decoded from the data stream 14. For this purpose, the prediction stage 36 internally comprises, as shown in FIG. 10, an inverse quantizer 38 for inverse quantizing the predicted residual signal 24'' to obtain a spectral domain predicted residual signal 24''' corresponding to the signal 24' except for the quantization losses, and, following the inverse quantizer 38, an inverse transformer 40 for subjecting the latter predicted residual signal 24''' to an inverse transformation, i.e. a spectral to spatial transformation, to obtain a predicted residual signal 24'''' corresponding to the original predicted residual signal 24 except for the quantization losses. A combiner 42 of the prediction stage 36 recombines the predicted signal 26 and the predicted residual signal 24'''', for example by addition, to obtain a reconstructed signal 46, i.e. a reconstruction of the original signal 12. The reconstructed signal 46 corresponds to the signal 12'. A prediction module 44 of the prediction stage 36 generates the predicted signal 26 on the basis of the signal 46, for example using a spatial prediction, i.e. intra-image prediction and / or a temporal prediction, i.e. inter-image prediction.

[0020] Similarly, the decoder 20 includes components therein corresponding to the prediction stage 36, and is interconnected in a manner corresponding to the prediction stage 36, as shown in FIG. 11. In particular, an entropy decoder 50 of the decoder 20 entropy decodes a quantized spectral domain prediction residual signal 24'' from the data stream. Moreover, the inverse quantizer 52, the inverse transformer 54, the combiner 56 and the prediction module 58 are interconnected in the manner described above for the modules of the prediction stage 36, and cooperate to recover a reconstructed signal based on the prediction residual signal 24''. As a result, as shown in FIG. 11, the output of the combiner 56 produces a reconstructed signal, i.e., an image 12'.

[0021] Although not specifically described above, it is clear that the encoder 10 sets some coding parameters, including, for example, prediction modes and operational parameters, according to some optimization scheme, for example, in a manner that optimizes certain rate- and distortion-related criteria, i.e., coding cost. For example, the encoder 10 and the decoder 20 and corresponding modules 44, 58 support different prediction modes, such as intra-coded and inter-coded modes, respectively. The granularity with which the encoder and the decoder switch between these types of prediction modes corresponds to a subdivision of the image 12, 12' into coded segments or coded blocks, respectively. In units of these coded segments, for example, the image is sub-segmented into intra-coded and inter-coded blocks. The intra-coded blocks are predicted spatially based on the already coded / decoded neighborhood of the respective blocks, as will be outlined in more detail below. There are several intra-coding modes selected for each intra-coded segment, including directional or angular intra-coding modes according to which each segment is filled by extrapolating neighboring sample values ​​along a particular direction, defined for each directional intra-coding mode, into each intra-coded segment. For example, the intra-coding modes include one or more other modes, such as a DC coding mode according to which the prediction for each intra-coded block is assigned a DC value to all samples in each intra-coded segment, and / or a planar intra-coding mode according to which the prediction for each block is approximated or determined to be a spatial distribution of sample values ​​described by a two-dimensional linear function over the sample positions of each intra-coded block, with the planar drive slope and offset defined by the two-dimensional linear function based on neighboring samples. In comparison, for example, inter-coded blocks are predicted temporally. For inter-coded blocks, motion vectors are signaled in the data stream.The motion vector indicates a spatial displacement of a portion of a previously coded image of the video to which the image 12 belongs. The previously coded / decoded image is then extracted to obtain a prediction signal for each inter-coded block. This means that in addition to the residual signal coding constituted by the data stream 14, the entropy coded transform coefficient levels represent the quantized spectral domain prediction residual signal 24''. The data stream 14 has coding mode parameters coded therein to assign coding modes to the various blocks, and prediction parameters for some blocks, such as motion parameters for the inter-coded segments, and optionally other parameters, such as parameters to control and signal the sub-segments of the image 12 and the image 12' into segments, respectively. The decoder 20 uses these parameters to assign the same prediction modes to the segments, to subdivide the image in the same way as the encoder did, and to perform the same prediction resulting in the same prediction signal.

[0022] FIG. 12 illustrates the relationship between the reconstructed signal, i.e. the reconstructed image 12′, on the one hand, and the combination of the predicted residual signal 24″″ and the predicted signal 26 as a signal in the data stream 14, on the other hand. As already indicated above, the combination is additive. The predicted signal 26 is shown in FIG. 12 as a subdivision of the image area into intra-coded blocks, which are indicated diagrammatically with diagonal lines, and into inter-coded blocks, which are indicated diagrammatically without diagonal lines. The subsegment may be a regular subdivision of the image area into columns and rows of rectangular or non-rectangular blocks, or some subdivision such as a multi-tree subdivision of the image 12 from a tree root block into a number of leaf blocks of varying size. A mixture thereof is shown in FIG. 12. In FIG. 12, the image area is first subdivided into columns and rows of tree root blocks, which are then further subdivided according to a recursive multi-tree subdivision into one or more leaf blocks.

[0023] Also, for intra-coded blocks 80, data stream 14 has an intra-coding mode coded therein, assigning one of several supported intra-coding modes to each intra-coded block 80. For inter-coded blocks 82, data stream 14 has one or more motion parameters coded therein. Generally speaking, inter-coded blocks 82 are not limited to being temporally coded. Instead, inter-coded blocks 82 may be blocks predicted from previously coded portions beyond the current picture 12 itself, such as previously coded pictures of the video to which picture 12 belongs, or pictures of another representation, or even hierarchically lower layers in the case of an encoder and decoder that are scalable encoders and decoders, respectively.

[0024] The predicted residual signal 24'''' in FIG. 12 is also shown as a sub-segment of the image area into blocks 84. These blocks are called transform blocks to distinguish them from the coded blocks 80, 82. In effect, FIG. 12 shows that the encoder 10 and the decoder 20 use two different subdivisions of the image 12 and the image 12' into blocks, respectively, one subdivision into coded blocks 80, 82 and another subdivision into transform blocks 84. Both subdivisions are the same, i.e., each coded block 80, 82 simultaneously forms a transform block 84. However, FIG. 12 shows the case, for example, where the subdivision into transform blocks 84 forms an extension of the subdivision into coded blocks 80, 82. Thus, any boundary between two blocks 80, 82 overlaps the boundary between two blocks 84. Instead, each block 80, 82 corresponds either to one of the transform blocks or to a group of transform blocks 84. However, the subdivisions may also be determined or selected independently of each other, such that the transformation block 84 instead crosses the block boundary between the blocks 80, 82. As far as the subdivision into transformation blocks 84 is concerned, similar statements apply as those made for the subdivision into blocks 80, 82, i.e., block 84 is the result of a regular subdivision of the image area into blocks (with or without arrangement into columns and rows), or the result of a recursive multi-tree subdivision of the image area, or a combination thereof, or any other kind of blocks. As an aside, it is noted that the blocks 80, 82, 84 are not limited to being quadratic, rectangular or any other shape.

[0025] 12 further illustrates 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 one or more prediction signals 26 may be combined with the prediction residual signal 24'''' to result in the image 12', according to alternative embodiments.

[0026] In Fig. 12, the transform blocks 84 have the following meaning. The transformer 28 and the inverse transformer 54 perform their transforms in units of these transform blocks 84. For example, many encoders use some kind of DST or DCT for all transform blocks 84. Some encoders allow for omitting the transform for some of the transform blocks 84, so that the predicted 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 in such a way that they support several transforms. For example, the transforms supported by the encoder 10 and the decoder 20 include:

[0027] o DCT-II (or DCT-III), where DCT stands for Discrete Cosine Transform. o DST-IV, where DST stands for discrete sine transform. DCT-IV DST-VII Identity transformation (IT)

[0028] Of course, while the transformer 28 supports all of the pre-transformed versions of these transforms, the decoder 20 or inverse transformer 54 supports the corresponding recursive or inverse versions thereof.

[0029] Inverse DCT-II (or inverse DCT-III) Reverse DST-IV 〇 Inverse DCT-IV Reverse DST-VII Identity transformation (IT)

[0030] The following description provides more details on which transforms are supported by the encoder 10 and the decoder 20. In any event, it should be noted that the set of supported transforms simply includes one transform, such as one spectral-to-spatial transform or a spatial-to-spectral transform.

[0031] As already outlined above, Figs. 10 to 12 show, by way of example, that the inventive concepts further described below are implemented to form concrete examples for an encoder and a decoder according to the present application. So far, the encoder and decoder of Figs. 10 and 11 respectively represent possible implementations of the encoder and decoder described herein below. However, Figs. 10 and 11 are only examples. The encoder according to the embodiment of the present application performs a block-based coding of the image 12, different from the encoder of Fig. 10, using the concepts outlined in more detail below. For example, it is a still image encoder, not a video encoder. It does not support inter prediction. Alternatively, the subdivision into blocks 80 is performed in a different way than illustrated in Fig. 12. Similarly, the decoder according to the embodiment of the present application performs a block-based decoding of the image 12' from the data stream 14, using the coding concepts further outlined below. Unlike the encoder of Fig. 10, it performs a block-based coding of the image 12, different from the decoder 20 of Fig. 11, using the coding concepts outlined in more detail below. For example, it is a still image decoder, not a video decoder. It does not support intra prediction, or it subsegments the image 12' into blocks in a different way than described with respect to Figure 12, and / or it derives prediction residuals, for example, from the data stream 14 in the spatial domain rather than the transform domain.

[0032] Image partitioning by slices will now be briefly explained.

[0033] Starting with the H.263 standard, sequences of data representing adjacent blocks in a particular scan order are organized into groups called slices. In general, dependencies between the CTUs of different slices of an image, for example with respect to prediction and entropy coding, are prohibited. Thus, each slice in an image is reconstructed independently.

[0034] Figure 13 shows image segmentation by slices in raster scan order. The size of a slice is determined by the number of CTUs (coding tree units) and the size of each coded CTU that belongs to the slice shown in Figure 13. Figure 13 includes 50 CTUs, e.g., CTU221, CTU224 and CTU251.

[0035] Image partitioning with tiles will now be briefly described with reference to Figure 14. Figure 14 includes 50 CTUs, for example CTU223, CTU227, and CTU241.

[0036] Tiles is a concept introduced in HEVC, although the concept is quite similar to Flexible Macroblock Ordering (FMO) added to H.264 / AVC. The tile concept allows to segment an image into several rectangular regions.

[0037] Thus, a tile is the result of segmenting the original image into a given number of columns and rows, with a specified height and width, respectively, as shown in Figure 14. As a result, tiles in an HEVC bitstream are required to have a common boundary that forms a regular grid.

[0038] In the following, a general video encoder according to an embodiment is illustrated in Fig. 13. A general video decoder according to an embodiment is illustrated in Fig. 2. And a general system according to an embodiment is illustrated in Fig. 3.

[0039] FIG. 1 shows a generic video encoder 101 according to an embodiment.

[0040] The video encoder 101 is configured to encode a plurality of images of a video by generating an encoded video signal, each of the plurality of images including original image data.

[0041] The video encoder 101 includes a data encoder 110 configured to generate an encoded video signal including encoded image data. The data encoder is configured to encode a plurality of images of a video into the encoded image data.

[0042] Additionally, the video encoder 101 includes an output interface 120 configured to output the encoded image data for each of the multiple images.

[0043] FIG. 2 shows a generic video decoder 151 according to an embodiment.

[0044] Video decoder 151 is configured to decode the encoded video signal, which includes encoded image data, to reconstruct a plurality of images of the video.

[0045] The video decoder 151 includes an input interface 160 configured to receive an encoded video signal.

[0046] Additionally, the video decoder includes a data decoder 170 configured to reconstruct a plurality of images of the video by decoding the encoded image data.

[0047] FIG. 3 shows a general system according to an embodiment.

[0048] The system includes a video encoder 101 of FIG. 1 and a video decoder 151 of FIG.

[0049] The video encoder 101 is configured to generate an encoded video signal. The video decoder 151 is configured to decode the encoded video signal to reconstruct images of the video.

[0050] The first aspect of the invention is claimed in claims 1 to 5, in claims 45 to 49 and in claims 89 to 93.

[0051] A second aspect of the invention is claimed in claims 6 to 13, in claims 50 to 57 and in claims 94 to 98.

[0052] A third aspect of the invention is claimed in claims 14 to 18, in claims 58 to 62 and in claims 99 to 103.

[0053] A fourth aspect of the invention is claimed in claims 19 to 22, in claims 63 to 66 and in claims 104 to 108.

[0054] A fifth aspect of the invention is claimed in claims 24 to 27, in claims 68 to 71 and in claims 109 to 113.

[0055] A sixth aspect of the invention is claimed in claims 28 to 32, in claims 72 to 76 and in claims 114 to 118.

[0056] A seventh aspect of the invention is claimed in claims 33 and 34, in claims 77 and 78 and in claims 119 to 123.

[0057] An eighth aspect of the invention is claimed in claims 35 to 38, in claims 79 to 82 and in claims 124 to 128.

[0058] A ninth aspect of the invention is claimed in claims 40 to 44, in claims 84 to 88 and in claims 129 to 133.

[0059] Claims 23, 39, 67 and 83, for example, claim specific examples that are used for different aspects of the invention.

[0060] In the following, details of the complexity handling for flexibly sized image partitions are described according to an embodiment.

[0061] Tiles are defined in HEVC as a sub-segment structure for a picture. They are defined in the Picture Parameter Set (PPS), where their dimensions are given. Tiles, as just defined, have a size that is a multiple of a CTU (typically 64 samples). Only the last tiles of a picture, i.e. tiles at the right or bottom border, are allowed to have their CTU at the right and bottom picture borders less than 64.

[0062] However, such a restriction prevents a few use cases.

[0063] Merging MCTS Bitstreams: Bitstreams that are merged together in a single bitstream need to be multiples of the size chosen for the CTU, so that the original picture boundaries are not picture boundaries in the merged bitstream.

[0064] Proper load balancing, where tiles are scaled to fit the content, but not necessarily at multiples of a predefined size (CTU size).

[0065] Furthermore, current video coding standards developed by JVET-Versatile Video Coding allow larger values ​​of CTUs (up to 128), which makes it even more important to allow tiles that are not multiples of a CTU. Although it is possible to define partial CTUs based on whether the required functionality is necessary, this affects the coding efficiency for such cases. Nevertheless, it is desirable to allow the rightmost CTU and the bottom boundary CTU of the tile to be less than the full number of CTUs of a determined size.

[0066] However, when such functionality is allowed, different aspects affect the decoding process.

[0067] In the following, controlling the complexity of partial CTUs within an image is described.

[0068] In particular, the first aspect of the invention will now be described in detail.

[0069] Currently, all CTUs are the same size. The processor is optimal for decoding configurations of a predetermined size. Variable sizes allow, but impose an increased complexity for the decoder. In particular, the number of CTUs can vary from image to image.

[0070] A first aspect of the present invention is that when such variable sized CTUs are allowed within each tile, constraints need to be met to keep the number of variable sized CTUs constant from image to image.

[0071] In the first aspect, restrictions always apply.

[0072] FIG. 4 shows a CTU that has been affected by replacing it with a partial CTU that creates a tile boundary.

[0073] If the size of the tiles is not a multiple of the size of the predefined CTU, then variable sized CTUs smaller than the size of the predefined CTU are introduced. As shown in Figure 4, having the same number of such variable sized CTUs in each of the images is a requirement of bitstream consistency.

[0074] Furthermore, this property is signaled to the decoder using a flag in the parameter set indicating num_partial_ctus_constant_flag.

[0075] The second aspect of the invention will now be described in detail.

[0076] The second aspect distinguishes partial CTUs that generate tile boundaries from regular tile boundaries in their complexity impact. When the decoder checks the level limit for the maximum amount of decoded pels per time unit, it adds a complexity factor for the partial CTU. For example, if a variable sized CTU is not limited in size by a tile boundary, the partial CTU is counted at 1.5 times its actual size or the number of pels of a predefined CTU size. This means that the image size limit is affected by the presence of partial CTUs. For example, if all CTUs are the same size, the image limit for the decoder is 4096x2160 at 50 frames per second. However, if all 5x4 tiles defined have partial CTUs at the right and bottom boundaries, i.e. 20 partial CTUs, the limit is 4056x2128 at the same frame rate.

[0077] 5 shows luma samples per image compensation from a partial CTU. In particular, a complexity-adapted image area is shown in FIG.

[0078] Furthermore, a lower limit on the size of the variable sized CTU is imposed to account for granularity by storing the reference image motion vectors or displacement information with a granularity of, for example, 16x16 samples in the coding process, as opposed to arbitrarily allowing small variable CTUs with sizes between one sample and the predetermined CTU size in any direction. Variable sized CTUs are not allowed to be smaller than a predetermined minimum CTU size, which may be dictated or derived from the motion vector storage granularity, for example, so that no two CTUs are within the same motion vector storage unit.

[0079] The third aspect of the invention will now be described in detail.

[0080] In such another independent third aspect, the presence of partial CTUs is taken into account for tile complexity signaling. For example, HEVC includes a parameter min_spatial_segmentation_idc in the VUI that describes the complexity of the spatial segment that contains the tile. Currently, when applied to a tile, it implies that "no tile in the CVS (coded video sequence) contains more than (4*PicSizeInSamplesY) / (min_spatial_segmentation_idc+4) luma samples." Furthermore, as part of this invention, the complexity signaling is limited for a tile to contain no more than a given number of partial CTUs, subject to the maximum tile size and / or the relationship between the size of the default CTU and the size of the partial CTU. Instead, an additional parameter is signaled in the VUI that indicates the relative amount of partial CTUs allowed in a picture.

[0081] In the following, embodiments illustrate that the CTU boundaries can vary from image to image.

[0082] In particular, the fourth aspect of the invention will now be described in detail.

[0083] If tiles have their right / bottom boundaries that end at a smaller grain than the predefined CTU size, and a subsequent tile starts with a CTU of the predefined size, alignment of CTUs across images cannot be achieved when the tile setup changes from image to image, which is detrimental for some predictive coding, such as using temporal motion vector prediction. Memory management is more difficult, and it is desirable to limit the flexibility of misaligning the boundaries of the resulting CTUs from image to image.

[0084] The fourth aspect should enforce that any tile boundary that generates a partial CTU can only be moved to a position that generates a partial CTU with the same split ratio in a different image in the same video sequence. This allows to have aligned CTUs in areas that were not covered by the range from the initial last CTU position and the modified last CTU position, as shown in FIG.

[0085] FIG. 6 shows the CTU grid alignment mismatch.

[0086] The fifth aspect of the invention will now be described in detail.

[0087] In a fifth aspect, a constraint is applied for the rate at which a grid mismatch occurs between pictures with changing sub-tile boundaries, as shown in Figure 7. This constraint is either defined in the default method for a given profile / level, or indicated as a syntax element in the bitstream, e.g., num_misaligned_ctus_per_picture. Figure 7 shows the percentage of CTUs affected by grid mismatch.

[0088] Alternatively, the constraints described herein, in which the number of partial (border) CTUs remains constant in the same ratio, may be implemented as a simple constraint directive, such as misalignment_constant_flag, or achieved in a less flexible manner, where the constraints need to be fulfilled while the tile boundary directive remains flexible.

[0089] The sixth aspect of the invention will now be described in detail.

[0090] In the sixth aspect, misalignment of CTUs is completely avoided.Two sets of tile boundaries are defined: The first set of tile boundaries corresponds to conventional tile boundaries. ·Entropy coding reset -Intra prediction limit · Scan order conversion And, further, the first set of tiles allows for the generation of partial CTUs at the right and bottom tile boundaries.

[0091] The second set of tile boundaries only generates partial CTUs at right and / or bottom tile boundaries, i.e., to the left and / or above the tile boundaries, and does not imply an entropy coding reset or intra prediction or scan order conversion. Thus, the location of the partial CTUs within the image can remain static (and is forced) while the actual tile configuration is allowed to switch over time.

[0092] Figure 8 shows two sets of tile boundaries. Tile boundaries that change position in the CVS are not allowed to generate new partial tiles. Figure 8 shows the invention based on two images at different time instants, where a first set of tile boundaries changes position from time instant T-1 to time instant T, and a new second set of tile boundaries is introduced to maintain the position of the partial CTU at time instant T similar to time instant T-1, even if changes occur in scan order and entropy coding and intra prediction.

[0093] The seventh aspect of the invention will now be described in detail.

[0094] In another separate embodiment, the problem is addressed with the introduction of partial CTUs to reduce the impact of complexity on line buffer requirements.

[0095] FIG. 9 shows a sequence of partial CTUs in the current image followed by corresponding CTUs in the reference image.

[0096] As shown in FIG. 9, a horizontal row of partial CTUs in one image without a row of partial CTUs leads to a misalignment of the CTU grid with respect to the reference image. A single row (the current CTU row) accesses the CUs (CU = coding unit) of two CTU rows for tools such as ATMVP (alternative time motion vector prediction). Since aligned CTU rows are often cached in a cost-intensive high-speed memory in a hardware implementation (referred to as a line buffer), it is not desirable to keep a large number of CTU rows in this cache. Therefore, in order to maintain the alignment of CTU rows across the image in the presence of partial CTUs generating tile boundaries, another constraint is that the horizontal tile boundaries generating partial CTUs above them are not allowed to change during the coded video sequence and are therefore static.

[0097] In the following, predictor derivation from ordered CTUs according to an embodiment is described.

[0098] In particular, the eighth aspect of the invention will now be described in detail.

[0099] TMVP (Temporal Motion Vector Prediction) and ATMVP derivations currently depend on a predefined CTU size, i.e., they use a fixed CTU grid over the image.

[0100] Regarding TMVP, If yCb>>CtbLog2SizeY is equal to yColBr>>CtbLog2SizeY, then yColBr is less than pic_height_in_luma_samples and xColBr is less than pic_width_in_luma_samples. (That is, if the bottom right CB of the reference image is in the same CTU row, it will be cached in the line buffer memory later.)

[0101] Then the right-bottom aligned predictor is taken, otherwise (if the right-bottom CB of the reference image is NOT in the same CTU row, then it is NOT in the line buffer later), the center aligned predictor is taken.

[0102] For ATMVP, the position (xColSb, yColSb) of the subblocks aligned inside ColPic is derived as follows: xColSb=Clip3(xCtb, Min(CurPicWidthInSamplesY-1, xCtb+(1<<CtbLog2SizeY)+3)、xSb+(tempMv[0]> >4)) yColSb=Clip3(yCtb, Min(CurPicHeightInSamplesY-1, yCtb+(1<<CtbLog2SizeY)-1)、ySb+(tempMv[1]> >4))

[0103] That is, the coordinates of the aligned sub-blocks are clipped in each dimension to lie inside the columns of the same CTU. The same line buffer considerations apply.

[0104] Both TMVP and ATMVP use a predefined CTU size CtbLog2SizeY that divides all samples of a coded image into coded blocks for the derivation of aligned blocks and sub-blocks.

[0105] Due to the tile boundaries allowed for generating partial CTUs, the CTU grid is not constant but varies from image to image, generating a varying number of overlaps between rows of CTUs as shown in Figure 9. In this part of the invention, the CTU grid of the current image is imposed on the frame of reference to organize buffer management and predictor access. That is, the dimension or size of the current local partial CTU is applied to select the referenced area in the (aligned) reference image to be used (as opposed to a constant maximum CTU size across the image).

[0106] For TMVP, one embodiment of the invention is as follows.

[0107] yTileStart and xTileStart correspond to the top left sample position of a given tile which drives the current coded block, while yCbInTile and xCbInTile correspond to the tile start and the sample position of the associated current coded block corresponding to the aligned block.

[0108] (differences are highlighted in bold type): yCbInTile=yCb-yTileStart yColBrInTile=yColBr-yTileStart CtbLog2HeightY(y) describes the row height of each CTU. If yCbInTile>>CtbLog2HeightY(yCbInTile) is equal to yColBrInTile>>CtbLog2HeightY(yCbInTile), then yColBr is less than pic_height_in_luma_samples and xColBr is less than pic_width_in_luma_samples.

[0109] Then the bottom right aligned predictor is taken, otherwise the center aligned predictor is taken.

[0110] For ATMVP, an embodiment of the adjusted clip operation format is as follows. The position (xColSb, yColSb) of the subblocks arranged inside ColPic is derived as follows: xColSb=Clip3(xCtb, Min(CurPicWidthInSamplesY-1, xCtb+(1<<CtbLog2WidthY(xCtb))+3)、xSb+(tempMv[0]> >4)) yColSb=Clip3(yCtb, Min(CurPicHeightInSamplesY-1, yCtb+(1< <CtbLog2HeightY(yCtb))-1)、 ySb+(tempMv[1]>>4))

[0111] In the following, the sub-image aspect coding tool restriction indications are described.

[0112] In particular, the ninth aspect of the invention will now be described in detail.

[0113] In previous video coding standards, sub-image (eg slice or tile) aspect coding restrictions are distinguished as follows: I_SLICE - Intra coding (usually random access points) does not use reference to other pictures. P_SLICE - Predictive coding. Use one image from one reference image list for motion compensated prediction. B_SLICE - Bi-predictive coding with two reference picture lists. Allows combining motion compensated prediction from pictures in both lists.

[0114] The terms slice or tile in this context are interchangeable, i.e., a group of contiguous CTUs in the bitstream belong to a single coded image and are coded entropy together.

[0115] This difference allows for two things: - controlling the deconvolution and decoding process of the components of each sub-image immediately above from the deconvolution of the components of the slice or tile header; and -Profiling based on computationally complex types, for example B_SLICES, by disallowing the use of such types.

[0116] The type indication can also be interpreted as a bag of restrictions associated with each type, for example, the I_SLICE type, which is the most restrictive type, and the P_SLICE type, which relaxes the restriction to include inter-prediction using one reference picture, and the B_SLICE type, which relaxes another restriction to include references from both temporally preceding and following pictures by allowing a bitstream order of the pictures different from the presentation order.

[0117] The following problems arise: -I_SLICE types also include "Current Picture Reference", which are P_SLICE types such as "motion" compensated or translation compensated blocks based on prediction using the current coded picture as a reference. -P_SLICE is not used often anymore and is mostly replaced by B_SLICE in applications. -Inter prediction goes beyond the use of two reference frames.

[0118] Current picture referencing imposes additional complexity on the decoding process compared to conventional intra prediction, as seen above. Conventionally, intra prediction relies only on sample values ​​in the current picture immediately adjacent to the currently predicted block, e.g. samples of direct neighbors, or in so-called multi-reference line prediction, a small number (e.g. three) of direct neighbor samples, to generate sample values ​​of the predicted block, e.g. through interpolation. Current picture referencing, on the other hand, relies on a mechanism only previously used in inter prediction between frames of a video sequence, where sample values ​​of a reference block are copied to the position of the current block. The amount of samples accessed to generate a predictor in this technique is much higher than in regular intra prediction. Therefore, not only are the predictor samples derived from much fewer compared accessed samples, but the search on the encoder side to derive suitable motion vectors or replacement information is much higher. Furthermore, the reference picture needs to be updated along the decoding process of the current picture, to bring about the availability of a larger area, i.e. reconstructed area, on top of the current picture for reference.

[0119] In one embodiment of the invention, instead of using the above type distinctions, the actual imposed tool limitations are signaled in the (tile) header.

[0120] 1) A flag is used to indicate whether the use of a reference image other than the current image is used (intra / inter switch).

[0121] 2) A flag is used to indicate the use of referencing of the current picture (inter prediction using the current coded picture). This is signaled subject to the intra / inter selection.

[0122] 3) A syntax element is signaled to indicate the number of reference picture lists used in the prediction process. In the case where only the current picture referencing is used, this syntax element is presumed to be equal to 1. In other cases, a value of 1 applies to what was previously a P_SLICE type, while a value of 2 applies to what was previously a B_SLICE type. Additional values ​​are used, for example, to indicate multi-hypothesis prediction. An example syntax is shown in Table 1.

[0123] [Table 1]

[0124] current_picture_only_reference_flag equal to 1 indicates that it is only allowed to use the current picture as a reference. This is similar to the conventional I_SLICE type.

[0125] current_picture_inter_reference_flag equal to 1 indicates that the current picture is available for inter prediction ("make current picture reference" or "intra block copy" tool).

[0126] num_ref_pic_lists_active indicates the number of active reference picture lists. If current_picture_only_reference_flag is equal to 1, If current_picture_inter_reference_flag is equal to 0, num_ref_pic_lists_active is active to 0 (and is excluded from the bitstream). If current_picture_only_reference_flag is equal to 0, num_ref_pic_lists_active equal to 1 indicates a tile type similar to P_SLICE, num_ref_pic_lists_active equal to 2 indicates a tile type similar to B_SLICE, A num_ref_pic_lists_active greater than 2 is used to indicate the use of more reference picture lists, eg, for multi-hypothesis inter prediction.

[0127] 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. A block or device corresponds to a method step or a function of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or function of a corresponding apparatus. Some or all of the method steps may 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 significant method steps are performed by such an apparatus.

[0128] Depending on specific implementation requirements, embodiments of the invention can be implemented in hardware or in software or at least partially in hardware or at least partially in software. The implementation can be carried out using a digital storage medium, such as a floppy disk, DVD, Blu-ray, CD, ROM, PROM, EPRROM, EEPROM or flash memory, having electronically readable control signals stored thereon, in cooperation (or capable of cooperating) with a programmable computer system such that the respective methods are performed. The digital storage medium is thus computer readable.

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

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

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

[0132] A method embodiment of the invention 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.

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

[0134] A further embodiment of the inventive method is, therefore, a data stream or sequence of signals representing the computer program for performing one of the methods described herein, the data stream or sequence of signals being adapted to be transmitted via a data communication connection, e.g. via the Internet.

[0135] Another 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.

[0136] Another embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.

[0137] Another embodiment according to the invention includes 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, or the like. The apparatus or system may, for example, include a file server for transferring the computer program to the receiver.

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

[0139] 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.

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

[0141] The above described embodiments are merely illustrative of the principles of the invention. It is understood that modifications and variations of the arrangements and details described herein will be apparent to others skilled in the art. It is therefore the intention to be limited only by the scope of the impending patent claims, and not by the specific details provided in the manner of description and illustration of the embodiments herein.

Claims

[Claim 1] A video encoder (101) for encoding a plurality of images of a video by generating an encoded video signal, each of the plurality of images comprising original image data; The video encoder (101) a data encoder (110) configured to generate the encoded video signal including encoded image data, the data encoder configured to encode the plurality of images of the video into the encoded image data; an output interface (120) configured to output the encoded image data for each of the plurality of images; for each image of the plurality of images, the data encoder (110) is configured to partition the image into a plurality of tiles comprising a plurality of coding tree units of the image, each coding tree unit of the plurality of coding tree units comprising a plurality of samples of the image; for each image of the plurality of images, each coding tree unit of the plurality of coding tree units of the image is either a partial unit or a complete unit, the coding tree unit being the partial unit if a number of samples of the coding tree unit is less than a predetermined number of samples, and the coding tree unit being the complete unit if the number of samples of the coding tree unit is not less than the predetermined number of samples; the data encoder (110) is configured to partition each of the plurality of images such that each image of the plurality of images includes a same first number of sub-units among the plurality of coding tree units of the image; and wherein, for each image of the plurality of images, the data encoder is configured to encode the original image data of each of the plurality of tiles of the image independently of original image data of any other of the plurality of tiles of the image.

Citation Information

Patent Citations

  • Intra block copy for intra slices in high efficiency video coding (HEVC)

    US20150139296A1