Temporal processing of video coding techniques

The hybrid backward compatible coding technique addresses inefficiencies in existing video coding systems by combining different formats with enhanced levels, providing flexible and efficient video coding suitable for diverse applications.

JP7548934B2Active Publication Date: 2024-09-10V NOVA INT LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2021558488
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-04-15
Filing Date
2020-03-18
Publication Date
2024-09-10
Estimated Expiration
2040-03-18

AI Technical Summary

Technical Problem

Existing video coding systems lack flexibility and efficiency in adapting to varying decoder capabilities and bandwidth conditions, leading to suboptimal signal reconstruction and quality.

Method used

A hybrid backward compatible coding technique that combines different video coding formats with enhanced levels, utilizing a base codec for downsampled signals and additional correction and enhancement streams to create flexible and adaptable video coding formats suitable for various applications.

Benefits of technology

Enhances video quality and flexibility by allowing decoders to process information efficiently, supporting over-the-top transmission and live streaming with improved visual quality and computational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007548934000008
    Figure 0007548934000008
  • Figure 0007548934000009
    Figure 0007548934000009
  • Figure 0007548934000007
    Figure 0007548934000007
Patent Text Reader

Abstract

A decoder (400) configured to receive a first output video and one or more further encoded streams (416, 428), decode respective frames of the one or more further encoded streams to derive a respective set of residuals, and combine (470) the set of residuals with the first output video to generate a reconstructed output video (448). Each frame is divided into a plurality of tiles, and each tile is divided into a plurality of blocks. To decode each frame, the decoder is configured to obtain a preliminary set of residuals from the one or more further encoded streams (440, 446), derive a set of temporal predictions using a temporal buffer (432), and combine (468) the set of temporal predictions with the preliminary set of residuals. The decoder is configured to provide zeroing of values ​​of the set of temporal predictions at the frame level, the tile level, and the block level.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method, an apparatus, a computer program, and a computer readable medium for use in video coding techniques. [Background technology]

[0002] Compression and decompression of signals is considered in many known systems. Many types of signals, e.g., video, may be compressed and encoded for transmission over, for example, a data communication network. When such a signal is decoded, it may be desirable to increase the level of quality of the signal and / or to recover as much of the information contained in the original signal as possible.

[0003] Some known systems utilize scalable coding techniques, which involve encoding a signal with information that allows reconstruction of the signal at one or more different quality levels, depending, for example, on the capabilities of the decoder and the available bandwidth.

[0004] The reconstruction of a signal in a scalable coding system involves several considerations. One such consideration is the ability of the encoder and / or decoder to process the information efficiently. The efficiency with which the encoder and / or decoder process the information may be a factor in the performance level of the encoder and / or decoder. Summary of the Invention

[0005] Various aspects of the invention are set forth in the following claims.

[0006] Further features and advantages will become apparent from the following description, given by way of example only, made with reference to the accompanying drawings, in which: [Brief description of the drawings]

[0007] [Figure 1] FIG. 2 is a schematic diagram illustrating an encoding process according to an example herein. [Diagram 2] FIG. 2 is a schematic diagram illustrating a decoding process according to an example herein. [Figure 3A-3B] Each is a schematic diagram illustrating an encoding process according to an example herein. [Figure 4A-4B] Each is a schematic diagram illustrating a decoding process according to an example herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Described herein is a hybrid backward compatible coding technique.

[0009] The examples described herein provide a flexible, adaptable, highly efficient, and computationally inexpensive coding format that combines different video coding formats, a base codec (e.g., AVC, HEVC, or any other current or future codec) with at least two extension levels of coding data.

[0010] The general structure of the encoding scheme is to use a downsampled source signal encoded with a base codec, add a first level of enhancement data to the decoded output of the base codec to produce a compensated picture, and then add a further level of enhancement data to an upsampled version of the compensated picture.

[0011] For this reason, the streams are considered to be elementary and enhanced streams. It should be noted that typically, elementary streams are expected to be decodable by a hardware decoder, while enhanced streams are expected to be suitable for software processing implementation with favorable power consumption.

[0012] This structure creates multiple degrees of freedom, allowing flexibility and adaptability to many situations, making it the preferred coding format for many use cases, including over-the-top (OTT) transmission, live streaming, and live ultra-high definition (UHD) broadcast.

[0013] The decoded output of the base codec is not intended for viewing, but since it is the fully decoded video at a lower resolution, the output is compatible with existing decoders and can also be used as a lower resolution output if deemed suitable.

[0014] Codec formats use a minimal number of simple coding tools that, when combined synergistically, can provide improved visual quality compared to full-resolution images encoded with the base codec while at the same time allowing flexibility in how they are used.

[0015] Figure 1 shows a first example encoder 100. The illustrated components may also be implemented as steps of a corresponding encoding process.

[0016] In the encoder 100, an input full resolution video 102 is processed to generate various encoded streams. A first encoded stream (encoded base stream 110) is generated by feeding a downsampled version of the input video to a base encoder 106 (e.g., AVC, HEVC, or any other codec), which is generated by downsampling (104) the input video 102. A second encoded stream (encoding level 1 stream 116) is generated by applying an encoding operation 114 to a residual portion obtained by taking the difference 112 between the reconstructed base codec video and the downsampled version of the input video. The reconstructed base codec video is obtained by decoding the output of the base encoder 106 with a base decoder 108. A third encoded stream (encoding level 2 stream 128) is generated by processing (126) a residual portion obtained by taking the difference 124 between the compensated version of the reconstructed base coding video and the upsampled version of the input video 102. The corrected version of the reconstructed base codec video is obtained by combining the reconstructed base codec video 120 with a residual portion obtained by applying a decoding operation 118 to the encoding level 1 stream 116.

[0017] The level 1 encoding operation 114 operates with an optional level 1 temporal buffer 130, which may be used to apply temporal processing, as described further below. The level 2 encoding operation 126 also operates with an optional level 2 temporal buffer 132, which may be used to apply temporal processing, as described further below. The level 1 temporal buffer 130 and the level 2 temporal buffer 132 may operate under the control of a temporal selection component 134, which may receive one or more of the input video 102 and the output of the downsampling 104 to select a temporal mode, which is described in more detail in a later example.

[0018] FIG. 2 shows a first example decoder 200. The illustrated components may also be implemented as steps of a corresponding decoding process. The decoder receives three streams (encoded elementary stream 210, encoded level 1 stream 216, and encoded level 2 stream 228) generated by an encoder such as the encoder 100 of FIG. 1, together with a header 236 containing further decoding information. The encoded elementary stream 210 is decoded by an elementary decoder 208 corresponding to the elementary decoder used in the encoder, the output of which is combined (238) with a decoded residual obtained by decoding (240) the encoded level 1 stream 216. The combined video is upsampled (242) and further combined with a decoded residual 244 obtained by applying a decoding operation 246 to the encoded level 2 stream 228.

[0019] Figures 3A and 3B show different variants of the second exemplary encoder 300, 380. The second exemplary encoder 300, 380 may include an implementation of the first exemplary encoder 100 of Figure 1. In the examples of Figures 3A and 3B, the encoding steps of the stream are expanded in more detail to provide an example of how the steps can be performed. Figure 3A shows a first variant with a second level of the enhancement process, i.e., temporal prediction provided only for level 2 encoding. Figure 3B shows a second variant with temporal prediction performed at both levels of enhancement (i.e., levels 1 and 2).

[0020] The elementary stream 310 is substantially created by a process as described with reference to Fig. 1. In other words, the input video 302 is downsampled (304) (i.e., a downsampling operation 304 is applied to the input video 302 to generate a downsampled input video). The downsampled video obtained by downsampling (304) the input video 302 is then encoded using a first elementary encoder 306 (i.e., an encoding operation is applied to the downsampled input video to generate an elementary stream 310 encoded using the first or elementary encoder 306). Preferably, the first or elementary encoder 306 is a codec suitable for hardware decoding. The encoded elementary stream 310 may be referred to as a base layer or a base level.

[0021] As mentioned above, the enhancement stream may include two streams. The first level of enhancement (described herein as "Level 1") provides a set of correction data that can be combined with a decoded version of the base stream to generate correction pictures. This first enhancement stream is shown in Figures 1 and 3 as the encoded level 1 stream 316. The enhancement stream may be generated by an enhancement encoder. The enhancement encoder may be different from the base encoder 306 used to generate the encoded base stream 310.

[0022] To generate the coding level 1 stream 316, the coded elementary stream 310 is decoded using the elementary decoder 308 (i.e., a decoding operation is applied to the coded elementary stream 310 to generate the decoded elementary stream). Then, a difference 312 is made between the decoded elementary stream and the downsampled input video obtained by downsampling (304) the input video 302 (i.e., a subtraction operation 312 is applied to the downsampled input video and the decoded elementary stream to generate a first set of residuals). Here, the term residual is used in a manner known in the art, i.e., the error between a reference frame and a desired frame. Here, the reference frame is the decoded elementary stream and the desired frame is the downsampled input video. Thus, the residual used in the first enhancement level can be considered as a compensated video, since it "compensates" the decoded elementary stream to the downsampled input video used in the elementary coding operation.

[0023] The difference 312 is then encoded to generate an encoding level 1 stream 316 (ie, an encoding operation is applied to the remaining portion of the first set to generate the first enhanced stream 316).

[0024] In the exemplary implementation of FIGS. 3A and 3B, the encoding operation includes several steps, each of which is optional and preferred, and provides certain advantages.

[0025] In FIG. 3, the steps include a transform step 336 , a quantization step 338 , and an entropy coding step 340 .

[0026] Although not shown, in some examples, the encoding process identifies whether a remainder ranking mode is selected. If the remainder mode is selected, a remainder ranking step may be performed (i.e., a remainder ranking operation may be performed on the first step of remainders to generate a set of ranked remainders). The set of ranked remainders may be filtered so that not all remainders are encoded into the first enhancement stream 316 (or correction stream).

[0027] The first set of residuals, or the ranked or filtered first set of residuals, are then transformed (336), quantized (338), and entropy coded (340) to generate the coded level 1 stream 316 (i.e., the transform operation 336 is applied to the first set of residuals or the filtered first set of residuals depending on whether a ranking mode is selected to generate a set of transformed residuals, the quantization operation 338 is applied to the set of transformed residuals to generate a set of quantized residuals, and the entropy coding operation 340 is applied to the set of quantized residuals to generate the first level enhancement stream 316). Preferably, the entropy coding operation 340 may be a Huffman coding operation or a run-length coding operation, or both. Optionally, a control operation (not shown) may be applied to the set of quantized residuals to compensate for the effect of the ranking operation.

[0028] As mentioned above, the enhancement stream may include a first level enhancement 316 and a second level enhancement 328. The first level enhancement 316 may be considered a correction stream. The second level enhancement 328 may be considered a further level of enhancement that transforms the correction stream into the original input video.

[0029] Further level enhancements 328 are created by encoding a further set of residuals, which are the differences 324 between the upsampled version of the decoded level 1 stream and the input video 302 .

[0030] In Figure 3, the set of quantized (or controlled) residuals are inverse quantized (342) and inverse transformed (344) before a deblocking filter (not shown) is optionally applied to generate a decoded first set of residuals (i.e., the inverse quantization operation 342 is applied to the quantized first set of residuals to generate dequantized first set of residuals, the inverse transform operation 344 is applied to the dequantized first set of residuals to generate detransformed first set of residuals, and the deblocking filter operation is optionally applied to the detransformed first set of residuals to generate decoded first set of residuals). The deblocking filter step is optional depending on the transform 336 applied and includes applying a weighting mask to each block of the detransformed 344 first set of residuals.

[0031] The decoded base stream is combined (320) with the remaining portion of the decoded first set (i.e., a summation operation 320 of the decoded base stream and the remaining portion of the decoded first set is performed to generate a reconstructed first stream). As shown in Figures 3A and 3B, the combination is then upsampled (322) (i.e., an upsampling operation 322 is applied to the reconstructed first stream to generate an upsampled reconstructed stream).

[0032] The upsampled stream is then compared to the input video 302 creating a further set of residuals (i.e., a difference operation 324 is applied to the upsampled re-created stream to generate a further set of residuals), which are then encoded as a coding level 2 enhancement stream 328 (i.e., an encoding operation is then applied to the further set of residuals to generate an encoded further enhancement stream 328).

[0033] Similar to the encoded level 1 stream 316, the encoding applied to the level 2 remaining portion may include several steps. Figure 3A illustrates these steps as temporal prediction (discussed further below), transform 348, quantization 350, and entropy encoding 352.

[0034] Although not shown, in some examples, the encoding process identifies whether a remainder ranking mode is selected. If the remainder mode is selected, a remainder ranking step may be performed (i.e., a remainder ranking operation may be performed on the set of further remainders to generate a further set of ranked remainders). The further set of ranked remainders may be filtered so that all remainders are not encoded into the further enhancement stream 328.

[0035] The further set of residuals or the further set of ranked residuals are subsequently transformed (348) (i.e., a transform operation 348 is performed on the further set of ranked residuals to generate a further set of transformed residuals). As shown, the transform operation 348 may utilize prediction coefficients or prediction averages derived from the reconstructed first stream prior to upsampling 322. Further information is provided below.

[0036] FIG. 3A illustrates a variation of a second exemplary encoder 300 in which temporal prediction is performed as part of the level 2 encoding process. Temporal prediction is performed using a temporal selection component 334 and a level 2 temporal buffer 332. The temporal selection component 334 may determine the temporal processing mode as described in more detail below and control the use of the level 2 temporal buffer 332 accordingly. For example, if no temporal processing is performed, the temporal selection component 334 may indicate that the contents of the level 2 temporal buffer 332 should be set to 0. FIG. 3B illustrates a variation of a second exemplary encoder 380 in which temporal prediction is performed as part of both the level 1 and level 2 encoding processes. In FIG. 3B, a level 1 temporal buffer 330 is provided in addition to a level 2 temporal buffer 332. Although not shown, further variations are possible in which temporal processing is performed at level 1 but not at level 2.

[0037] When temporal prediction is selected, the encoder 300, 380 of the second example of FIG. 3A or FIG. 3B may further modify the coefficients (i.e., the transform residuals output by the transform components) by subtracting a corresponding set of coefficients derived from an appropriate temporal buffer. The corresponding set of coefficients may include a set of coefficients (e.g., coefficients of the same region of the previous frame) of the same spatial region (e.g., the same coding unit located within the frame) derived from a previous frame. These coefficients may be derived from a temporal buffer or may be otherwise obtained. The coefficients obtained from the temporal buffer may be referred to herein as temporal coefficients. The subtraction may be applied by a subtraction component such as the third subtraction components 354 and 356 (for levels 2 and 1, respectively). This temporal prediction step is further described with respect to a later example. In summary, when temporal prediction is applied, the coded coefficients correspond to the difference between the frame and another frame of the stream. The other frame may be a preceding or subsequent frame (or a block within a frame) in the stream. Thus, instead of encoding the residual between the upsampled reconstructed stream and the input video, the encoding process may encode the difference between the transformed frame in the stream and the residual of the transformed frame. In this way, entropy can be reduced. Temporal prediction may be selectively applied to groups of coding units (referred to herein as "tiles") based on control information, and application of temporal prediction at the decoder may be applied by transmitting additional control information along with the encoded stream (e.g., in a header).

[0038] As shown in FIGS. 3A and 3B, when temporal prediction is active, each transformed coefficient may be:

number

[0039] 4A and 4B show respective variants of the second exemplary decoder 400, 480. The variants of the second exemplary decoder 400, 480 may be implemented corresponding to the first exemplary decoder 200 of FIG. 2. To be clearly identifiable, the decoding steps and components are expanded in more detail to provide an example of how the decoding may be performed. Similar to FIG. 3A and 3B, FIG. 4A shows a variant in which temporal prediction is used only for the second level (i.e., level 2), and FIG. 4B shows a variant in which temporal prediction is used at both levels (i.e., levels 1 and 2). As mentioned above, further variants are envisaged (e.g., level 1 but not level 2), and the form of the configuration may be controlled using signaling information.

[0040] As shown in the example of Figure 4B, in the decoding process, the decoder 480 may parse the headers 436 (e.g., containing global configuration data, picture configuration data, and other data blocks) and configure the decoder based on those headers 436. To recreate the input video, the decoder 400, 480 may decode each of the base stream 410, the first enhanced stream 416, and the further enhanced stream 428. Frames of the streams may be synchronized and then combined to derive the decoded video 448.

[0041] In each decoding process, the enhancement stream may undergo the steps of entropy decoding 450, 452, inverse quantization 454, 456, and inverse transformation 458, 460 to recreate a set of residual portions.

[0042] The decoding process of Figures 4A and 4B includes taking an array of entropy decoded quantized coefficients representing the first level of extension and outputting an array of L-1 residuals. In this case, the entropy decoded quantized coefficients are obtained by applying an entropy decoding operation 450 to the encoded L-1 stream 416. The decoding process of Figures 4A and 4B further includes taking an array of samples of the output of the base decoder 408. The decoding process of Figures 4A and 4B further includes applying a dequantization process 454 to the array of entropy decoded quantized coefficients to derive a set of dequantized coefficients, applying a transformation process 458 to the set of dequantized coefficients, and optionally applying a filter process (not shown in Figures 4A and 4B) to output an array of L-1 residuals representing the first level of extension, which may be referred to as a preliminary set of residuals. In this case, a dequantization process 454 is applied to the entropy decoded quantized coefficients for each block of the frame of the coding level 1 stream 416, and a transformation process 458 (sometimes referred to as an inverse transform operation) is applied to the output of the dequantization process 454 for each block of the frame. The decoding process of Figures 4A and 4B then further includes recreating the picture by combining the array of L-1 residuals 462 with the array of samples of the output of the base decoder 408. The decoding process of Figures 4A and 4B includes applying a transformation process 458 from a set of predefined transformation processes according to the signaled parameters. For example, the transformation process 458 may be applied to a 2x2 coding unit or a 4x4 coding unit. A coding unit may be referred to herein as a block of elements in the array, in this case the array of L-1 residuals.

[0043] The decoding process of Figures 4A and 4B includes taking an array of entropy decoded quantized coefficients representing a further level of extension and outputting an array of residuals. In the decoding process shown in Figures 4A and 4B, the further level of extension is a second level of extension and the array of residuals output is an array of L-2 residuals. The method of Figures 4A and 4B further includes taking an array of L-1 residuals of the first level of extension corresponding to the array of entropy decoded quantized coefficients representing the further level of extension. The method of Figures 4A and 4B further includes applying an upsampling process 464 to the array of residuals of the first level of extension. In Figures 4A and 4B, the upsampling process 464 is applied to a combination of the array of L-1 residuals of the first level of extension and the corresponding array of samples of the output of the base decoder 408.

[0044] In Figures 4A and 4B, the upsampling process 464 is a modified upsampling process, where a modifier is added to the residual portion. The step of adding the modifier may be performed as part of the transformation process 460. Alternatively, since the transformation process 460 includes a linear transformation, the step of adding the modifier may be performed as part of the modified upsampling process 464, as shown in Figures 4A and 4B. Thus, the step of adding the modifier results in a modification of the residual portion. The modification may be performed based on the location of the residual portion within the frame. The modification may be a predetermined value.

[0045] In FIG. 4A, temporal prediction is applied during level 2 decoding. In the example of FIG. 4A, temporal prediction is controlled by the temporal prediction component 466. In this variant, control information for temporal prediction is extracted from the encoded level 2 stream 428, as indicated by the arrow from the stream to the temporal prediction component 466. In other implementations, such as that shown in FIG. 4B, control information for temporal prediction may be transmitted separately from the encoded level 2 stream 428, for example in the header 436. The temporal prediction component 466 may control the use of the level 2 temporal buffer 432, for example determining the temporal mode and controlling temporal updates, as described with reference to a later example. The contents of the temporal buffer 432 may be updated based on data regarding a frame previous to the remaining portion. When the temporal buffer 432 is applied, the contents of the buffer are added (468) to the remaining portion of the second set. In FIG. 4A, the contents of the temporal buffer 432 are added (468) to the output of the level 2 decoding component 446 (which in FIG. 4A implements entropy decoding 452, inverse quantization 456, and inverse transform 460). In other examples, the contents of the temporal buffer may represent any set of intermediate decoded data, and thus the addition 468 may be appropriately moved to apply the contents of the temporal buffer at the appropriate stage (e.g., if the temporal buffer is applied at the dequantized coefficient stage, the addition 468 may be located before the inverse transform 460). The temporally corrected second set of residuals is then combined (470) with the output of the upsampling 464 to generate the decoded video 448. The decoded video 448 is at a level 2 spatial resolution, which may be higher than the level 1 spatial resolution. The second set of residuals applies a correction to the (visible) upsampled reconstructed video, which adds fine details and improves the sharpness of lines and features.

[0046] The transformation process 458, 460 may be selected from a set of predetermined transformation processes according to the signaled parameters. For example, the transformation process 460 may be applied to a 2×2 block of elements in the array of the L-2 remainder, or a 4×4 block of elements in the array of the L-2 remainder.

[0047] FIG. 4B illustrates a variation of a second exemplary decoder 480. In this case, temporal prediction control data is received by a temporal prediction component 466 from the header 436. The temporal prediction component 466 controls both level 1 and level 2 temporal prediction, although in other examples, separate control components may be provided for both levels, if desired. FIG. 4B illustrates how the reconstructed second set of residuals added 468 to the output of the level 2 decoding component 446 may be fed back to be stored in the level 2 temporal buffer 432 for the next frame (feedback is omitted from FIG. 4A for clarity). Also illustrated is a level 1 temporal buffer 430, which operates in a similar manner to the level 2 temporal buffer 432 above, with a buffer feedback loop illustrated in this figure. The contents of the level 1 temporal buffer 430 are added to the level 1 residual processing pipeline via summation 472. Again, the location of this sum 472 may vary along the level 1 residual processing pipeline depending on where the temporal prediction is applied (e.g., if it is applied to the transformed coefficient space, it may be located before the level 1 inverse transform component 458).

[0048] Figure 4B shows two ways in which temporal control information can be signaled to the decoder. The first way is via the header 436, as described above. The second way, which can be used as an alternative or additional signaling path, is via data encoded within the residual itself. Figure 4B shows the case where data 474 can be encoded into the transformed coefficients of HH and thus extracted following entropy decoding 452. This data 474 can be extracted from the level 2 residual processing pipeline and passed to the temporal prediction component 466.

[0049] Each or both enhancement streams may be encapsulated into one or more enhancement bitstreams using a set of Network Abstraction Layer Units (NALUs). A NALU is meant to encapsulate an enhancement bitstream in order to apply the enhancement to the correct base reconstructed frame. A NALU may, for example, contain a reference index to the NALU that contains the base decoder reconstructed frame bitstream to which the enhancement should be applied. In this way, the enhancements may be synchronized to the base stream and the frames of each bitstream are combined to generate the decoded output video (i.e., the remaining parts of each frame of the enhancement level are combined with frames of the base decoded stream). A group of pictures may represent multiple NALUs.

[0050] Each frame may be composed of three different planes representing different color components, e.g., each component of a three-channel YUV video may have a different plane. Each plane may then have residual data associated with a given level of expansion, e.g., the Y plane may have a set of level 1 residual data and a set of level 2 residual data. In certain cases, e.g., for monochrome signals, there may be only one plane, in which case the terms frame and plane may be used interchangeably. The level-1 residual data and the level-2 residual data may be divided as follows: The residual data is divided into blocks, the size of which depends on the size of the transform used. A block is, e.g., a 2x2 block of elements when using a 2x2 directional decomposition transform, or a 4x4 block of elements when using a 4x4 directional decomposition transform. A tile is a group of blocks that covers an area of ​​a frame (e.g., an MxN area, which may be a square area). A tile is, e.g., a 32x32 tile of elements. Thus, each frame in the coding stream may be divided into multiple tiles, and each tile of the multiple tiles may be divided into multiple blocks. For color video, each frame may be divided into multiple planes, each plane is divided into multiple tiles, and each tile of the multiple tiles is divided into multiple blocks.

[0051] Described above is how a set of processing components or tools may be applied to each of the augmented streams (or input videos 102, 302) throughout the process. The following provides an overview of each of the tools and their function within the overall process, as shown in Figures 1-4.

[0052] A downsampling process 104, 304 is applied to the input video 102, 302 to generate a downsampled video that is encoded by a base encoder 106, 306. The downsampling 104, 304 may be performed in both the vertical and horizontal directions, or alternatively, only in the horizontal direction.

[0053] The input to the L-1 encoding operation 114 includes an L-1 residual obtained by taking the difference 112, 312 between the decoded output of the base decoder 108, 308 and a downsampled video obtained by downsampling (104, 304) the input video 102, 302. The L-1 residual is then transformed (336), quantized (338), and coded (340), as described further below. The transform 336 outputs transform coefficients (i.e., the transformed L-1 residual).

[0054] There are two types of transformations that can be used in the transformation process 336. Both utilize a small kernel that is applied directly to the residual that remains after the step of applying the predicted mean.

[0055] The first transform has a 2x2 kernel applied to a 2x2 block of the residual. The resulting coefficients are:

number

[0056] The second transform has a 4x4 kernel applied to a 4x4 block of the residual. The resulting coefficients are:

number

[0057] If downsampling and / or upsampling is performed only in the horizontal direction (e.g., certain elements are set to 0), a suitably adapted transform may also be applied. For example, as illustrated in the example matrices above, if a Hadamard transform is used, the decoding or inverse transform may use the same matrices, e.g., the Hadamard matrices are their own inverses. In this case, for example, a (M×N)×1 array of residuals R associated with an M×N block may be derived at the decoder from a corresponding (M×N)×1 array of coefficients C using R=H*C, where H is equal to one of the Hadamard matrices shown above.

[0058] The coefficients are then quantized (338) using a linear quantizer. The linear quantizer may use dead zones of variable size. The linear quantizer may use dead zones of different sizes compared to the quantization step and the non-centered dequantization offset.

[0059] The quantized coefficients are coded using an entropy coder (340). There are two schemes for entropy coding 340. In the first scheme, the quantized coefficients are coded using a Run-Length-Encoder (RLE). In the second scheme, the quantized coefficients are first coded using an RLE, and then the coded output is processed using a Huffman encoder. This may be beneficial to code the long streams of 0s typically found in the transformed residual with the RLE, and then further beneficial to code the quantized values ​​of different frequencies (e.g., which often have decreasing numbers as values ​​increase due to the distribution of the residual and its linearly transformed values) using a Huffman encoder.

[0060] If the residual mode (RM) is selected, the L-1 residuals are further ranked and selected to determine which residuals should be transformed (336) and coded. Preferably, this is preformed prior to entropy coding 340.

[0061] If a temporal selection mode is selected for L-1 encoding, the encoder further modifies the coefficients by subtracting corresponding coefficients derived from the level 1 temporal buffer 130, 330, i.e., the temporal prediction described below.

[0062] The input to the L-1 decoding operation 118 includes the L-1 encoded residuals, which are passed through an entropy decoder 450, a dequantizer 454, and an inverse transform module 458. The operations performed by these modules are the inverse operations performed by the modules described above.

[0063] If the temporal selection mode is selected for L-1 coding, the residual portion may be partially predicted from a co-located residual portion from the level 1 temporal buffer 130, 330. The co-located residual portion may be referred to herein as temporal prediction.

[0064] If a 4x4 transform is used, the decoded residual may be fed to a deblocking filter module. The deblocking filter operates on each block of the transformed residual by applying a mask whose weights can be specified. The general structure of the mask is as follows:

number

[0065] The output from combining the decoded (and, if applicable, deblocked) L-1 residual and base decoded video (120, 320) is upsampled (122, 322) to generate an upsampled reconstructed video. The upsampling may be selectable and may be signaled in the byte stream.

[0066] The input to the L-2 encoding operation 126 includes an L-2 residual obtained by taking the difference 124, 324 between the upsampled reconstructed video and the input video 102, 302. The L-2 residual is then transformed (348), quantized (350), and coded (352), as described further below. The transformation 348, quantization 350, and coding 352 are performed in the same manner as described with reference to the L-1 coding 114. The transformation 348 outputs transform coefficients (i.e., the transformed L-2 residual), as described with reference to the L-1 coding 114. If RM is selected, the L-2 residual is further ranked and selected to determine which residual should be transformed and coded. The L-2 encoding operation 126 may further include two additional processes, as described below.

[0067] If a predicted coefficient mode is selected, the encoder further modifies the transformed coefficient C00 (e.g., the "average" or "A" coefficient of a 2x2 transform). When using a 2x2 transform, C00 is modified by subtracting the value of the upsampled residual from which the block of transformed residual is predicted. When using a 4x4 transform, C00 is modified by subtracting the average value of the four upsampled residuals from which the block of transformed residual is predicted.

[0068] If the temporal selection mode is selected for L-2 encoding, the encoder further modifies the coefficients by subtracting corresponding coefficients derived from the level 2 temporal buffer 132, 332, as described above.

[0069] The input to the L-2 decoding operation 246, 446 includes the coded L-2 residual. The decoding process of the L-2 residual is passed through an entropy decoder 452, a dequantizer 456, and an inverse transform module 460. The operations performed by these modules are the inverse operations performed by the modules described above. If a temporal selection mode is selected for L-2 coding, the residual may be partially predicted from the co-located residual from the level 2 temporal buffer 132, 332. The co-located residual may be referred to herein as a temporal prediction.

[0070] The modified upsampling process 242, 464 includes two steps, the second step depends on the signal received by the decoder. In the first step, the combination 238, 462 of the decoded (and, if applicable, deblocked) L-1 residual and the base decoded video 208, 408 (L-1 reconstructed video) is upsampled to generate an upsampled reconstructed video. If the predicted coefficient mode is selected, the second step is implemented. In particular, the values ​​of the elements in the L-1 reconstructed values ​​from which a 2×2 block in the upsampled reconstructed video is derived are added to said 2×2 block in the upsampled reconstructed video.

[0071] Throughout the above, the term bitstream may be replaced by stream or bytestream or NALU stream where appropriate.

[0072] 4A and 4B, the following examples relate to a temporal prediction process applied during level 2 decoding. However, it should be understood that the following temporal prediction process may additionally or alternatively be applied during level 1 decoding.

[0073] In this example, the decoder 400, 480 is configured to receive a temporal_enabled parameter that specifies whether or not temporal prediction should be used when decoding a picture. The temporal_enabled parameter may be referred to herein as a first parameter having a first value that indicates that temporal processing is enabled. In this case, the temporal_enabled parameter indicates whether the decoder 400, 480 may update a value of temporal prediction derived from the contents of the temporal buffer 432. The value of the temporal_enabled parameter may have a bit length of 1 bit. In this example, a value of 1 specifies that temporal prediction is used when decoding a picture, and a value of 0 specifies that temporal prediction is not used when decoding a picture. The temporal_enabled parameter may be received once for a group of pictures associated with the encoding stream described above, the group of pictures being a collection of consecutive pictures in the coding video stream.

[0074] In this example, the decoder 400, 480 is configured to receive a temporal_refresh_bit parameter that specifies whether the temporal buffer 432 should be updated for the frame. If the frame includes multiple planes, the update may be applied to all planes in the frame (i.e., the frame that includes the plane). Updating the temporal buffer 432 may include setting a value from the temporal buffer 432 to zero. In this way, when the contents of the temporal buffer 432 are added 468 to the remaining portion of the second set, the remaining portion of the second set is unchanged as if the temporal buffer 432 had not been applied. The value of the temporal_refresh_bit parameter may have a bit length of 1 bit. In this example, a value of 1 specifies that the temporal buffer 432 should be updated for the frame, and a value of 0 indicates that the temporal buffer 432 should not be updated for the frame. The temporal_refresh_bit parameter may be received once for each picture in the coded video stream. The temporal_enabled and temporal_refresh_bit parameters may be configured in temporal control information that is signaled to the decoder, for example, via the header 436, as described above.

[0075] In this example, if the variables temporal_enabled are equal to 1 and temporal_refresh_bit are equal to 0, the temporal prediction process is invoked as specified below.

[0076] The inputs to the invoked temporal prediction process are: A position (xTbP, yTbP) that specifies the top-left sample of the current luma or chroma transform block relative to the top-left luma or chroma sample of the current picture. (xTbP, yTbP) can relate to either the luma or chroma plane, depending on which plane the transform coefficient belongs to.

[0077] A parameter nTbS that specifies the size of the current transform block. For example, nTbS=2 if the above transform process should use a 2×2 directional decomposition transform, and nTbS=4 if a 4×4 directional decomposition transform process should be used.

[0078] Parameter temporal_tile_intra_signalling_enabled that specifies whether or not temporal tile prediction is used when decoding tiles of an element. The parameter temporal_tile_intra_signalling_enabled may be referred to herein as a third parameter having a third value. The value of the temporal_tile_intra_signalling_enabled parameter may have a bit length of 1 bit. In this example, if the value of the temporal_tile_intra_signalling_enabled parameter is equal to 1, the tile temporal prediction process is enabled. The temporal_tile_intra_signalling_enabled parameter may be received once for a group of pictures associated with the above-mentioned encoded stream. The temporal_tile_intra_signalling_enabled parameter may be included in temporal control information signaled to a decoder, for example, the header 436. This parameter may indicate whether temporal signaling related to the tile may be provided, the signaling being encapsulated within the coefficient values ​​(i.e., "inside" or within the data) as described below. If this parameter is set to 1, the first block in a tile may convey a temporal update signal for the tile (eg, may convey coefficient values ​​in the first block).

[0079] An array TransCoeffQ of size (nTbS) × (nTbS) containing a block of entropy decoded quantized coefficients with elements TransCoeffQ[x][y].

[0080] The output of this process is a (nTbS) x (nTbS) array of modified TransCoeffQ coefficients, and (nTbS) x (nTbS) tempPredSamples with elements tempPredSamples[x][y]. The array of tempPredSamples represents a set of temporal predictions derived using the temporal buffer 432.

[0081] In this example, the following ordered steps are applied: 1. If the parameter temporal_tile_intra_signalling_enabled is equal to 1, then the temporal tile prediction process is used when decoding tiles of elements. In the temporal tile prediction process, if xTbP>>5 is equal to 0, then yTbP>>5 is equal to 0 (where "x>>y" is the arithmetic right shift of the binary complement representation of x×y), TransCoeffQ[nTbs-1][0]&0x1 is equal to 1 (where "&" represents the bitwise "and" operator), and the tiled temporal update process is called with position (xTbP, yTbP) as its input. The right shift allows skipping elements of consecutive tiles, e.g., a 32×32 tile would be 2 5where the 5-bit shift, which in this case is equal to zero, indicates that the current position is a multiple of 32 and thus relates to the first block of the tile. In this case, the first block in the tile is then used to signal the temporal update of the tile. The output of the tiled temporal update process is that the contents of the temporalBuffer of the tile at position (xTbP, yTbP) are set to zero. In this example, the temporalBuffer represents the temporal buffer 432 that stores data associated with a second frame, not the current frame, from which a value of a temporal prediction can be derived. Thus, the second frame may be a preceding or subsequent frame in the stream. TransCoeffQ[nTbS-1][0]&0x1 is a parameter of the current transform block whose value indicates whether the value of the set of temporal predictions derived from the temporal buffer 432 for the corresponding block should be updated. In this case, the parameter is "carried" within the transform coefficient values. A "&" (i.e., logical "and") operation with a bit value of 1 (e.g., 0.0×1) simply converts any non-zero value to an output bit value of 1 (any zero value remains zero). In general, the TransCoeffQ[nTbS-1][0]&0x1 parameter may be referred to herein as a second parameter having a second value that provides temporal signaling, in this case indicating whether a value in the temporal buffer 432 associated with a given tile should be updated. In this case, the parameter is used to indicate a tile update, and in the following example, a block update. An update may include setting the value of the corresponding tile or block to zero. In this example, the value of the TransCoeffQ[nTbS-1][0]&0x1 parameter has a bit length of 1 bit, and a value of 1 indicates that a value in the temporal buffer 432 should be updated. In the temporal tile prediction process, a tiled temporal update process is performed for a tile in the temporal buffer 432 in response to receiving the parameters TransCoeffQ[nTbS-1][0]&0x1 for a block within the tile.In other words, the decoder is configured to update the temporal buffer 432 for the tile in response to receiving the parameter TransCoeffQ[nTbS-1][0]&0x1 (second parameter) for the specified block in the tile. In this way, an update for a tile may be signaled by a parameter in a single block in the tile without having to signal updates separately for all other blocks in the tile. Thus, in this example, the decoder is configured to update the value of the temporal prediction for the tile in response to receiving both a second parameter (TransCoeffQ[nTbS-1][0]&0x1) having a second value indicating that the decoder should update the value of the temporal prediction for the block, and a third parameter (temporal_tile_intra_signalling_enabled) having a third value indicating that receiving the second parameter for the specified block having the second value indicates that the value in the temporal buffer 432 associated with the tile should be updated (in case 2 below). The parameter TransCoeffQ[nTbS-1][0]&0x1 is an example of temporal control information that may be signaled to the decoder via data encoded within the encoded residual itself, so that this temporal control information can be extracted after entropy decoding 452. For example, this parameter (the second parameter) may be obtained from one of the sets of coefficients of the block.

[0082] 2. If no temporal tile prediction process occurs, then tempPredSamples[x][y]=temporalBuffer[xTbP+x][yTbP+y], where x and y are in the range [0, nTbS-1], if TransCoeffQ[nTbS-1][0]&0x1 is equal to 0. Otherwise, tempPredSamples[x][y] are all set to 0. Thus, for each respective block, the value of the temporal prediction for the respective block derived from the temporal buffer 432 is updated in response to obtaining the second parameter (TransCoeffQ[nTbS-1][0]&0x1 parameter) from data from one or more encoding streams for the respective block (in this case the L-2 encoding stream) . In response to determining that the second parameter for the respective block has a second value that provides temporal signaling for the respective block, the value of the temporal coefficient for the respective block is updated. In this case, the update involves setting the value of the temporal prediction for the respective block to zero. In this case, the update of the set of temporal prediction values ​​for each block is indicated for each block individually. Otherwise, if TransCoeffQ[nTbS-1][0]&0x1 is equal to 0, the temporal buffer 432 is not updated and the values ​​of the set of temporal predictions for each block are derived from the temporal buffer 432 for each block.

[0083] 3. The values ​​of TransCoeffQ[nTbs-1][0] are set such that TransCoeffQ[nTbs-1][0] >> 1. If the binary value of TransCoeffQ[nTbs-1][0] is 0 or 1, this operation sets the transform coefficient values ​​of subsequent operations (e.g., the inverse transform afterwards) to 0. This means that the 1 values ​​used for signaling do not translate into image artifacts in the block (the remaining 0 values ​​remain unchanged).

[0084] An array tempPredSamples of size (nTbS)×(nTbS) is added to a (nTbS)×(nTbS) array resSamples, and the resSamples array is stored in the temporalBuffer at location (xTbP, yTbP). In this example, resSamples represents the second set of remaining portions, and tempPredSamples represents the set of temporal predictions, which, as described above, may be derived from the contents of the temporal buffer 432, for example, depending on the temporal signaling received at the decoder. In this way, if temporal processing is enabled and signaled to be applied at the block level, the contents of the temporal buffer 432 are added (468) to the second set of remaining portions to generate a temporally modified second set of remaining portions, which are then stored in the temporal buffer 432.

[0085] In the present example, the set of temporal predictions derived from the temporal buffer is combined with the set of residuals for each block of the multiple blocks to perform temporal prediction. For example, this involves obtaining a respective spare residual element of the set of spare residuals for each element of the block and obtaining a respective temporal prediction associated with the element, where the temporal prediction may be set to zero in certain cases or may be derived from the contents of the temporal buffer, which may then be zeroed by specific temporal signaling received at the decoder. Each spare residual element may then be combined with the temporal prediction of the block to output a set of reconstructed residual values ​​(e.g., level 2 residual values) for combination with the upsampled reconstructed signal from the lower levels (e.g., level 1 and base level).

[0086] In the example described herein, the decoder 400, 480 is configured to provide zeroing of the values ​​of the set of temporal predictions at three levels: frame level, tile level, and block level. For example, the temporal_refresh_bit described above may be used to indicate the update of the temporal buffer 432 (e.g., zeroing of the temporal buffer values) at the frame level, e.g., all values ​​in the temporal buffer related to a complete frame are set to zero. This may then provide zeroing of the temporal prediction values, where these values ​​are later derived from the temporal buffer 432. At the block level, temporal signaling indicating whether the temporal prediction values ​​should be derived from the temporal buffer 432 or set to zero may be done within the transform coefficient values ​​(e.g., values ​​of coefficients such as HH for a 4×4 transform before the inverse transform). At the tile level, parameters such as temporal_tile_intra_signalling_enabled may be used to indicate that block level signaling for one block in a tile should be used to direct the update of the temporal buffer 432 for the tile, i.e., the block level signaling for one block in a tile becomes the tile level signaling. When the temporal buffer 432 is updated, the value in the temporal buffer is set to 0, which means that for subsequent blocks in the same tile, the value applied from the temporal buffer will be zero, regardless of the block level signaling.

[0087] This approach provides flexibility for updating the temporal buffer 432. For example, the temporal buffer 432 may be updated at the frame level for a first frame and at the tile level for at least one tile of a second frame, and the temporal prediction may be zeroed at the block level for at least one block of a third frame. At the block level, the zeroing of the temporal prediction may be considered as an equivalent operation to zeroing the temporal buffer 432, with both operations resulting in elements with values ​​of 0 being applied in the addition 468. For example, the decoder 400, 480 may be configured to update the values ​​of the temporal buffer 432 for a first tile of a frame and apply zeros to the temporal prediction for a first block of a second tile of the same frame, while applying a non-zero value of the temporal prediction for a second block of the second tile.

[0088] In the decoding process described herein, generating the decoded video may be performed on a block-by-block basis. In this manner, generating a block of an element in a frame of the decoded video may be performed without using another block of the element in the same frame of the decoded video that was previously generated. Thus, the temporal prediction process may be performed in parallel for all blocks of the element in the frame, as opposed to performing the temporal prediction process for each block of the element in the frame sequentially.

[0089] Further examples are described below.

[0090] Some further examples relate to a method of encoding an input video into multiple encoded streams such that the encoded streams can be combined to reconstruct the input video, the method including receiving a full resolution input video, downsampling the full resolution input video to create a downsampled video, encoding the downsampled video using a first codec to create a base encoded stream, reconstructing a video from the encoded video to generate a reconstructed video, comparing the reconstructed video to the input video, and creating one or more further encoded streams based on the comparison. The input video compared to the reconstructed video may be the downsampled video.

[0091] According to an exemplary method, comparing the reconstructed video with the input video includes comparing the reconstructed video with the downsampled video to create a first set of remaining portions, and creating the one or more further encoded streams includes encoding the first set of remaining portions to create a first level encoded stream.

[0092] The input video compared to the reconstructed video may be a full resolution input video, and the reconstructed video may be upsampled.

[0093] According to an exemplary method, comparing the reconstructed video with the input video includes upsampling the reconstructed video to generate an upsampled reconstructed video and comparing the upsampled reconstructed video with the full resolution input video to create a second set of remaining portions, and creating one or more further encoded streams includes encoding a second difference to create a second level encoded stream.

[0094] Thus, in an example, a method may generate a base encoded stream, a first level encoded stream, and a second level encoded stream according to the exemplary method defined above, wherein each of the first level encoded stream and the second level encoded stream may include enhancement data used by a decoder to enhance the encoded base stream.

[0095] According to an example method, the step of encoding the first set of residual portions includes applying a transform to the set of residual portions to create a set of coefficients, applying a quantization operation to the coefficients to create a set of quantized coefficients, and applying an encoding operation to the quantized coefficients.

[0096] According to an exemplary method, the step of encoding the remaining portion of the second set includes applying a transform to the remaining portion of the second set to create a set of coefficients, applying a quantization operation to the coefficients to create a set of quantized coefficients, and applying an encoding operation to the quantized coefficients.

[0097] The transform for encoding the first and / or second set of residual portions may be, for example, a discrete cosine transform or a wavelet transform. In an alternative example, the transform may be a smaller transform (e.g., using a 2x2 kernel or a 4x4 kernel) that decomposes the block of elements into directional components. For example, the 2x2 kernel may be a Hadamard transform. Details of the transform may be found, for example, in PCT / EP2013 / 059847 or PCT / GB2017 / 052632, which are incorporated herein by reference. In a further example, the encoder may select between different transforms used, for example between a 2x2 kernel and a 4x4 kernel. This allows further flexibility in the encoding scheme of the residual portions. The selection of the transform may be based on an analysis of the data to be transformed.

[0098] The remaining portions of the first set and the remaining portions of the second set may have different transforms applied to them, the selection may be predetermined or selected during the process. The transform used may be signaled in the header.

[0099] The quantization for encoding the remaining portions of the first and / or second sets may be, for example, a linear quantization. The linear quantizer may use a variable size dead zone. The encoding operation may be, for example, an entropy encoder and may include run-length coding and / or Huffman coding.

[0100] The remainder may be the difference between two videos or frames.

[0101] The step of encoding the first set of remaining portions may include ranking the first set of remaining portions based on a pre-analysis of the first set of remaining portions and selecting a subset of the remaining portions to be transformed and encoded.

[0102] In one example, the method includes analyzing the first set of remaining portions and, based on the analysis, performing or not performing the following steps: ranking the first set of remaining portions and selecting a subset of the remaining portions to be transformed and encoded.

[0103] In one example, the method includes analyzing a first set of remaining portions, ranking the first set of remaining portions, and selecting a subset of the remaining portions to be transformed and encoded, such that the ranking and / or selecting steps are performed differentially based on the analysis.

[0104] According to an exemplary method, the step of applying the transformation is performed on a selected subset of the remaining portions of the first set of remaining portions.

[0105] The step of encoding the second set of remaining portions may include ranking the second set of remaining portions based on a pre-analysis of the second set of remaining portions and selecting a subset of the remaining portions to be transformed and encoded.

[0106] In one example, the method includes analyzing the second set of remaining portions and, based on the analysis, performing or not performing the following steps: ranking the second set of remaining portions and / or selecting a subset of the remaining portions to be transformed and encoded.

[0107] In one example, the method includes analyzing the second set of remaining portions, ranking the second set of remaining portions, and selecting a subset of the remaining portions to be transformed and encoded, such that the ranking and / or selecting steps are performed differentially based on the analysis.

[0108] According to an exemplary method, the step of applying the transformation is performed on a selected subset of the remaining portions of the second set of remaining portions.

[0109] The encoded stream may be accompanied by one or more headers that contain parameters that indicate aspects of the encoding process to facilitate decoding. For example, the headers may include the codec used, the transform applied, the quantization applied, and / or other decoding parameters.

[0110] In certain examples, the quantization step may include adapting the quantization based on an analysis of the transformed coefficients and / or data, e.g., residual data. In certain examples, the distributions used in the quantization step may be adapted.

[0111] Encoding the remaining portion of the first set may include deriving a set of temporal coefficients from a temporal buffer and subtracting the set of temporal coefficients from the set of coefficients.

[0112] Encoding the remaining portion of the second set may include deriving the set of temporal coefficients from a temporal buffer and subtracting the set of temporal coefficients from the set of coefficients.

[0113] It has been described above how the ranking and selection steps may be applied to the remaining partial data, how the step of subtracting temporal coefficients may be performed, and how quantization may be adapted. Each of these steps may be predetermined and selectively applied, or may be applied to improve the overall performance of the encoder based on an analysis of the input video, the downsampled video, the reconstructed video, the upsampled video, or any combination of the above. The steps may be selectively applied based on a set of predefined rules, or may be deterministically applied based on performance analysis or feedback.

[0114] According to an example method, the first codec is a hardware-based codec, and preferably, the first codec is AVC, HEVC, AV1, VP8, or VP9.

[0115] The exemplary method further includes transmitting the base encoded stream.

[0116] The exemplary method further includes transmitting the first level encoded stream.

[0117] The exemplary method further includes transmitting the second level encoded stream.

[0118] Some further examples relate to a method of decoding multiple encoded streams into a reconstructed output video, the method including receiving a first base encoded stream, decoding the first base encoded stream according to a first codec to generate a first output video, receiving one or more additional encoded streams, decoding the one or more additional encoded streams to generate a set of residual portions, and combining the set of residual portions with the first video to generate a decoded video.

[0119] In one example, the method includes extracting a number of decoding parameters from the header. The decoding parameters may indicate which procedural steps were included in the encoding process.

[0120] In one example, the step of decoding the one or more further encoded streams to generate a set of residual portions includes applying an entropy decoding operation, applying a dequantization operation, and applying an inverse transform operation to generate the set of residual portions.

[0121] In one example, the step of decoding one or more further encoded streams to generate a set of residual portions includes predicting a subset of the residual portions based on co-located residual portions from the temporal buffer.

[0122] In an example, the method may include receiving a first level encoded stream and receiving a second level encoded stream, in which the step of decoding the one or more further encoded streams to generate a set of residuals includes decoding the first level encoded stream to derive a first set of residuals, combining the set of residuals with the first video to generate a decoded video, combining the first set of residuals with the first output video to generate a second output video, upsampling the second output video to generate an upsampled second output video, decoding the second level encoded stream to derive a second set of residuals, and combining the second set of residuals with the second output video to generate a reconstructed output video.

[0123] In one example, the step of upsampling the second output video to generate an upsampled second output video includes adding values ​​of elements in the remaining portion of the derived first set of blocks in the upsampled second output video to corresponding blocks in the upsampled second output video. The blocks may be 2×2 blocks. This adding step may be selectively performed based on a predetermined value or a signal included in the header.

[0124] In one example, the step of decoding the first level encoded stream to derive a first set of residuals includes applying an entropy decoding operation, applying a dequantization operation, and applying an inverse transform operation to generate the first set of residuals.

[0125] In this example, decoding the first level encoded stream to derive a first set of residuals includes applying a deblocking filter configured to apply a mask to blocks of the residuals, the mask being weighted according to a set of predefined weights.

[0126] In one example, the step of decoding the second level encoding stream to derive a second set of residuals includes applying an entropy decoding operation, applying a dequantization operation, and applying an inverse transform operation to generate the second set of residuals.

[0127] The inverse transform operation may be the inverse of the operation defined above, or may be a substantially mirrored operation, i.e., a 2x2 block or a 4x4 block transform may be selectively applied. The transform may be detected by the decoding method or may be signaled in the header.

[0128] If a 2x2 transform is used, the coefficients may be modified by adding the value of the residual from which the block of transformed residuals is predicted. If a 4x4 transform is used, the coefficients will be modified by adding the average value of the four residuals.

[0129] The method may further include displaying or outputting the reconstruction output.

[0130] In an example, a method of decoding a plurality of encoded streams into a reconstructed output video includes receiving an encoded enhancement stream, decoding the encoded enhancement stream to derive a set of residual portions, obtaining a set of preliminary set of residual portions from the decoded enhancement stream, deriving a set of temporal predictions using a temporal buffer, and adding the set of temporal predictions to the set of preliminary residual portions to output a set of processed residual portions (e.g., level 2 residual portions). In this example, the method of decoding a plurality of encoded streams into a reconstructed output video also includes receiving a first output video, the first output video including an output of a base decoder applied to a base level encoded stream, receiving a further encoded enhancement stream associated with a lower level, decoding the further encoded enhancement stream to derive a set of further residual portions, combining the further set of residual portions with the first output video to generate a second output video, upsampling the second output video to generate an upsampled second output video, and combining the set of processed residual portions with the upsampled second output video to generate a reconstructed output video.

[0131] In one example, decoding the encoded enhancement stream to derive the set of spare residual portions includes applying an entropy decoding operation, applying a dequantization operation, and applying a transform operation to generate the set of spare residual portions.

[0132] In one example, decoding the further encoded extension stream to derive a further set of residual portions includes obtaining a further set of spare residual portions from the further encoded extension stream, deriving a further set of temporal predictions using a second temporal buffer, and adding the further set of temporal predictions to the further set of spare residual portions to output a further (level 1) set of residual portions.

[0133] In one example, decoding the further encoded enhancement stream (i.e., the level 1 stream) to derive a further set of residuals (i.e., the level 1 residuals) includes applying an entropy decoding operation, applying a dequantization operation, and applying a transform operation to generate the further set of residuals. Temporal processing as described in these examples may be similarly and selectively applied to each of the enhancement levels described herein.

[0134] Particular examples described herein relate to temporal processing associated with one or more encoded streams. The decoder may be configured to apply the temporal processing using a temporal buffer.

[0135] The decoder may be configured to decode the multiple encoded streams into a reconstructed output video. The decoder may be configured to receive a first output video, the first output video including an output of a base decoder applied to the base level encoded stream. The decoder may be configured to receive one or more further encoded streams. The decoder may be configured to decode respective frames of the one or more further encoded streams to derive respective sets of residual portions.

[0136] In some examples, each of the respective frames may be divided into multiple tiles, and each tile may be divided into multiple blocks.

[0137] In other cases, each of the respective frames may be divided into multiple planes, each plane may be divided into multiple tiles, and each tile of the multiple tiles may be divided into multiple blocks.

[0138] The decoder may also be configured to combine the set of residuals with the first output video to generate a reconstructed output video. To decode each frame, the decoder may be configured to obtain, for each block of the plurality of blocks, a preliminary set of residuals from one or more further encoded streams. To decode each frame, the decoder may be configured to derive a set of temporal predictions using a temporal buffer. To decode each frame, the decoder may be configured to combine the set of temporal predictions with the preliminary set of residuals to output data for combination with the first output video.

[0139] The decoder may be configured to provide for selectively zeroing values ​​of the set of temporal predictions. The decoder may be configured to provide zeroing of values ​​of the set of temporal predictions at a frame level for at least one of the respective frames. The decoder may be configured to provide zeroing of values ​​of the set of temporal predictions at a tile level for at least one of the plurality of tiles. The decoder may be configured to provide zeroing of values ​​at a block level for at least one of the plurality of blocks.

[0140] The decoder may be configured to obtain a respective remaining portion of the plurality of blocks. The decoder may be configured to derive a respective temporal prediction of the set of temporal predictions from a temporal buffer for each of the respective remaining portion.

[0141] The decoder may be configured to zero out the values ​​of the set of temporal predictions by updating at least a portion of the temporal buffer. Some further examples relate to an apparatus for encoding a data set into an encoded data set including a header and a payload. An apparatus configured to encode an input video according to the above steps. The apparatus may comprise a processor configured to perform the method according to any one of the above aspects.

[0142] Some further examples relate to an apparatus for decoding a data set into a reconstructed video from the data set including a header and a payload. The apparatus may include a processor configured to perform the method according to any one of the above aspects.

[0143] An encoder and a decoder may also be provided.

[0144] Some further examples relate to computer-readable media that, when executed by a processor, cause the processor to perform any one of the method aspects above.

[0145] The above-described embodiments should be understood as illustrative examples. Further embodiments are envisioned. It should be understood that any feature described in connection with any one embodiment may be used alone or in combination with other features described, and may also be used in combination with any other one or more features of the embodiment, or any other combination of the embodiments. Moreover, equivalents and modifications not described above may be used within the scope of the appended claims.

Claims

1. 1. A decoder configured to decode a plurality of encoded streams into a reconstructed output video, the decoder comprising: receiving an encoded elementary stream configured to be decoded by a elementary decoder to generate a first output video; Receiving one or more encoded streams; decoding respective frames of the one or more encoded streams to derive a respective set of residual portions, wherein each frame of the respective frames is divided into a plurality of tiles, each tile of the plurality of tiles being divided into a plurality of blocks; combining the set of residual portions with the first output video to generate the reconstructed output video; To decode each frame, the decoder obtaining, for each block of the plurality of blocks, a preliminary set of residual portions from the one or more encoded streams; deriving a set of temporal predictions using the temporal buffer; combining the set of temporal predictions with the preliminary set of residual portions to output data for combination with the first output video; The decoder comprises: receiving second parameters at a block level from data from the one or more encoded streams for each block of the plurality of blocks, the second parameters providing temporal signaling for the respective block and having a second value indicating that the decoder is to update a value of a temporal prediction for the block; receiving a second parameter for the specified block having the second value includes receiving a tile-level third parameter having a third value indicating that values ​​in a temporal buffer associated with the tile should be updated; updating a value of a time buffer associated with each of the plurality of tiles by setting the time prediction value of the tile to zero; 4. A decoder comprising: a decoder configured to: provide for zeroing of the set of temporal prediction values;

2. 2. The decoder of claim 1, wherein the decoder is configured to generate a first block of elements from a frame in the reconstructed output video without using a second block of elements from the frame in the reconstructed output video.

3. The decoder comprises: obtaining a residual component for each of the blocks; and 3. A decoder as claimed in claim 1 or 2, configured to: for each of the respective residual elements, deriving a respective temporal prediction of the set of temporal predictions from the temporal buffer.

4. 4. The decoder of claim 1, wherein the decoder is configured to zero out the value of the temporal prediction in response to receiving a first parameter having a first value indicating temporal processing is enabled.

5. 5. The decoder of claim 4, wherein the first value of the first parameter has a bit length of 1 bit.

6. The decoder of claim 5 , wherein the first parameters are received once for a group of pictures associated with the multiple encoded streams.

7. 7. A decoder according to claim 1 , wherein the decoder is configured to update values ​​of the temporal buffer for a first tile of one of the respective frames and to zero out the values ​​of the set of temporal predictions for a first block of a second tile of the frame without zeroing out values ​​of the set of temporal predictions for a second block of a second tile.

8. 1. A method for decoding a plurality of encoded streams into a reconstructed output video, the method comprising: receiving an encoded elementary stream for decoding by an elementary decoder and generating a first output video; Receiving one or more encoded streams; decoding respective frames of the one or more encoded streams to derive a respective set of residual portions, wherein each frame of the respective frames is divided into a plurality of tiles, each tile of the plurality of tiles being divided into a plurality of blocks; combining the set of residual portions with the first output video to generate the reconstructed output video; The decoding step comprises: obtaining, for each block of the plurality of blocks, a set of spare residual portions from the one or more encoded streams; deriving a set of temporal predictions using the temporal buffer; combining the set of temporal predictions with the set of preliminary residual portions; and said decoding includes performing zeroing of the set of temporal prediction values; performing zeroing of the set of temporal prediction values; receiving second parameters at a block level from data from the one or more encoded streams for each block of the plurality of blocks, the second parameters providing temporal signaling for the respective block and having a second value indicating that the decoder updates a value of a temporal prediction for the block; receiving a second parameter for the specified block having the second value; receiving a tile-level third parameter having a third value indicating that a value of a temporal buffer associated with the tile should be updated; updating values ​​of a time buffer associated with each of the plurality of tiles by setting the time prediction value of the tile to zero; A method comprising:

Citation Information

Patent Citations

  • Data processing apparatuses, methods, computer programs and computer-readable media

    GB2553556A