Video codec allowing random access per sub-picture or region and video synthesis concept using same

By introducing random access point signaling granularity indication, the video synthesis and progressive decoding refresh process in the video codec is optimized, solving the problem of low sub-picture coding efficiency in the existing technology, and achieving more efficient video synthesis and decoding. performance.

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

Patent Information

Application Number
CN202410934601.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-02-01
Filing Date
2020-01-31
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing video coding technology has inefficiency problems in the video synthesis and progressive decoding refresh process. In particular, the marking and coding of random access points of sub-pictures are not clear enough, resulting in unclear reference changes across sub-bit streams, affecting video encoding and decoding. performance of the device.

Method used

Introducing random access point signaling granularity indication, allowing video codecs to spatially vary the granularity of sub-picture related information in the video data stream, thereby alleviating the dependence of sub-picture encoding and optimizing through random access point signaling granularity indication Video synthesis and progressive decoding refresh process.

Benefits of technology

It improves the efficiency of video synthesis and progressive decoding refresh, reduces the complexity of the video codec in the synthesis and decoding process, allows more flexible sub-picture encoding and decoding operations, and improves the overall performance of the video codec.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714302A
    Figure CN118714302A
Patent Text Reader

Abstract

Video codecs and video synthesis concepts using the video codecs that allow random access per sub-picture or region are described. A method for decoding a picture from a data stream includes, for a picture, decoding from the data stream a flag indicating whether an NAL unit type changes between at least two sub-pictures of the picture; when the flag is a first value, determining that the NAL unit type is the same for all sub-pictures of the picture; and decoding a first NAL unit type of a first sub-picture of the picture and a second NAL unit type of a second sub-picture of the picture when the flag is a second value different from the first value, where the first NAL unit type is different from the second NAL unit type. Corresponding decoders, computer readable storage media, encoding methods and encoders, and corresponding computer readable storage media, are also described.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of an application with an application date of January 31, 2020, an international application number of PCT / EP2020 / 052451, a Chinese application number of "202080018664.4", and an invention name of "Video codec allowing random access by sub-picture or area and video synthesis concept using the video codec". Technical Field

[0002] The present application relates to video coding and video synthesis. Background Art

[0003] Various applications make use of sub-pictures, i.e., subdividing a video picture into sub-pictures for separate encoding and decoding. Among these applications are 360° video and progressive decoding refresh.

[0004] In the case of 360° video, Figure 1 As shown on the left side of FIG, sub-pictures (tiles in the case of HEVC) are provided separately at different resolutions. Figure 1 As shown in the middle of , users select some high-resolution tiles and some low-resolution tiles based on their viewing direction, and as Fig.10 As shown on the right side of , they are merged into a common bitstream. Whenever the user changes their viewing direction, the set of high-resolution and low-resolution tiles changes. However, not all high-resolution tiles are converted to low-resolution tiles and vice versa. This means that only for the subset of tiles that change their resolution, a switching point is required, which is usually a random access point (RAP) for that specific sub-picture bitstream.

[0005] Progressive Decoding Refresh (GDR) is a mechanism that starts decoding a bitstream at a non-RAP and is able to display the video after decoding a given number of pictures with the same quality as if the decoding process had started at the RAP, e.g. Fig.11 shown.

[0006] For example, in Fig.11 In the video 902, four consecutive non-RAP pictures (consecutive in coding order 900) are shown as being equally subdivided into three tile groups tile_group0, tile_group1 and tile_group2, i.e., subdivided into regions of the corresponding pictures. The pictures of the video 902 are represented by reference numerals 904a to 904d, and the regions into which they are subdivided are represented using reference numeral 906. Each region 906 is indicated as being encoded in an independent manner, i.e., in a manner forming a random access point (i.e., by writing "IRAP" therein), or is not encoded in an independent manner, i.e., is indicated as being encoded in a manner referring to other pictures (by writing "inter" therein). Fig.11In none of the four pictures 904a to 904d shown, all regions 906 are encoded as random access points. Fig.11 In the example of , only one of its areas is a random access point, but Fig.11 In the example of , the random access point areas of three consecutive pictures (e.g., pictures 904a to 904c) spatially completely cover the picture areas of the pictures of video 902, so that after this triple picture, the last picture of this triple picture (here picture 904c) can be obtained at the decoder without artifacts, provided that the encoder pays attention to the non-RAP area of ​​this picture 904c only refers to (e.g., for prediction and / or entropy context derivation, that is, in terms of coding interdependency) the RAP area or the non-RAP area that itself directly or indirectly has coding dependency only on the RAP area. That is, when decoding starts with RAP, a clean decoded picture is not obtained immediately, but later, after the decoded pictures have been gradually refreshed to eliminate the artifacts of lost reference. Here, it is picture 904c. Generally, GDR can be achieved by dividing the content into regions (e.g., tiles) and encoding it with non-aligned sub-picture RAPs.

[0007] As a result of either of the two cases mentioned, the references across different sub-bitstreams may vary. RAP marking is also not done cleanly for different sub-pictures, since such sub-pictures are only signaled as I_SLICE type (no prediction on previously decoded pictures is applied), and discontinuing prediction for consecutive sub-pictures of the same sub-picture bitstream is done only by not including the sub-picture preceding the picture with I_SLICE type in the reference picture list.

[0008] Despite the above-described existing video coding concepts, there remains a need for a video coding environment that allows, for example, more efficient video synthesis and / or more efficient implementation of progressive decoding refresh.

[0009] It is therefore an object of the invention to provide a video codec that allows a more efficient video compositing / merging and / or a more efficient implementation of progressive decoding refresh and / or a more efficient concept of video compositing / merging, e.g. in terms of the complexity of the compositing / merging task. Summary of the invention

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

[0011] The first aspect of the present application aims to make the implementation of video synthesis / merging and / or progressive decoding refresh in a video codec more efficient by introducing a random access point signaling granularity indication, which indicates to the video decoder the granularity at which sub-picture related information is allowed to vary spatially within the picture of the video. The sub-picture related information identifies the corresponding sub-picture as being encoded in a random access point manner or not encoded in a random access point manner. That is, if the first granularity is presented in the random access point signaling granularity indication transmitted separately from the sub-picture related information or in addition to the sub-picture related information in the data stream, this indicates that for each picture in a set of one or more pictures forming the range of the random access point signaling granularity indication, the sub-picture related information presents a common state for all sub-pictures of the corresponding picture. That is, all sub-pictures then present either a first state or a second state, the first state being the random access point encoding of the associated sub-picture transmitted by the signal, and the second state being the non-random access point encoding of the associated sub-picture transmitted by the signal. However, if the random access point signaling granularity indicates the presence of a second granularity, this indicates that for each picture in a set of one or more pictures, sub-picture related information is allowed to present different states for the sub-pictures of the corresponding picture. Due to the introduction of such a random access point signaling granularity indication, the task of synthesizing a data stream in which a video is encoded in a manner in which its pictures are subdivided into sub-pictures is alleviated in terms of the requirements for a collection of one or more input video streams (sometimes referred to as sub-streams in this document, in which sub-pictures are encoded). Specifically, these input video streams do not need to be encoded in a mutually dependent manner, wherein if a sub-picture in one sub-stream is RAP-encoded, the temporally aligned sub-pictures of other sub-streams are also encoded in a RAP manner. If some sub-streams are encoded in a common input video stream, these sub-streams can be encoded in the following general manner: wherein each picture of the corresponding input video data stream is encoded in such a manner that all sub-pictures of the corresponding picture have sub-picture related information associated therewith in the input video data stream, and the sub-picture related information is either in a first state for all sub-pictures of the corresponding picture, or in a second state for all sub-pictures of the corresponding picture. However, temporally aligned sub-pictures in other sub-streams may not be encoded in a RAP manner. When synthesizing a video data stream including random access point signaling granularity indications, the synthesizer / combiner freely synthesizes the pictures of the encoded video into a synthesized data stream in such a way that the pictures are subdivided into sub-pictures, whose sub-picture related information has been adopted or taken from the corresponding input video data stream, even though at least one is a RAP and at least another is not. Therefore, there is no need to introduce one or more new states for sub-picture related information for each sub-picture present in the synthesized data stream. In other words, the sub-picture related information can simply be taken from the corresponding reservoir of one or more input video data streams.

[0012] A sub-picture may be a tile or a tile group, i.e., a sub-picture may be encoded independently of other sub-pictures of the same picture. Alternatively, a sub-picture may be a tile or a tile group forming an MCTS (i.e., a motion constrained tile set), which means that the sub-picture may be encoded independently of other sub-pictures of spatially offset pictures, wherein, in this case, the picture may be subdivided into sub-pictures in a constant manner so that sub-pictures of different pictures are aligned or spatially aligned with spatially coincident sub-picture boundaries. Therefore, such a data stream including such a random access point signaling granularity indication will be able to signal sub-picture related information by using the same alphabet used in a reservoir of sub-streams that may have been encoded in a picture granularity system. For example, sub-picture related information may include integer-valued syntax elements that distinguish multiple types such as NAL unit types. Each sub-picture may be encoded in one or more NAL units, each NAL unit having, for example, such an integer-valued syntax element. Therefore, regardless of whether the random access point signaling granularity indication indicates the first granularity or the second granularity, a first subset of one or more NAL unit types among the multiple NAL unit types distinguished by the integer-valued syntax element will correspond to the first state of the sub-picture related information, and a second subset of one or more NAL unit types will correspond to its second state.

[0013] The random access point signaling granularity indication may be included in the SPS or VPS of the data stream, wherein the set of one or more pictures forming the scope of the random access point signaling granularity indication includes a sequence of pictures of the video or covers the entire video. Alternatively, the random access point signaling granularity indication may be transmitted in the data stream per access unit, wherein the set of one or more pictures forming the scope of the random access point signaling granularity indication includes only one picture.

[0014] A video decoder that is not capable of parsing the random access point signaling granularity indication may identify a data stream as a non-compliant data stream if, for any picture, the sub-picture related information presents different states for different sub-pictures of the picture. Other video decoders that are capable of parsing and decoding the random access point signaling granularity indication may adapt decoding behavior according to the indication: they may identify a data stream as a non-compliant data stream if the random access point signaling granularity indication presents a first granularity and, for any picture in a set of one or more pictures forming a range of the random access point signaling granularity indication, the sub-picture related information presents different states for different sub-pictures of the picture.

[0015] Additionally or alternatively, in case the random access point signaling granularity indicates the presence of a second granularity (i.e., sub-picture granularity), further functionality of the video decoder may be activated, which is discussed later with respect to other aspects of the present application, as these functionality may also be advantageously used to implement a more efficient video codec regardless of the juxtaposition of using sub-picture related information on the one hand and random access point signaling granularity indication on the other hand. That is, a decoder according to the following aspects may only operate in a sub-picture granularity hierarchy without signaling the use of this hierarchy.

[0016] According to a second aspect of the present application, the purpose is to make a video codec more flexible in its use of encoding with sub-pictures and, for example, in its use for representing a composite video. Its pictures are subdivided into sub-pictures. This purpose is achieved by presenting a video decoder in response to an evaluation of sub-picture related information transmitted for each sub-picture in a data stream. Specifically, according to the second aspect, a data stream in which such a video is encoded includes sub-picture related information for each sub-picture of each picture, and the sub-picture related information identifies the corresponding sub-picture as being encoded in a random access point manner when presenting a first state, and identifies the corresponding sub-picture as not being encoded in a random access point manner when presenting a second state. The video decoder checks the picture with respect to the sub-picture related information of its sub-pictures. If for any picture, the sub-picture related information presents a first state for all sub-pictures of the predetermined picture (i.e., all its sub-pictures represent random access points), the video decoder clears () its decoded picture buffer. Similar to the first aspect, this concept allows a data stream to be synthesized from sub-streams actually generated for different video codec domains, where sub-pictures within a picture must be consistent in terms of sub-picture related information, i.e., all sub-pictures of a picture will have to present the same state. However, when synthesizing such a data stream, the state of the sub-picture related information of each sub-picture used for synthesizing the data stream can be simply adopted or taken from it. In addition, the video decoder is still able to identify the true random access point, because by identifying the picture in which the sub-picture related information presents the first state for all sub-pictures of the corresponding picture, the entire picture can be restored without artifacts. In combination with the first aspect, if the random access point signaling granularity indicates the presentation of the second granularity (i.e., the sub-picture granularity), the video decoder can apply the function of identifying the random access point picture, wherein the decoded picture buffer can be cleared in response to seeing that the sub-picture related information of these pictures presents the first state for all sub-pictures of the corresponding picture. In combination with the first aspect, such a video decoder can even change its scheduling when clearing the decoded picture buffer: in the case where the random access point signaling granularity indicates the presentation of the first granularity (i.e., at the picture granularity), the video decoder can respond to the sub-picture related information presenting the first state for the first sub-picture of a specific picture, and clear the decoded picture buffer according to the decoding / encoding order between the sub-pictures, because the sub-picture related information related to other sub-pictures needs to present the same state (i.e., the first state) anyway. In the case where the random access point signaling granularity indicates the presentation of a second granularity (i.e., sub-picture granularity), in response to a specific picture, the clearing of the decoded picture buffer presenting a first state for all sub-pictures of the predetermined picture by sub-picture related information can be scheduled to occur when decoding the last sub-picture of the picture.

[0017] The third and fourth aspects of the present application relate to decoder-side decoded picture buffer management. These aspects of the present application can be combined with any one of the first and second aspects and have similar purposes as outlined above for aspects 1 and 2. That is, the purpose of the third and fourth aspects of the present application is to provide a video codec that allows a composite data stream to be synthesized from sub-picture-related sub-streams, so that the synthesizer / merger does not need to coordinate or unify the reference picture buffer description that describes the reference picture set that should be retained in the DPB, and the reference picture buffer description is signaled in each sub-stream that contributes to the composite data stream, so that the composite data stream will immediately signal which pictures form the reference picture set of the current picture at the beginning of each picture, so that the decoder can remove all other pictures from the decoded picture buffer at the beginning of the current picture. To be precise, according to the third and fourth aspects, the video codec allows the data stream to signal a reference picture buffer description, which provides information about the reference picture set required for decoding the current picture or decoding at the next picture separately for each sub-picture of the current encoding / decoding picture, so that the reference picture buffer description can be different between sub-pictures of the current picture. For the current sub-picture of the current picture, this reference picture buffer description describes a picture containing a sub-picture used as a reference for the current sub-picture or a sub-picture of a subsequent picture, the sub-picture of the subsequent picture being associated with the current reference picture, for example, by a source associated with, for example, a sub-video. When encoded as a separate sub-video, the buffer description of the sub-picture actually indicates a reference picture containing sub-pictures belonging to the same sub-video and to be kept in the DPB, because these sub-pictures are used as references for the current sub-picture or subsequent sub-pictures of the sub-video. According to the third aspect of the present application, the decoder has the function of forming a union of the reference picture sets of the sub-pictures of the current picture that should be retained in the DPB according to the reference picture buffer description of the sub-picture, so as to mark those pictures in the decoded picture buffer to be retained therein, while removing other pictures from the decoded picture buffer, for example, removing them at the end of decoding the current picture. According to the fourth aspect of the present application, the decoder can perform the clearing of decoded pictures in units of sub-pictures rather than complete pictures. The marking and removal of sub-pictures are performed separately for each sub-picture. Even in other words, according to the fourth aspect, the decoded picture buffer is managed in units of one sub-picture decoded picture buffer for each sub-picture of the current decoded picture, and marking of sub-pictures that should be retained in the corresponding sub-picture decoded picture buffer and other sub-pictures that should be removed therefrom is performed based on the reference picture buffer description submitted in the data stream for the corresponding sub-picture of the current decoded picture.As already mentioned above, the latter third and fourth aspects can, for example, be combined with the first aspect, so that the decoder can, for example, have the functions just described with respect to the third and fourth aspects when the random access point signaling granularity indicates the presence of the second granularity, while managing / clearing the decoded picture buffer in units of pictures when the random access point signaling granularity indicates the presence of the first granularity (i.e., picture granularity). In this case, the decoder can be configured to perform clearing and marking of the decoded picture buffer based on the first encountered reference picture buffer description for the current decoded picture (i.e., based on the reference picture buffer description first signaled for the current picture).

[0018] The fifth aspect of the present application relates to POC processing. Similar to the third and fourth aspects, the purpose of the fifth aspect is to provide a video codec that allows a data stream to be composed of sub-streams that have been encoded separately, for example, using different random access point periods, picture groups, or even using different frame rates, so that sub-pictures that are aligned in time should contribute to a composite data stream, and in fact, these sub-pictures are signaled in various sub-streams as having different POC values. The fifth aspect of the present application can be combined with any previous aspect, and its purpose is to alleviate this synthesis / merging process by exempting the synthesizer / merger from having to coordinate the POC values ​​of sub-streams associated with different sub-pictures and having different sources. To be precise, the video codec allows the data stream to signal different POC values ​​of sub-pictures that actually belong to the same picture of the data stream, while the decoder is configured to derive the final POC value of the corresponding sub-picture for each sub-picture of the current decoding picture based on the decoded POC value of the sub-picture and one or more inter-sub-picture POC compensation parameters associated with the corresponding sub-picture and kept updated by the decoder, so that for each picture, the final POC values ​​of the sub-pictures are equal to each other (for each picture of the video). The one or more inter-sub-picture POC compensation parameters may compensate for differences in frame rates between contributing sub-streams, different sizes of picture groups, different POC minimum values, etc. The one or more inter-sub-picture POC compensation parameters may include POC offset values ​​and POC step size differences. Some parameters may be determined by the decoder itself based on the difference between the signaled POC value and the final POC value of at least one other sub-picture of the same picture that does not form a random access point, such as a POC offset value at a random access point sub-picture. In turn, hints about the POC step size differences may be transmitted in the data stream to guide the decoder and mitigate the determination of these POC step size differences. These hints may be inserted into the data stream by a synthesizer / combiner that may learn this knowledge based on high-level parameters in the contributing sub-streams.

[0019] The sixth aspect of the present application relates to a video codec that implements the idea of ​​progressive decoding refresh in such a way that the decoder is aware of the progressive decoding refresh not only in terms of the time point or the picture from which the progressive decoding refresh is completed, but also in terms of satisfying certain constraints on the prediction derivation based on the coding parameters transmitted in the data stream during the progressive decoding refresh. Specifically, according to the sixth aspect of the present application, the video decoder is configured to record the subdivision of the reference picture into a refresh picture area and a non-refresh picture area for each reference picture of the video. The decoder decodes information about the refresh update area within the current decoded picture from the data stream, and decodes the refresh update area from the data stream using inter-frame prediction. In addition, the decoder determines a first area of ​​the current decoded picture that is separated from the refresh update area and is to be encoded / decoded independently of the non-refresh picture area of ​​the reference picture, and derives a prediction of the first area from the reference picture in a manner dependent on the position of the refresh picture area of ​​the reference picture based on the coding parameters conveyed by the signal for the first area in the data stream, so that the prediction is independent of the non-refresh picture area of ​​the reference picture, and decodes the first area from the data stream. For example, the motion vector can be cropped to extend into the non-refresh picture area, and / or padding can be used to fill the portion of the motion compensated prediction block in the reference picture that exceeds the refresh picture area into the non-refresh picture area. Alternatively, the motion vector candidate list construction can exclude motion vectors originating from outside the refresh picture area. The decoder can handle the second area differently. The second area is separated from the first area and the refresh update area and can be decoded by a decoder including predictions from the refresh picture area and the non-refresh picture area. By this measure, the refresh picture area grows continuously from picture to picture. The decoder knows the growth because the decoder even has to track the growth of the refresh picture area and must perform the prediction derivation about the first area accordingly. Making the decoder aware of the progressive decoding refresh has several advantages: the decoder knows the current refresh situation, possible random access cycles, etc. Since the decoder may need to implement similar measures, for example, at the outer boundaries of the picture or the outer boundaries of the independently encoded picture tiles, there is almost no cost associated with the work associated with the prediction derivation and the necessity to present the derivation according to the position of the refresh picture area of ​​the reference picture. The encoder is thereby able to encode the coding parameters over a wider range of values ​​because the decoder redirects some signalable states of the coding parameters from predictions that would result in dependency on non-refreshed picture areas of reference pictures to predictions that only depend on refreshed picture areas. However, expanding the signalable states of the coding parameters may result in higher compression efficiency relative to the encoding of these coding parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Advantageous aspects of the present application are the subject of the dependent claims. Preferred embodiments of the present application are described below with reference to the accompanying drawings, in which:

[0021] Figure 1 A schematic diagram illustrating an environment for synthesizing a data stream based on several input substreams or merging substreams into a synthesized data stream, wherein a decoder decodes the synthesized data stream; a corresponding encoder for forming the substreams and the synthesizer / merger itself are also shown; reference is made to Figures 2 to 8 The described embodiments are used to illustrate advantageous functions and concepts that may be applied by a combiner / combiner and / or a decoder;

[0022] Figure 2 A schematic diagram illustrating a video codec concept that allows indicating whether sub-picture granularity or picture granularity is used for random access point signaling is shown;

[0023] Figure 3 shows a schematic flow chart illustrating possible functionality of a decoder for clearing its decoded picture buffer;

[0024] Figure 4 A schematic flow chart illustrating advantageous functionality of a decoder when performing a decoded picture buffer flush is shown;

[0025] Figure 5 A schematic diagram illustrating a decoder configured to perform flushing of a decoded picture buffer in units of sub-pictures is shown;

[0026] Figure 6 A schematic diagram illustrating possible measures for solving sub-picture reordering of sub-pictures belonging to consecutive sub-videos within a picture of a composite video data stream is shown;

[0027] Figure 7 A schematic diagram illustrating advantageous measures for a video decoder to process different POC fields for different sub-pictures of a video is shown;

[0028] Figure 8 FIG. 1 shows an explanation of POC offset compensation at a random access point sub-picture according to an embodiment. Figure 7 Schematic diagram of the concept;

[0029] Fig. 9 A schematic diagram illustrating an embodiment of an encoder and a decoder that allows efficient progressive decoding refresh is shown;

[0030] Fig.10 shows an example schematic diagram illustrating an example of 360° streaming, where a video data stream is composed of sub-streams of different MCTSs involving a panoramic scene; and

[0031] Fig.11 A schematic diagram illustrating progressive decoding refresh is shown. DETAILED DESCRIPTION

[0032] Reference Figure 1 , the task of synthesizing a data stream from a reservoir of substreams is explained. This is done in order to explain the problems associated therewith, namely the problems associated with the different sources of the substreams and the differences such as random access point positioning, related POC values, different GOP structures, etc. (to name just a few examples). These problems are then solved according to the embodiments described subsequently. These embodiments relate to different aspects of the present application and they can be combined with each other to form further embodiments, as will be further explained below. However, it should be noted that Figure 1 Some of the assumptions made in Figure 1 Some of the features explained and discussed may be omitted with respect to the embodiments described subsequently, while still achieving the advantages in terms of the aspects involved in the various embodiments. This situation will also be discussed below.

[0033] Figure 1 It is shown that the data stream 10 is generated by composing the data stream 10 based on a plurality of substreams 12 or a collection of substreams 12. The composing or merging process is performed by a composer / combiner 14. Specifically, the data stream 10 is generated in such a way that a video 16 having pictures 18 is encoded therein. Figure 1 The arrows 20 in FIG. 1 illustrate a presentation temporal order defined between pictures 18 of the video 16, i.e., the order in which the pictures 18 are output by the decoder 22 when the decoder 22 decodes the video 16 from the data stream 10. The pictures 18 are spatially subdivided into sub-pictures 24, such as Figure 1 , which thus represent the boundaries of sub-pictures. Specifically, the data stream 10 contains video 16 encoded in a manner that the sub-pictures 24 are encoded independently of one another. Encoding the sub-pictures independently into the data stream 10 and thus possibly decoding the sub-pictures 24 from the data stream 10 independently of one another involves at least encoding and decoding the sub-pictures within one picture 18, i.e., encoding and decoding the sub-pictures within the picture. For example, in Figure 1 In FIG. 1 , the screen 18 is shown to be subdivided into sub-screens 24, so that each screen 18 includes six sub-screens. Figure 1 These sub-pictures are enumerated in the data stream 10 by writing the corresponding numbers therein. Thus, for example, sub-picture 3 is encoded into the data stream 10 in a manner independent of any other sub-pictures of the same picture 18. Thus, sub-picture 3 (e.g., Figure 1 18) can be decoded by the decoder 22 from the data stream 10 independently of the other sub-pictures 1, 2, 4, 5 and 6 (i.e., a plurality of sub-pictures also shown as hatched) of the same picture 18. Figure 1Another feature of the data stream 10 is that the pictures 18 of the video 16 are spatially subdivided into sub-pictures 24 in a manner that is constant over the picture sequence. That is, when different pictures are compared, their boundaries 26 coincide spatially. In addition, juxtaposed or spatially aligned sub-pictures (i.e., Figure 1 The sub-pictures 24 with the same number written in the sub-picture 24 form a sub-video, because each sub-picture 24 is encoded not only independently of other sub-pictures of the same picture, but also independently of sub-pictures of other pictures that are spatially offset relative to the corresponding sub-picture (i.e., belonging to another sub-video or Figure 1 For example, in HEVC terms, Figure 1 Each sub-picture 24 of may be a MCTS. In the absence of the latter feature of coding independence or spatial offset sub-pictures even of different pictures of the video 16, using the terminology of HEVC, a sub-picture 24 may be, for example, one or more tiles.

[0034] Figure 1 10 . The individual sub-videos formed by spatially co-aligned sub-pictures 24 of the video 16 are shown again at 28. All of these sub-videos therefore consist of a sequence of sub-pictures 24. The encoder 30 encodes these sub-videos 28 independently into a plurality of sub-streams 32 or a collection of sub-streams 32. In practice, the sub-videos 28 may be processed in groups by the encoder 30. A group of sub-videos 28 may be encoded into one input data stream so that a video consisting of the group of sub-videos 28 encoded independently of one another is encoded therein, so that such an input video data stream consists of a sub-stream 32 for each sub-video 28. The sub-streams 32 are received by the synthesizer / combiner 14, which in turn synthesizes the data stream 10 based on the sub-streams 32. Depending on the application, in practice, only a subset of the sub-videos 28 or only a subset of the sub-streams 32 may contribute to the data stream 10, and in addition, the subset may change or vary between the pictures 18 of the video 16.

[0035] The purpose of this synthesis / merging task performed by the synthesizer / merger 14 is to perform the task in the coding domain. That is, the synthesizer / merger 14 avoids requantization of prediction residuals or re-performing motion compensation. For example, each sub-picture 24 of the sub-video 28 is encoded into one or more NAL units 34 of the corresponding sub-stream 32, and if the sub-picture 24 belongs to those NAL units of the video 16 that should contribute to the synthesized data stream 10, the synthesizer / merger 14 inserts the corresponding one or more NAL units into the data stream 10, as shown using the same figure mark (i.e., 34), but it has a prime to indicate that the synthesizer / merger 14 may have to adapt other coding parameters in these NAL units in addition to motion vector information or prediction residual data. According to the embodiment explained below, when forming the data stream 10 based on the sub-stream 32, the synthesizer / merger 14 has the opportunity to reduce the part of the sub-stream 32 that must be adapted. When the compositor / merger 14 aims at forming a corresponding parameter set 36 in the data stream 10, this also concerns the parameter set of the substream 32 or of the input video data stream to which the substream belongs.

[0036] You can refer to other Fig.10 To illustrate Figure 1 situation. Fig.10 The case where a collection of sub-videos 28 forms a sub-segment of a 360° video is shown. Fig.10 In the example of , the entire scene is subdivided into 24 sub-videos. Fig.10 In the example of , many sub-videos are provided: 24 sub-videos show the scene at high resolution and are encoded by the encoder 30 into two input video data streams 38a and 38b, once more efficiently using a larger RAP distance and another time, for example with respect to input video data stream 38b, using a lower RAP distance, resulting in less efficient compression. Similarly, two further input video data streams are provided, each of which also has a complete scene, wherein the 24 sub-videos are again encoded into one data stream 38c with a higher RAP distance and another data stream 38d with a lower RAP distance. The picture 16 of the composite video data stream is shown to show the complete scene. Specifically, each picture 16 consists of 12 mutually time-aligned sub-pictures of the sub-videos encoded into data streams 38a and 38b and 12 mutually time-aligned sub-pictures taken from data streams 38c and 38d and time-aligned with the high-resolution sub-pictures. That is, in Fig.10 The examples in this section assume that the viewport is 12 sprites or tiles wide. Fig.10In the middle, the hatched lines show the selection of sub-pictures 24 within the pictures 16 of the synthesized data stream, i.e., which pictures 16 contribute to the synthesized video at high resolution and which pictures 16 contribute to the synthesized video at low resolution. Additional selections can be made for different RAP distance versions. For each high-resolution sub-picture 24 and for each low-resolution sub-picture 24, for a specific picture time instance, one or more NAL units in data streams 38a and 38c are respectively encoded more efficiently using a higher RAP distance, and one or more NAL units in other data streams 38b and 38d are respectively encoded using a lower RAP distance. Preferably, the synthesized data stream 10 is synthesized using the NAL units of the more efficiently encoded data streams 38a and 38c. All data streams 38a to 38d can encode substreams 38 into them using synchronized random access points within each data stream 38a to 38d, respectively. That is, each picture of the video encoded in each data stream 38a to 38d is subdivided into 24 sub-pictures 24, and for each such picture, either all or none of the sub-pictures are encoded in a random access point manner into the corresponding input video data stream 38a to 38d.

[0037] The problem arises whenever the viewport changes. That is, the selection of contributing substreams that contribute to the composition / merging of data streams 10 changes. Figure 8 In the example of , there are 96 substreams available, but for a particular picture, only 24 substreams contribute to the composite data stream 10. For example, assume that the viewport changes two sub-pictures or tiles 24. Therefore, the four sub-pictures 24 of the picture 16 change their source sub-streams: the two sub-pictures of the four sub-pictures that originated from the high-resolution data stream 38a are now taken from one of the low-resolution data streams 38c and 38d, while the other two sub-pictures 24 that originated from the low-resolution data stream 38c are now taken from the low-resolution data stream 38d. Specifically, in order to reduce the time to encounter the next random access point, low RAP distance version data streams 38b and 38d are pre-used for these four sub-pictures 24, respectively. The four mentioned sub-pictures change their positions within the picture 16. However, all other sub-pictures 24 still remain downloaded with the corresponding more efficient versions of the data streams 38a and 38c, respectively. They do not require random access points. As a variant, it should be noted that it may be possible to allow the compositor / merger 14 to use downsampling from high resolution to low resolution for those sub-pictures 24 that are changed from high resolution to low resolution in order to derive reference pictures of the corresponding non-RAP sub-pictures at the lower resolution to insert corresponding NAL units of the more efficiently encoded input video data stream 38c into the data stream 10.

[0038] That is to say, in the reference just Figure 1 Combination Fig.10In the illustrated example of the situation, the following problems associated with 360° streaming have been illustrated. Specifically, when a user joins the service (i.e. tunes into the service, i.e. seeks to watch a panoramic video), a random access point screen is required. That is, in the absence of the embodiments described later, the synthetic data stream 10 will need to encode each sub-picture within the starting screen in a random access point manner. That is, all NAL units of the screen will have to be encoded in a random access point manner. In HEVC language, they will have to be, for example, NAL unit types IDR, CRA or BLA. That is, in the absence of the embodiments further described below, the decoder will be forced to start decoding only when encountering a RAP screen. However, when the user switches the viewport, as described above Fig.10 As outlined, since only some of the sub-bitstreams 32 are newly added to the bitstream 32 subset contributing to the datastream 10 or merged into the datastream 10, it would be very inefficient to require all sub-bitstreams 32 (i.e., even those remaining in the contributing bitstream subset) to have a sub-picture 24 coded in a random access point manner in the starting picture. Fig.10As outlined, it would be preferred if only some of the sub-picture bitstreams 32 effectively had a RAP and others did not. However, this means that the NAL unit type indicated in the NAL units 34' within the data stream 10 would then have to change relative to its setting in the underlying NAL units 34. In particular, the NAL type of the NAL unit 34 of the sub-picture 24 of the starting picture, which is set to IDR, CRA or BLA, may not be associated with the same NAL unit type in the corresponding version 34' and the data stream 10, because the data stream would require that if one of the sub-picture bitstreams has one of these NAL unit types, all other sub-picture bitstreams must have the same NAL unit type. In particular, the decoder defined so far will restart the decoding process and clear its decoder picture buffer (DPB) when an IDR or CRA (previously with EOS NALU) NAL unit is found for a specific access unit of the data stream 10 (i.e., for a specific picture 18 of the video 16), because none of the pictures therein can or are used for reference. This means, for example, that if the situation described previously is to be implemented by using HEVC in its current version for the data stream 10, then when merging the sub-bitstreams 32 together, if for a certain picture 18 of the video 16 not all contributing sub-bitstreams 32 contain a NAL unit type corresponding to a random access point coding, but only a part of them, measures will have to be taken. Precisely in this case, the RAP NAL units within such a picture 18 will have to be rewritten as non-RAP NAL units, a process which also requires changes to other headers such as slice, tile and / or tile group headers, since their content depends on whether the NAL unit in question is a RAP or not.

[0039] Therefore, the following Figure 2 The described embodiments seek to improve the signaling of sub-picture RAPs beyond the current prior art. For example, there have been proposals to move away from the mandatory measures just outlined to assign NAL unit types to the NAL units of the data stream so that the NAL type into which the sub-picture is encoded is constant within each picture. For example, WO2015 / 059194 has proposed using per-NAL unit signaling, for example in the NALU header, and more specifically, using a dedicated NALU type to indicate a sub-picture random access point type or a recovery point SEI message containing replacement information for all parameters required to obtain a data stream that complies with HEVC. However, solving the above problem in the manner proposed in the latter document still requires the synthesizer / combiner 14 to perform the tedious task of "stream conversion", and therefore, the embodiments outlined below seek to overcome this problem and seek to avoid the necessity for the synthesizer / combiner 14 to expend the signaling overhead of additional RAP types.

[0040] Figure 2The concept of a video codec according to an embodiment of the present application related to the first aspect of the present application is shown. Within this scope, Figure 2 An embodiment of a corresponding data stream 10 and a video decoder 22 that may conform to such a corresponding new video codec is shown. Figure 1 The reference numeral 10 has been reused because Figure 1 The data stream 10 may correspond to the current Figure 2 The proposed description thus allows at least partially solving the problems outlined above.

[0041] That is to say, Figure 2 The video decoder 22 receives a data stream 10 in which a video picture is encoded. The video is encoded into the data stream 10 in such a way that the sub-pictures into which the video picture is spatially subdivided are encoded independently of each other. Each sub-picture is encoded into one or more corresponding NAL units 34' of the data stream 10. That is, the NAL unit 34' carries motion information and prediction residual information and other information. It should be noted that in addition to the above Figure 1 Beyond the proposed description, sub-picture coding independence may only relate to sub-pictures within a picture 18 of a video encoded into the data stream 10. Thus, Figure 2 By way of example, a picture 18 is shown, which is subdivided into sub-pictures 24 and the corresponding NAL units 34' into which the sub-pictures 24 are encoded within the data stream 10. Naturally, encoding can also be performed to produce separately encoded sub-videos, as described above with respect to Figure 1 as outlined.

[0042] For each sub-picture 24 of each picture 18, the decoder 22 decodes the sub-picture related information 40 from the data stream 10. The sub-picture related information of a specific sub-picture 24 can be, for example, a syntax element of the NAL unit type indicating the one or more NAL units 34' into which the corresponding sub-picture 24 is encoded. When the first state is presented, the sub-picture related information 40 identifies its sub-picture 24 as being encoded into its one or more NAL units 34' in a random access point manner. That is, it forms a sub-picture random access. That is, the sub-picture will be encoded into its one or more NAL units 34' in an independent manner without reference to any other sub-blocks. When the second state is presented, the sub-picture related information identifies its sub-picture 24 as not being encoded in a random access point manner. That is, a NAL unit 34' having such sub-picture related information 40 can encode its associated sub-block 24 therein using coding dependencies on other sub-blocks. Specifically, the sub-picture related information 40 may include an integer-valued syntax element for each sub-picture 24, which distinguishes multiple NAL unit types, where a first subset of one or more NAL unit types corresponds to a first state (i.e., a sub-picture RAP state), and a second subset of one or more NAL unit types corresponds to a second state (i.e., a non-RAP state).

[0043] However, Figure 2 The decoder 22 is also configured to read a random access point signaling granularity indication 44 about a set 42 of one or more pictures from the data stream 10. It can be transmitted in the data stream 10 as a higher-level signaling related to more than one picture. That is, in this case, the set 42 of one or more pictures 18 will include a picture sequence, such as a GOP, etc. or even the entire video 16. For example, the indication 44 can be included in a sequence parameter set or a video parameter set of the data stream 10. On the other hand, the indication 44 can only involve one access unit (i.e., one picture 18 of the video 16). In other words, the set 42 can include one picture. This per-access unit signaling can be included in a PPS (picture parameter set) or an access unit delimiter, etc. of the data stream 10. The indication 44 will have at least two states / granularities that can be signaled. When presenting or signaling the first granularity, the indication 44 will indicate that for each picture 18 of the set 42 of one or more pictures, the sub-picture related information 40 presents a common state for all sub-pictures 24 of the corresponding picture 18. In other words, the sub-picture related information 40 will be presented as being equal for all sub-pictures 24 within one picture 18 within the set 42. This equality may hold true even when the level of the NAL unit type is considered. That is, in the case where the indication 44 signals a first granularity (i.e., picture granularity), the NAL unit types of the NAL units 34' of the sub-pictures 24 belonging to one picture 18 may be required to be the same, i.e., equal to each other.

[0044] However, if the indication 44 indicates a second granularity, which may be referred to as a sub-picture granularity, this indicates that for each picture 18 of the set 42 , the sub-picture related information 40 is allowed to present different states for the sub-pictures 24 of the respective picture 18 .

[0045] That is to say, Figure 2 The decoder 22 will be able to decode the indication 44 from the data stream and decide based on the indication 44 whether the data stream 10 is of a type that requires the sub-picture related information 40 to be the same in each picture 18, or whether the data stream 10 is of a type that does not apply the latter restriction. The decoder 22 may perform different actions based on the indication 44 with respect to one or more of the decoding tasks described in more detail below.

[0046] However, in any case, the aforementioned synthesizer / merger 14 can exploit the possibility of setting the indication 44 to a sub-picture granularity in the following way: it can synthesize an access unit of the data stream 10 (e.g., Figure 2 46) in the access unit 46 refers to these sub-pictures, and in doing so, the NAL unit type of the NAL unit can be taken out or adopted or not modified, so that the NAL unit 34' in the data stream 10 within the access unit 46 is consistent with the NAL units that are combined together in terms of sub-picture related information 40.

[0047] In the following, some embodiments are described, which describe the case where the indication 44 indicates the sub-picture granularity. Figure 2 functionality of the decoder 22. However, all these embodiments and their descriptions should be understood to also apply to decoders that are not configured to read or decode the indication 44 from the data stream 10. In other words, the embodiments explained subsequently should not be limited to the case where the indication 44 is present in the data stream and the decoder 22 is configured to read the indication 44 from the data stream 10. On the contrary, the embodiments of other aspects of the application explained subsequently should also be interpreted as a description of a decoder that is able to handle the fact that certain settings, such as random access point coding or non-random access point coding of sub-pictures, vary within a picture. However, these decoders may not have any specific alternative functionality, because in fact, Figure 2 The decoder 22 performs different actions according to the instruction 44.

[0048] Briefly summarize what has been described so far. Figure 2A concept is shown where an additional indication 44 in the data stream 10 (e.g., higher level signaling, such as coded video sequence level or even bitstream level related signaling, i.e., concatenation for coded video sequence CVS) enables NAL unit level signaling (e.g., NAL unit type signaling) to be reinterpreted as a sub-picture random access indication. For example, the indication 44 may be signaled in the form of a flag that may be referred to as sub_picture_random_access_process_enabled_flag. For example, when the flag is equal to zero, the NAL unit type indicating random access functionality will be interpreted by the decoder 22 as full picture level random access. However, when the value of the flag is equal to 1, the corresponding NAL unit type will be interpreted as a sub-picture random access point.

[0049] As an alternative, the indication 44 may be embodied as per-access unit signaling. For example, an access unit delimiter NAL unit may be used to indicate which type of random access is allowed in an access unit starting with the access unit delimiter NAL unit. A syntax element may be added to such an access unit delimiter NAL unit, indicating one of the following states: 1) all sub-pictures 24 of the picture of the access unit to which the delimiter belongs contain a random access picture (IRAP); 2) some sub-pictures 24 may contain a random access picture (IRAP); 3) no sub-picture 24 contains a random access picture (IRAP).

[0050] Using the indication 44, the decoder can easily identify which type of random access function can be applied to the pictures 18 of the set 42 defining the scope of the indication 44 (i.e., the scope to which the indication 44 relates) and whether one of the following processes described with respect to the following embodiments is to be performed by the decoder 22.

[0051] Before continuing with the description of what the decoder 22 does if the indication 44 signals sub-picture granularity, it should be noted that if the indication 44 indicates picture granularity and for any picture 18 of the set 42 to which the indication 44 belongs, the sub-picture related information 40 presents different states for different sub-pictures 24 of that picture, then Figure 2 The decoder 22 may be configured to identify the data stream 10 as a non-compliant data stream, ie a data stream that is not compliant with a video codec.

[0052] Figure 3 An embodiment of the behavior of the decoder 22 with respect to clearing its decoded picture buffer (i.e., the buffer in which reference pictures are buffered based on which pictures that have not yet been decoded can be predicted) is shown. Using solid lines, Figure 3 The function of the decoder 22 for the sub-picture granularity case is shown, while the dashed line shows the corresponding function for the picture granularity case. Again, it should be noted that within this range, Figure 3 should be seen as a description of two situations (i.e., Figure 2 The decoder described in this specification is an extension of the functionality described in relation to the decoder being able to decode the indication 44 and according to Figure 3 4) or a description of an alternative decoder 22 for the case where the data stream 10 does not include the indication 44 and the decoder 22 inevitably acts according to the sub-picture granularity mode.

[0053] like Figure 3 As shown, according to Figure 3 The decoder 22 of the embodiment of the embodiment of the invention is configured to check, for a particular access unit or for a particular picture 18, whether the sub-picture related information 40 presents the random access point status of all sub-pictures 24 of the picture, as shown at 50. If so, in response thereto, the decoder clears its decoded picture buffer 48 at 52. Again, the decoder 22 may apply this functionality of steps 50 and 52 to a picture 18 in which the indication 44 indicates a sub-picture granularity, and in which case the indication 44 indicates a picture granularity. Figure 3 4 . According to this alternative method, the decoder 22 checks at 54 for a particular access unit or picture 18 whether the first encountered sub-picture 24 in the access unit or the sub-picture related information 40 of the corresponding picture is a random access point coding, and if so, i.e. in response thereto, the decoder clears 56 the decoded picture buffer 48. In the case where the indication 44 indicates sub-picture granularity on the one hand and picture granularity on the other hand, the different behaviors of the decoder 22 for clearing the decoded picture buffer 48 can therefore also be reflected in different schedules for clearing the decoded picture buffer at 52 or 56 relative to the time when the decoder 22 starts decoding the individual NAL units 34' of the access unit 46 (e.g. relative to the time when the decoder 22 retrieves the NAL units 34' of the access unit 46 from the coded picture buffer). In step 52, the clearing of the decoded picture buffer 48 (i.e., in the sub-picture granularity domain) may occur when one or more NAL units 34' of the last sub-picture 24 are decoded in the decoding order 58 (i.e., when it is clear that all sub-pictures of the current access unit are random access points), while in the case of step 56, the clearing of the decoded picture buffer 48 (i.e., in the picture granularity domain) may occur when one or more NAL units 34' of the first sub-picture 24 are decoded in the coding / decoding order 58 (i.e., when it is clear that the sub-picture related information 40 for this sub-picture present in the data stream indicates random access point encoding), i.e., even before the second sub-picture 24 of the current picture or access unit is decoded in the coding / decoding order 58. Again, according to an alternative embodiment in which there is no indication 44, with respect to Figure 3 The explained functionality related to the picture granularity mode may not be implemented in the decoder 22 .

[0054] That is to say, Figure 3 An embodiment is explained in which the decoding process is changed to clear the decoded picture buffer 48 of the decoder 22 and perform a random access point operation only when it is clear that all sub-pictures 24 of a particular picture in the data stream 10 are sub-picture random access points and therefore the entire picture itself is a random access point. Therefore, the decoder 22 can be configured to decode up to the last NAL unit 34' in the current access unit to determine whether the access unit is a completely random access point.

[0055] Next about Figure 4 The described embodiment of the decoder is focused on the functionality / operating mode of the decoder with respect to removing individual reference pictures or pictures stored in the decoded picture buffer 48 that are no longer needed by pictures that have not yet been decoded. That is, Figure 3 Focusing on clearing the decoded picture buffer 48, i.e., removing all pictures currently buffered in the corresponding decoded picture buffer, while Figure 4 Focusing on another aspect, the data stream 10 may transmit a reference picture buffer description, i.e., information about reference pictures to be kept in the decoded picture buffer 48 in order to be used as a possible basis for inter-frame prediction of pictures that have not yet been decoded. To this end, the data stream 10 transmits information about a set of reference pictures, which is updated on a per-picture or per-access-unit basis. Similar to the sub-picture related information 40, this information about the set of reference pictures to be kept in the decoded picture buffer for future use (i.e., the reference picture buffer description) is information signaled in the data stream 10 for each sub-picture 24 (i.e., in its corresponding one or more NAL units 34'). According to Figure 4 By using a variant depicted using solid and dashed lines in FIG. 4 , the reference picture buffer description may be information subject to similar constraints depending on the indication 44 as described so far with respect to the sub-picture related information 40 for indicating RAP and non-RAP coding. Thus, the reference picture buffer description is Figure 24 ′ to illustrate the similarity in terms of restrictions depending on indication 44 or similar indications present in place of indication 44 or in addition to indication 44. In particular, the reference picture set indicated by the buffer description 40 ′ of the first sub-picture 24 of a particular picture 18 may be required to be equal to the reference picture set indicated by the buffer description 40 ′ of any other sub-picture 24 of the same picture 18 or at least include all reference pictures indicated by the reference picture buffer description 40 ′ of the second and subsequent sub-pictures (in encoding / decoding order 58) of the picture 18. In case the indication 44 (or a corresponding indication for reference picture buffering) indicates a sub-picture granularity, the reference picture sets indicated by the buffer descriptions 40 ′ of the respective sub-pictures 24 of one picture 18 may be free to differ from each other in any way, i.e. may indicate mutually different reference picture sets. Mutually different means that a sub-picture within one picture and its corresponding subsequent sub-picture in a subsequent picture require different reference pictures (i.e. different reference picture sets) because, for example, its corresponding preceding sub-picture from a prediction reference is contained in mutually different reference picture sets. The mutual correspondence of the sub-pictures derives, for example, from their origin, i.e. they could have been coded separately into the corresponding sub-stream 32 as sub-video 28. The latter freedom enables the composer / merger to compose the data stream 10 based on the NAL units 34 of the reservoir of sub-streams 32: by simply taking the reference picture buffer description 40' without any modification when combining such NAL units together to form one access unit of the data stream 10, which will therefore be equal between the NAL units 34' in the final data stream 10 on the one hand and the NAL units 34 in the reservoir of the sub-stream 32 on the other hand.

[0056] Therefore, in continuing Figure 4 This means that the data stream of the embodiment of FIG. 1 does not necessarily include sub-picture related information 40. Figure 2 The described embodiment may or may not include a reference picture buffer description 40'. Then, similar to the above description of Figure 3 The statements made, Figure 4 The description can be interpreted as describing the Figure 2 and Figure 3 Possible extensions / modifications of the described embodiments and in which the decoder implements only Figure 4 That is, in particular, the indication 44 may not be present in the data stream.

[0057] according to Figure 4, the decoder 22 is configured to perform the removal of pictures from the decoded picture buffer 48 as follows. Specifically, the decoder marks 60 the pictures in the decoded picture buffer 48 that will remain in the decoded picture buffer 48 for use as prediction references for pictures that have not yet been decoded, and removes 62 the non-marked reference pictures in the decoded picture buffer 48 that are not marked and are not required by the decoder for future display / output (by cyclically performing these steps 60 and 62 for each picture). However, in order to perform the marking 60, the decoder decodes 64 an indication of the reference picture set RefP for each sub-picture i of the current access unit. i Then, by forming a set RefP of all sub-pictures for the current access unit or picture i The picture in the decode buffer 48 to be marked in step 60 is identified 66. Figure 4 As shown, the removal of non-marked reference pictures in the decoded picture buffer at step 62 may accordingly occur when the last sub-picture 24 of the current access unit or picture is decoded in the encoding / decoding order 58. That is, the removal 62 may occur after parsing or decoding all sub-pictures 24 of the current picture or at least after extracting all sub-pictures 28 or more precisely all NAL units 34' from the decoded picture buffer. Naturally, unmarked pictures are removed only when they are not needed for output (because they are not output pictures or because they have already been output).

[0058] The decoder 22 is capable of the sub-picture granularity mode described with respect to steps 60 to 66 and Figure 4 In the case of operating in the picture granularity mode shown in dashed lines (the decoder 22 can switch between them according to the indication 44), alternatively, the decoder 22 can act as follows when removing pictures from the decoded picture buffer. Specifically, when the picture granularity mode is effective, the decoder 22 can still perform marking 68 of reference pictures to be maintained in the decoded picture buffer 48 and removing non-marked reference pictures from the decoded picture buffer 48 on an access unit / picture basis in step 70, but different behaviors can be applied to determine the reference pictures to be marked and with respect to the scheduling of the removal 70. Specifically, the decoder can decode in step 72 the buffer description of the reference picture set that notifies the sub-picture 28 that is first encountered in the encoding / decoding order 58, and identify 74 the reference pictures to be marked in step 68 as this set, i.e., the RefP in the case where the index corresponds to the decoding / encoding order. 1. Naturally, the decoder 22 may also read / decode from the data stream 10 the reference picture buffer description 40' of other sub-pictures of the current access unit or current picture than the first sub-picture in the coding / decoding order 58, but this information is not used for the marking in step 68. Furthermore, the removal of non-marked reference pictures in step 70 may take place before decoding the second sub-picture in the coding / decoding order 58 or in other words after parsing or decoding the first sub-picture in the coding / decoding order 58. Naturally, non-marked pictures are removed only if they are not needed for output (because they are not output pictures or because they have already been output).

[0059] If, according to the possibility just mentioned, the decoder 22 also reads, for a specific access unit, reference picture buffer descriptions associated with sub-pictures 28 other than the first sub-picture in the coding / decoding order 58, the decoder 22 can be configured to identify the data stream 10 as a non-compliant data stream if the reference picture set indicated by the buffer description 40' of any sub-picture 28 other than the first sub-picture in the coding / decoding order 58 includes reference pictures that are not included in the reference picture set indicated by the buffer description 40' of the first sub-picture 24 of that picture.

[0060] Figure 5 Shown with reference to the above Figure 4 Alternative solutions to the concepts outlined. Figure 4 , the decoded picture buffer 48 has been emptied in units of pictures. Measures have been taken according to the sub-picture granularity mode to remove only pictures that are no longer needed (neither for output nor as reference to any of its sub-pictures). Figure 5 In the embodiment of the decoder 22, the decoder 22 can perform the emptying of the decoded picture buffer 48 in units of sub-pictures 24. As for the possible combination of this embodiment with the previously described embodiments, the above Figure 4 The same pattern as provided applies. That is, the following Figure 5 The described embodiments may be used with Figure 2 or Figure 3 The decoder description is combined, and therefore, according to Figure 5 An implemented decoder may or may not be configured to alternatively operate in a picture granularity mode (eg, in response to indication 44).

[0061] according to Figure 5The concept is as follows. Specifically, the data stream 10 decoded by the decoder 22 has the video 16 encoded therein so that the video pictures 18 are continuously subdivided into co-aligned sub-pictures 24 encoded in such a way that spatially non-overlapping sub-pictures 24 or sub-pictures belonging to different sub-videos are encoded independently of each other. Thus, the encoding takes place in the sub-videos 28, resulting in a reservoir of sub-streams 32. As described above with reference to Figure 1 As explained, each substream 32 has a corresponding sub-video 28 encoded therein, each sub-video 28 comprising a particular sub-picture, i.e. a possible candidate for a sub-picture 24 in the picture 18 of the video 16 of the data stream 10. The substreams 32 are encoded independently of each other. They contain one or more NAL units 34 for each sub-picture 24. As part of the encoding process, the NAL units 34 may have been provided with a sub-picture identifier 80. That is, each NAL unit 34 may be marked with such a sub-picture identifier 80 so that the collection of substreams 32 can be distinguished. As described with reference to Figure 1 As explained, only a subset or more precisely a suitable subset of the collection of substreams 32 may have been selected in order to use their NAL units 34 having the current timestamp encoded therein to form the access units 46 of the data stream 10 by combining them together. When combining them together, the NAL units 34' of the resulting data stream 10 still have the subpicture identifiers 80 in them. Figure 5 In FIG. 4 , this is illustrated by the identifiers 80 of the collections of the bitstream 32 being distinguished by integers 1 ... N. The pictures 18 of the video 16 encoded into the data stream 10 each have six sub-pictures 24. For each sub-picture 24 within a picture 18, the data stream 10 has one or more NAL units 34' in the corresponding access unit 46, which use the sub-picture identifier 80A. i To mark, where i = 1...6, A i ∈{1...N}. The selection of which sub-videos 28 or which sub-streams 32 are used to synthesize the data stream 10 may depend on the application and may be constant or vary over time. Furthermore, each NAL unit 34 and its version 34' by which the data streams 10 are combined together is indicated as including the above-mentioned reference picture buffer description 40'. Obviously, due to the separate encoding of the sub-streams 32, this information 40' is different for different sub-streams 32.

[0062] When performing the emptying of the decoded picture buffer 48 in units of sub-pictures 24, the decoder 22 acts as follows. In general, for the current decoded picture 18, the decoder 22 decodes from the data stream 10 a buffer description 40' of a reference picture set for each sub-picture 24 of the current decoded picture 18. For each sub-picture 24 of the current decoded picture 18, the decoder then uses the reference picture buffer description of the corresponding sub-picture 24 to identify those sub-pictures in the decoded picture buffer 48 that are spatially collocated with the corresponding sub-picture (i.e., belong to the same sub-video 28) that should be retained in the decoded picture buffer 48. Other sub-pictures are removed. Thus, the removal is performed on a sub-picture basis.

[0063] like Figure 5 As shown, for this purpose, the video decoder can logically split the decoded picture buffer 48 into sub-picture DPB48 1 Up to 48 6 , each sub-picture 24 corresponds to a sub-picture DPB, which is the sub-picture into which the picture 18 of the video 16 is currently spatially subdivided. As an aspect, it should be noted that in the drawings of the present application, the picture 18 is shown to be subdivided into six sub-pictures, which is only for the purpose of illustration. Any other number is also possible. Each sub-picture DPB 48 i The decoder 22 buffers the sub-pictures 24 of the pictures 18 from the NAL units 34' in the data stream 10, which are marked with a specific sub-picture identifier 80 associated with the corresponding sub-picture DPB. In other words, the decoder 22 buffers each sub-picture DPB 48 i With a predetermined sub-picture identifier A i Therefore, each sub-picture DPB 48 i A buffer dedicated to the sub-picture is marked with a sub-picture identifier A i The decoder 22 performs the following operations on each sub-picture DPB 48: i The decoder 22 checks whether the currently decoded picture 18 contains a sub-picture identifier 80 equal to the corresponding sub-picture DPB 48. i The corresponding sub-picture 24 of the associated predetermined sub-picture identifier Ai and, if so, the reference picture set of the corresponding sub-picture indicated by the latter buffer description 40' is used to respectively identify each sub-picture DPB 48 i Those in the sub-picture DPB 48 should be retained in the sub-picture i And thus the sub-picture in the decoded picture buffer 48. In the sub-picture DPB 48 i All these sub-pictures in the sub-picture DPB 48 belong to the same sub-video 28, because in the sub-picture DPB 48i Only those sub-pictures that are encoded in NAL units 34' marked with a specific distinguishable sub-picture identifier are collected in the DPB 48. i , there is no NAL unit 34' in the current access unit, and accordingly, the current picture 18 does not contain the corresponding sub-picture 24, then the decoder 22 clears the corresponding sub-picture DPB 48 i , and the corresponding sub-picture DPB 48 i Another predetermined sub-picture identifier reallocated to the non-corresponding sub-picture 24 of the current decoded picture 18, the other predetermined sub-picture identifier being consistent with all sub-picture DPBs 48 1 Up to 48 6 Instead of clearing, depending on the application, the decoder may not clear the reallocated sub-picture DPB, but may subsample the sub-pictures contained therein, etc., so as to reuse the reference sub-pictures contained therein as the reference sub-pictures of the sub-picture 24 of the predetermined sub-picture identifier to which the sub-picture DPB has been reallocated.

[0064] Before continuing the description of the present application by describing further embodiments, the above referenced embodiments will be briefly summarized again in another way. Figure 4 and Figure 5 Specifically, Figure 4 The concept of full screen cleaning is presented, and Figure 5 An embodiment of partial picture cleaning is represented. What these two embodiments have in common is that they handle the case where the decoded picture buffer clearing is not performed in response to a random access point, but in response to a reference picture buffer description, i.e., information about reference pictures / sub-pictures that are no longer needed for reference. As described above, random access points are not the only applicable case for determining that picture information is no longer needed for reference and can therefore be removed from the corresponding decoded picture buffer (if it has already been output). In AVC or HEVC, pictures in the decoded picture buffer are marked as "for reference" or "not for reference" during the decoding process. In HEVC, for example, there is signaling for so-called reference picture sets (RPS). The RPS indicates which pictures in the decoded picture buffer are used for reference of the current picture or subsequent pictures in the decoding order, i.e., the RPS (RefP) signals which picture is marked as for reference. Those pictures that do not appear in the RPS are marked as "not for reference" and can therefore be removed from the decoded picture buffer when they are not needed for output (e.g., have already been output).

[0065] As mentioned above, for 360° where only some tiles / sub-pictures are switched from high resolution to low resolution or vice versa, the random access points can be aligned since the reference pictures may be different.

[0066] In the case of RAP, where several bitstreams are spliced ​​together (ie sub-picture bitstreams converted into a new bitstream 10 ), the RPS will need to be rewritten, a process which will result in increased complexity of this operation to be performed by the compositor / merger 14 .

[0067] New video codecs may have different ways of marking reference pictures, but the problem remains: different references may apply to different sub-pictures within the bitstream, and if Figure 4 The first slice / tile of the access unit is marked as shown by the dotted line, and this requires transmitting all information of all slices / tiles in the access unit, so the header needs to be rewritten when the streams are merged together.

[0068] therefore, Figure 4 and Figure 5 The idea of ​​an embodiment of the invention is to change the process of reference picture marking in order to allow sub-picture random access or sub-picture feeding and removal with respect to a decoded picture buffer.

[0069] according to Figure 4 In the embodiment of the present invention, the decoded picture buffer removal is still performed in units of pictures, but random access of sub-pictures is still allowed. Figure 4 In a possible embodiment of the present invention, signaling (e.g., indication 44) at the sequence or picture level defines whether the marking process is to be performed in a Figure 4 The method may be performed in a picture granular manner as shown in the dashed line in FIG. 1 or whether it is performed only after the last sub-picture in the current access unit (e.g., after parsing or decoding the NAL unit or slice or tile of the last sub-picture in the current access unit). The signaling for switching between these two methods may be included in a parameter set such as an SPS or PPS in the form of a sub_picture_management_process_enabled_flag.

[0070] In the case of sub-picture processing which may be the only mode in the case of switching between the two modes being stopped as described above, according to an implementation example, the process may include generating a time-stamped picture list for each sub-picture 24 of the current picture 18, wherein at the end it is checked which one is marked as "not used for reference". For example, using RPS signaling 40' from HEVC as an example of reference picture indication, the following pseudo code may be used to identify pictures that should be kept in the decoded picture buffer:

[0071]

[0072] When all sub-picture bitstreams are decoded for the current access unit, all pictures marked as "not used for reference" and already output are removed from the DPB.

[0073] However, this method requires more memory in the decoded picture buffer than the method of rewriting all RPS information.

[0074] exist Figure 4 In an alternative implementation of the sub-picture DPB removal mode of the embodiment of the present invention, a first process is performed at the beginning of each picture (i.e., when processing the first slice / tile or sub-picture) by marking all pictures as "not used for reference", and at the same time, in addition, for each parsed slice / tile / sub-picture, another process of marking the pictures indicated by the slice / tile / sub-picture as "used for reference" is performed. After the reference pictures have been output and all the slices / tiles / sub-pictures of the current picture have been delivered / received, the reference picture cleanup according to the final result (i.e., when parsing / decoding the last slice / tile / sub-picture) is performed.

[0075] Figure 5 The following cases are involved: content is encoded using motion constrained tiles (i.e., MCTS) or more generally sub-pictures that are encoded independently of spatial offsets or sub-pictures belonging to different sub-videos, including not only sub-pictures of the same picture, but also sub-pictures of other pictures. In this case, a sub-picture identifier can be used to mark sub-picture specific areas so that they can be removed from the decoded picture buffer. The MCTS encoded bitstream can only reference itself.

[0076] exist Figure 5 In , the possibility of individually marking sub-picture areas of a picture 18 is used. If a sub-picture is marked as "not used for reference" and the picture has been output, the area can be removed from the decoded picture buffer. Thus, it will be possible to run the marking process for each sub-picture individually while parsing the NAL unit type and RPS at the slice / tile group or sub-picture header, without having to wait until all NAL units of the access unit are parsed.

[0077] This is based on Figure 5 By initializing a plurality of sub-pictures DPB 48 based on information in a parameter set transmitted, for example, in the data stream i This is done either by reallocating the sub-picture DPB or by allocating DPB space for each newly appearing sub-picture identifier (for each new sub-video). After initialization, the picture (meaning the reconstructed sample and the corresponding reference data for prediction, such as motion vectors) will be stored in the sub-picture identifier A. i Corresponding sub-picture DPB 48i For example, the sub-picture identifier A i Can be a tile group ID.

[0078] Then, the reference picture set will be parsed, that is, a list indicating which pictures need to be stored in the decoded picture buffer 48 together with the corresponding ID for prediction, and it will affect whether the sub-picture in its corresponding sub-picture DPB can be removed. Obviously, in some cases, the tile setting within the picture may change. For example, in the case of a sub-picture bitstream merging, it may happen that the sub-pictures with IDs of 0 and 1 are merged together for a period of time, and then the sub-pictures with IDs of 1 and 2 are merged together. In this case, the sub-picture DPB is cleared based on the parameter set indication. Whenever the activated parameter set does not contain the previous sub-picture ID, the sub-picture DPB corresponding to the sub-picture is cleared. Obviously, the removal of the picture is performed only when the picture is not intended to be used for output (that is, they have been output or they are no longer needed for output).

[0079] Will refer to Figure 4 and Figure 5 For example, in addition to the above reference Figure 5 Beyond what has been described, the management of the sub-picture DPBs may be varied to the extent that the number of sub-picture DPBs managed simultaneously exceeds the number of sub-pictures 24 in pictures 18 of video 16. For example, for each sub-picture identifier 80 encountered in the reservoir of substream 32, or more precisely, in data stream 10, decoder 22 may provide a separate sub-picture DPB.

[0080] In addition, it should be noted that Figure 5 The description of focuses on sub-picture granularity processing with respect to decoded picture buffer flushing. However, despite Figure 5 A decoder is thus described which can act accordingly, but Figure 5 It can also be seen as a Figure 5 The manner shown (i.e., in sub-picture processing mode) and in per-picture processing mode (e.g., Figure 2 4 or some equivalent signaling). In this case, Figure 5 The decoder 22 can be Figure 4 The decoded picture buffer 48 is managed on a picture-by-picture basis as depicted by the dotted lines.

[0081] With regard to the above mentioned buffer descriptions 40', it should be noted that they may indicate the reference pictures that should be kept in the DPB in any manner, e.g. in the form of a list, in the form of analysis terms indicating the corresponding reference pictures (e.g. by their POC), etc. The buffer descriptions 40' may mention these pictures positively, or may mention those that are to be removed from the DPB.

[0082] also, Figure 4 and Figure 5 The focus is on the emptying of the decoded picture buffer, but it is clear that the decoder 22 in these figures fills the decoded picture buffer with the content of the picture just decoded. Figure 4 In the case of DBP emptying by sub-picture, the filling of the decoded picture buffer 48 can be done by picture in the case of sub-picture processing or in the case of both sub-picture processing and by picture processing. Figure 5 In the case of per-picture DPB clearing mode, the filling can also be done on a per-picture basis, once a particular sub-picture is decoded, it is inserted into its corresponding sub-picture DPB. Naturally, an alternative approach could be to fill the decoded picture buffer 48 on a picture-by-picture basis, i.e., at the end of decoding the current picture 18, the decoded sub-pictures 24 of the current decoded picture 18 would be inserted into their corresponding sub-picture DPBs simultaneously. In the case of per-picture DPB clearing mode, Figure 5 The decoder can be like in Figure 4 The decoder in the corresponding mode (ie, Figure 4 The same action as shown in the dashed line.

[0083] In addition, some brief explanations will be given for the above-mentioned embodiments related to the decoded picture buffer processing. Specifically, up to now, it has been mentioned that the sub-picture 24 of the picture 18 of the video 16 can be encoded in a sub-video-like manner, that is, the sub-picture can be dependent on other sub-pictures of other pictures (as long as they belong to the same sub-video), but independent of any other sub-pictures (i.e., other sub-pictures of the same picture 18 and sub-pictures of other pictures 18 belonging to different sub-videos). Such sub-pictures belonging to the same sub-video may change the sub-picture position within the picture 18 of the video 16 in time. Figure 6 This situation is shown. There are different possibilities for handling this situation. Figure 6 , two pictures 18 of a video 16 are exemplarily shown. In one picture 18, there are sub-pictures 24 belonging to the sub-videos with sub-picture IDs 2, 7, 3, 4, 5, and 6. In the subsequent picture, it can be seen that the sub-pictures 24 of the sub-videos with sub-picture IDs 2, 7, 4, and 5 still exist, but are in different sub-picture positions. Instead of the sub-pictures 24 with sub-picture IDs 3 and 6, there are two new sub-pictures or more precisely sub-pictures with new sub-picture IDs (i.e., 9 and 12) in the latter picture.

[0084] It is now assumed that the sub-pictures 24 in the subsequent picture 18b belonging to those sub-picture identifiers that also appear in the previous picture 18a are not encoded in a random access point manner and also refer to the sub-pictures of the picture 18a. That is, when decoding the picture 18b, the correct sub-pictures 24 of the picture 18a will be present in the decoded picture buffer 48 of the decoder 28, but measures need to be taken to correctly perform the reference (i.e., motion compensated prediction) for performing the prediction relative to the decoding of the sub-pictures 24 of the picture 18b having these sub-picture identifiers.

[0085] One possibility to solve this problem may be that the synthesizer / merger 14 handles this situation. This can use the technology proposed in WO2016 / 026526, according to which the synthesizer / merger 14 inserts the non-output picture 18c into the data stream 10, and the synthesizer / merger 14 rearranges the picture content of such a picture 18a by using a piecewise constant (i.e., constant within each sub-picture position) motion vector field, so that the sub-pictures 24 still required in the subsequent picture 18b are arranged at their new sub-picture positions presented in the subsequent picture 18b. In addition, the synthesizer / merger 14 notes that for such a picture 18b, the reference to the picture 18a as a reference picture is redirected to declare the picture 18c as a reference picture instead. In addition, motion vector prediction should be prohibited for the sub-pictures 24 of the picture 18b belonging to these sub-videos (the sub-pictures of these sub-videos that are present in the picture 18a and are redirected by the non-output picture 18c).

[0086] Another possibility is that the decoder 22 changes their sub-picture positions between sub-pictures (e.g. Figure 6 The pictures in the decoded picture buffer are rearranged when the sub-pictures with sub-picture IDs 2, 7, 4 and 5 of the picture 18b are selected so as to generate new rearranged reference pictures. According to such a process, the reference picture in the decoded picture buffer will be spatially divided into its sub-pictures, and the sub-pictures will be reshuffled. As described above with reference to Figure 1 As outlined, in the case where certain sub-pictures 24 in picture 18b are indicated as belonging to the same picture content, such processing may also involve spatial resampling at a reduced spatial resolution compared to the sub-pictures of the previous picture (e.g. picture 18a). In this way, the transition from the sub-picture layout in picture 18a to the sub-picture layout in the new picture 18b may be considered without the need to insert the output picture 18c.

[0087] Moreover, a further alternative may be that the decoder 22 redirects the motion vectors for encoding the sub-pictures of picture 18b. The decoder 22 may generate motion vector offsets for the motion vectors of the rearranged sub-pictures in picture 18b to compensate for the change in the position of the sub-pictures relative to the reference picture 18a. In the motion compensated prediction involved in decoding the sub-pictures 24 of picture 18b, the motion vector offsets are added to the coded motion vectors of the sub-streams belonging to the sub-pictures 24 of picture 18b, or more precisely those sub-streams whose sub-pictures are also present in picture 18a. Thus, the correct predictors of the inter-frame prediction blocks of these sub-pictures in picture 18a are derived, which point to the correct positions in the reference picture 18a (i.e., the correct positions within the sub-pictures belonging to those sub-videos shown in both pictures 18a and 18b), but at different sub-picture positions.

[0088] Sub-picture reordering and motion vector re-orientation in the decoded picture buffer with respect to reference pictures, possibly performed by the decoder 22, may be triggered by observed changes in sub-picture identifier associations with respective sub-picture positions within the picture 18 of the video 16, which associations accordingly describe the sub-picture reordering of the reference pictures and their sub-pictures in the data stream 10. Alternatively, these processes may be triggered by explicit data stream indications in the data stream 10 (e.g., within a PPS) written into the data stream by the compositor / merger 14.

[0089] Next, refer to Figure 7 The described embodiments are intended to describe a method for alleviating the above-mentioned problems in terms of POC (picture order count) processing. Figure 1 The video codec environment for applications such as those described. Figure 7 A possible decoder function for processing a data stream in which a video is encoded is described, wherein a picture 18 is subdivided into sub-pictures 24, and wherein the sub-pictures 24 are encoded as parts of a sub-video 28 separated from each other, as described with reference to the above-mentioned figures (e.g., with reference to Figure 5 ) described in. Figure 7 The described function may be indicated, for example, by a sub-picture (e.g., by a reference Figure 2 The specific mode of the decoder 22 triggered by the instruction 44 described above. Specifically, Figure 7 It is allowed to send different POC values ​​for sub-pictures 24 of a picture 18 in the data stream 10, so that different POC values ​​appear even in one picture 18. Figure 7 The functionality of would represent only one mode of the decoder 22, another mode could be to allow only one POC value for one picture 18.

[0090] For example, if data stream 10 is based on Figure 1If the data stream 10 is composed of a collection of sub-streams 32 as described, it may happen that the picture sequence counts of the sub-pictures 24 in the corresponding sub-videos 28 in the presentation time sequence 20 develop differently. For example, this difference may originate from different frame rates between the sub-videos 24. Naturally, the video 16 will have the minimum frame rate of the sub-videos 28 that contribute to the video 16. Therefore, when synthesizing the data stream 10, the synthesizer / merger 14 will have to skip the corresponding pictures of the higher frame rate sub-video 28. When encoding such a higher frame rate sub-video 28 into its corresponding sub-stream 32, naturally, the encoding process will have to take into account that such a picture does not need to be a reference picture for other P or B pictures that should be retained and contribute to the synthesis of the video 16 together with the sub-pictures 24 of the lower frame rate sub-video 28. Additionally or alternatively, this difference in the temporal development of the picture sequence count values ​​of the sub-pictures 24 in the respective sub-videos 28 and the corresponding sub-stream 32 may originate from the fundamentally different GOP structures of these sub-streams 32. For example, different GOP lengths (i.e., different numbers of sub-pictures 24 per GOP) may be applied to different sub-streams 32. Naturally, the generation / encoding process for producing the sub-streams 32 should be performed in such a way that, at least with respect to those sub-pictures 24 of the corresponding sub-videos 28 that contribute to the synthesis of the pictures 18 of the video 16, their order within their respective sub-videos 28 and sub-streams 32, respectively, is consistent in terms of presentation time order 20 and encoding / decoding order 58.

[0091] therefore, Figure 7 It is shown that one or more NAL units 34 in which sub-pictures 24 of sub-videos 28 are encoded are provided with POC values ​​90, which are selected by the synthesizer / merger 14 for inclusion in the corresponding access unit 46 of the data stream 10 by combining them together. The POC value orders the sub-pictures 24 within their corresponding sub-videos 28 in presentation time order 20, for example based on GOP (Group of Pictures). That is, the GOP value 90 within the NAL unit 34 may restart the order each time a new GOP begins. Preferably, Figure 7 The concept of allows the combiner / merger 14 to simply take the POC value 90 without modification when combining the NAL units 34 of the contributing substreams 32 together to produce the corresponding NAL unit 34' in the access unit 46 of the data stream 10. By hatching, Figure 7The sub-pictures 24 of the respective sub-videos 28 and their corresponding NAL units 34 within the corresponding sub-stream 32 are shown, corresponding to a common moment and a common encoding / decoding rank in the encoding / decoding order 58, so as to together form a corresponding access unit 46 in the stream 10. In order to take into account the differences in POC values ​​90 between the NAL units 34' corresponding to different sub-pictures of the current decoded picture 18 or the current decoded access unit 46, the decoder 22 acts as follows. In particular, for each sub-picture 24 of the current decoded picture 18, the decoder 22 decodes the POC value 90 contained in the NAL unit 34' from the data stream. In addition, for each sub-picture 24 of the current decoded picture 18 or more precisely for each sub-video 28 from which the picture 24 in the current decoded picture 18 originates, the decoder 22 manages one or more inter-sub-picture POC compensation parameters 92 that should parameterize a POC correction function 94, which, when applied to the POC values ​​90 of the corresponding sub-videos 28, produces a final POC value 96 that is the same for each picture 18 of the video 16. According to one example, the POC values ​​90 carried by the NAL units 34' within one access unit 46 of the data stream may differ due to different GOP lengths used to encode the sub-videos to which the sub-pictures 24 encoded into these NAL units 34' belong. In this case, as long as the contributing sub-videos 28 and the sub-streams 32 do not change during compositing / merging, the mutual offsets between the POC values ​​90 within one access unit 46 tend to be constant over consecutive access units 46 and data streams 10 (as long as none of the GOPs of the contributing sub-streams 32 starts a new GOP). The inter-sub-picture POC compensation parameters 92 may, for example, include a POC compensation offset, which is added by a function 94 to the POC value 90 of the corresponding sub-video in order to take into account the most recent start of a GOP (i.e., the IRAP sub-picture 24 within its sub-video 28) for the differences between the respective sub-streams 32 of the current sub-picture 24 of the corresponding sub-video 28. Whenever a new sub-video 28 begins to contribute to a picture 18 of video 16 or one of the running sub-videos 28 begins a new GOP by having a sub-picture whose information 40 signals a RAP, the decoder 22 updates or calculates or resets the POC compensation offset for that sub-video or sub-stream 32, respectively, based on a comparison (i.e., by calculating a difference) with any of the final POC values ​​96 of any sub-video 28 or sub-stream 32 that remains in video 16 (i.e., in the same access unit 46) at that point in time and does not have any random access point encoding therein. Due to frame rate differences between sub-streams 32, the inter-sub-picture POC compensation parameters 92 may also include a factor by which the POC value 90 is scaled using a function 94 to produce a final POC value 96.Due to this frame rate difference, after offset compensation using the above-mentioned POC compensation offset, the mutual differences between the POC values ​​90 within the access unit 46 of the data stream 10 tend to be related to the mutual differences of the POC values ​​90 scaled in time according to the POC step size difference. This scaling difference is compensated by inverse scaling these POC values. The decoder 22 can derive such a scaling factor from the data stream 10 as part of the parameters 92, which can be written by the synthesizer / combiner 14 based on an evaluation of the frame rate based on the sub-video 28 and the corresponding sub-stream 32, respectively.

[0092] Thus, to summarize briefly, the decoder 22 may manage the POC compensation parameters 92 to parameterize the function 94. Thus, the parameterized function 94 produces a final POC value 96 when applied to the POC value 90 corresponding to a particular sub-picture 24 of the current picture 18. The final POC values ​​96 obtained in this manner are equal to each other for each picture 18 of the video 16. The offsets between the parameters 92 may be updated by the decoder 22 at the random access point sub-picture 24 in the manner described above, provided that there are non-RAP sub-pictures 24 in the picture 18 or access unit 46, respectively. If all sub-pictures 24 of the current picture 18 are random access point encoded, the decoder 22 may set the offset to any default value that is equal for all sub-pictures 24. Additionally or alternatively, the RAP sub-pictures themselves may be set to the same default POC value, for example by appropriately parameterizing the encoder 30. This value may be zero. Under this encoder constraint, the decoder will not have to perform any operation. However, encoder 30 will likely be free to set the POC of RAP sub-pictures 24 of one picture 18 to different values, and for such cases, the decoder may be configured to set the POC values ​​of these RAP sub-pictures to a default POC value (e.g., zero) or to a value equal to the signaled POC value 90 for the first encountered RAP sub-picture. The scaling factor in parameter 92 may be determined by decoder 22 each time a sub-video 28 newly contributes to the composition of video 16.

[0093] As further outlined below, the decoder 22 may have to take care to correctly perform the motion vector predictor scaling performed by the decoder 22 in order to preserve the sub-picture 24 from the corresponding NAL unit 34'. Motion predictor scaling is achieved when a motion vector predictor associated with a reference picture A having a POC distance a to a picture including a block whose corresponding motion vector predictor has been used is scaled to indicate that a POC distance b is required for a current prediction block of the current picture. Since the scaling should be performed relative to a POC distance associated with a POC definition of the corresponding substream 32, the decoder 22 may still have to implement this scaling based on the POC values ​​90 of the respective substreams. For example, according to HEVC motion vector predictor scaling, if the frame rate scaling factor in the parameter 92 is not a power of 2, different motion vector scaling may additionally result.

[0094] As already mentioned above, the above-described embodiments can be combined with each other. Figure 3 , Figure 4 , Figure 5 and Figure 7 Each of the described embodiments is Figure 2 The embodiments of the present invention are combined and established, and also by combining the embodiments of the present invention Figure 3 , Figure 4 , Figure 5 and Figure 7 The described embodiments are valid in combination with each other in pairs, triplets or in full. Each of these concepts relieves the resulting video codec concept from having to perform the Figure 1 The use of the video synthesis / merging task outlined. Naturally, Figure 1 The examples outlined in should not be considered limiting of the video encoding codec examples set forth in the above embodiments.

[0095] Before starting to describe another embodiment of the present application related to another aspect of the present application involving a slightly different subject matter, namely, progressive decoding refresh, the present invention will again be described and motivated in another way. Figure 7 Specifically, as already outlined above, Figure 7 Embodiments relate to POC incremental derivation. As described, sub-pictures 24 (each of which may be, for example, a tile or set of tiles (conforming to a joint bitstream 10)) may have non-aligned random access points or different reference structures or GOP structures. As outlined above, such a use case may occur, for example, when originally separately encoded bitstreams 32 are merged together to form a single data stream 10.

[0096] In this case, the POC (picture order count) indicated within the sub-bitstream 32 of each sub-picture 24 may be different, despite being associated with a common time instant or contributing to one common access unit 46 in the merged data stream 10. When this is the case, this results in the following burden: the POC values ​​signaled within the bitstream 32 (i.e. within the NAL units 34) will have to be rewritten by the combiner / combiner so that they can be merged into the resulting composite data stream in a way that produces one POC value for one access unit. Figure 7 Embodiments of 3D-PUSH alleviate this burden and allow merging such sub-picture sub-streams 32 without having to adjust the POC values ​​encoded into the NAL units (eg, the header of each sub-picture 24, ie, the tile group header).

[0097] The POC is used to derive access unit boundaries. That is, a POC is typically used to associate a group of slices or tile groups or NAL units with an access unit 46. This can be Figure 7 The decoder 22 is in Figure 2 Alternative behavior in case of a combination of embodiments: In case indication 44 indicates a sub-picture granularity, decoder 22 will apply Figure 7 In the case of picture granularity, decoder 22 will expect each access unit 46 to have only one POC value that is equal within access unit 46. In the case of picture granularity, decoder 22 will identify the start of the next access unit 46 in response to the POC value changing from one NAL unit to another. Figure 7 The identification of access unit interfaces separating consecutive access units 46 in the data stream 10 in the case of the sub-picture granularity functionality described in can be performed by the decoder 22, for example, based on access unit delimiters inserted into the data stream 10 by, for example, the combiner / merger 14.

[0098] Among the different processes that use POC values ​​during decoding, there is picture output, ie pictures are output in increasing order of POC, and for picture reference, ie determining which pictures are used for reference (short-term reference pictures or long-term reference pictures).

[0099] When decoding several sub-pictures 24 from the same data stream 10, refer to Figure 7The described embodiment allows different POC values ​​to be signaled in the NAL units 34' of each sub-picture 24 within the same access unit 46, while still allowing the POC values ​​96 that are ultimately used for the picture output and picture reference tasks just mentioned to be correctly derived. Random access points typically result in a reset of the POC value, and the decoder begins the decoding process using the POC value at the beginning of the bitstream. When the decoder finds an IDR, it typically assigns a POC value of 0 to that picture and derives POC values ​​for subsequent pictures based on this. Subsequent access units or NAL units within an access unit contain information such as (tile group) header bits, which signal the POC of the access unit to which they belong. Typically, the POC is signaled with the LSB bit in the header of the slice / tile group, and the MSB bit is derived by the decoder. If in Figure 7 If this process is applied as outlined in , it will lead to incorrect derivation of access unit boundaries, reference pictures and output order when sub-pictures of an access unit contain different POC LSB values ​​or different POC LSB lengths within one access unit.

[0100] Reference Figure 7 The described embodiment uses a per-sub-picture ΔPOC calculation that tracks the differences between different sub-picture bitstreams 32. For example, when the decoding process of the decoder 22 starts at a regular full-picture IRAP, all NAL units 34' of the access unit 46 carry the same POC value (NAL POC LSB). In this case, the POC MSB is set to 0 and a ΔPOC is newly introduced. Now, during the CVS process, a sub-picture RAP may appear and carry a different NAL POC LSB (e.g., a zero value), while other NAL POC LSBs in the access unit remain unchanged (not equal to 0). Whenever a sub-picture RAP is identified as described above or by prior art signaling such as by means of NAL unit type or SEI messages, a ΔPOC is derived for the sub-picture as the difference between the sub-picture IRAP NALU POC LSB and the other NALU POC LSBs in the access unit. The full-picture POC 96 is derived for all NALUs as the basis for the above-mentioned functions of picture output, picture reference, etc. When processing sub-picture IRAP NALUs, full-picture POC 96 incorporates non-zero ΔPOCs, while for remaining non-sub-picture IRAP NALUs, incorporating corresponding 0 ΔPOCs into the calculation of full-picture POC 96 results in the same full-picture POC value 96 for all NALUs of access unit 46 . Figure 8 The usage example shows that Figure 7In this example, four consecutive pictures 18a to 18d of a video 16 are shown, each of which is subdivided into three sub-pictures 24, wherein the first picture 18a is an IRAP picture (i.e., all of its sub-pictures 24 are random access points), while all of the sub-pictures 24 of the second picture 18b and the fourth picture 18d are non-RAP coded. The third picture 18c has a sub-picture 24 coded in a random access point manner (i.e., Figure 8 The upper one in the figure), while other sub-pictures are not encoded in this way. It can be seen that Figure 8 A simple example of a function 94 is shown, namely an addition with a constant representing a POC compensation parameter (i.e., the second addend in the summation written in each sub-picture 24). The first addend represents the signaled POC value (i.e., the input to the parameterizable function), while the resulting sum corresponds to the final POC value 96. Figure 8 As shown, the decoder obtains the POC compensation offset by subtracting 98 the final POC value of one of the non-RAP sub-pictures 24 of picture 18c from the transmitted POC value of the RAP sub-picture 24.

[0101] The introduction of the described full picture POC scheme may be gated by an SPS / PPS level flag. Alternatively, instead of an implicit derivation of a ΔPOC value (i.e., a POC compensation offset), a parameter set within the data stream 10 may indicate a ΔPOC that should be subtracted / added to each sub-picture POC value 90 by a function 94, such that the resulting full picture POC 96 is aligned for each sub-picture 24 of the current decoded picture 18 or current access unit 46 in the data stream 10. For the case where the sub-picture IRAPNALU is in an access unit 46, additional constraints may be needed to make the full picture POC derivable.

[0102] For example, a requirement may be placed on the data stream 10 (i.e., compliance of the bitstream is required) that there be at least one sub-picture non-IRAP NALU in the access unit 46, i.e., at least one sub-picture 24 of each picture 18 is coded in a non-RAP manner to allow the derivation of a current full-picture POC 96 from which the delta POCs (i.e., POC compensation offsets) of all sub-picture IRAP NALUs are derived. In other words, when a flag is utilized with a new NAL unit type and sub-RAPs are not signaled by allowing different NAL unit types. In this case, such signaling can be used only when one of the NAL units is not indicated as being a sub-RAP.

[0103] A different solution may be as follows. When all sub-pictures in the access 46 are identified as sub-picture IRAPs, the POCMSB is reset and the ΔPOC for each sub-picture 24 is calculated so that all sub-pictures produce the same full-picture POC. For example, in this case, the first sub-picture ΔPOC is set to 0, and all other sub-picture ΔPOCs are set accordingly to then produce a full-picture POC 96 for the first sub-picture IRAP NALU in the access unit.

[0104] As has also been described above, the substreams 32 participating in the composite data stream 10 may have different POC step sizes. This may occur, for example, in a conferencing scenario. One stream may be encoded at 30PFS and the other substream 32 may be encoded at 60FPS. In this case, as has been described above, one option is to merge at the lowest common frame rate (i.e., 30FPS). To this end, the highest temporal layer of the 60FPS substream 32 may be discarded, thereby reducing the frame rate to 30FPS. However, since the 60FPS encoder has to accommodate a higher number of frames by using a relatively larger POC step size relative to the 30FPS encoder, the POC step sizes between temporally adjacent pictures in the two streams will be different. In the case of merging the streams together to form a common bitstream as described above, care must be taken to ensure correct POC derivation. When the POCs of the sub-picture bitstreams have different step sizes, Figure 7 Embodiments allow for implementation of scaling of the POC values ​​90 of individual sub-pictures 24 within the encoded video sequence 10. For example, the merger / compositor 14 would be informed of or itself derive the POC step size differences from the input sub-picture bitstreams 32, and write the corresponding POC scaling factors into the parameter sets of all sub-picture bitstreams contributing to the synthesis of the data stream 10, so that all full-picture POCs are aligned.

[0105] It has been further explained above that the scaled full picture POC is used for reference picture derivation and output order, while motion vector scaling can still be done based on the unscaled POC difference. By doing so, the correct motion vector scaling as envisioned by the original encoder is performed.

[0106] As an alternative to tracking all POC values ​​90 (i.e., unscaled POC) for each sub-picture 24 on the decoder side, the decoder may also derive POC value differences for performing motion vector candidate scaling on the encoder side from the scaled POC values ​​by using the corresponding POC scaling factors when deriving the POC differences for motion vector scaling.

[0107] Furthermore, although the POC offset value in parameters 92 is described as being automatically determined by the decoder, alternatively or additionally, the POC offset value may be inserted into the data stream 10 by the combiner / combiner 14, as has been described above with respect to the POC scaling factor.

[0108] Reference Fig. 9 , the present application goes on to describe an example of a video codec that allows progressive decode refresh. Fig. 9 The basic concept of this embodiment is shown.

[0109] Specifically, Fig. 9 A succession of pictures 100 of a video 102 is shown, ie four successive pictures ordered along their encoding / decoding order 58 . Fig. 9 An encoder is shown encoding a video 102 into a data stream 106 and a decoder 108 decoding or reconstructing the video 102 from the data stream 106. The concept is as follows. To achieve progressive decoding refresh, the video decoder 108 subdivides the corresponding reference picture into a refresh picture area and a non-refresh picture area for each reference picture record of the video 102. Specifically, the reference pictures are those pictures that precede the current decoded picture in the decoding order 58 and can be used as a prediction reference for the current decoded picture or any subsequent pictures. The refresh picture and non-refresh picture areas just mentioned will become clear from the following description. Specifically, the decoder 108 decodes the refresh update area 110 (in the refresh update area 110) for a particular picture 100a from the data stream 106. Fig. 9 The information is shown in cross-hatching in Fig. 9 In the example of , it includes the left-hand third of the picture 100a. For example, the encoder encodes each picture 100a to 100d into a corresponding access unit 112a to 112d, and signals information 114 locating a refresh update area 110 within the picture 100a in the access unit 112a for the picture 100a. The indication 114 of the refresh update area may initiate a progressive decoding refresh, which causes special measures to be taken for encoding and decoding of the picture 100a and some subsequent pictures until the progressive decoding refresh is completed on both sides (the encoder 104 and the decoder 108), as will be explained in more detail below.

[0110] Specifically, the area 110 located by the information 114 is only encoded by the encoder 104 through intra-frame coding (i.e., it represents an area encoded in a random access point manner), and the decoder 108 accordingly decodes the refresh update area 110 (i.e., using intra-frame prediction). There is no further restriction on the encoding of another area of ​​the picture 100a (i.e., the remaining area 116), which can be encoded by the encoder 104 and correspondingly decoded by the decoder 108 using intra-frame prediction and / or inter-frame prediction based on previous pictures.

[0111] For the next picture 100b in the encoding / decoding order 58, the progressive decoding refresh has not yet been completed. The encoder 104 encodes the picture 100b into a corresponding access unit 112b and again signals therein information 114 about the refresh update area 110 within the picture 100b. Fig. 9 In the example of , the refresh update area of ​​picture 100b covers the horizontal middle third of picture 100b and is therefore spatially adjacent to the refresh update area 110 of the preceding picture 100a. When the information 114 in the access unit 112a initiates a progressive decoding refresh, the information 114 about picture 112b then indicates the continuation of the initiated progressive decoding refresh. Again, area 110 of picture 100b is encoded by the encoder 104 only by intra prediction and decoded by the decoder 108 accordingly. However, as part of the initiated progressive decoding refresh, the decoder 108 as well as the encoder 104 perform the following tasks: First, the encoder 104 and the decoder 108 perform the above-mentioned recording of refresh picture areas of reference pictures. As progressive decoding refresh has been initiated at picture 100a and picture 100a forms a reference picture with respect to the subsequent picture 100b, the refresh update area 110 of picture 100a represents the refresh picture area of ​​picture 100a, while the further area 116 is a non-refresh picture area. The refresh picture area in Fig. 9 100a). In the example of FIG. 5 , the encoder 104 and decoder 108 each determine a first region 120 within the currently encoded / decoded picture (i.e., in the currently described picture 100b) that is separate from the refresh update region 110 of the same picture 100b and is to be encoded and decoded independently of non-refresh picture regions of the reference picture (here, picture 100a). The encoder 104 may encode explicit signaling as to where the region 120 is, or more preferably, the encoder 104 and decoder 108 determine the region 120 to be a region of the picture 100b that is juxtaposed with the refresh picture region 118 of the picture 100a (i.e., the immediately preceding picture in the encoding / decoding order 58). In order to distinguish the region 120 from the refresh update region 110, in Fig. 9 The refresh update region 110 is shown using cross-hatching, while region 120 is shown using simple shading.

[0112] Both the encoder and the decoder take special measures to encode / decode the region 120 into / from the corresponding access unit 112b. Specifically, for example, the encoder 104 does not restrict the domain of coding parameters that can be signaled (based on which the encoder and decoder will derive the prediction of the region 120). In other words, the encoder 104 encodes these pictures into the corresponding access unit using coding parameters that determine the prediction of these pictures from previous pictures, such as using motion compensated prediction, and prediction residual information that describes the prediction residual used to correct the prediction. The coding parameters and the prediction residual information are encoded into the access unit to describe the corresponding picture. However, within the refresh update region 110, the encoder 104 only uses intra-frame prediction, that is, predictions from any other pictures are not used. With respect to the region 120, the encoder 104 uses inter-frame prediction and, for example, does not restrict the domain of coding parameters that can be signaled, but compared to other regions such as the region 116, the encoder 104 and the decoder 108 use different ways to derive the prediction of the region 120 based on the coding parameters that are signaled. Specifically, consider the location of refresh picture region 110 of the corresponding reference picture (here picture 100a). For example, the encoder 104 is free to encode the motion vector of region 120 into the data stream 106, and if the prediction derivation does not change, the motion vector of region 120 will result in a dependency of region 120 on region 116, i.e., a motion vector that actually points to the portion of reference picture 100a that extends into region 116. Similarly, the encoder 104 can use motion vector prediction to encode the motion vector of region 120, but when constructing the corresponding motion vector prediction lists of motion vector predictor candidates formed by the motion vectors used to encode picture 100a, the encoder 104 exclusively populates these motion vector predictor candidate lists with motion vectors specifically for blocks within refresh picture region 110. The possibility that the encoder 104 may use the signalable states that are actually redirected to the prediction derivation results of the region 120 (which may actually also be signaled by other states of the coding parameters of the region 120) provides the encoder 104 with an increased possibility of improving compression efficiency, because, for example, sometimes those coding parameter states that are later redirected by the encoder 104 and the decoder 108 to other states that result in reliance only on the prediction of the update picture region 110 may be coding parameter states that may be encoded using fewer bits than the coding parameter states that immediately describe the prediction without any redirection by the encoder 104 and the decoder 108. That is, the encoder 104 and the decoder 108 may, for example, clip the motion vectors actually signaled in the data stream 106 for the region 120 so as not to extend beyond the borders of the refresh picture region 110 of the reference picture 100a.Alternatively or additionally, the encoder and decoder 108 may use padding for portions of the reference picture 108 that are beyond the border of the refresh picture area 110 pointed to by the motion vectors signaled in the data stream 106 for the area 120. Even alternatively or additionally, the motion vector candidate list construction performed by the encoder 104 and decoder 108 may be done in such a way as to exclude motion vectors from padding the list outside the refresh picture area 110 located within the reference picture 100a. For example, the encoder 104 may signal the selected motion vector predictor to the decoder 108 by signaling within the data stream 106 and an index to such a motion vector candidate list constructed accordingly. Fig. 9 In the case of the above, the remaining area of ​​the picture 100b (the right-hand third of the picture 100b) represents an area 116 separated from the first area 120 and the refresh update area 110 of the picture 100b and represents an area including inter-frame prediction without any restriction on the refresh picture area 110 of the picture 100a encoded by the encoder 104. That is, the area 116 of the picture 100b is an inter-frame prediction area without any restriction.

[0113] exist Fig. 9 In the example of FIG. 1 , the subsequently encoded / decoded picture 100c indicates the completion of the progressive decoding refresh initiated at picture 100a. For this picture 100c, the encoder 104 encodes information 114 indicating the location of the refresh update area 110 of the picture 100c into the corresponding access unit 112c. Fig. 9 In the case of , the refresh update area 110 covers the right-hand third of the screen 100c. That is, Fig. 9 A refresh update area 110 of successive pictures 100a to 100c starting from picture 100a representing the start of a progressive decoding refresh is shown presenting mutually separated portions of a picture area of ​​a picture of the video 102. Again, this picture 110 is intra-coded by the encoder 104 and decoded by the decoder 108 accordingly.

[0114] For picture 100c, picture 100b also represents a reference picture. Its refresh picture area 118 is determined by the encoder and decoder as the union of the first area 120 of picture 100b and the refresh update area 110. This in turn means that during progressive decoding refresh, the refresh picture area 118 continues to grow. Again, the encoder 104 and the decoder 108 determine the first area 120 of picture 100c, for example, as an area that spatially overlaps with the refresh picture area 110 of the immediately preceding picture (i.e., picture 100b). This area 120 is encoded / decoded as previously described with respect to the area 120 of picture 100b, except that this area 120 has two reference picture candidates, i.e., picture 100a with the refresh picture area 118 and picture 100b with the refresh picture area 118. Inter-frame prediction is used for region 120 (i.e., a coding mode allowed in addition to the inter-frame prediction mode), but the coding parameters of region 120 of picture 100c are redirected to such a state that the resulting prediction does not cause any dependency of the encoding / decoding of region 120 on the non-refreshed region 116 of pictures 100a and 100b.

[0115] As of picture 100c, the progressive decode refresh initiated by the encoder 104 at picture 100a is complete, and the refresh picture area 118 covers a complete picture of pictures of the video 102 as of picture 100c. The encoder 104 may intermittently or periodically initiate another progressive decode refresh, and the refresh picture area will shrink to correspond to the refresh update area 110 of the first initiated picture of the subsequent progressive decode refresh.

[0116] Reference Fig. 9 The described progressive decoding refresh may be described as sub-picture intra refresh filling. It may be implemented using tiles or tile groups or may be implemented without using tiles. Fig. 9 In an embodiment of the invention, some parts of a picture (which may be referred to as sub-pictures) are refreshed (ie, region 110) by applying intra-coding, while subsequent pictures are inter-coded and inter-decoded in a constrained manner. Fig. 9 In the example of , the picture is subdivided into columns (here exemplarily divided into N=3 columns), but it should be clear that the number of columns N can be selected differently, and even a different growth form of refreshing the picture area 118 during such progressive decoding refresh can be selected, such as growth in units of blocks instead of units of columns of the picture. As shown in reference Fig. 9 As explained, in the first sub-picture RAP (i.e., the picture at access unit 0, Fig. 9 In the case of picture 100a), only the first column (indicated by colldx=0) is encoded in the intra block.

[0117] In the next access unit AU=1 (i.e., the second picture in the encoding / decoding order 58, Fig. 9 100b), only the second column is coded using an intra block (i.e., colldx=1), while the first column is coded using an inter block that can only refer to samples decoded in the previous picture at column colldx=0. However, instead of constraining the motion vectors that the encoder can encode in the data stream, Fig. 9 Embodiments of are also free to encode motion vectors that would actually result in dependencies on other regions when column colldx=0. Specifically, according to Fig. 9 In an embodiment, an intra refresh region (i.e., the first column in this example) is indicated, and if the motion vector indicates, a padding such as orthogonal extrapolation of the outermost pixel line is used for the reference blocks of the inter-coded blocks beyond the column colldx=0 of the picture of access unit 1. Motion vector clipping based on the indication of the region may be applied alternatively or additionally to ensure that the motion vector of the refresh region does not depend on the non-refresh region. As the pictures are decoded successively, the refresh region 118 increases, thus indicating a per-picture refresh region 110.

[0118] It should be noted that Fig. 9 An alternative would be for the encoder 104 to signal the continuous positions of these areas 110 by indicating a pattern of updated refresh areas 110 of consecutive pictures 100a to 100c (i.e., a sequence of pictures forming a progressive coding refresh). This pattern will describe the refresh. The area of ​​each sequence may also be indicated. Therefore, for picture 100a (i.e., the starting picture of the GDR sequence 100a-100c), this information may be signaled once, thereby signaling the GDR start and area 110 of pictures 100a-c. The previous indication may be what may be indicated in the PPS. Alternatively, a GDR start indication may be signaled for picture 100a, for example, in its PPS, and the position pattern of the area 110 in the GDR picture sequence starting from the GDR start picture may be what is signaled in a higher-level manner (e.g., in the SPS).

[0119] With respect to the above-described embodiments, additional remarks are made as follows. The above-described embodiments present advantageous video codec concepts. Many of the concepts allow advantageous video synthesis as described above. However, it should be noted that the encoder may directly form any of the above-described inventive data streams 10, i.e., without synthesis of pre-encoded substreams. In such a task, the encoder may exploit the advantageous properties of the data stream 10 presented above, such as the possibility to select RAP time instances and reference picture buffer descriptions per sub-picture rather than per global picture.

[0120] Therefore, the above-mentioned embodiment also relates to a video decoder (and a corresponding video encoder and data stream) for decoding a video 16 of a picture 18 from a data stream 10, in which the video is encoded in a manner that sub-pictures 24 into which the picture is spatially subdivided are encoded independently of each other. The video decoder is configured to decode, for each sub-picture of each picture in a set 42 of one or more pictures of the video, sub-picture related information 40 such as a syntax element nal_unit_type from the data stream, the sub-picture related information 40 identifying the corresponding sub-picture as being encoded in a random access point manner when a first state is present (e.g., when the state IDR_N_LP is present), and identifying the corresponding sub-picture as not being encoded in a random access point manner when a second state is present (e.g., when the state TRAIL_NUT is present). The decoder decodes a random access point signaling granularity indication 44 from the data stream for the set 42 of the one or more pictures (e.g., pictures whose PPS contains the syntax element mixed_nalu_types_in_pic_flag), which can be named mixed_nalu_types_in_pic_flag, and when presenting a first granularity or a first state (e.g., 0), indicates that for each picture in the set of one or more pictures, the sub-picture related information presents a common state (e.g., IDR_N_LP) for all sub-pictures of the corresponding picture, and when presenting a second granularity or a second state (e.g., 1), it indicates that for each picture in the set of one or more pictures, the sub-picture related information is allowed to present different states for the sub-pictures of the corresponding picture (e.g., IDR_N_LP for at least one sub-picture and TRAIL_NUT for at least one other sub-picture within the same picture). In other words, mixed_nalu_types_in_pic_flag presenting a first state (e.g., equal to 0) may indicate that the value of nal_unit_type should be the same for all coded slice NAL units of a picture and therefore the same for all sub-pictures within a picture. However, in addition, if mixed_nalu_types_in_pic_flag presents another state (e.g., equal to 1), this may indicate that the VCL NAL units of one or more sub-pictures of the picture all have a specific value of nal_unit_type, such as one of a set of NAL unit types consisting of one or more of STSA_NUT, RADL_NUT, RASL_NUT, IDR_W_RADL, IDR_N_LP, and CRA_NUT, while other VCL NAL units in the picture all have different specific values ​​of nal_unit_type, i.e., one of another set consisting of one or more of TRAIL_NUT, RADL_NUT, and RASL_NUT.Even in other words, mixed_nalu_types_in_pic_flag presenting a second state (e.g., 1) may specify that each picture that references a PPS including mixed_nalu_types_in_pic_flag has more than one VCL NAL unit that does not have the same nal_unit_type value, and that the picture is not an IRAP picture, while mixed_nalu_types_in_pic_flag presenting another state (e.g., 0) may indicate that each picture that references the PPS has one or more VCL NAL units, and that the VCL NAL units of each picture that references the PPS have the same nal_unit_type value. In this way, mixed_nalu_types_in_pic_flag may be set to a first state, such as 1, so as to indicate for pictures that reference a PPS (e.g., pictures that originate from a sub-picture bitstream merge operation) that they contain slices with different NAL unit types.

[0121] Although some aspects have been described in the context of an apparatus, it is clear that these aspects also represent the description of the corresponding method, wherein the block or device corresponds to the feature of the method step or the method step. Similarly, the aspects described in the context of the method step also represent the description of the corresponding block or item or feature of the corresponding apparatus. Some or all of the method steps can be performed by (or using) hardware devices, such as microprocessors, programmable computers or electronic circuits. In some embodiments, one or more of the most important method steps can be performed by such a device.

[0122] Depending on specific implementation requirements, embodiments of the present invention may be implemented in hardware or software. The implementation may be performed using a digital storage medium having electronically readable control signals stored thereon, such as a floppy disk, DVD, Blu-ray, CD, ROM, PROM, EPROM, EEPROM or flash memory, which cooperates (or is capable of cooperating) with a programmable computer system to perform the corresponding method. Thus, the digital storage medium may be computer readable.

[0123] Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.

[0124] The encoded video signal or data stream of the present invention can be stored on a digital storage medium, respectively, or can be transmitted on a transmission medium such as a wireless transmission medium or a wired transmission medium (eg, the Internet).

[0125] Generally, embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product runs on a computer. The program code may, for example, be stored on a machine readable carrier.

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

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

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

[0129] Therefore, another embodiment of the inventive method is 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 configured to be transmitted via a data communication connection (eg, via the Internet).

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

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

[0132] Another embodiment according to the invention comprises an apparatus or system configured to transmit (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 storage device, etc. The apparatus or system may, for example, comprise a file server for transmitting the computer program to the receiver.

[0133] 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 collaborate with a microprocessor to perform one of the methods described herein. Typically, the method is preferably performed by any hardware device.

[0134] The devices described herein may be implemented using hardware devices or using computers or using a combination of hardware devices and computers.

[0135] An apparatus described herein or any component of an apparatus described herein may be implemented at least partially in hardware and / or software.

[0136] The methods described herein may be performed using a hardware device or using a computer or using a combination of a hardware device and a computer.

[0137] Any component of a method described herein or an apparatus described herein may be performed at least in part by hardware and / or software.

[0138] The above embodiments are only used to illustrate the principles of the present invention. It should be understood that modifications and variations of the arrangements and details described herein will be apparent to other persons skilled in the art. Therefore, it is intended that the scope of the appended patent claims be limited only, and not limited by the specific details presented by the description and illustration of the embodiments herein.

Claims

1. A method for decoding a picture from a data stream, the method comprising: include: For a picture, decoding from the data stream a flag indicating whether a NAL unit type changes between at least two sub-pictures of the picture; When the flag is a first value, determining that the NAL unit type is the same for all sub-pictures of the picture; as well as When the flag is a second value different from the first value, a first NAL unit type of a first sub-picture of the picture and a second NAL unit type of a second sub-picture of the picture are decoded, wherein the first NAL unit type is different from the second NAL unit type.

2. The method according to claim 1, in: the first NAL unit type is random access, and The second NAL unit type is non-random access.

3. The method according to claim 1, in: The flag is contained in a picture parameter set PPS, a sequence parameter set SPS or a video parameter set VPS of the data stream, and Each NAL unit type is associated with a slice of a sub-picture.

4. The method according to claim 1, further comprising: include: when the flag is a second value, storing at least one of the sub-pictures in a buffer when decoding the sub-pictures; as well as The buffer is flushed after all sub-pictures of the picture have been parsed or decoded.

5. The method according to claim 1, further comprising: include: Two subsets of NAL unit types are distinguished based on the integer-valued syntax elements corresponding to the NAL unit types, where: A first subset of the two subsets of NAL unit types corresponds to random access, and The second of the two subsets of NAL unit types corresponds to non-random access.

6. A decoder configured to: For a picture, decoding from a data stream a flag indicating whether a NAL unit type changes between at least two sub-pictures of the picture; When the flag is a first value, determining that the NAL unit type is the same for all sub-pictures of the picture; and when the flag is a second value different from the first value, decoding a first NAL unit type for a first sub-picture of the picture and a second NAL unit type for a second sub-picture of the picture, in, The first NAL unit type is different from the second NAL unit type.

7. The decoder according to claim 6, in: the first NAL unit type is random access, and The second NAL unit type is non-random access.

8. The decoder according to claim 6, in: The flag is contained in a picture parameter set PPS, a sequence parameter set SPS or a video parameter set VPS of the data stream, and Each NAL unit type is associated with a slice of a sub-picture.

9. The decoder according to claim 6, further configured to: When the flag is a second value, storing at least one of the sub-pictures in a buffer when decoding the sub-pictures; and The buffer is flushed after all sub-pictures of the picture have been parsed or decoded.

10. The decoder according to claim 6, further configured to: Two subsets of NAL unit types are distinguished based on integer-valued syntax elements corresponding to the NAL unit types. in: A first subset of the two subsets of NAL unit types corresponds to random access, and The second of the two subsets of NAL unit types corresponds to non-random access.

11. A non-transitory computer readable medium comprising instructions which, when executed, cause at least one processor to: For a picture, decoding from a data stream a flag indicating whether a NAL unit type changes between at least two sub-pictures of the picture; When the flag is a first value, determining that the NAL unit type is the same for all sub-pictures of the picture; and when the flag is a second value different from the first value, decoding a first NAL unit type for a first sub-picture of the picture and a second NAL unit type for a second sub-picture of the picture, in, The first NAL unit type is different from the second NAL unit type.

12. The non-volatile computer readable medium of claim 11, in: the first NAL unit type is random access, and The second NAL unit type is non-random access.

13. The non-volatile computer readable medium of claim 11, in: The flag is contained in a picture parameter set PPS, a sequence parameter set SPS or a video parameter set VPS of the data stream, and Each NAL unit type is associated with a slice of a sub-picture.

14. The non-transitory computer readable medium of claim 11, further comprising instructions that, when executed, cause the at least one processor to: When the flag is a second value, storing at least one of the sub-pictures in a buffer when decoding the sub-pictures; and The buffer is flushed after all sub-pictures of the picture have been parsed or decoded.

15. The non-transitory computer readable medium of claim 11, further comprising instructions that, when executed, cause the at least one processor to: Two subsets of NAL unit types are distinguished based on integer-valued syntax elements corresponding to the NAL unit types. in: A first subset of the two subsets of NAL unit types corresponds to random access, and The second of the two subsets of NAL unit types corresponds to non-random access.

16. A method for encoding a picture into a data stream, the method include: Determine whether the NAL unit type is the same for all sub-pictures of a picture; In response to determining that the NAL unit type is the same for all sub-pictures of the picture, encoding a flag as a first value; and In response to determining that the NAL unit type is not the same for all sub-pictures of the picture: encoding the flag as a second value, wherein the second value is different from the first value, and A first NAL unit type of a first sub-picture of the picture and a second NAL unit type of a second sub-picture of the picture are encoded, wherein the first NAL unit type is different from the second NAL unit type.

17. An encoder configured to: Determine whether the NAL unit type is the same for all sub-pictures of a picture; In response to determining that the NAL unit type is the same for all sub-pictures of the picture, encoding a flag as a first value; and In response to determining that the NAL unit type is not the same for all sub-pictures of the picture: encoding the flag as a second value, in, the second value is different from the first value, and A first NAL unit type of a first sub-picture of the picture and a second NAL unit type of a second sub-picture of the picture are encoded, wherein the first NAL unit type is different from the second NAL unit type.

18. A non-transitory computer readable medium comprising instructions which, when executed, cause at least one processor to: Determine whether the NAL unit type is the same for all sub-pictures of a picture; In response to determining that the NAL unit type is the same for all sub-pictures of the picture, encoding a flag as a first value; and In response to determining that the NAL unit type is not the same for all sub-pictures of the picture: encoding the flag as a second value, in, the second value is different from the first value, and A first NAL unit type of a first sub-picture of the picture and a second NAL unit type of a second sub-picture of the picture are encoded, wherein the first NAL unit type is different from the second NAL unit type.