Image encoding / decoding method and apparatus based on maximum temporal identifier performing sub-bitstream extraction process, and computer readable recording medium storing bitstream
Patent Information
- Application Number
- CN202180057903.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-06-10
- Filing Date
- 2021-06-09
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2041-06-09
AI Technical Summary
传输信息量或比特量的增加导致传输成本和存储成本的增加
[0028]根据本公开,可以提供具有提高的编码/解码效率的图像编码/解码方法和设备。
Smart Images

Figure CN116325724B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to image encoding / decoding methods and apparatus, and more specifically, to image encoding / decoding methods and apparatus capable of efficiently removing non-reference parameter sets from the parameter set of a reference layer based on time identifiers, and to a method for transmitting a bitstream generated by the image encoding method / apparatus of this disclosure. Background Technology
[0002] Recently, the demand for high-resolution and high-quality images (such as high-definition (HD) and ultra-high-definition (UHD) images) is increasing across various fields. With the improvement in image data resolution and quality, the amount of information or bits transmitted increases relatively compared to existing image data. This increase in the amount of information or bits transmitted leads to increased transmission and storage costs.
[0003] Therefore, efficient image compression techniques are needed to effectively send, store, and reproduce information about high-resolution and high-quality images. Summary of the Invention
[0004] Technical issues
[0005] The purpose of this disclosure is to provide an image encoding / decoding method and apparatus with improved encoding / decoding efficiency.
[0006] Another objective of this disclosure is to provide an image encoding / decoding method and apparatus capable of efficiently removing non-reference parameter sets from the parameter set of the reference layer based on time identifiers.
[0007] Another object of this disclosure is to provide a method for transmitting a bitstream generated by an image encoding method or device according to this disclosure.
[0008] Another object of this disclosure is to provide a recording medium for storing bitstreams generated by an image encoding method or device according to this disclosure.
[0009] Another object of this disclosure is to provide a recording medium that stores a bitstream received, decoded, and used to reconstruct an image by an image decoding apparatus according to this disclosure. For example, a bitstream used to enable the image decoding apparatus according to this disclosure to perform an image decoding method according to this disclosure may be stored in the recording medium.
[0010] The technical problems solved by this disclosure are not limited to those described above, and other technical problems not described herein will become apparent to those skilled in the art based on the following description.
[0011] Technical solution
[0012] An image decoding method performed by an image decoding device according to one aspect of this disclosure may include the following steps: obtaining maximum time identifier information from a bitstream, the maximum time identifier information indicating the maximum time identifier of a reference layer referenced for inter-layer prediction of the current layer; and performing a sub-bitstream extraction process based on the maximum time identifier information to extract sub-bitstreams from the bitstream, wherein, during the sub-bitstream extraction process, parameter sets from the parameter set of the reference layer that are not referenced for inter-layer prediction of the current layer may be removed from the bitstream.
[0013] In the image decoding method disclosed herein, the parameter set may be an adaptive parameter set (APS).
[0014] In the image decoding method disclosed herein, parameter sets whose time identifiers are greater than the maximum time identifier in the parameter set of the reference layer may not be referenced for the inter-layer prediction of the current layer.
[0015] In the image decoding method disclosed herein, in the frames of the reference layer, frames with time identifiers greater than the maximum time identifier may not be referenced for the inter-layer prediction of the current layer.
[0016] In the image decoding method disclosed herein, the reference layer may be a non-output layer.
[0017] An image decoding apparatus according to another aspect of this disclosure may include a memory and at least one processor, wherein the at least one processor is configured to perform the following operations: obtaining maximum time identifier information from a bitstream, the maximum time identifier information indicating the maximum time identifier of a reference layer referenced for inter-layer prediction of the current layer; and performing a sub-bitstream extraction process based on the maximum time identifier information to extract sub-bitstreams from the bitstream, wherein, during the sub-bitstream extraction process, a set of parameters from the parameter set of the reference layer that is not referenced for inter-layer prediction of the current layer may be removed from the bitstream.
[0018] An image coding method performed by an image coding device according to another aspect of this disclosure may include the following steps: determining maximum time identifier information, the maximum time identifier information indicating the maximum time identifier of a reference layer referenced for inter-layer prediction of the current layer; and encoding the maximum time identifier information into a bitstream, wherein the maximum time identifier information is used to perform a sub-bitstream extraction process of extracting sub-bitstreams from the bitstream, and wherein, during the sub-bitstream extraction process, parameter sets from the parameter set of the reference layer that are not referenced for inter-layer prediction of the current layer can be removed from the bitstream.
[0019] In the image coding method disclosed herein, the parameter set may be an adaptive parameter set (APS).
[0020] In the image coding method disclosed herein, parameter sets whose time identifiers are greater than the maximum time identifier in the parameter set of the reference layer may not be referenced for the inter-layer prediction of the current layer.
[0021] In the image coding method disclosed herein, frames in the reference layer whose time identifiers are greater than the maximum time identifier may not be referenced for the inter-layer prediction of the current layer.
[0022] In the image coding method disclosed herein, the reference layer may be a non-output layer.
[0023] Furthermore, according to another aspect of the transmission method of this disclosure, a bit stream generated by an image encoding device or method according to this disclosure can be transmitted.
[0024] Furthermore, according to another aspect of this disclosure, a computer-readable recording medium can store a bitstream generated by an image encoding method or apparatus according to this disclosure.
[0025] Furthermore, according to another aspect of this disclosure, a computer-readable recording medium may store a bitstream for enabling a decoding device to perform an image decoding method according to this disclosure.
[0026] The features briefly outlined above are merely exemplary aspects of the detailed description of this disclosure below and do not limit the scope of this disclosure.
[0027] Beneficial effects
[0028] According to this disclosure, an image encoding / decoding method and apparatus with improved encoding / decoding efficiency can be provided.
[0029] Furthermore, according to this disclosure, an image encoding / decoding method and apparatus can be provided that can efficiently remove non-reference parameter sets from the parameter set of the reference layer based on time identifiers.
[0030] Furthermore, according to this disclosure, a method for transmitting a bitstream generated by an image encoding method or device according to this disclosure can be provided.
[0031] Furthermore, according to this disclosure, a recording medium may be provided for storing a bitstream generated by an image encoding method or apparatus according to this disclosure.
[0032] Furthermore, according to this disclosure, a recording medium can be provided for storing a bitstream that is received, decoded, and used to reconstruct an image by an image decoding device according to this disclosure.
[0033] Those skilled in the art will understand that the effects achievable through this disclosure are not limited to those specifically described above, and that other advantages of this disclosure will become clearer from the specific embodiments. Attached Figure Description
[0034] Figure 1 This is a view schematically illustrating a video encoding system to which embodiments of this disclosure are applicable.
[0035] Figure 2 This is a schematic view illustrating an image encoding device to which embodiments of the present disclosure are applicable.
[0036] Figure 3 This is a schematic view illustrating an image decoding device to which embodiments of the present disclosure are applicable.
[0037] Figure 4 and Figure 5 This is a view illustrating an example of the screen decoding and encoding process to which embodiments of this disclosure are applicable.
[0038] Figure 6 This is a view illustrating the layer structure of an image for encoding to which embodiments of this disclosure are applicable.
[0039] Figures 7 to 8 This is an example of a view based on multi-layered encoding and decoding.
[0040] Figures 9 to 17 This is a view illustrating the VPS to which the embodiments of this disclosure are applicable.
[0041] Figures 18 to 19 This is a view illustrating a method for extracting (obtaining) a sub-bit stream to which embodiments of this disclosure are applicable.
[0042] Figures 20 to 21 This is a view illustrating the decoding and / or encoding methods to which embodiments of this disclosure are applicable.
[0043] Figure 22 This is a view illustrating the content streaming system to which embodiments of this disclosure are applicable. Detailed Implementation
[0044] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings to facilitate implementation by those skilled in the art. However, this disclosure may be implemented in various different forms and is not limited to the embodiments described herein.
[0045] In describing this disclosure, detailed descriptions of relevant known functions or constructions will be omitted if they unnecessarily obscure the scope of the disclosure. In the accompanying drawings, portions irrelevant to the description of this disclosure are omitted, and similar reference numerals are assigned to similar portions.
[0046] In this disclosure, when a component is "connected," "linked," or "coupled" to another component, it may include not only a direct connection but also an indirect connection with intermediate components. Furthermore, when a component "comprises" or "has" other components, unless otherwise stated, it means that other components may be included, not excluded.
[0047] In this disclosure, the terms first, second, etc., may be used only for the purpose of distinguishing one component from other components and do not limit the order or importance of the components, unless otherwise stated. Accordingly, within the scope of this disclosure, a first component in one embodiment may be referred to as a second component in another embodiment, and similarly, a second component in one embodiment may be referred to as a first component in another embodiment.
[0048] In this disclosure, the distinguishing components are intended to clearly describe each feature and do not imply that the components must be separate. That is, multiple components may be integrated and implemented in a single hardware or software unit, or a single component may be distributed and implemented in multiple hardware or software units. Therefore, unless otherwise stated, these implementations, where components are integrated or distributed, are included within the scope of this disclosure.
[0049] In this disclosure, the components described in the various embodiments are not necessarily essential components, and some components may be optional. Therefore, embodiments consisting of a subset of the components described in the embodiments are also included within the scope of this disclosure. In addition, embodiments that include other components besides those described in the various embodiments are also included within the scope of this disclosure.
[0050] This disclosure relates to the encoding and decoding of images. Unless redefined in this disclosure, the terms used herein may have the general meaning commonly used in the art to which this disclosure pertains.
[0051] The methods / implementations disclosed in this disclosure are applicable to methods disclosed in the Universal Video Coding (VVC) standard. Additionally, the methods / implementations disclosed in this disclosure are applicable to methods disclosed in the Basic Video Coding (EVC) standard, the AOMedia Video 1 (AV1) standard, the second-generation Audio Video Coding (AVS2) standard, or next-generation video / image coding standards (e.g., H.267 or H.268).
[0052] This disclosure provides various implementations of video / image encoding, and implementations not described herein can be performed in combination.
[0053] In this disclosure, "video" can mean a set of images over time. A "picture" generally refers to a unit representing an image at a specific time, and a tile is a coding unit that constitutes part of a picture in the encoding process. A tile may include one or more coding tree units (CTUs). A CTU may be divided into one or more CUs.
[0054] A frame can consist of one or more slices / tiles. A tile is a rectangular area within a specific tile row and a specific tile column in a frame, and can consist of multiple CTUs. A tile column can be defined as a rectangular area of a CTU, and can have a height equal to the height of the frame and a width specified by a syntax element signaled from a bitstream portion such as a frame parameter set. A tile row can be defined as a rectangular area of a CTU, and can have a width equal to the width of the frame and a height specified by a syntax element signaled from a bitstream portion such as a frame parameter set.
[0055] Tiled scanning is a specific ordering of CTUs that divide a frame. Here, CTUs are ordered consecutively within a tile using CTU raster scans, while the tiles in a frame are ordered consecutively using the raster scans of the frame's tiles. A slice consists of an integer number of consecutive complete CTU rows or an integer number of complete tiles within a tile of the frame. Slices can be proprietaryly included in a single NAL unit.
[0056] A frame can be divided into two or more sub-frames. A sub-frame can be a rectangular area of one or more slices of the frame.
[0057] A frame can include one or more tile groups. A tile group can include one or more tiles. A tile can represent a rectangular area of CTU rows within a tile in the frame. A tile can include one or more tiles. A tile can represent a rectangular area of CTU rows within a tile. A tile can be divided into multiple tiles, and each tile can include one or more CTU rows belonging to the tile. Tiles that are not divided into multiple tiles can also be considered as tiles.
[0058] A "pixel" or "pixel" can refer to the smallest unit that makes up a picture (or image). Additionally, "sample" can be used as the term corresponding to a pixel. A sample can typically represent a pixel or a pixel value, and can represent only the pixel / pixel value of the luminance component or only the pixel / pixel value of the chrominance component.
[0059] In this disclosure, "unit" can refer to a basic unit of image processing. A unit may include a specific region of an image and at least one of the information associated with that region. A unit may include a luminance block and two chrominance blocks (e.g., Cb and Cr). In some cases, "unit" may be used interchangeably with terms such as "sample array," "block," or "region." In general, an M×N block may include a set (or array) of samples (or transform coefficients) with M columns and N rows.
[0060] In this disclosure, "current block" can mean one of "current coding block," "current coding unit," "coding target block," "decoding target block," or "processing target block." When performing prediction, "current block" can mean "current prediction block" or "prediction target block." When performing transform (inverse transform) / quantization (dequantization), "current block" can mean "current transform block" or "transform target block." When performing filtering, "current block" can mean "filter target block."
[0061] Additionally, in this disclosure, unless explicitly stated as a chroma block, "current block" may mean "the luminance block of the current block". "The chroma block of the current block" can be expressed by including an explicit description of a chroma block such as "chroma block" or "current chroma block".
[0062] In this disclosure, the forward slash " / " or "," should be interpreted as indicating "and / or". For example, the expressions "A / B" and "A, B" can mean "A and / or B". Furthermore, "A / B / C" and "A / B / C" can mean "at least one of A, B and / or C".
[0063] In this disclosure, the term "or" should be interpreted as indicating "and / or". For example, expressing "A or B" can include 1) only "A", 2) only "B", and / or 3) both "A and B". In other words, in this disclosure, the term "or" should be interpreted as indicating "additionally or alternatively".
[0064] In this disclosure, "at least one of A and B" may mean "only A", "only B" or "both A and B". Furthermore, in this disclosure, "at least one of A or B" or "at least one of A and / or B" may be interpreted as the same as "at least one of A and B".
[0065] Furthermore, in this disclosure, "at least one of A, B, and C" may mean "only A," "only B," "only C," or "any combination of A, B, and C." Additionally, in this disclosure, "at least one of A, B, or C" or "at least one of A, B, and / or C" may be interpreted as the same as "at least one of A, B, and C."
[0066] Furthermore, the parentheses used in this disclosure may mean "for example". Specifically, when describing "prediction (intra-frame prediction)", "intra-frame prediction" may be cited as an example of "prediction". In other words, the "prediction" in this disclosure is not limited to "intra-frame prediction", and "intra-frame prediction" may be cited as an example of "prediction". In addition, even when describing "prediction (i.e., intra-frame prediction)", "intra-frame prediction" may be cited as an example of "prediction".
[0067] In this disclosure, a technical feature described individually in a single figure may be implemented individually or simultaneously.
[0068] Overview of Video Encoding Systems
[0069] Figure 1 This is a view showing a video encoding system according to this disclosure.
[0070] The video encoding system according to the embodiment may include a source device 10 and a receiving device 20. The source device 10 may deliver encoded video and / or image information or data to the receiving device 20 in the form of a file or stream via a digital storage medium or network.
[0071] The source device 10 according to an embodiment may include a video source generator 11, an encoding device 12, and a transmitter 13. The receiving device 20 according to an embodiment may include a receiver 21, a decoding device 22, and a renderer 23. The encoding device 12 may be referred to as a video / image encoding device, and the decoding device 22 may be referred to as a video / image decoding device. The transmitter 13 may be included in the encoding device 12. The receiver 21 may be included in the decoding device 22. The renderer 23 may include a display, and the display may be configured as a separate device or an external component.
[0072] The video source generator 11 can acquire video / images through a process of capturing, compositing, or generating video / images. The video source generator 11 may include a video / image capture device and / or a video / image generation device. The video / image capture device may include, for example, one or more cameras, a video / image archive including previously captured video / images, etc. The video / image generation device may include, for example, a computer, tablet computer, and smartphone, and can generate video / images (electronically). For example, virtual video / images can be generated by a computer, etc. In this case, the video / image capture process can be replaced by a process of generating related data.
[0073] The encoding device 12 can encode the input video / image. For compression and encoding efficiency, the encoding device 12 can perform a series of processes such as prediction, transformation, and quantization. The encoding device 12 can output the encoded data (encoded video / image information) in the form of a bitstream.
[0074] Transmitter 13 can transmit encoded video / image information or data, output in bitstream form, to receiver 21 of receiving device 20 in the form of a file or stream via digital storage medium or network. Digital storage medium can include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. Transmitter 13 can include elements for generating media files according to a predetermined file format and may include elements for transmission via broadcast / communication networks. Receiver 21 can extract / receive bitstreams from storage medium or network and transmit the bitstreams to decoding device 22.
[0075] The decoding device 22 can decode video / images by performing a series of processes (such as dequantization, inverse transform, and prediction) corresponding to the operation of the encoding device 12.
[0076] Renderer 23 can render decoded video / images. The rendered video / images can be displayed on a monitor.
[0077] Overview of Image Encoding Devices
[0078] Figure 2 This is a schematic view illustrating an image encoding device to which embodiments of the present disclosure are applicable.
[0079] like Figure 2 As shown, the image encoding device 100 may include an image segmenter 110, a subtractor 115, a transformer 120, a quantizer 130, a dequantizer 140, an inverse transformer 150, an adder 155, a filter 160, a memory 170, an inter-frame predictor 180, an intra-frame predictor 185, and an entropy encoder 190. The inter-frame predictor 180 and the intra-frame predictor 185 may be collectively referred to as "predictors". The transformer 120, quantizer 130, dequantizer 140, and inverse transformer 150 may be included in a residual processor. The residual processor may also include a subtractor 115.
[0080] In some implementations, all or at least some of the multiple components configuring the image encoding device 100 may be configured by a single hardware component (e.g., an encoder or a processor). Additionally, the memory 170 may include a decoded screen buffer (DPB) and may be configured by a digital storage medium.
[0081] Image segmenter 110 can segment an input image (or picture or frame) input to image encoding device 100 into one or more processing units. For example, a processing unit may be called an encoding unit (CU). Encoding units can be obtained by recursively segmenting encoding tree units (CTUs) or maximum encoding units (LCUs) according to a quadtree / binary tree / tritree (QT / BT / TT) structure. For example, an encoding unit can be segmented into multiple encoding units of greater depth based on a quadtree structure, a binary tree structure, and / or a ternary tree structure. For the segmentation of encoding units, a quadtree structure can be applied first, and a binary tree structure and / or a ternary tree structure can be applied later. The encoding process according to this disclosure can be performed based on the final encoding unit that is no longer segmented. The maximum encoding unit can be used as the final encoding unit, or a deeper encoding unit obtained by segmenting the maximum encoding unit can be used as the final encoding unit. Here, the encoding process may include prediction, transformation, and reconstruction processes, which will be described later. As another example, the processing unit of the encoding process may be a prediction unit (PU) or a transformation unit (TU). Prediction units and transform units can be partitioned or segmented from the final coding unit. Prediction units can be sample prediction units, and transform units can be units used to derive transform coefficients and / or units used to derive residual signals from transform coefficients.
[0082] The predictor (inter-frame predictor 180 or intra-frame predictor 185) can perform prediction on the block to be processed (the current block) and generate a prediction block that includes prediction samples of the current block. The predictor can determine whether to apply intra-frame prediction or inter-frame prediction based on the current block or CU. The predictor can generate various information related to the prediction of the current block and send the generated information to the entropy encoder 190. The information about the prediction can be encoded in the entropy encoder 190 and output as a bitstream.
[0083] Intra-predictor 185 can predict the current block by referencing samples in the current frame. Depending on the intra-prediction mode and / or intra-prediction technique, the reference samples may be located among the neighbors of the current block or may be placed separately. Intra-prediction modes may include multiple non-directional modes and multiple directional modes. Non-directional modes may include, for example, DC mode and planar mode. Depending on the level of detail in the prediction direction, directional modes may include, for example, 33 or 65 directional prediction modes. However, this is merely an example, and more or fewer directional prediction modes may be used depending on the settings. Intra-predictor 185 can determine the prediction mode to be applied to the current block by using prediction modes applied to neighboring blocks.
[0084] Inter-frame predictor 180 can derive the predicted block of the current block based on a reference block (reference sample array) specified by motion vectors on a reference frame. In this case, to reduce the amount of motion information transmitted in inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation between motion information between neighboring blocks and the current block. Motion information may include motion vectors and reference frame indices. Motion information may also include inter-frame prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter-frame prediction, neighboring blocks may include spatially neighboring blocks existing in the current frame and temporally neighboring blocks existing in the reference frame. The reference frame including the reference block and the reference frame including the temporally neighboring block may be the same or different. The temporally neighboring block may be referred to as a juxtaposed reference block, a juxtaposed CU (colCU), etc. The reference frame including the temporally neighboring block may be referred to as a juxtaposed frame (colPic). For example, inter-frame predictor 180 can configure a motion information candidate list based on neighboring blocks and generate information indicating which candidate to use to derive the motion vector and / or reference frame index of the current block. Inter-frame prediction can be performed based on various prediction modes. For example, in skip mode and merge mode, the inter-frame predictor 180 can use motion information from neighboring blocks as motion information for the current block. In skip mode, unlike merge mode, residual signals may not be sent. In motion vector prediction (MVP) mode, motion vectors from neighboring blocks can be used as motion vector predictors, and the motion vector of the current block can be signaled by encoding motion vector differences and indicators of the motion vector predictors. The motion vector difference can refer to the difference between the motion vector of the current block and the motion vector predictor.
[0085] The predictor can generate a prediction signal based on various prediction methods and techniques described below. For example, the predictor can apply not only intra-frame prediction or inter-frame prediction, but also both intra-frame prediction and inter-frame prediction simultaneously to predict the current block. A prediction method that simultaneously applies both intra-frame prediction and inter-frame prediction to predict the current block can be called Combined Intra-Inter-Frame Prediction (CIIP). Alternatively, the predictor can perform Intra-Frame Block Copy (IBC) to predict the current block. Intra-Frame Block Copy can be used for content image / video coding in games, for example, Screen Content Coding (SCC). IBC is a method of predicting the current frame using a previously reconstructed reference block in the current frame at a predetermined distance from the current block. When IBC is applied, the position of the reference block in the current frame can be encoded as a vector (block vector) corresponding to the predetermined distance. IBC essentially performs prediction in the current frame, but can be performed similarly to inter-frame prediction because the reference block is derived within the current frame. That is, IBC can use at least one of the inter-frame prediction techniques described in this disclosure.
[0086] The predicted signal generated by the predictor can be used to generate a reconstructed signal or a residual signal. Subtractor 115 generates a residual signal (residual block or residual sample array) by subtracting the predicted signal (predicted block or predicted sample array) output from the predictor from the input image signal (original block or original sample array). The generated residual signal can be sent to transformer 120.
[0087] Transformer 120 can generate transform coefficients by applying transform techniques to the residual signal. For example, the transform techniques may include at least one of Discrete Cosine Transform (DCT), Discrete Sine Transform (DST), Karhunen-Loève Transform (KLT), Graph-Based Transform (GBT), or Conditional Nonlinear Transform (CNT). Here, GBT refers to a transform obtained from a graph when the relationship information between pixels is represented by a graph. CNT refers to a transform obtained based on a prediction signal generated using all previously reconstructed pixels. Furthermore, the transform processing can be applied to square pixel blocks of the same size or to blocks of variable size instead of square.
[0088] Quantizer 130 can quantize the transform coefficients and send them to entropy encoder 190. Entropy encoder 190 can encode the quantized signal (information about the quantized transform coefficients) and output a bitstream. The information about the quantized transform coefficients can be referred to as residual information. Quantizer 130 can rearrange the block-type quantized transform coefficients into a one-dimensional vector form based on the coefficient scan order, and generate information about the quantized transform coefficients based on the one-dimensional vector form of the quantized transform coefficients.
[0089] The entropy encoder 190 can perform various encoding methods, such as exponential Columbus coding, context-adaptive variable-length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC). The entropy encoder 190 can encode, together or separately, information required for video / image reconstruction other than quantization transform coefficients (e.g., values of syntax elements). The encoded information (e.g., encoded video / image information) can be transmitted or stored in bitstream form at the Network Abstraction Layer (NAL) level. The video / image information may also include information about various parameter sets, such as Adaptive Parameter Set (APS), Picture Parameter Set (PPS), Sequence Parameter Set (SPS), or Video Parameter Set (VPS). Additionally, the video / image information may include general constraint information. The signaled information, transmitted information, and / or syntax elements described in this disclosure can be encoded and included in the bitstream through the above encoding process.
[0090] The bitstream can be transmitted over a network or stored in a digital storage medium. The network may include a broadcast network and / or a communication network, and the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. A transmitter (not shown) for transmitting the signal output from the entropy encoder 190 and / or a storage unit (not shown) for storing the signal may be included as internal / external components of the image encoding device 100. Alternatively, a transmitter may be provided as a component of the entropy encoder 190.
[0091] The quantization transform coefficients output from quantizer 130 can be used to generate residual signals. For example, the residual signal (residual block or residual sample) can be reconstructed by applying dequantization and inverse transform to the quantization transform coefficients through dequantizer 140 and inverse transformer 150.
[0092] Adder 155 adds the reconstructed residual signal to the prediction signal output from inter-frame predictor 180 or intra-frame predictor 185 to generate a reconstructed signal (reconstructed frame, reconstructed block, reconstructed sample array). If the block to be processed has no residual, such as in the case of applying a skip mode, the prediction block can be used as a reconstructed block. Adder 155 can be referred to as a reconstructor or reconstructed block generator. The generated reconstructed signal can be used for intra-frame prediction of the next block to be processed in the current frame, and can be used for inter-frame prediction of the next frame by filtering as described below.
[0093] Filter 160 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 160 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and store the modified reconstructed image in memory 170, specifically in the DPB of memory 170. Various filtering methods can include, for example, deblocking filtering, sample adaptive shifting, adaptive loop filtering, bilateral filtering, etc. Filter 160 can generate various filtering-related information and send the generated information to entropy encoder 190, as described later in the description of each filtering method. The filtering-related information can be encoded by entropy encoder 190 and output as a bitstream.
[0094] The modified reconstructed frame sent to memory 170 can be used as a reference frame in inter-frame predictor 180. When inter-frame prediction is applied by image encoding device 100, prediction mismatch between image encoding device 100 and image decoding device can be avoided and coding efficiency can be improved.
[0095] The DPB of memory 170 can store modified reconstructed frames for use as reference frames in inter-frame predictor 180. Memory 170 can store motion information of blocks used to derive (or encode) motion information in the current frame and / or motion information of already reconstructed blocks in the frame. The stored motion information can be sent to inter-frame predictor 180 and used as motion information for spatially or temporally neighboring blocks. Memory 170 can store reconstructed samples of reconstructed blocks in the current frame and can transmit the reconstructed samples to intra-frame predictor 185.
[0096] Overview of image decoding devices
[0097] Figure 3 This is a schematic view illustrating an image decoding device to which embodiments of the present disclosure are applicable.
[0098] like Figure 3 As shown, the image decoding device 200 may include an entropy decoder 210, a dequantizer 220, an inverse transformer 230, an adder 235, a filter 240, a memory 250, an inter-frame predictor 260, and an intra-frame predictor 265. The inter-frame predictor 260 and the intra-frame predictor 265 may be collectively referred to as "predictors". The dequantizer 220 and the inverse transformer 230 may be included in a residual processor.
[0099] According to an embodiment, all or at least some of the multiple components configuring the image decoding device 200 may be configured by hardware components (e.g., a decoder or a processor). Additionally, the memory 250 may include a decoded screen buffer (DPB) or may be configured by a digital storage medium.
[0100] The image decoding device 200, having received a bitstream including video / image information, can perform operations related to... Figure 2 The image is reconstructed by processing corresponding to the processing performed by the image encoding device 100. For example, the image decoding device 200 can perform decoding using a processing unit applied in the image encoding device. Therefore, the decoding processing unit can be, for example, an encoding unit. The encoding unit can be obtained by segmenting a coding tree unit or a maximum coding unit. The reconstructed image signal decoded and output by the image decoding device 200 can be reproduced by a reproduction device (not shown).
[0101] Image decoding device 200 can receive data in bitstream form from... Figure 2The signal output by the image encoding device. The received signal can be decoded by the entropy decoder 210. For example, the entropy decoder 210 can parse the bitstream to derive the information (e.g., video / image information) required for image reconstruction (or picture reconstruction). The video / image information may also include information about various parameter sets, such as adaptive parameter sets (APS), picture parameter sets (PPS), sequence parameter sets (SPS), or video parameter sets (VPS). In addition, the video / image information may also include general constraint information. The image decoding device can also decode the picture based on the information about the parameter sets and / or general constraint information. The information and / or syntax elements notified / received by signals described in this disclosure can be decoded and obtained from the bitstream through a decoding process. For example, the entropy decoder 210 decodes the information in the bitstream based on encoding methods such as exponential Golomb coding, CAVLC, or CABAC, and outputs the values of the syntax elements required for image reconstruction and the quantized values of the transform coefficients of the residuals. More specifically, the CABAC entropy decoding method can receive bins corresponding to each syntax element in the bitstream, determine a context model using information about the target syntax element, decoding information of neighboring blocks and the target block, or information about symbols / bins decoded in the previous stage, perform arithmetic decoding on the bins based on the determined context model by predicting the occurrence probability of the bins, and generate symbols corresponding to the value of each syntax element. In this case, the CABAC entropy decoding method can update the context model after determining the context model by using the information of the decoded symbols / bins for the context model of the next symbol / bin. The prediction-related information in the information decoded by the entropy decoder 210 can be provided to the predictors (inter-frame predictor 260 and intra-frame predictor 265), and the residual values of the entropy decoding performed in the entropy decoder 210 (that is, the quantization transform coefficients and related parameter information) can be input to the dequantizer 220. In addition, the filtering information in the information decoded by the entropy decoder 210 can be provided to the filter 240. Furthermore, the receiver (not shown) for receiving signals output from the image encoding device may be further configured as an internal / external element of the image decoding device 200, or the receiver may be a component of the entropy decoder 210.
[0102] Furthermore, the image decoding apparatus according to this disclosure can be referred to as a video / image / screen decoding apparatus. The image decoding apparatus can be divided into an information decoder (video / image / screen information decoder) and a sample decoder (video / image / screen sample decoder). The information decoder may include an entropy decoder 210. The sample decoder may include at least one of a dequantizer 220, an inverse transformer 230, an adder 235, a filter 240, a memory 250, an inter-frame predictor 260, or an intra-frame predictor 265.
[0103] Dequantizer 220 can dequantize the quantized transform coefficients and output transform coefficients. Dequantizer 220 can rearrange the quantized transform coefficients in the form of two-dimensional blocks. In this case, the rearrangement can be performed based on the coefficient scan order performed in the image encoding device. Dequantizer 220 can obtain transform coefficients by performing dequantization on the quantized transform coefficients using quantization parameters (e.g., quantization step size information).
[0104] The inverse transformer 230 can perform inverse transformation on the transformation coefficients to obtain the residual signal (residual block, residual sample array).
[0105] The predictor can perform prediction on the current block and generate a prediction block that includes prediction samples of the current block. The predictor can determine whether to apply intra-frame prediction or inter-frame prediction to the current block based on the prediction information output from the entropy decoder 210, and can determine a specific intra-frame / inter-frame prediction mode (prediction technique).
[0106] Similar to the predictor described in the image coding device 100, the predictor can generate a prediction signal based on various prediction methods (techniques) that will be described later.
[0107] Intra-predictor 265 can predict the current block by referring to samples in the current frame. The description of intra-predictor 185 also applies to intra-predictor 265.
[0108] Inter-frame predictor 260 can deduce the predicted block of the current block based on a reference block (reference sample array) specified by a motion vector on a reference frame. In this case, to reduce the amount of motion information transmitted in inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation between motion information between neighboring blocks and the current block. Motion information may include motion vectors and reference frame indices. Motion information may also include inter-frame prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the case of inter-frame prediction, neighboring blocks may include spatially neighboring blocks existing in the current frame and temporally neighboring blocks existing in the reference frame. For example, inter-frame predictor 260 can configure a motion information candidate list based on neighboring blocks and deduce the motion vector and / or reference frame index of the current block based on the received candidate selection information. Inter-frame prediction can be performed based on various prediction modes, and the information about the prediction may include information indicating the inter-frame prediction mode of the current block.
[0109] Adder 235 generates a reconstruction signal (reconstructed frame, reconstruction block, reconstruction sample array) by adding the obtained residual signal to the prediction signal (prediction block, prediction sample array) output from the predictor (including inter-frame predictor 260 and / or intra-frame predictor 265). If the block to be processed has no residual, such as when a skip mode is applied, the prediction block can be used as a reconstruction block. The description of adder 155 also applies to adder 235. Adder 235 may be referred to as a reconstructor or reconstruction block generator. The generated reconstruction signal can be used for intra-frame prediction of the next block to be processed in the current frame, and can be used for inter-frame prediction of the next frame by filtering as described below.
[0110] Filter 240 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 240 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and store the modified reconstructed image in memory 250, specifically in the DPB of memory 250. Various filtering methods may include, for example, deblocking filtering, adaptive sample shifting, adaptive loop filtering, bilateral filtering, etc.
[0111] The (modified) reconstructed frame stored in the DPB of memory 250 can be used as a reference frame in inter-frame predictor 260. Memory 250 can store motion information of blocks used to derive (or decode) motion information in the current frame and / or motion information of already reconstructed blocks in the frame. The stored motion information can be sent to inter-frame predictor 260 to be used as motion information for spatially or temporally neighboring blocks. Memory 250 can store reconstructed samples of reconstructed blocks in the current frame and transmit the reconstructed samples to intra-frame predictor 265.
[0112] In this disclosure, the embodiments described in the filter 160, inter-frame predictor 180 and intra-frame predictor 185 of the image encoding device 100 can be applied equally or correspondingly to the filter 240, inter-frame predictor 260 and intra-frame predictor 265 of the image decoding device 200.
[0113] General image / video encoding process
[0114] In image / video coding, the frames that make up an image / video can be encoded / decoded according to the decoding order. The frame order corresponding to the output order of the decoded frames can be set to be different from the decoding order, and based on this, not only forward prediction but also backward prediction can be performed during inter-frame prediction.
[0115] Figure 4 An example of an illustrative screen decoding process to which embodiments of this disclosure apply is shown. Figure 4In this process, S410 can be executed in the entropy decoder 210 of the decoding device, S420 can be executed in the predictor including the intra-frame predictor 265 and the inter-frame predictor 260, S430 can be executed in the residual processor including the dequantizer 220 and the inverse transformer 230, S440 can be executed in the adder 235, and S450 can be executed in the filter 240. S410 can include the information decoding process described in this disclosure, S420 can include the inter-frame / intra-frame prediction process described in this disclosure, S430 can include the residual processing process described in this disclosure, S440 can include the block / frame reconstruction process described in this disclosure, and S450 can include the in-loop filtering process described in this disclosure.
[0116] refer to Figure 4 The image decoding process can schematically include a process of obtaining image / video information from the bitstream (through decoding) (S410), an image reconstruction process (S420 to S440), and an in-loop filtering process for the reconstructed image (S450). The image reconstruction process can be performed based on prediction samples and residual samples obtained through inter-frame / intra-frame prediction (S420) and residual processing (S430) (dequantization and inverse transform of quantization transform coefficients) as described in this disclosure. For the reconstructed image generated by the image reconstruction process, a modified reconstructed image can be generated through the in-loop filtering process. The modified reconstructed image can be used as the decoded image output, stored in the decoded image buffer or memory 250 of the decoding device, and used as a reference image in the inter-frame prediction process when decoding images later. In some cases, the in-loop filtering process can be omitted. In this case, the reconstructed image can be used as the decoded image output, stored in the decoded image buffer or memory 250 of the decoding device, and used as a reference image in the inter-frame prediction process when decoding images later. The in-loop filtering process (S450) may include a deblocking filtering process, a sample adaptive offset (SAO) process, an adaptive loop filter (ALF) process, and / or a bilateral filter process, some or all of which may be omitted as described above. Furthermore, one or more of the deblocking filtering process, the sample adaptive offset (SAO) process, the adaptive loop filter (ALF) process, and / or the bilateral filter process may be applied sequentially, or all of them may be applied sequentially. For example, the SAO process may be performed after the deblocking filtering process has been applied to the reconstructed frame. Alternatively, for example, the ALF process may be performed after the deblocking filtering process has been applied to the reconstructed frame. This can be performed similarly even in an encoding device.
[0117] Figure 5 An example of an illustrative screen encoding process to which embodiments of this disclosure apply is shown. Figure 5 In the above reference, S510 can be found... Figure 2The coding apparatus described herein includes a predictor comprising an intra-frame predictor 185 or an inter-frame predictor 180. S520 may be executed in a residual processor comprising a transformer 120 and / or a quantizer 130, and S530 may be executed in an entropy encoder 190. S510 may include the inter-frame / intra-frame prediction process described herein, S520 may include the residual processing process described herein, and S530 may include the information encoding process described herein.
[0118] refer to Figure 5 The image encoding process can schematically include not only the process of encoding information used for image reconstruction (e.g., prediction information, residual information, segmentation information, etc.) and outputting that information as a bitstream, but also the process of generating a reconstructed image of the current image and (optionally) applying in-loop filtering to the reconstructed image, as shown in the following example. Figure 2 As described, the encoding device can derive (modified) residual samples from the quantized transform coefficients using dequantizer 140 and inverse transformer 150, and generate a reconstructed frame based on the predicted sample as the output of S510 and the (modified) residual samples. The reconstructed frame generated in this way can be equal to the reconstructed frame generated in the decoding device. The modified reconstructed frame can be generated through an in-loop filtering process for the reconstructed frame, can be stored in the decoded frame buffer or memory 170, and can be used as a reference frame in the inter-frame prediction process when encoding frames later, similar to the case in the decoding device. As mentioned above, in some cases, some or all of the in-loop filtering process can be omitted. When the in-loop filtering process is performed, the (in-loop) filtering-related information (parameters) can be encoded in the entropy encoder 190 and output as a bitstream, and the decoding device can perform the in-loop filtering process based on the filtering-related information using the same method as the encoding device.
[0119] This in-loop filtering process reduces noise generated during image / video encoding (such as block artifacts and ringing artifacts) and improves subjective / objective visual quality. Furthermore, by performing the in-loop filtering process in both the encoding and decoding devices, the encoding and decoding devices can derive the same prediction results, increasing the reliability of image encoding and reducing the amount of data transmitted for image encoding.
[0120] As described above, the image reconstruction process can be performed not only in the decoding device but also in the encoding device. Reconstructed blocks can be generated based on intra-frame prediction / inter-frame prediction on a block-by-block basis, and a reconstructed image including these blocks can be generated. When the current image / slice / patch group is an I-frame / slice / patch group, blocks included in the current image / slice / patch group can be reconstructed based solely on intra-frame prediction. Furthermore, when the current image / slice / patch group is a P-frame / slice / patch group or a B-frame / slice / patch group, blocks included in the current image / slice / patch group can be reconstructed based on either intra-frame prediction or inter-frame prediction. In this case, inter-frame prediction can be applied to some blocks in the current image / slice / patch group, and intra-frame prediction can be applied to the remaining blocks. The color components of the image can include luminance and chrominance components; unless explicitly defined in this disclosure, the methods and implementations of this disclosure can be applied to both luminance and chrominance components.
[0121] Examples of coding layers and structures
[0122] Video / images encoded according to this disclosure can be processed, for example, according to the encoding layers and structures described below.
[0123] Figure 6 This is a view showing the layer structure of an encoded image. Encoded images can be classified into the Video Coding Layer (VCL) for image decoding and its own processing, the lower system for transmitting and storing encoded information, and the Network Abstraction Layer (NAL) that exists between the VCL and the lower system and is responsible for network adaptation functions.
[0124] In VCL, VCL data that includes compressed image data (slice data) can be generated, or additional supplemental enhancement information (SEI) messages that include information such as picture parameter set (PPS), sequence parameter set (SPS), or video parameter set (VPS) can be generated for the decoding process of the image.
[0125] In NAL, header information (NAL cell header) can be added to the raw byte sequence payload (RBSP) generated in VCL to generate NAL cells. In this case, RBSP refers to the slice data, parameter set, and SEI message generated in VCL. The NAL cell header may include NAL cell type information specified based on the RBSP data included in the corresponding NAL cell.
[0126] As shown in the figure, NAL units can be classified into VCL NAL units and non-VCL NAL units based on the RBSP generated in the VCL. VCL NAL units can refer to NAL units that include information about the image (slice data), while non-VCL NAL units can refer to NAL units that include information required for decoding the image (parameter set or SEI message).
[0127] VCL NAL units and non-VCL NAL units can be appended with header information and transmitted over a network according to the data standard of the lower system. For example, NAL units can be modified to a predetermined standard data format such as H.266 / VVC file format, RTP (Real-Time Transport Protocol), or TS (Transport Streaming) and transmitted over various networks.
[0128] As described above, in a NAL cell, the NAL cell type can be specified according to the RBSP data structure included in the corresponding NAL cell, and information about the NAL cell type can be stored in the NAL cell header and notified by a signal.
[0129] For example, based on whether the NAL unit includes information about the image (slice data), it can be mainly classified into VCLNAL unit type and non-VCL NAL unit type. VCL NAL unit type can be classified according to the characteristics and type of the image included in the VCL NAL unit, while non-VCL NAL unit type can be classified according to the type of parameter set.
[0130] Below are examples of NAL cell types specified based on the type of parameter set / information included in non-VCL NAL cell types.
[0131] -DCI (Decoding Capability Information) NAL Unit: Includes the type of NAL unit for DCI.
[0132] -VPS (Video Parameter Set) NAL Unit: Includes the type of NAL unit for the VPS.
[0133] -SPS (Sequence Parameter Set) NAL Unit: The type of NAL unit that includes SPS.
[0134] -PPS (Picture Parameter Set) NAL Unit: Includes the types of NAL units for PPS.
[0135] -APS (Adaptive Parameter Set) NAL Unit: The type of NAL unit including APS.
[0136] -PH (Header) NAL Unit: Includes the type of NAL unit for PH.
[0137] The aforementioned NAL unit type can have syntax information specific to the NAL unit type, and this syntax information can be stored in the NAL unit header and signaled. For example, the syntax information can be nal_unit_type, and the NAL unit type can be specified as the nal_unit_type value.
[0138] Furthermore, as mentioned above, a frame can include multiple slices, and a slice can include a slice header and slice data. In this case, a frame header can be further added to multiple slices within a frame (slice header and slice dataset). The frame header (frame header syntax) can include information / parameters that are typically applicable to the frame.
[0139] A slice header (slice header syntax) may include information / parameters typically applicable to a slice. An APS (APS syntax) or PPS (PPS syntax) may include information / parameters typically applicable to one or more slices or frames. An SPS (SPS syntax) may include information / parameters typically applicable to one or more sequences. A VPS (VPS syntax) may include information / parameters typically applicable to multiple layers. A DCI (DCI syntax) may include information / parameters typically applicable to the entire video. A DCI may include information / parameters related to decoding capabilities. In this disclosure, the High-Level Syntax (HLS) may include at least one of the following: APS syntax, PPS syntax, SPS syntax, VPS syntax, DCI syntax, frame header syntax, or slice header syntax. Furthermore, in this disclosure, the Low-Level Syntax (LLS) may include, for example, slice data syntax, CTU syntax, coding unit syntax, transform unit syntax, etc.
[0140] In this disclosure, the image / video information encoded in the encoding device and signaled to the decoding device in the form of a bitstream can include not only intra-frame segmentation related information, intra / inter-frame prediction information, residual information, and intra-loop filtering information, but also information about slice headers, frame headers, APS, PPS, SPS, VPS, and / or DCI. Additionally, the image / video information may also include general constraint information and / or information about NAL unit headers.
[0141] NAL unit for video information signaling
[0142] Screen information can be signaled in units of NAL units. For example, screen information can be signaled as described below. The sublayer is a time-scalable layer of a time-scalable bitstream, consisting of VCL NAL units with a specific value of the variable TemporalId and associated non-VCL NAL units. The variable TemporalId can be derived as follows:
[0143] [Equation 1]
[0144] TemporalId=nuh_temporal_id_plus1-1
[0145] The value of the TemporalId variable can be signaled via the nuh_temproal_id_plus1 syntax element in the NAL unit header of the NAL unit. The TemporalId value should be 0 when the nal_unit_type value in the NAL unit header is in the range IDR_W_RADL to RSV_IRAP_12 (inclusive). The TemporalId value should not be 0 when the nal_unit_type value is equal to STSA_NUT and the vps_independent_layer_flag[GeneralLayerIdx[nuh_layer_id]] value is equal to 1. The TemporalId value should be the same for all VCL NAL units of the AU. The TemporalId value of the encoded screen, PU, or AU is the TemporalId value of the VCLNAL unit of the encoded screen, PU, or AU. The TemporalId value of the sublayer representation is the maximum value of the TemporalId of all VCL NAL units in the sublayer representation.
[0146] The TemporalId value of a non-VCL NAL unit can be constrained as follows:
[0147] - If nal_unit_type is equal to DCI_NUT, VPS_NUT or SPS_NUT, then TemporalId should be equal to 0, and the TemporalId value of the AU containing NAL units should be equal to 0.
[0148] Otherwise, if nal_unit_type equals PH_NUT, then the value of TemporalId should be equal to the TemporalId of the PU containing the NAL unit.
[0149] Otherwise, if nal_unit_type is equal to EOS_NUT or EOB_NUT, then TemporalId should be equal to 0.
[0150] Otherwise, if nal_unit_type is equal to AUD_NUT, FD_NUT, PREFIX_SEI_NUT or SUFFIX_SEI_NUT, then TemporalId should be equal to the TemporalId of the AU containing NAL units.
[0151] Otherwise, when nal_unit_type is equal to PPS_NUT, PREFIX_APS_NUT or SUFFIX_APS_NUT, the value of TemporalId should be greater than or equal to the value of TemporalId of the PU containing NAL units.
[0152] For example, when the NAL unit is a non-VCL NAL unit, the TemporalId value can be equal to the minimum TemporalId value of all AUs to which the non-VCL NAL unit applies. When the nal_unit_type value is equal to PPS_NUT, PREFIX_APS_NUT, or SUFFIX_APS_NUT, the TemporalId value can be greater than or equal to the TemporalId value containing the AU, because all PPS and APS can be included at the beginning of the bitstream (e.g., when they are transmitted out of band and the receiver places them at the beginning of the bitstream). Here, the first encoded frame can have a TemporalId equal to 0.
[0153] Multi-layer coding
[0154] Image / video coding according to this disclosure may include multi-layer-based image / video coding. Multi-layer-based image / video coding may include scalable coding. In multi-layer-based coding or scalable coding, the input signal may be processed for each layer. Depending on the layers, the input signal (input image / video) may have different values in at least one of resolution, frame rate, bit depth, color format, aspect ratio, or viewpoint. In this case, redundant information transmission / processing and compression efficiency can be reduced and increased by performing inter-layer prediction using the differences between layers (e.g., based on scalability).
[0155] Figure 7 This is a schematic block diagram of a multilayer encoding device 700 to which embodiments of the present disclosure are applied and which performs encoding of multilayer video / image signals.
[0156] Figure 7 The multi-layer coding device 700 may include Figure 2 Encoding devices. With Figure 2 In comparison, Figure 7 The image segmenter 110 and adder 155 are not shown in the multi-layer coding device 700, but the multi-layer coding device 700 may include the image segmenter 110 and adder 155. In an embodiment, the image segmenter 110 and adder 155 may be included in the cells of a layer. In the following, multi-layer-based prediction will focus on... Figure 7 In the description. For example, in addition to the following description, the multilayer coding device 700 may include the above references. Figure 2The technical concept of the described encoding device.
[0157] For ease of description, Figure 7 The diagram illustrates a multi-layer structure consisting of two layers. However, embodiments of this disclosure are not limited to two layers, and the multi-layer structure to which embodiments of this disclosure are applied may include two or more layers.
[0158] refer to Figure 7 The encoding device 700 includes an encoder 700-1 for layer 1 and an encoder 700-0 for layer 0. Layer 0 can be a base layer, a reference layer, or a lower layer, and layer 1 can be an enhancement layer, a current layer, or a higher layer.
[0159] The encoder 700-1 of layer 1 may include a predictor 720-1, a residual processor 730-1, a filter 760-1, a memory 770-1, an entropy encoder 740-1, and a multiplexer (MUX) 770. In some embodiments, the MUX may be included as an external component.
[0160] The encoder 700-0 of layer 0 may include a predictor 720-0, a residual processor 730-0, a filter 760-0, a memory 770-0, and an entropy encoder 740-0.
[0161] Predictors 720-0 and 720-1 can perform predictions on the input image based on various prediction schemes as described above. For example, predictors 720-0 and 720-1 can perform inter-frame prediction and intra-frame prediction. Predictors 720-0 and 720-1 can perform predictions within a predetermined processing unit. The prediction unit can be a coding unit (CU) or a transform unit (TU). Prediction blocks (including prediction samples) can be generated based on the prediction results, and based on this, a residual processor can derive residual blocks (including residual samples).
[0162] Inter-frame prediction can generate prediction blocks based on information about at least one of the previous and / or next frames. Intra-frame prediction can generate prediction blocks based on neighboring samples in the current frame.
[0163] As inter-frame prediction modes or methods, the various prediction modes or methods described above can be used. In inter-frame prediction, a reference frame can be selected for the current block to be predicted, and a reference block corresponding to the current block can be selected from the reference frame. Predictors 720-0 and 720-1 can generate prediction blocks based on the reference blocks.
[0164] Additionally, predictor 720-1 can use information about layer 0 to perform predictions for layer 1. In this disclosure, for ease of description, the method of using information about another layer to predict information about the current layer is referred to as inter-layer prediction.
[0165] Information about the current layer predicted using information about another layer (e.g., predicted via inter-layer prediction) can be at least one of texture, motion information, cell information, or predetermined parameters (e.g., filtering parameters, etc.).
[0166] Additionally, the information about another layer used for prediction of the current layer (e.g., for inter-layer prediction) can be at least one of texture, motion information, cell information, or predetermined parameters (e.g., filtering parameters, etc.).
[0167] For inter-layer prediction, the current block can be a block in the current frame of the current layer (e.g., layer 1) and can be a block to be encoded. The reference block is a block in the frame (reference frame) of the layer (reference layer, e.g., layer 0) to which the prediction of the current block is referenced, belonging to the same access unit (AU) as the frame (current frame) to which the current block belongs, and can be a block corresponding to the current block.
[0168] As an example of inter-layer prediction, there exists inter-layer motion prediction that uses motion information from a reference layer to predict the motion information of the current layer. Based on inter-layer motion prediction, the motion information of the current block can be predicted using the motion information of the reference block. That is, when deriving motion information according to the inter-frame prediction mode described below, motion information candidates can be derived based on the motion information of the inter-layer reference block rather than temporally neighboring blocks.
[0169] When applying interlayer motion prediction, predictor 720-1 can scale and use motion information from the reference block of the reference layer (that is, the interlayer reference block).
[0170] As another example of inter-layer prediction, inter-layer texture prediction can use the texture of a reconstructed reference block as the predicted value for the current block. In this case, predictor 720-1 can scale the texture of the reference block through up-scaling. Inter-layer texture prediction can be called inter-layer (reconstructed) sample prediction or simply inter-layer prediction.
[0171] In inter-layer parameter prediction, which is another example of inter-layer prediction, the derivation parameters of the reference layer can be reused in the current layer, or the parameters for the current layer can be derived based on the parameters used in the reference layer.
[0172] In interlayer residual prediction, which is another example of interlayer prediction, residual information from another layer can be used to predict the residual information of the current layer, and based on this, prediction of the current block can be performed.
[0173] In inter-layer difference prediction, which is another example of inter-layer prediction, the prediction of the current block can be performed using the difference between the images obtained by upsampling or downsampling the reconstructed image of the current layer and the reconstructed image of the reference layer.
[0174] In inter-layer syntax prediction, another example of inter-layer prediction, the syntax information of a reference layer can be used to predict or generate the texture of the current block. In this case, the syntax information of the referenced layer can include information about the intra-frame prediction mode and motion information.
[0175] When predicting a specific block, various prediction methods using the inter-layer prediction described above can be utilized.
[0176] Here, as an example of interlayer prediction, although interlayer texture prediction, interlayer motion prediction, interlayer cell information prediction, interlayer parameter prediction, interlayer residual prediction, interlayer difference prediction, interlayer syntax prediction, etc. are described, the interlayer prediction applicable to this disclosure is not limited to these.
[0177] For example, inter-layer prediction can be applied as an extension of inter-frame prediction for the current layer. That is, inter-frame prediction can be performed on the current block by including a reference frame derived from the reference layer in the reference frame that can be referenced for inter-frame prediction of the current block.
[0178] In this case, inter-layer reference frames can be included in the reference frame list of the current block. Predictor 720-1 can use inter-layer reference frames to perform inter-frame prediction for the current block.
[0179] Here, the interlayer reference frame can be a reference frame constructed by sampling the reconstructed frame of a reference layer to correspond to the current layer. Therefore, when the reconstructed frame of the reference layer corresponds to the frame of the current layer, the reconstructed frame of the reference layer can be used as the interlayer reference frame without sampling. For example, when the width and height of the sample are the same in the reconstructed frames of the reference layer and the current layer, and the offsets between the top left, top right, bottom left, and bottom right edges of the reference layer and the top left, top right, bottom left, and bottom right edges of the current layer are 0, the reconstructed frame of the reference layer can be used as the interlayer reference frame of the current layer without being resampled.
[0180] Furthermore, the reconstructed frame of the reference layer of the interlayer reference frame can be a frame belonging to the same AU as the current frame to be encoded.
[0181] When inter-frame prediction of the current block is performed by including inter-layer reference frames in the reference frame list, the position of the inter-layer reference frames in the reference frame list can differ between reference frame lists L0 and L1. For example, in reference frame list L0, the inter-layer reference frame can be located after a short reference frame preceding the current frame, and in reference frame list L1, the inter-layer reference frame can be located at the end of the reference frame list.
[0182] Here, reference frame list L0 is a reference frame list used for inter-frame prediction of P-slices or a reference frame list used as the first reference frame list in inter-frame prediction of B-slices. Reference frame list L1 can be a second reference frame list used for inter-frame prediction of B-slices.
[0183] Therefore, the reference frame list L0 can be composed of short-term reference frames preceding the current frame, inter-layer reference frames, short-term reference frames following the current frame, and long-term reference frames in the following order. The reference frame list L1 can be composed of short-term reference frames following the current frame, short-term reference frames preceding the current frame, long-term reference frames, and inter-layer reference frames in the following order.
[0184] In this context, a predictive (P) slice is a slice for which inter-frame prediction or intra-frame prediction is performed using at most one motion vector and reference frame index per predictive block. A double-predictive (B) slice is a slice for which prediction or intra-frame prediction is performed using at most two motion vectors and reference frame indices per predictive block. At this point, an intra-frame (I) slice is a slice for which only intra-frame prediction is applied.
[0185] Additionally, when performing inter-frame prediction for the current block based on a list of reference frames including inter-layer reference frames, the list of reference frames may include multiple inter-layer reference frames derived from multiple layers.
[0186] When multiple inter-frame reference frames are included, they can be arranged alternately in reference frame lists L0 and L1. For example, suppose two inter-frame reference frames (such as inter-frame reference frame ILRPi and inter-frame reference frame ILRPj) are included in the reference frame list for inter-frame prediction of the current block. In this case, in reference frame list L0, ILRPi can be located after a short reference frame preceding the current frame, and ILRPj can be located at the end of the list. Similarly, in reference frame list L1, ILRPi can be located at the end of the list, and ILRPj can be located after a short reference frame following the current frame.
[0187] In this case, the reference frame list L0 can be composed of the short-term reference frame preceding the current frame, the interlayer reference frame ILRPi, the short-term reference frame following the current frame, the long-term reference frame, and the interlayer reference frame ILRJ in the following order. The reference frame list L1 can be composed of the short-term reference frame following the current frame, the interlayer reference frame ILRJ, the short-term reference frame preceding the current frame, the long-term reference frame, and the interlayer reference frame ILRPi in the following order.
[0188] Furthermore, one of the two interlayer reference frames can be an interlayer reference frame derived from a scalable layer for resolution, and the other can be an interlayer reference frame derived from a layer used to provide another viewpoint. In this case, for example, if ILRPi is an interlayer reference frame derived from a layer used to provide different resolutions and ILRPj is an interlayer reference frame derived from a layer used to provide different viewpoints, then in the case of scalable video coding that only supports scalability excluding viewpoints, the reference frame list L0 can be composed of short-term reference frames before the current frame, interlayer reference frame ILRPi, short-term reference frames after the current frame, and long-term reference frames in the following order, and the reference frame list L1 can be composed of short-term reference frames after the current frame, short-term reference frames before the current frame, long-term reference frames, and interlayer reference frame ILRPi in the following order.
[0189] Furthermore, in inter-layer prediction, information about the inter-layer reference frame can be obtained using only sample values, only motion information (motion vectors), or both. When the reference frame index indicates an inter-layer reference frame, based on information received from the encoding device, the predictor 720-1 can use only sample values of the inter-layer reference frame, only motion information (motion vectors) of the inter-layer reference frame, or both.
[0190] When using only sample values from the inter-frame reference frame, predictor 720-1 can derive the predicted sample for the current block from the sample of the block specified by the motion vector from the inter-frame reference frame. In the case of scalable video coding without considering viewpoint, the motion vector in the inter-frame prediction (inter-frame prediction) using the inter-frame reference frame can be set to a fixed value (e.g., 0).
[0191] When using only motion information from inter-layer reference frames, predictor 720-1 can use the motion vector specified by the inter-layer reference frames as a motion vector predictor for deriving the motion vector of the current block. Alternatively, predictor 720-1 can use the motion vector specified by the inter-layer reference frames as the motion vector of the current block.
[0192] When using both sample values from the inter-layer reference image and motion information, the predictor 720-1 can use samples from the region corresponding to the current block in the inter-layer reference image and the motion information (motion vector) specified in the inter-layer reference image for the prediction of the current block.
[0193] When applying interlayer prediction, the encoding device can send the reference index of the interlayer reference frame in the reference frame list to the decoding device, and can also send information to the decoding device to specify which information (sample information, motion information, or both) is used from the interlayer reference frame (that is, information to specify the dependency type of the interlayer prediction dependency between two layers).
[0194] Figure 8 This is a schematic block diagram of a decoding device to which embodiments of the present disclosure are applicable and which performs decoding of multi-layer video / image signals. Figure 8 The decoding device may include Figure 3 Decoding devices. Figure 8 The realigner shown can be omitted or included in the dequantizer. The description of this figure will focus on multi-layer-based prediction. Additionally, it may include... Figure 3 Description of the decoding device.
[0195] exist Figure 8 In the examples provided, for ease of description, a multi-layer structure consisting of two layers will be described. However, it should be noted that the embodiments of this disclosure are not limited thereto, and the multi-layer structures to which the embodiments of this disclosure apply may include two or more layers.
[0196] refer to Figure 8 The decoding device 800 may include a layer 1 decoder 800-1 and a layer 0 decoder 800-0. The layer 1 decoder 800-1 may include an entropy decoder 810-1, a residual processor 820-1, a predictor 830-1, an adder 840-1, a filter 850-1, and a memory 860-1. The layer 0 decoder 800-0 may include an entropy decoder 810-0, a residual processor 820-0, a predictor 830-0, an adder 840-0, a filter 850-0, and a memory 860-0.
[0197] When a bitstream containing image information is received from an encoding device, the demultiplexer 805 can demultiplex the information of each layer and send the information to a decoding device for each layer.
[0198] Entropy decoders 810-1 and 810-0 can perform decoding corresponding to the encoding method used in the encoding device. For example, when CABAC is used in the encoding device, entropy decoders 810-1 and 810-0 can perform entropy decoding using CABAC.
[0199] When the prediction mode of the current block is intra-prediction mode, predictors 830-1 and 830-0 can perform intra-prediction on the current block based on the neighboring reconstructed samples in the current frame.
[0200] When the prediction mode for the current block is inter-frame prediction mode, predictors 830-1 and 830-0 can perform inter-frame prediction for the current block based on information from at least one of the frames included before or after the current frame. Some or all of the motion information necessary for inter-frame prediction can be derived by examining information received from the encoding device.
[0201] When skip mode is applied as inter-frame prediction mode, no residual is sent from the coding device, and the prediction block can be a reconstructed block.
[0202] Furthermore, the predictor 830-1 of layer 1 can perform inter-frame prediction or intra-frame prediction using only information about layer 1, and perform inter-layer prediction using information about another layer (layer 0).
[0203] Information about the current layer that is predicted using information about another layer (e.g., predicted via inter-layer prediction) can exist as at least one of texture, motion information, cell information, or predetermined parameters (e.g., filter parameters, etc.).
[0204] Information about another layer that is used for prediction of the current layer (e.g., for inter-layer prediction) may exist in at least one of texture, motion information, cell information, and predetermined parameters (e.g., filter parameters, etc.).
[0205] In inter-layer prediction, the current block can be a block in the current frame of the current layer (e.g., layer 1) and can be a block to be decoded. The reference block can be a block in the frame (reference frame) of the layer (reference layer, e.g., layer 0) to which the prediction of the current block is referenced, belonging to the same access unit (AU) as the frame (current frame) to which the current block belongs, and can be a block corresponding to the current block.
[0206] The multilayer decoding device 800 can perform interlayer prediction, as described in the multilayer coding device 700. For example, the multilayer decoding device 800 can perform interlayer texture prediction, interlayer motion prediction, interlayer cell information prediction, interlayer parameter prediction, interlayer residual prediction, interlayer difference prediction, interlayer syntax prediction, etc., as described in the multilayer coding device 700, and the interlayer prediction applicable in this disclosure is not limited thereto.
[0207] When a reference frame index received from the encoding device or a reference frame index derived from a neighboring block indicates an inter-layer reference frame in the reference frame list, the predictor 830-1 can perform inter-layer prediction using the inter-layer reference frame. For example, when the reference frame index indicates an inter-layer reference frame, the predictor 830-1 can derive the sample values of the region specified by the motion vector in the inter-layer reference frame as the prediction block for the current block.
[0208] In this case, inter-layer reference frames can be included in the list of reference frames for the current block. Predictor 830-1 can use inter-layer reference frames to perform inter-frame prediction for the current block.
[0209] As described above in the multi-layer encoding device 700, in the operation of the multi-layer decoding device 800, the inter-layer reference frame can be a reference frame constructed by sampling the reconstructed frame of the reference layer to correspond to the current layer. Processing for the case where the reconstructed frame of the reference layer corresponds to the frame of the current layer can be performed in the same manner as in the encoding process.
[0210] Furthermore, as described above in the multi-layer encoding device 700, in the operation of the multi-layer decoding device 800, the reconstructed frame of the reference layer from which the inter-layer reference frame is derived can be a frame belonging to the same AU as the current frame to be encoded.
[0211] Furthermore, as described above in the multilayer coding device 700, in the operation of the multilayer decoding device 800, when inter-frame prediction of the current block is performed by including interlayer reference frames in the reference frame list, the position of the interlayer reference frames in the reference frame list can be different between reference frame lists L0 and L1.
[0212] Furthermore, as described above in the multilayer coding device 700, in the operation of the multilayer decoding device 800, when inter-frame prediction of the current block is performed based on a reference frame list including interlayer reference frames, the reference frame list may include multiple interlayer reference frames derived from multiple layers, and the arrangement of the interlayer reference frames may be performed to correspond to the arrangement of the interlayer reference frames described in the coding process.
[0213] Furthermore, as described above in the multilayer encoding device 700, in the operation of the multilayer decoding device 800, information about the interlayer reference frame can be obtained using only sample values, only motion information (motion vectors), or both sample values and motion information.
[0214] The multilayer decoding device 800 can receive reference indices from the multilayer encoding device 700 that indicate interlayer reference frames in the reference frame list, and perform interlayer prediction based on the reference indices. Additionally, the multilayer decoding device 800 can receive information from the multilayer encoding device 700 specifying which information (sample information, motion information, or both) is used from the interlayer reference frames (i.e., information specifying the dependency type of the interlayer prediction dependency between two layers).
[0215] High-Level Syntax (HLS) Signaling and Semantics
[0216] As described above, the HLS can be encoded and / or signaled for use in video and / or image encoding. As mentioned above, the video / image information disclosed herein can be included in the HLS. Furthermore, image / video encoding methods can be performed based on this image / video information.
[0217] Video Parameter Set Signaling
[0218] For multi-layer bitstreams with inter-layer dependencies, the available set of layers can be decoded. The Video Parameter Set (VPS) is a set of parameters used to carry layer information. Layer information may include, for example, information about the Output Layer Set (OLS), information about the profile hierarchy, information about the relationship between the OLS and the hypothetical reference decoder, and information about the relationship between the OLS and the Decoder Picture Buffer (DPB).
[0219] The VPS Raw Byte Sequence Payload (RBSP) is included in at least one Access Unit (AU) with a TemporalId equal to 0 or provided via an external device before it is referenced, and should thus be available for the decoding process. All VPS NAL units in the Encoded Video Sequence (CVS) with a specific value of vps_video_parameter_set_id will have the same content.
[0220] Figures 9 to 10 The following are examples of syntax structures for a VPS according to embodiments of this disclosure. These will be described below. Figures 9 to 10 Syntax elements.
[0221] `vps_video_parameter_set_id` provides an identifier for the VPS to be referenced by another syntax element. Other syntax elements can reference a VPS using `vps_video_parameter_set_id`. The value of `vps_video_parameter_set_id` should be greater than 0.
[0222] `vps_max_layers_minus1` can specify the maximum number of layers allowed per CVS of the reference VPS. For example, `vps_max_layers_minus1` plus 1 specifies the maximum number of layers allowed per CVS of the reference VPS.
[0223] Increasing `vps_max_sublayer_minus1` by 1 specifies the maximum number of time-based sublayers that can exist in each CVS of the reference VPS.
[0224] A `vps_all_layers_same_num_sublayers_flag` value of 1 specifies that the number of time sublayers is the same for all layers in each CVS of the reference VPS. A `vps_all_layers_same_num_sublayers_flag` value of 0 specifies that the number of time sublayers can be the same or different for each CVS of the reference VPS. When the value of `vps_all_layers_same_num_sublayers_flag` is not provided in the bitstream, its value can be inferred to be equal to 1.
[0225] A `vps_all_independent_layers_flag` value of 1 specifies that all layers in CVS are encoded independently without using inter-layer prediction. A `vps_all_independent_layers_flag` value of 0 specifies that one or more layers in CVS can be encoded using inter-layer prediction.
[0226] `vps_layer_id[i]` can specify the `nuh_layer_id` value of the `i`-th layer. For any two non-negative integer values `m` and `n`, when `m` is less than `n`, the value of `vps_layer_id[m]` should be less than `vps_layer_id[n]`. Here, `nuh_layer_id` is a syntax element signaled in the NAL cell header and can specify the identifier of the NAL cell.
[0227] A `vps_independent_layer_flag[i]` equal to 1 specifies that the layer at index `i` does not use inter-layer prediction. A `vps_independent_layer_flag[i]` equal to 0 specifies that the layer at index `i` can use inter-layer prediction, and the syntax element `vps_direct_ref_layer_flag[i][j]` can be obtained from the VPS. Here, `j` can be in the range of 0 to `i-1` (inclusive). When the value of `vps_independent_layer_flag[i]` is not present in the bitstream, the value of `vps_independent_layer_flag[i]` can be inferred to be equal to 1.
[0228] A value of 1 for `vps_max_tid_ref_present_flag[i]` specifies that the syntax element `vps_max_tid_il_ref_pics_plus1[i][j]` is provided from the bitstream. A value of 0 for `vps_max_tid_ref_present_flag[i]` specifies that the syntax element `max_tid_il_ref_pics_plus1[i][j]` is not provided from the bitstream.
[0229] A `vps_direct_ref_layer_flag[i][j]` equal to 0 specifies that the layer with index `j` is not a direct reference layer to the layer with index `i`. A `vps_direct_ref_layer_flag[i][j]` equal to 1 specifies that the layer with index `j` is a direct reference layer to the layer with index `i`. When `vps_direct_ref_layer_flag[i][j]` is not obtained from the bitstream for `i` and `j` in the range 0 to `vps_max_layers_minus1` (inclusive), its value can be inferred to be 0. When `vps_independent_layer_flag[i]` equals 0, there should exist at least one `j` value in the range 0 to `i-1` (inclusive) such that the value of `vps_direct_ref_layer_flag[i][j]` is equal to 1.
[0230] It is possible Figure 11 In this way, the variables NumDirectRefLayers[i], DirectRefLayerIdx[i][d], NumRefLayers[i], RefLayerIdx[i][r], and LayerUsedAsRefLayerFlag[j] are derived.
[0231] The variable GeneralLayerIdx[i] specifies the layer index of the layer whose nuh_layer_id has the same value as vps_layer_id[i], and can be as follows: Figure 12 That's how it's deduced.
[0232] A value of 0 for `vps_max_tid_il_ref_pics_plus1[i][j]` can specify that a frame at layer j is not used as an interlayer reference frame for decoding a frame at layer i. This frame at layer j is neither an IRAP frame nor a GDR frame, but rather a frame with a value of 0 as the value of the syntax element `ph_recovery_poc_cnt` indicating the recovery point of the frame being decoded. A value greater than 0 for `vps_max_tid_il_ref_pics_plus1[i][j]` can specify that frames at layer j with a TemporalId greater than `vps_max_tid_il_ref_pics_plus1[i][j] - 1` are not used as interlayer reference frames for decoding a frame at layer i. Furthermore, without obtaining the value of `vps_max_tid_il_ref_pics_plus1[i][j]` from the bitstream, this value can be derived as `vps_max_sublayer_minus1 + 1`.
[0233] A `vps_each_layer_is_an_ols_flag` value of 1 specifies that each OLS contains only one layer, and each layer in the reference VPS's CVS is itself an OLS, where each included layer is the only output layer. A `vps_each_layer_is_an_ols_flag` value of 0 specifies that an OLS can contain more than one layer. In implementation, if `vps_max_layers_minus1` equals 0, then the value of `vps_each_layer_is_an_ols_flag` can be deduced to be 1. Otherwise, when `vps_all_independent_layers_flag` equals 0, the value of `vps_each_layer_is_an_ols_flag` can be deduced to be 0.
[0234] A `vps_ols_mode_idc` value of 0 can specify that the total number of OLSs specified by the VPS is equal to `vps_max_layers_minus1+1`. The i-th OLS can include layers with layer indices from 0 to i. Additionally, for each OLS, only the highest-ranking layer in the OLS can be output.
[0235] A value of 1 for `vps_ols_mode_idc` specifies that the total number of OLSs specified by the VPS is equal to `vps_max_layers_minus1+1`. The i-th OLS can include layers with layer indices from 0 to i. Additionally, for each OLS, all layers in the OLS can be output.
[0236] A value of 2 for vps_ols_mode_idc can specify the total number of OLSs specified by the VPS, explicitly signaled, and for each OLS, explicitly signal the output layer, and other layers can be direct or indirect reference layers to the output layer of the OLS.
[0237] The value of `vps_ols_mode_idc` can be in the range of 0 to 2 (inclusive). A value of 3 for `vps_ols_mode_idc` can be reserved for future use. When `vps_all_independent_layers_flag` is equal to 1 and `vps_each_layer_is_an_ols_flag` is equal to 0, the value of `vps_ols_mode_idc` can be deduced to be 2.
[0238] Increasing `vps_num_output_layer_sets_minus1` by 1 specifies the total number of OLS specified by the VPS when `vps_ols_mode_idc` equals a predetermined value (e.g., 2). Figure 13 As shown, the total number of OLS specified by the VPS is derived using the objective variable TotalNumOlss.
[0239] A value of 1 for `vps_ols_output_layer_flag[i][j]` specifies that when `vps_ols_mode_idc` equals 2, the layer whose `nuh_layer_id` equals `vps_layer_id[j]` is the output layer of the i-th OLS. A value of 0 for `vps_ols_output_layer_flag[i][j]` specifies that when `vps_ols_mode_idc` equals 2, the layer whose `nuh_layer_id` equals `vps_layer_id[j]` is not the output layer of the i-th OLS.
[0240] The variables NumOutputLayersInOls[i] specifying the number of output layers in the i-th OLS, NumSubLayersInLayerInOLS[i][j] specifying the number of sublayers in the j-th layer of the i-th OLS, OutputLayerIdInOls[i][j] specifying the nuh_layer_id value of the j-th output layer in the i-th OLS, and LayerUsedAsOutputLayerFlag[k] specifying whether the k-th layer is used as an output layer in at least one OLS can be similar to Figures 14 to 15 The derivation is based on the pseudocode of the consecutive examples.
[0241] For each value of i that varies from 0 to vps_max_layers_minus1 (inclusive), the values of LayerUsedAsRefLayerFlag[i] and LayerUsedAsOutputLayerFlag[i] should not both be equal to 0. For example, there will be no layer that is neither the output layer of at least one OLS nor a direct reference layer of any other layer.
[0242] For each OLS, there will be at least one layer that serves as the output layer. For example, for each value of i in the range of 0 to TotalNumOlss-1 (inclusive), the value of NumOutputLayersInOls[i] should be greater than or equal to 1.
[0243] It can be similar to Figure 16 The pseudocode derivation is as follows: NumLayersInOls[i] specifies the number of layers in the i-th OLS, LayerIdInOls[i][j] specifies the nuh_layer_id value of the j-th layer in the i-th OLS, NumMultiLayerOlss specifies the number of multi-layer OLS (e.g., OLS containing more than one layer), and MultiLayerOlsIdx[i] specifies the index of the list of multi-layer OLS in the i-th OLS when the value of NumLayersInOls[i] is greater than 0.
[0244] It can be similar to Figure 17 The pseudocode derivation specifies the variable OlsLayerIdx[i][j], which is the OLS layer index of the layer whose nuh_layer_id is the same as LayerIdInOls[i][j].
[0245] The lowest layer in each OLS can be restricted to an independent layer. For example, for each i in the range of 0 to TotalNumOlss-1 (inclusive), the value of vps_independent_layer_flag[GeneralLayerIdx[LayerIdInOls[i][0]]] should be equal to 1. Each layer will be included in at least one OLS specified by the VPS.
[0246] Improvements to APS signaling
[0247] When decoding of the output layer is not required, VCL NAL units with TemporalId equal to or less than the target maximum TemporalId can be removed from non-output layers during extraction. However, it is problematic that such layers, as well as APS NAL units in the temporal sublayer, are not properly removed. Typically, in this case, the maximum output layer does not use either the VCL from the temporal sublayer or the parameter set (such as APS and / or PPS) from the temporal sublayer. In this paper, depending on the APS type, APS can be configured by including an Adaptive Loop Filter (ALF) parameter, or by including a Luminance Mapping and Chroma Scaling (LMCS) parameter, or by including a scaling list parameter.
[0248] To address the aforementioned issues, PPS and / or APS can be selected as parameter sets that are not used as references for decoding the output layer during the extraction process. Furthermore, not only parameter sets but also non-VCL NAL units (which are not used as references for decoding the output layer during the extraction process) can be selected as references for decoding the output layer. Additionally, APS may not be extracted from the output bitstream.
[0249] For this processing, the syntax element `vps_max_tid_il_ref_pics_plus1[i][j]` can be redefined. For example, a first value of `vps_max_tid_il_ref_pics_plus1[i][j]` (e.g., 0) can specify that a frame at layer j is not used as an interlayer reference frame for decoding a frame at layer i, and that the frame at layer j is neither an IRAP frame with a value of 0 as `ph_recovery_poc_cnt` nor a GDR frame. A value greater than 0 for `vps_max_tid_il_ref_pics_plus1[i][j]` can specify that frames and parameter sets at layer j with a TemporalId greater than `vps_max_tid_il_ref_pics_plus1[i][j] - 1` are not used as references for decoding frames at layer i. Furthermore, without obtaining the value of vps_max_tid_il_ref_pics_plus1[i][j] from the bitstream, the value can be derived as vps_max_sublayer_minus1+1.
[0250] Furthermore, the sub-bitstream can be derived based on the sub-bitstream extraction process described below. The inputs to the sub-bitstream extraction process can be the variable `inBitstream` specifying the input bitstream, the target OLS index `targetOlsIdx`, and `tIdTarget` as the target `TemporalId`. The variable `OutBitstream` specifying the output sub-bitstream can be derived as follows.
[0251] First, the sub-bit stream can be determined by the value of the input bit stream (S1810). For example, the variable outBitstream, which specifies the output sub-bit stream, can be set to be the same as the variable inBitstream, which specifies the input sub-bit stream.
[0252] All PPS, APS, and VCL NAL units, as well as associated non-VCL NAL units, that satisfy conditions 1 to 3 can be removed from outBitsream (S1820). In this document, associated non-VCL NAL units may have a PayloadType that is not 0, 1, or 130, and may be non-VCL NAL units with any of the following nal_unit_types: PH_NUT, FD_NUT, SUFFIX_SEI_NUT, and PREFIX_SEI_NUT. Figure 19 The NAL unit type is shown.
[0253] (Condition 1) The nal_unit_type of the VCL NAL unit is the same as TRAIL_NUT, STSA_NUT, RADL_NUT or RASL_NUT, or the nal_unit_type is the same as GDR_NUT, and the relevant ph_recovery_poc_cnt is not 0.
[0254] (Condition 2) nuh_layer_id is the same as LayerIdInOls[targetOlsIdx][j]. Here, j has a value that varies from 0 to NumLayersInOls[targetOlsIdx]-1.
[0255] (Condition 3) TemporalId has a value equal to or greater than NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]].
[0256] Encoding and Decoding Methods
[0257] The following will describe an image encoding method performed by an image encoding device and an image decoding method performed by an image decoding device according to embodiments. First, the operation of the decoding device will be described.
[0258] As described above, when the value of vps_max_tid_il_ref_pics_plus1[i][j] is greater than 0, for inter-layer prediction of layer i (current layer), images and parameter sets in layer j (reference layer) with a TemporalId greater than vps_max_tid_il_ref_pics_plus1[i][j]-1 can be disregarded as references. Additionally, as for references... Figure 14 and Figure 15 As described, NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]] can be derived based on vps_max_tid_il_ref_pics_plus1[i][j]. Therefore, frames and parameter sets with TemporalId equal to or greater than NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]] can be disregarded as references for inter-layer prediction of the current layer.
[0259] Figure 20 This is a view illustrating a method for decoding an image using an image decoding apparatus according to an embodiment. The image decoding apparatus according to the embodiment may include a memory and a processor, and the decoding apparatus can perform decoding via the operation of the processor according to the embodiment described below.
[0260] According to the implementation, the decoding device can obtain maximum time identifier information for inter-layer prediction (S2010). Specifically, the decoding device can obtain maximum time identifier information from the bitstream, which indicates the maximum time identifier of the reference layer referenced for inter-layer prediction of the current layer. In this disclosure, "things referenced for inter-layer prediction of the current layer" can encompass "things that can be referenced for inter-layer prediction of the current layer". In this document, the maximum time identifier information can be the above-described syntax element vps_max_tid_il_ref_pics_plus1[i][j].
[0261] Next, the decoding device can perform a sub-bitstream extraction process (S2020) based on the maximum time identifier information to extract sub-bitstreams from the bitstream. During the sub-bitstream extraction process in step S2020, the decoding device can remove parameter sets from the reference layer's parameter set that are not referenced for inter-layer prediction in the current layer. In this paper, the parameter set can be an adaptive parameter set (APS).
[0262] Specifically, the decoding device can derive `NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]]` based on the maximum time identifier information obtained from the bitstream. In this paper, for example, it can use... Figure 14 and Figure 15 The method. Based on the derived NumSubLayersInLayerInOLS, the decoding device can execute the reference... Figure 18 The described sub-bitstream extraction process extracts sub-bitstreams by removing from the sub-bitstream the parameter set of the reference layer that was not referenced for inter-layer prediction of the current layer.
[0263] The maximum time identifier information indicates the maximum time identifier of the reference layer used for decoding the current layer's frame. Parameter sets in the reference layer whose time identifiers are greater than the maximum time identifier are not referenced for decoding the current layer's frame.
[0264] Additionally, the maximum time identifier information indicates the maximum time identifier of the reference layer that is used for decoding the current layer's frame. Frames in the reference layer whose time identifiers are greater than the maximum time identifier are not used for decoding the current layer's frame.
[0265] Furthermore, the decoding device may also include obtaining (extracting) sub-bitstreams from the bitstream based on the number of sub-layers used for the current layer. Sub-bitstreams can be obtained by removing a predetermined parameter set from the bitstream, and the predetermined parameter set can be determined based on a comparison between a time identifier of the predetermined parameter set and the number of sub-layers determined for the layer corresponding to the predetermined parameter set. In this paper, the predetermined parameter set may be an adaptive parameter set (APS).
[0266] The predetermined parameter set can be determined based on whether the value of the time identifier of the predetermined parameter set is equal to or greater than the value of the number of sub-layers corresponding to the layers in the predetermined output layer set (OLS) that correspond to the predetermined parameter set.
[0267] For example, for the predefined parameter set's `nuh_layer_id` and `TemporalId`, whether to remove the predefined parameter set can be determined based on whether `TemporalId` has a value equal to or greater than `NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]]`. In this article, this can be achieved through... Figures 14 to 15The method described in [the document] derives NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]]. For example, NumSubLayersInLayerInOLS[][] can be derived based on vps_max_tid_il_ref_pics_plus1.
[0268] Furthermore, the predetermined OLS can be any of the OLS identified by information signaled via a video parameter set (VPS).
[0269] Reference Figure 20 In the example described, the current layer can be an output layer, and the reference layer can be a non-output layer.
[0270] Figure 21 This is a view illustrating a method of encoding an image by an encoding device according to an embodiment. The image encoding device according to the embodiment may include a memory and a processor, and the encoding device may perform encoding in a manner corresponding to decoding by the decoding device according to the embodiment described below through the operation of the processor.
[0271] The encoding device according to the embodiment can determine maximum time identifier information based on the maximum time identifier used for inter-layer prediction (S2110). Specifically, the encoding device can determine the maximum time identifier of the reference layer that is referenced for inter-layer prediction of the current layer and determine maximum time identifier information indicating the determined maximum time identifier. In this disclosure, "things referenced for inter-layer prediction of the current layer" can cover "things that can be referenced for inter-layer prediction of the current layer".
[0272] Next, the encoding device can generate a bitstream by encoding the maximum time identifier information that indicates the maximum time identifier (S2120). In this paper, the maximum time identifier information can be the above syntax element vps_max_tid_il_ref_pics_plus1[i][j].
[0273] Maximum time identifier information can be used in the sub-bitstream extraction process. Specifically, maximum time identifier information can be used to remove parameter sets from the reference layer's parameter set that were not referenced for inter-layer prediction in the current layer. In this paper, the parameter set can be an adaptive parameter set (APS).
[0274] Specifically, based on the maximum time identifier information, NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]] can be derived. In this paper, for example, it can be used... Figure 14 and Figure 15 The method. Additionally, based on the derived NumSubLayersInLayerInOLS, it can be achieved by executing the reference... Figure 18 The described sub-bitstream extraction process extracts sub-bitstreams by removing from the sub-bitstream the parameter set of the reference layer that was not referenced for inter-layer prediction of the current layer.
[0275] The maximum time identifier indicates the maximum time identifier value of the reference layer used to encode the current layer's frame. Parameter sets in the reference layer whose time identifiers are greater than the maximum time identifier are not used for encoding the current layer's frame.
[0276] Additionally, the maximum time identifier indicates the maximum time identifier of the reference layer used for encoding the current layer's frame. Frames in the reference layer whose time identifiers are greater than the maximum time identifier are not used for encoding the current layer's frame.
[0277] Furthermore, a sub-bitstream can be obtained (extracted) from the bitstream generated according to the encoding method based on the number of sub-layers used for the current layer. For example, a sub-bitstream can be obtained by removing a predetermined parameter set from the bitstream. Additionally, the predetermined parameter set can be determined based on a comparison between the time identifier of the predetermined parameter set and the number of sub-layers determined for the layer corresponding to the predetermined parameter set. In this paper, the predetermined parameter set can be an adaptive parameter set (APS).
[0278] For example, a predetermined parameter set can be determined based on whether the value of the time identifier of the predetermined parameter set is equal to or greater than the value of the number of sub-layers corresponding to the layers in a predetermined output layer set (OLS) that correspond to the predetermined parameter set.
[0279] For example, for nuh_layer_id and TemporalId of a predefined parameter set, it can be determined whether to remove the predefined parameter set based on whether TemporalId has a value equal to or greater than NumSubLayersInLayerInOLS[targetOlsIdx][GeneralLayerIdx[nuh_layer_id]].
[0280] Furthermore, an OLS can be any of the OLS identified by information signaled via a video parameter set (VPS).
[0281] Reference Figure 21 In the example described, the current layer can be an output layer, and the reference layer can be a non-output layer.
[0282] Application and Implementation Methods
[0283] Although the exemplary methods of this disclosure described above are represented as a series of operations for clarity of description, they are not intended to limit the order in which the steps are performed, and these steps may be performed simultaneously or in different orders if necessary. To implement the methods according to this disclosure, the described steps may further include other steps, including steps in addition to some steps, or may include additional steps in addition to some steps.
[0284] In this disclosure, an image encoding device or an image decoding device that performs a predetermined operation (step) can perform an operation (step) that confirms the execution conditions or circumstances of the corresponding operation (step). For example, if it is described that a predetermined operation is performed when predetermined conditions are met, the image encoding device or the image decoding device can perform the predetermined operation after determining whether the predetermined conditions are met.
[0285] The various embodiments of this disclosure are not a list of all possible combinations and are intended to describe representative aspects of this disclosure; and the matters described in the various embodiments may be applied independently or in combination of two or more.
[0286] Various embodiments of this disclosure can be implemented in hardware, firmware, software, or a combination thereof. When this disclosure is implemented in hardware, it can be implemented using application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, etc.
[0287] Furthermore, the image decoding and image encoding devices applying the embodiments of this disclosure can be included in multimedia broadcasting transmitting and receiving devices, mobile communication terminals, home theater video devices, digital cinema video devices, surveillance cameras, video chat devices, real-time communication devices such as video communication, mobile streaming devices, storage media, cameras, video-on-demand (VoD) service providers, OTT (over-the-top video) devices, internet streaming service providers, three-dimensional (3D) video devices, video telephony devices, medical video devices, etc., and can be used to process video signals or data signals. For example, OTT video devices can include game consoles, Blu-ray players, internet access televisions, home theater systems, smartphones, tablet PCs, digital video recorders (DVRs), etc.
[0288] Figure 22 This is a view illustrating a content streaming system to which embodiments of the present disclosure can be applied.
[0289] like Figure 22As shown, the content streaming system using the embodiments of this disclosure may mainly include an encoding server, a streaming server, a network server, a media storage device, a user device, and a multimedia input device.
[0290] An encoding server compresses content input from multimedia input devices such as smartphones, cameras, and camcorders into digital data to generate a bitstream, which is then sent to a streaming server. As another example, when multimedia input devices such as smartphones, cameras, and camcorders directly generate bitstreams, the encoding server can be omitted.
[0291] The bitstream can be generated by an image encoding method or image encoding device applying the embodiments of this disclosure, and the stream server can temporarily store the bitstream during the sending or receiving of the bitstream.
[0292] A streaming server sends multimedia data to a user's device based on a request from a web server, and the web server acts as a medium for informing the user of the service. When a user requests a service from the web server, the web server can deliver it to the streaming server, and the streaming server can send the multimedia data to the user. In this scenario, the content streaming system may include a separate control server. In this case, the control server is used to control the commands / responses between devices in the content streaming system.
[0293] A streaming server can receive content from media storage devices and / or encoding servers. For example, when receiving content from an encoding server, the content can be received in real time. In this case, to provide a smooth streaming service, the streaming server can store the bitstream for a predetermined period of time.
[0294] Examples of user devices may include mobile phones, smartphones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation devices, slate PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glasses, head-mounted displays), digital televisions, desktop computers, digital signage, etc.
[0295] In a content streaming system, each server can operate as a distributed server, in which case the data received from each server can be distributed.
[0296] The scope of this disclosure includes software or machine-executable commands (e.g., operating systems, applications, firmware, programs, etc.) for enabling the operation of methods according to various embodiments to be executed on a device or computer, and non-transitory computer-readable media having such software or commands stored thereon and executable on a device or computer.
[0297] Industrial applicability
[0298] The embodiments disclosed herein can be used to encode or decode images.
Claims
1. An image decoding method performed by an image decoding device, the image decoding method comprising the following steps: The maximum time identifier information is obtained from the bit stream, which indicates the maximum time identifier of the reference layer that is referenced for inter-layer prediction of the current layer; as well as Based on the maximum time identifier information, a sub-bit stream extraction process is performed from the bit stream. During the sub-bitstream extraction process, parameters that were not referenced for the inter-layer prediction of the current layer are removed from the reference layer's parameter set in the bitstream. Specifically, in the parameter set of the reference layer, the parameter set whose time identifier is greater than or equal to the number of sub-layers in the reference layer is not referenced for the inter-layer prediction of the current layer.
2. The image decoding method according to claim 1, wherein, The parameter set is the adaptive parameter set APS.
3. The image decoding method according to claim 1, wherein, Parameter sets whose time identifiers are greater than the maximum time identifier in the parameter set of the reference layer are not referenced for the inter-layer prediction of the current layer.
4. The image decoding method according to claim 3, wherein, In the reference layer's frames, frames with time identifiers greater than or equal to the number of frames in the sublayer are not referenced for the inter-layer prediction of the current layer.
5. The image decoding method according to claim 3, wherein, The reference layer is a non-output layer.
6. An image encoding method performed by an image encoding device, the image encoding method comprising the following steps: Determine the maximum time identifier information, which indicates the maximum time identifier of the reference layer used for inter-layer prediction of the current layer; as well as The maximum time identifier information is encoded into a bitstream. The maximum time identifier information is used to perform a sub-bit stream extraction process from the bit stream. During the sub-bitstream extraction process, parameters that were not referenced for the inter-layer prediction of the current layer are removed from the reference layer's parameter set in the bitstream. Specifically, in the parameter set of the reference layer, the parameter set whose time identifier is greater than or equal to the number of sub-layers in the reference layer is not referenced for the inter-layer prediction of the current layer.
7. The image encoding method according to claim 6, wherein, The parameter set is the adaptive parameter set APS.
8. The image encoding method according to claim 6, wherein, Parameter sets whose time identifiers are greater than the maximum time identifier in the parameter set of the reference layer are not referenced for the inter-layer prediction of the current layer.
9. The image encoding method according to claim 8, wherein, In the reference layer's frames, frames with time identifiers greater than or equal to the number of frames in the sublayer are not referenced for the inter-layer prediction of the current layer.
10. The image encoding method according to claim 8, wherein, The reference layer is a non-output layer.
11. A computer-readable recording medium storing a bitstream generated by the image encoding method according to claim 6.
12. A method for transmitting a bitstream generated by an image encoding method, the image encoding method comprising the following steps: Determine the maximum time identifier information, which indicates the maximum time identifier of the reference layer used for inter-layer prediction of the current layer; as well as The maximum time identifier information is encoded into a bitstream. The maximum time identifier information is used to perform a sub-bit stream extraction process from the bit stream. During the sub-bitstream extraction process, parameters that were not referenced for the inter-layer prediction of the current layer are removed from the reference layer's parameter set in the bitstream. Specifically, in the parameter set of the reference layer, the parameter set whose time identifier is greater than or equal to the number of sub-layers in the reference layer is not referenced for the inter-layer prediction of the current layer.