Image encoding / decoding method, image data transmission method, and storage medium

By using entropy decoders and residual processors in decoding and encoding devices, and based on chromaticity quantization data from quantization parameter tables and signal notifications, image coding efficiency is improved, and the problems of transmission and storage costs for high-resolution, high-quality images are solved.

CN116800978BActive Publication Date: 2026-11-20LG ELECTRONICS INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310953324.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-11
Filing Date
2020-06-11
Publication Date
2026-11-20
Estimated Expiration
2040-06-11

AI Technical Summary

Technical Problem

Existing technologies, when transmitting and storing high-resolution, high-quality images, result in high costs due to the increased amount of information, necessitating improvements in image coding efficiency, particularly the coding efficiency of quantization parameter data for chroma components.

Method used

By using entropy decoders and residual processors in the decoding and encoding devices, reconstructed images are generated based on image information, and coding efficiency is improved by utilizing quantization parameter tables and colorimetric data from signal notifications.

Benefits of technology

By defining a quantization parameter table and encoding based on image characteristics, coding efficiency is improved and transmission and storage costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116800978B_ABST
    Figure CN116800978B_ABST
Patent Text Reader

Abstract

The present application relates to an image encoding / decoding method, an image data transmission method, and a storage medium. An image decoding method performed by a decoding device according to the present document includes the steps of obtaining image information; and generating a reconstructed picture based on the image information.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the original invention patent application with application number 202080054537.X (international application number: PCT / KR2020 / 007561, application date: June 11, 2020, invention title: image decoding method and apparatus). Technical Field

[0002] This document relates to image coding technology, and more specifically, to an image decoding method and device for encoding image information based on colorimetric parameter data signaled via high-level syntax in an image coding system. Background Technology

[0003] Recently, there has been a growing demand for high-resolution, high-quality images, such as HD (high-definition) and UHD (ultra-high-definition) images, across various fields. Because image data is high-resolution and high-quality, the amount of information or bits to be transmitted increases compared to traditional image data. Therefore, transmission and storage costs increase when using media such as traditional wired / wireless broadband lines to transmit image data or when storing image data using existing storage media.

[0004] Therefore, there is a need for efficient image compression technology to effectively transmit, store, and reproduce information from high-resolution, high-quality images. Summary of the Invention

[0005] Technical issues

[0006] The technical objective of this disclosure is to provide a method and apparatus for improving image coding efficiency.

[0007] Another objective of this document is to provide a method and apparatus for improving the efficiency of data encoding by deriving quantization parameters for chromaticity components.

[0008] Technical solution

[0009] According to the embodiments of this document, an image decoding method performed by a decoding device is provided. The method includes the following steps: obtaining image information; and generating a reconstructed image based on the image information.

[0010] According to another embodiment of this document, a decoding apparatus for performing image decoding is provided. The decoding apparatus includes: an entropy decoder configured to acquire image information; and a residual processor configured to generate a reconstructed image based on the image information.

[0011] According to another embodiment of this document, a video encoding method performed by an encoding device is provided. The method includes the following steps: encoding image information; and generating a bitstream including the image information.

[0012] According to another embodiment of this document, a video encoding apparatus is provided. The encoding apparatus includes an entropy encoder configured to encode image information and generate a bitstream including the image information.

[0013] Beneficial effects

[0014] According to this disclosure, a quantization parameter table for quantization parameter derivation can be determined based on a flag indicating whether quantization parameter data for deriving chroma components has been sent, and coding efficiency can be improved by performing coding based on quantization parameters according to the characteristics of the image.

[0015] According to this disclosure, a quantization parameter table for chromaticity components can be determined based on chromaticity quantization data that is signaled, and coding efficiency can be improved by performing coding based on the quantization parameters according to the characteristics of the image. Attached Figure Description

[0016] Figure 1 Examples of video / image encoding apparatuses to which embodiments of the present disclosure may be applied are briefly illustrated.

[0017] Figure 2 This is a schematic diagram illustrating the configuration of a video / image encoding device to which embodiments of the present disclosure can be applied.

[0018] Figure 3 This is a schematic diagram illustrating the configuration of a video / image decoding device to which embodiments of the present disclosure can be applied.

[0019] Figure 4 Examples of video / image coding methods based on intra-frame prediction are shown.

[0020] Figure 5 Examples of video / image coding methods based on intra-frame prediction are shown.

[0021] Figure 6 The intra-frame prediction process is illustrated schematically.

[0022] Figure 7 An example of a video / image coding method based on inter-frame prediction is shown.

[0023] Figure 8 An example of a video / image decoding method based on inter-frame prediction is shown.

[0024] Figure 9 The inter-frame prediction process is illustrated schematically.

[0025] Figure 10 An image encoding method according to the encoding device of this document is illustrated schematically.

[0026] Figure 11An encoding device for performing an image encoding method according to this document is illustrated schematically.

[0027] Figure 12 An image decoding method according to the decoding device of this document is illustrated schematically.

[0028] Figure 13 A decoding device for performing an image decoding method according to this document is illustrated schematically.

[0029] Figure 14 A structural diagram of a content streaming system applying this disclosure is shown. Detailed Implementation

[0030] This disclosure can be modified in various forms, and specific embodiments thereof will be described and illustrated in the accompanying drawings. However, the embodiments are not intended to limit this disclosure. The terminology used in the following description is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. Singular expressions include plural expressions, provided that they are clearly understood in different ways. Terms such as “comprising” and “having” are intended to indicate the presence of the features, quantities, steps, operations, elements, components, or combinations thereof used in the following description, and therefore it should be understood that the possibility of having or adding one or more different features, quantities, steps, operations, elements, components, or combinations thereof is not excluded.

[0031] Furthermore, the elements in the accompanying drawings described in this disclosure are drawn independently for ease of explanation of different specific functions and do not imply that these elements are specifically implemented by independent hardware or independent software. For example, two or more elements may be combined to form a single element, or a single element may be divided into multiple elements. Embodiments of combining and / or dividing elements are part of this disclosure and do not depart from the concept of this disclosure.

[0032] In the following, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. Furthermore, throughout the drawings, similar reference numerals are used to indicate similar elements, and identical descriptions of similar elements will be omitted.

[0033] Figure 1 Examples of video / image encoding apparatuses to which embodiments of the present disclosure may be applied are briefly illustrated.

[0034] Reference Figure 1 A video / image encoding system may include a first device (source device) and a second device (receiving device). The source device may transmit encoded video / image information or data to the receiving device in the form of a file or stream via a digital storage medium or network.

[0035] The source device may include a video source, an encoding device, and a transmitter. The receiving device may include a receiver, a decoding device, and a renderer. The encoding device may be referred to as a video / image encoding device, and the decoding device may be referred to as a video / image decoding device. The transmitter may be included in the encoding device. The receiver may be included in the decoding device. The renderer may include a display, and the display may be configured as a separate device or an external component.

[0036] Video sources can acquire video / images through processes that capture, synthesize, or generate video / images. Video sources may include video / image capture devices and / or video / image generation devices. Video / image capture devices may include, for example, one or more cameras, video / image archives including previously captured video / images, etc. Video / image generation devices may include, for example, computers, tablets, and smartphones, and can generate video / images (electronically). For example, virtual video / images can be generated by computers, etc. In this case, the video / image capture process can be replaced by a process that generates related data.

[0037] Encoding devices can encode input video / images. They can perform a series of processes such as prediction, transformation, and quantization to achieve compression and encoding efficiency. The encoded data (encoded video / image information) can be output as a bitstream.

[0038] A transmitter can send encoded video / image information or data, output as a bitstream, to a receiver in a receiving device in the form of a file or stream via a digital storage medium or network. The digital storage medium can include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD, etc. The transmitter can include elements for generating media files according to a predetermined file format and may include elements for transmission via a broadcast / communication network. The receiver can receive / extract the bitstream and send the received bitstream to a decoding device.

[0039] Decoding devices can decode video / images by performing a series of processes, such as dequantization, inverse transform, and prediction, that correspond to the operations of encoding devices.

[0040] The renderer can render decoded video / images. Rendered video / images can then be displayed on a monitor.

[0041] This disclosure relates to video / image coding. For example, the methods / implementations disclosed in this disclosure can be applied to methods disclosed in Multifunctional Video Coding (VVC), EVC (Essential Video Coding) standard, AOMedia Video 1 (AV1) standard, AVS2 (Audio Video Coding 2) standard, or next-generation video / image coding standards (e.g., H.267, or H.268, etc.).

[0042] This disclosure presents various implementations of video / image encoding, and unless otherwise stated, the implementations may be combined with each other.

[0043] In this disclosure, video can refer to a series of images over time. Generally, a frame refers to a unit representing an image within a specific time region, and sub-frames / slices / tiles are units that constitute part of a frame in encoding. Sub-frames / slices / tiles may include one or more coding tree units (CTUs). A frame may consist of one or more sub-frames / slices / tiles. A frame may consist of one or more tile groups. A tile group may include one or more tiles. A brick can represent a rectangular area of ​​a CTU row within a tile in a frame. A tile can be partitioned into multiple tiles, each tile consisting of one or more CTU rows within the tile. A tile that is not partitioned into multiple tiles may also be referred to as a tile. Tile scanning is a specific sequential ordering of the CTUs that partition the frame, wherein CTUs are sequentially ordered by CTU raster scan within a tile, tiles within a tile are sequentially ordered by raster scan of the tiles of a tile, and tiles in a frame are sequentially ordered by raster scan of the tiles of a frame. Additionally, a sub-picture can represent a rectangular area of ​​one or more slices within a picture. That is, a sub-picture contains one or more slices that collectively cover a rectangular area of ​​the picture. A tile is a rectangular area of ​​a CTU within a specific tile column and a specific tile row in the picture. A tile column is a rectangular area of ​​a CTU whose height is equal to the height of the picture and whose width is specified by a syntax element in the picture parameter set. A tile row is a rectangular area of ​​a CTU whose height is specified by a syntax element in the picture parameter set and whose width is equal to the width of the picture. A tile scan is a specific sequential ordering of CTUs that partition the picture, wherein CTUs can be ordered consecutively by CTU raster scan within a tile, and tiles in the picture can be ordered consecutively by raster scan of the picture's tiles. A slice comprises an integer number of tiles in the picture that can be exclusively contained in a single NAL unit. A slice can consist of multiple complete tiles or only a consecutive sequence of complete tiles of a single tile. In this disclosure, tile groups and slices can be used interchangeably. For example, in this disclosure, a tile group / tile group header may be referred to as a slice / slice header.

[0044] A pixel, or pelin, can represent 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.

[0045] A unit can represent the basic unit of image processing. A unit may include a specific region of the image and at least one of the information associated with that region. A unit may include a luminance block and two chrominance (e.g., cb, cr) blocks. In some cases, the term "unit" may be used interchangeably with terms such as "block" or "region". In general, an M×N block may include a set (or array) of samples (or sample arrays) or transform coefficients in M ​​columns and N rows.

[0046] In this specification, “A or B” can mean “A only”, “B only”, or “A and B”. In other words, in this specification, “A or B” can be interpreted as “A and / or B”. For example, “A, B or C” in this document means “A only”, “B only”, “C only”, or “any one and any combination of A, B and C”.

[0047] The forward slash ( / ) or comma used in this specification can mean "and / or". For example, "A / B" can mean "A and / or B". Therefore, "A / B" can mean "A only", "B only", or "A and B". For example, "A,B,C" can mean "A, B, or C".

[0048] In this specification, "at least one of A and B" can mean "A only", "B only" or "both A and B". Furthermore, in this specification, the expression "at least one of A or B" or "at least one of A and / or B" can be interpreted as the same as "at least one of A and B".

[0049] Additionally, in this specification, "at least one of A, B, and C" means "A only", "B only", "C only" or "any combination of A, B, and C". Furthermore, "at least one of A, B, or C" or "at least one of A, B, and / or C" can mean "at least one of A, B, and C".

[0050] Furthermore, the parentheses used in this specification may refer to "for example". Specifically, when "prediction (intra-frame prediction)" is indicated, "intra-frame prediction" may be given as an example of "prediction". In other words, "prediction" in this specification is not limited to "intra-frame prediction", and "intra-frame prediction" may be given as an example of "prediction". Moreover, even when "prediction (i.e., intra-frame prediction)" is indicated, "intra-frame prediction" may be given as an example of "prediction".

[0051] In this specification, the technical features described individually in a single figure may be implemented individually or simultaneously.

[0052] The following figures were created to illustrate specific examples of this specification. Since the names of specific devices or signals / messages / fields described in the figures are presented by way of example, the technical features of this specification are not limited to the specific names used in the following figures.

[0053] Figure 2 This is a schematic diagram illustrating the configuration of a video / image encoding apparatus to which embodiments of the present disclosure may be applied. In the following, the video encoding apparatus may include an image encoding apparatus.

[0054] Reference Figure 2 The encoding device 200 includes an image segmenter 210, a predictor 220, a residual processor 230, an entropy encoder 240, an adder 250, a filter 260, and a memory 270. The predictor 220 may include an inter-frame predictor 221 and an intra-frame predictor 222. The residual processor 230 may include a transformer 232, a quantizer 233, a dequantizer 234, and an inverse transformer 235. The residual processor 230 may also include a subtractor 231. The adder 250 may be referred to as a reconstructor or a reconstruction block generator. According to embodiments, the image segmenter 210, predictor 220, residual processor 230, entropy encoder 240, adder 250, and filter 260 may be constituted by at least one hardware component (e.g., an encoder chipset or a processor). Additionally, the memory 270 may include a decoded frame buffer (DPB) or may be constituted by a digital storage medium. The hardware component may also include the memory 270 as an internal / external component.

[0055] Image segmenter 210 can segment an input image (or picture or frame) input to encoding device 200 into one or more processors. For example, a processor may be referred to as a coding unit (CU). In this case, coding units can be recursively segmented from coding tree units (CTUs) or maximum coding units (LCUs) according to a quadtree-binary-trinary tree (QTBTTT) structure. For example, a coding unit can be segmented into multiple deeper coding units based on a quadtree structure, a binary tree structure, and / or a ternary structure. In this case, for example, a quadtree structure can be applied first, followed by a binary tree structure and / or a ternary structure. Alternatively, a binary tree structure can be applied first. The encoding process according to this disclosure can be performed based on the final coding unit that is no longer segmented. In this case, the maximum coding unit can be used as the final coding unit based on encoding efficiency according to image characteristics, or, if necessary, the coding unit can be recursively segmented into deeper coding units, and the coding unit with the optimal size can be used as the final coding unit. Here, the encoding process may include prediction, transformation, and reconstruction processes, which will be described later. As another example, the processor may also include a prediction unit (PU) or a transform unit (TU). In this case, the prediction unit and the transform unit can be separated or divided from the final encoding unit described above. The prediction unit may be a unit for predicting samples, and the transform unit may be a unit for deriving transform coefficients and / or a unit for deriving residual signals from transform coefficients.

[0056] In some cases, a unit can be used interchangeably with terms such as a block or region. Generally, an M×N block can represent a set of samples or transform coefficients consisting of M columns and N rows. A sample can typically represent a pixel or pixel value, and can represent only the pixel / pixel value of the luminance component, or only the pixel / pixel value of the chrominance component. A sample can be used as a term corresponding to a frame (or image) of pixels or cells.

[0057] In the encoding device 200, the predicted signal (prediction block, prediction sample array) output from the inter-frame predictor 221 or intra-frame predictor 222 is subtracted from the input image signal (original block, original sample array) to generate a residual signal (residual block, residual sample array), and the generated residual signal is sent to the converter 232. In this case, as shown, the unit in the encoder 200 used to subtract the predicted signal (prediction block, prediction sample array) from the input image signal (original block, original sample array) can be called the subtractor 231. The predictor can perform prediction on the block to be processed (hereinafter referred to as the current block) and generate a prediction block that includes the prediction samples of the current block. The predictor can determine whether to apply intra-frame prediction or inter-frame prediction on a unit of the current block or CU. As described later in the description of each prediction mode, the predictor can generate various information related to the prediction (such as prediction mode information) and send the generated information to the entropy encoder 240. The information about the prediction can be encoded in the entropy encoder 240 and output as a bitstream.

[0058] Intra-predictor 222 can predict the current block by referencing samples in the current frame. Depending on the prediction mode, the referenced samples may be located near or far from the current block. In intra-prediction, the prediction mode can include multiple non-directional modes and multiple directional modes. Non-directional modes can include, for example, DC mode and planar mode. Depending on the level of detail in the prediction direction, the directional modes can include, for example, 33 or 65 directional prediction modes. However, this is just an example, and more or fewer directional prediction modes may be used depending on the settings. Intra-predictor 222 can determine the prediction mode to be applied to the current block by using the prediction modes applied to neighboring blocks.

[0059] Inter-frame predictor 221 can deduce the predicted block of the current block based on a reference block (reference sample array) specified by motion vectors on a reference frame. Here, 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 adjacent blocks existing in the current frame and temporally adjacent blocks existing in the reference frame. The reference frame including the reference block and the reference frame including the temporally adjacent block may be the same or different. The temporally adjacent block may be called a co-located reference block, a co-located CU (colCU), etc., and the reference frame including the temporally adjacent block may be called a co-located frame (colPic). For example, inter-frame predictor 221 can configure a motion information candidate list based on neighboring blocks and generate information indicating which candidate to use to deduce 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 221 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 transmitted. 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 indicated by signaling the motion vector difference.

[0060] Predictor 220 can generate prediction signals based on various prediction methods described below. For example, the predictor can not only apply intra-frame prediction or inter-frame prediction to predict a block, but can also apply both intra-frame prediction and inter-frame prediction simultaneously. This can be referred to as Inter-intra-frame Combined Prediction (CIIP). Alternatively, the predictor can predict blocks based on an Intra-Block Copy (IBC) prediction mode or a palette mode. IBC prediction modes or palette modes can be used for content image / video coding such as games, for example, Screen Content Coding (SCC). IBC essentially performs prediction within 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. A palette mode can be considered an example of intra-frame coding or intra-frame prediction. When a palette mode is applied, sample values ​​within the frame can be signaled based on information about the palette table and palette index.

[0061] The predicted signal generated by the predictor (including inter-frame predictor 221 and / or intra-frame predictor 222) can be used to generate a reconstructed signal or a residual signal. Transformer 232 can generate transform coefficients by applying transform techniques to the residual signal. For example, the transform technique can 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 generated based on the predicted signal generated using all previously reconstructed pixels. Furthermore, the transform processing can be applied to square pixel blocks of the same size, or it can be applied to blocks of variable size that are not square.

[0062] Quantizer 233 quantizes the transform coefficients and sends them to entropy encoder 240, which encodes the quantized signal (information about the quantized transform coefficients) and outputs a bitstream. This information about the quantized transform coefficients can be called residual information. Quantizer 233 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 this one-dimensional vector form. Entropy encoder 240 can perform various encoding methods, such as Golomb, Context Adaptive Variable Length Coding (CAVLC), and Context Adaptive Binary Arithmetic Coding (CABAC). Entropy encoder 240 can encode information required for video / image reconstruction other than the quantized transform coefficients (e.g., values ​​of syntax elements) together or separately. Encoded information (e.g., encoded video / image information) can be sent or stored in units of NAL (Network Abstraction Layer) in the form of a bitstream. 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. In this disclosure, information and / or syntax elements that transmit / signal notifications from the encoding device to the decoding device may be included in the video / picture information. The video / image information may be encoded by the encoding process described above and included in a bitstream. The bitstream may be transmitted over a network or stored in a digital storage medium. The network may include broadcast networks and / or communication networks, 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) that transmits a signal output from the entropy encoder 240 and / or a storage unit (not shown) that stores the signal may be included as internal / external components of the encoding device 200; alternatively, the transmitter may be included in the entropy encoder 240.

[0063] The quantized transform coefficients output from quantizer 233 can be used to generate a prediction signal. For example, the residual signal (residual block or residual sample) can be reconstructed by applying dequantization and inverse transform to the quantized transform coefficients using dequantizer 234 and inverse transformer 235. Adder 250 adds the reconstructed residual signal to the prediction signal output from inter-frame predictor 221 or intra-frame predictor 222 to generate a reconstructed signal (reconstructed frame, reconstructed block, reconstructed sample array). 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 reconstructed block. Adder 250 can be called 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.

[0064] In addition, luminance mapping and chroma scaling (LMCS) can be applied during image encoding and / or reconstruction.

[0065] Filter 260 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 260 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and store the modified reconstructed image in memory 270 (specifically, the DPB of memory 270). Various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filtering, bilateral filtering, etc. Filter 260 can generate various filtering-related information and send the generated information to entropy encoder 240, as described later in the description of various filtering methods. The filtering-related information can be encoded by entropy encoder 240 and output as a bitstream.

[0066] The modified reconstructed frame sent to memory 270 can be used as a reference frame in inter-frame predictor 221. When inter-frame prediction is applied via the encoding device, prediction mismatch between the encoding device 200 and the decoding device can be avoided, and encoding efficiency can be improved.

[0067] The DPB of memory 270 can store a modified reconstructed frame that serves as a reference frame in inter-frame predictor 221. Memory 270 can store motion information of blocks from which motion information in the current frame is derived (or encoded) and / or motion information of reconstructed blocks in the frame. The stored motion information can be sent to inter-frame predictor 221 and used as motion information for spatially adjacent blocks or temporally adjacent blocks. Memory 270 can store reconstructed samples of reconstructed blocks in the current frame and can transmit these reconstructed samples to intra-frame predictor 222.

[0068] Figure 3 This is a schematic diagram illustrating the configuration of a video / image decoding device to which embodiments of the present disclosure can be applied.

[0069] Reference Figure 3 The decoding device 300 may include an entropy decoder 310, a residual processor 320, a predictor 330, an adder 340, a filter 350, and a memory 360. The predictor 330 may include an inter-frame predictor 332 and an intra-frame predictor 331. The residual processor 320 may include a dequantizer 321 and an inverse transformer 322. According to embodiments, the entropy decoder 310, residual processor 320, predictor 330, adder 340, and filter 350 may be constructed from hardware components (e.g., a decoder chipset or processor). Additionally, the memory 360 may include a decoded picture buffer (DPB) or may be constructed from a digital storage medium. The hardware components may also include the memory 360 as an internal / external component.

[0070] When the input includes a bitstream containing video / image information, the decoding device 300 can interact with... Figure 2 The processing of video / image information in the encoding device correspondingly reconstructs the image. For example, the decoding device 300 can deduce units / blocks based on block segmentation information obtained from the bitstream. The decoding device 300 can use a processor applied in the encoding device to perform decoding. Therefore, the decoding processor can be, for example, an encoding unit, and the encoding unit can be segmented from the encoding tree unit or the maximum encoding unit according to a quadtree structure, binary tree structure, and / or ternary tree structure. One or more transform units can be derived from the encoding unit. The reconstructed image signal decoded and output by the decoding device 300 can be reproduced by a reproduction device.

[0071] Decoding device 300 can receive data in bitstream form from... Figure 2The signal output by the encoding device can be decoded by the entropy decoder 310. For example, the entropy decoder 310 can parse the bitstream to derive 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 Set (APS), Picture Parameter Set (PPS), Sequence Parameter Set (SPS), or Video Parameter Set (VPS). In addition, the video / image information may also include general constraint information. The decoding device can also decode the picture based on the information about the parameter sets and / or general constraint information. The signaling / receiving information and / or syntax elements described later in this disclosure can be decoded and obtained from the bitstream through the decoding process. For example, the entropy decoder 310 decodes the information in the bitstream based on encoding methods such as Exponential Golomb coding, CAVLC, or CABAC, and outputs the quantized values ​​of the syntax elements and transform coefficients of the residuals required for image reconstruction. More specifically, the CABAC entropy decoding method can receive a bin corresponding to each syntax element in the bitstream, determine the context model using information about the target syntax element, decoding information about the target block, or information about symbols / bins decoded in previous stages, and perform arithmetic decoding on the bin by predicting the occurrence probability of the bin based on the determined context model, generating symbols corresponding to the value of each syntax element. In this case, after determining the context model, the CABAC entropy decoding method can update 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 310 can be provided to the predictors (inter-frame predictor 332 and intra-frame predictor 331), and the residual values ​​(i.e., quantization transform coefficients and related parameter information) from which entropy decoding has been performed in the entropy decoder 310 can be input to the residual processor 320. The residual processor 320 can derive the residual signals (residual blocks, residual samples, residual sample arrays). Additionally, the filtering information in the information decoded by the entropy decoder 310 can be provided to the filter 350. Furthermore, the receiver (not shown) for receiving the signal output from the encoding device can be further configured as an internal / external element of the decoding device 300, or the receiver can be a component of the entropy decoder 310. Additionally, the decoding device according to this disclosure can be referred to as a video / image / picture decoding device, and the decoding device can be classified as an information decoder (video / image / picture information decoder) and a sample decoder (video / image / picture sample decoder). The information decoder may include the entropy decoder 310, and the sample decoder may include at least one of a dequantizer 321, an inverse transformer 322, an adder 340, a filter 350, a memory 360, an inter-frame predictor 332, and an intra-frame predictor 331.

[0072] Dequantizer 321 can dequantize the quantized transform coefficients and output the transform coefficients. Dequantizer 321 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 encoding device. Dequantizer 321 can perform dequantization on the quantized transform coefficients using quantization parameters (e.g., quantization step size information) and obtain the transform coefficients.

[0073] The inverse transformer 322 performs an inverse transformation on the transformation coefficients to obtain the residual signal (residual block, residual sample array).

[0074] The predictor can perform prediction on the current block and generate a prediction block that includes the 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 310, and can determine the specific intra-frame / inter-frame prediction mode.

[0075] Predictor 330 can generate a prediction signal based on various prediction methods described below. For example, the predictor can not only apply intra-frame prediction or inter-frame prediction to predict a block, but can also apply intra-frame prediction and inter-frame prediction simultaneously. This can be referred to as Inter-Frame Intra-Frame Combined Prediction (CIIP). Alternatively, the predictor can predict blocks based on an Intra-Frame Block Copy (IBC) prediction mode or a palette mode. The IBC prediction mode or palette mode can be used for content image / video coding such as games, for example, Screen Content Coding (SCC). IBC essentially performs prediction in the current frame, but can be performed similarly to inter-frame prediction because a reference block is derived in the current frame. That is, IBC can use at least one of the inter-frame prediction techniques described in this disclosure. The palette mode can be considered as an example of intra-frame coding or intra-frame prediction. When applying a palette mode, sample values ​​within the frame can be signaled based on information about the palette table and palette index.

[0076] Intra-predictor 331 can predict the current block by referencing samples in the current frame. Depending on the prediction mode, the referenced samples may be located near or far from the current block. In intra-prediction, the prediction mode can include multiple non-directional modes and multiple directional modes. Intra-predictor 331 can determine the prediction mode applied to the current block by using prediction modes applied to neighboring blocks.

[0077] Inter-frame predictor 332 can deduce the prediction block of the current block based on reference blocks (reference sample arrays) specified by motion vectors on a reference frame. In this case, to reduce the amount of motion information transmitted in the inter-frame prediction mode, motion information can be predicted on a block, sub-block, or sample basis based on the correlation of 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 adjacent blocks existing in the current frame and temporally adjacent blocks existing in the reference frame. For example, inter-frame predictor 332 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 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 mode of inter-frame prediction for the current block.

[0078] Adder 340 can generate 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 332 and / or intra-frame predictor 331). If the block to be processed has no residual (e.g., when a skip mode is applied), the prediction block can be used as the reconstruction block.

[0079] Adder 340 can be called a reconstructor or reconstruction 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 filtered and output as described below, or it can be used for inter-frame prediction of the next frame.

[0080] In addition, Luminance Mapping and Chromaticity Scaling (LMCS) can be applied during the image decoding process.

[0081] Filter 350 can improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, filter 350 can generate a modified reconstructed image by applying various filtering methods to the reconstructed image and store the modified reconstructed image in memory 360 (specifically, the DPB of memory 360). Various filtering methods may include, for example, deblocking filtering, sample adaptive shifting, adaptive loop filtering, bilateral filtering, etc.

[0082] The (modified) reconstructed frame stored in the DPB of memory 360 can be used as a reference frame in inter-frame predictor 332. Memory 360 can store motion information of blocks from which motion information in the current frame is derived (or decoded) and / or motion information of reconstructed blocks in the frame. The stored motion information can be sent to inter-frame predictor 221 for use as motion information of spatially adjacent blocks or temporally adjacent blocks. Memory 360 can store reconstructed samples of reconstructed blocks in the current frame and can transmit the reconstructed samples to intra-frame predictor 331.

[0083] In this disclosure, the embodiments described in the filter 260, inter-frame predictor 221, and intra-frame predictor 222 of the encoding device 200 can be the same as, or applied to, the filter 350, inter-frame predictor 332, and intra-frame predictor 331 of the decoding device 300, respectively. The same content can also be applied to the inter-frame predictor 332 and intra-frame predictor 331.

[0084] In this disclosure, at least one of quantization / inverse quantization and / or transformation / inverse transformation may be omitted. When quantization / inverse quantization is omitted, the transformation coefficients of the quantization may be referred to as transformation coefficients. When transformation / inverse transformation is omitted, the transformation coefficients may be referred to as coefficients or residual coefficients, or for the sake of consistency, they may still be referred to as transformation coefficients.

[0085] In this disclosure, quantization transform coefficients and transform coefficients can be referred to as transform coefficients and scaling transform coefficients, respectively. In this case, residual information can include information about the transform coefficients, and this information can be signaled via residual coding syntax. Transform coefficients can be derived based on residual information (or information about the transform coefficients), and scaling transform coefficients can be derived by inverse transforming (scaling) the transform coefficients. Residual samples can be derived based on the inverse transform (scaling) of the scaling transform coefficients. This can also be applied / expressed in other parts of this disclosure.

[0086] Furthermore, as mentioned above, prediction is performed during video encoding to improve compression efficiency. This allows the generation of a prediction block, including prediction samples of the current block, as the block to be encoded (i.e., the target encoding block). Here, the prediction block includes prediction samples in the spatial domain (or pixel domain). The prediction block is derived in the same manner in both the encoding and decoding devices, and the encoding device can signal the decoding device with information about the residual between the original block and the prediction block (residual information), rather than the original sample values ​​of the original block, thereby improving image encoding efficiency. The decoding device can derive a residual block including residual samples based on the residual information, add the residual block and the prediction block to generate a reconstructed block including reconstructed samples, and generate a reconstructed image including the reconstructed block.

[0087] Residual information can be generated through transformation and quantization processes. For example, the encoding device can derive a residual block between the original block and the prediction block, perform a transformation process on the residual samples (residual sample array) included in the residual block to derive transform coefficients, perform a quantization process on the transform coefficients to derive quantized transform coefficients, and signal the relevant residual information (via bitstream) to the decoding device. Here, the residual information may include the values ​​of the quantized transform coefficients, their positions, the transform technique, the transform core, and the values ​​of quantization parameters. The decoding device can perform dequantization / inverse transform processes based on the residual information and derive residual samples (or residual blocks). The decoding device can generate a reconstructed frame based on the prediction block and the residual block. Furthermore, as a reference for inter-frame prediction of subsequent reference frames, the encoding device can dequantize / inverse transform the quantized transform coefficients to derive residual blocks and generate a reconstructed frame based on them.

[0088] Intra-frame prediction can refer to generating prediction samples for the current block based on reference samples in the frame to which the current block belongs (hereinafter referred to as the current frame). When applying intra-frame prediction to the current block, neighboring reference samples to be used for intra-frame prediction of the current block can be derived. The neighboring reference samples of the current block may include samples adjacent to the left boundary of the current block of size nW×nH and a total of 2×nH samples adjacent to the lower left of the current block, samples adjacent to the top boundary of the current block and a total of 2×nW samples adjacent to the upper right of the current block, and samples adjacent to the upper left of the current block. Alternatively, the neighboring reference samples of the current block may include multiple columns of upper adjacent samples and multiple rows of left adjacent samples. In addition, the neighboring reference samples of the current block may include a total of nH samples adjacent to the right boundary of the current block of size nW×nH, a total of nW samples adjacent to the lower boundary of the current block, and samples adjacent to the lower right of the current block.

[0089] However, some neighboring reference samples of the current block may not have been decoded or may be unavailable. In this case, the decoder can construct neighboring reference samples to be used for prediction by replacing unavailable samples with available samples. Alternatively, the neighboring reference samples to be used for prediction can be configured by interpolation of available samples.

[0090] When deriving neighboring reference samples, (i) the predicted sample can be derived based on the average or interpolation of the neighboring reference samples of the current block, or (ii) the predicted sample can be derived based on a reference sample existing in a specific (predictive) direction relative to the predicted sample among the neighboring reference samples of the current block. Case (i) can be referred to as non-directional mode or non-angular mode, and case (ii) can be referred to as directional mode or angular mode.

[0091] Alternatively, prediction samples can be generated by interpolating the first neighboring sample in the prediction direction of the intra-prediction mode of the current block and the second neighboring sample in the opposite direction from the prediction sample in the adjacent reference samples. This can be called linear interpolation intra-prediction (LIP). Furthermore, a linear model (LM) can be used to generate chroma prediction samples based on luminance samples. This can be called LM mode or chroma component LM (CCLM) mode.

[0092] Alternatively, provisional prediction samples for the current block can be derived based on filtered neighboring reference samples, or by weighted summing of the provisional prediction samples with at least one reference sample derived from the intra-prediction mode in the existing neighboring reference samples (i.e., unfiltered neighboring reference samples). This process can be referred to as position-dependent intra-prediction (PDPC).

[0093] Alternatively, the reference sample line with the highest prediction accuracy among the adjacent reference sample lines of the current block is selected, and the predicted sample is derived using the reference sample in the prediction direction of the selected line. In this case, intra-frame prediction coding can be performed by instructing (signaling) the reference sample line used to the decoding device. The above situation can be referred to as multi-reference line intra-frame prediction or MRL-based intra-frame prediction.

[0094] Furthermore, the current block can be divided into vertical or horizontal sub-partitions and intra-prediction can be performed based on the same intra-prediction mode. However, neighboring reference samples can be derived and used on a sub-partition basis. In other words, the intra-prediction mode for the current block applies to sub-partitions in this case, but in some situations, intra-prediction performance can be improved by deriving and using neighboring reference samples on a sub-partition basis. This prediction method can be called intra-prediction based on intra-partition sub-partitions (ISP).

[0095] The intra-prediction methods described above can be referred to as intra-prediction types to distinguish them from intra-prediction modes. Intra-prediction types can be referred to using various terms, such as intra-prediction techniques or additional intra-prediction modes. For example, an intra-prediction type (or additional intra-prediction mode, etc.) can include at least one of LIP, PDPC, MRL, and ISP. General intra-prediction methods that exclude specific intra-prediction types such as LIP, PDPC, MRL, and ISP can be referred to as normal intra-prediction types. When specific intra-prediction types are not applied, normal intra-prediction types can generally be applied, and prediction can be performed based on the intra-prediction modes described above. Furthermore, post-processing filtering can be performed on the derived prediction samples if necessary.

[0096] Specifically, the intra-frame prediction process may include an intra-frame prediction mode / type determination step, a neighboring reference sample derivation step, and a prediction sample derivation step based on the intra-frame prediction mode / type. Furthermore, if necessary, a post-filtering step may be performed on the derived prediction samples.

[0097] Figure 4 Examples of video / image coding methods based on intra-frame prediction are shown.

[0098] Reference Figure 4 The coding unit performs intra-prediction on the current block (S400). The coding unit derives the intra-prediction mode / type for the current block, derives the neighboring reference samples for the current block, and generates prediction samples for the current block based on the intra-prediction mode / type and the neighboring reference samples. Here, the intra-prediction mode / type determination process, the neighboring reference sample derivation process, and the prediction sample generation process can be executed simultaneously, or one process can be executed before the other. The coding unit can determine the mode / type applicable to the current block from multiple intra-prediction modes / types. The coding unit can compare the RD costs of the intra-prediction modes / types and determine the optimal intra-prediction mode / type for the current block.

[0099] In addition, the encoding device can perform a prediction sample filtering process. Prediction sample filtering can be referred to as post-filtering. Some or all prediction samples can be filtered by the prediction sample filtering process. In some cases, the prediction sample filtering process can be omitted.

[0100] The encoding device generates residual samples for the current block based on the (filtered) prediction samples (S410). The encoding device can derive residual samples by comparing the prediction samples in the original samples of the current block with the phase.

[0101] The encoding device can encode image information including information about intra-frame prediction (prediction information) and residual information about residual samples (S420). The prediction information may include intra-frame prediction mode information and intra-frame prediction type information. The encoding device can output the encoded image information in the form of a bitstream. The output bitstream can be sent to the decoding device via a storage medium or a network.

[0102] The residual information may include the residual coding syntax described later. The coding device may transform / quantize the residual samples to derive quantization transform coefficients. The residual information may include information about the quantization transform coefficients.

[0103] Furthermore, as described above, the encoding device can generate a reconstructed frame (including reconstructed samples and reconstructed blocks). To this end, the encoding device can derive (modified) residual samples by performing inverse quantization / inverse transform again on the quantized transform coefficients. The reason for performing inverse quantization / inverse transform again after transforming / quantizing the residual samples in this way is to derive residual samples identical to those derived in the decoding device described above. The encoding device can generate a reconstructed block including reconstructed samples for the current block based on the predicted samples and the (modified) residual samples. A reconstructed frame for the current frame can be generated based on the reconstructed block. As described above, the in-loop filtering process can be further applied to the reconstructed frame.

[0104] Figure 5 Examples of video / image coding methods based on intra-frame prediction are shown.

[0105] The decoding device can perform operations corresponding to those performed by the encoding device.

[0106] Prediction and residual information can be obtained from the bitstream. The residual sample of the current block can be derived based on the residual information. Specifically, the transform coefficients can be derived by performing inverse quantization based on the quantization transform coefficients derived from the residual information, and the residual sample of the current block can be derived by performing an inverse transform on the transform coefficients.

[0107] Specifically, the decoding device can deduce the intra-prediction mode / type of the current block based on the received prediction information (intra-prediction mode / type information) (S500). The decoding device can deduce the neighboring reference samples of the current block (S510). Based on the intra-prediction mode / type and the neighboring reference samples, the decoding device generates prediction samples in the current block (S520). In this case, the decoding device can perform a prediction sample filtering process. Prediction sample filtering can be referred to as post-filtering. Some or all prediction samples can be filtered by the prediction sample filtering process. In some cases, the prediction sample filtering process can be omitted.

[0108] The decoding device generates residual samples for the current block based on the received residual information (S530). The decoding device can generate reconstructed samples for the current block based on the predicted samples and residual samples, and can derive a reconstructed block including the reconstructed samples (S540). A reconstructed frame of the current frame can be generated based on the reconstructed block. As described above, the in-loop filtering process can be further applied to the reconstructed frame.

[0109] Intra-luma_mpm_flag may include, for example, flag information indicating whether the most probable mode (MPM) is applied to the current block or whether the remaining modes are applied. When the MPM is applied to the current block, the prediction mode information may further include index information (e.g., intra_luma_mpm_idx) indicating one of the intra-luma_mpm_candidates. The intra-luma_mpm_candidates may consist of an MPM candidate list or an MPM list. Additionally, when the MPM is not applied to the current block, the intra-luma_mpm_remainder includes remaining mode information (e.g., intra_luma_mpm_remainder) indicating one of the remaining intra-luma_mpm_candidates besides the MPM candidates. The decoding apparatus may determine the intra-luma_mpm_remainder for the current block based on the intra-luma_mpm_remainder information.

[0110] Furthermore, intra-prediction type information can be implemented in various forms. For example, intra-prediction type information may include intra-prediction type index information indicating one of the intra-prediction types. As another example, intra-prediction type information may include reference sample line information (e.g., intra_luma_ref_idx) indicating whether MRL is applied to the current block and, if so, which reference sample line is used; ISP flag information (e.g., intra_subpartitions_mode_flag) indicating whether ISP is applied to the current block; ISP type information (e.g., intra_subpartitions_split_flag) indicating the split type of the subpartitions when ISP is applied; flag information indicating whether PDPC is applied; or flag information indicating whether LIP is applied. Additionally, intra-prediction type information may include a MIP flag indicating whether matrix-based intra-prediction (MIP) is applied to the current block.

[0111] Intra-frame prediction mode information and / or intra-frame prediction type information can be encoded / decoded using the encoding methods described in this disclosure. For example, intra-frame prediction mode information and / or intra-frame prediction type information can be encoded / decoded using entropy coding (e.g., CABAC, CAVLC).

[0112] Figure 6 The intra-frame prediction process is illustrated schematically.

[0113] Reference Figure 6As described above, the intra-frame prediction process may include steps such as determining the intra-frame prediction mode / type, deriving adjacent reference samples, and performing intra-frame prediction (generating prediction samples). The intra-frame prediction process may be performed by the encoding and decoding apparatus described above. In this disclosure, the encoding apparatus may include an encoding device and / or a decoding device.

[0114] Reference Figure 6 The coding device determines the intra-frame prediction mode / type S600.

[0115] The encoding device can determine the intra prediction mode / type applicable to the current block from the various intra prediction modes / types described above, and can generate prediction-related information. The prediction-related information may include intra prediction mode information representing the intra prediction mode applied to the current block and / or intra prediction type information representing the intra prediction type applied to the current block. The decoding device can determine the intra prediction mode / type applicable to the current block based on the prediction-related information.

[0116] Intra-luma_mpm_flag may include, for example, flag information indicating whether the most probable mode (MPM) is applied to the current block or a remaining mode is applied. When an MPM is applied to the current block, the prediction mode information may further include index information (e.g., intra_luma_mpm_idx) indicating one of the intra-luma_mpm_candidate prediction modes (MPM candidates). The intra-luma_mpm_candidate prediction modes (MPM candidates) may consist of an MPM candidate list or an MPM list. Additionally, when no MPM is applied to the current block, the intra-luma_mpm_remainder may further include remaining mode information (e.g., intra_luma_mpm_remainder) indicating one of the remaining intra-luma_prediction modes besides the intra-luma_mpm_candidate prediction modes (MPM candidates). The decoding apparatus may determine the intra-luma_prediction mode for the current block based on the intra-luma_prediction mode information.

[0117] Furthermore, intra-prediction type information can be implemented in various forms. For example, intra-prediction type information may include intra-prediction type index information indicating one of the intra-prediction types. As another example, intra-prediction type information may include at least one of the following: reference sample line information indicating whether MRL is applied to the current block, and if so, which reference sample line is used (e.g., intra_luma_ref_idx); ISP flag information indicating whether ISP is applied to the current block (e.g., intra_subpartitions_mode_flag); ISP type information indicating the split type of subpartitions when ISP is applied (e.g., intra_subpartitions_split_flag); flag information indicating whether PDPC is applied; or flag information indicating whether LIP is applied. Additionally, intra-prediction type information may include a MIP flag indicating whether matrix-based intra-prediction (MIP) is applied to the current block.

[0118] For example, when applying intra-prediction, the intra-prediction modes of neighboring blocks can be used to determine the intra-prediction mode to be applied to the current block. For instance, the coding device can select one of the most probable mode (MPM) candidates in the MPM list derived based on additional candidate modes and / or the intra-prediction modes of the current block's neighboring blocks (e.g., left and / or top neighboring blocks), or one of the remaining intra-prediction modes not included in the MPM candidates (and planar modes) based on MPM residual information (remaining intra-prediction mode information). The MPM list can be configured to include or exclude planar modes as candidates. For example, the MPM list can have 6 candidates when it includes planar modes as candidates, and 5 candidates when it does not. When the MPM list does not include planar modes as candidates, a non-planar flag (e.g., intra_luma_not_planar_flag) indicating whether the intra-prediction mode of the current block is not a planar mode can be signaled. For example, the MPM flag can be signaled first, and when the MPM flag is 1, the MPM index and non-planar flag can be signaled. Furthermore, when the non-planar flag is 1, the MPM index can be signaled. Here, the fact that the MPM list does not include planar patterns as candidates is that planar patterns are always considered MPMs, not that they are not MPMs; therefore, the flag (non-planar flag) is signaled first to check if it is a planar pattern.

[0119] For example, MPM flags (e.g., `intra_luma_mpm_flag`) can indicate whether the intra-prediction mode applied to the current block is among the MPM candidates (and planar modes) or among the remaining modes. An MPM flag of 1 indicates that the intra-prediction mode of the current block is among the MPM candidates (and planar modes), while an MPM flag of 0 indicates that the intra-prediction mode of the current block is not among the MPM candidates (and planar modes). A non-planar flag of 0 (e.g., `intra_luma_not_planar_flag`) indicates that the intra-prediction mode of the current block is planar, while a non-planar flag of 1 indicates that the intra-prediction mode of the current block is not planar. The MPM index can be signaled in the form of `mpm_idx` or `intra_luma_mpm_idx` syntax elements, and the remaining intra-prediction mode information can be signaled in the form of `rem_intra_luma_pred_mode` or `intra_luma_mpm_remainder` syntax elements. For example, the remaining intra-prediction mode information can be indexed sequentially by prediction mode number to indicate one of the remaining intra-prediction modes not included in the MPM candidates (and planar modes) among all intra-prediction modes. The intra-prediction mode can be an intra-prediction mode for the luma component (sample). In the following, the intra-prediction mode information may include at least one of the following: an MPM flag (e.g., intra_luma_mpm_flag), a non-planar flag (e.g., intra_luma_not_planar_flag), an MPM index (e.g., mpm_idx or intra_luma_mpm_idx), or remaining intra-prediction mode information (rem_intra_luma_luma_mpm_mode or intra_luma_mpminder). In this disclosure, the MPM list can be referred to using various terms such as the MPM candidate list and candModeList.

[0120] When applying MIP to the current block, the individual MPM flags used for MIP (e.g., intra_mip_mpm_flag), MPM index (e.g., intra_mip_mpm_idx), and remaining intra-prediction mode information (e.g., intra_mip_mpm_remainder) can be signaled, and the non-plane flag can be not signaled.

[0121] In other words, generally speaking, when performing block segmentation of an image, the current block to be encoded and its neighboring blocks have similar image characteristics. Therefore, there is a high probability that the current block and its neighboring blocks have the same or similar intra-prediction modes. Thus, the encoder can use the intra-prediction modes of neighboring blocks to encode the intra-prediction mode of the current block.

[0122] The coding device can construct a most probable mode (MPM) list for the current block. This MPM list can be referred to as the MPM candidate list. Here, MPM can refer to a mode used to improve coding efficiency during intra-frame prediction mode coding by considering the similarity between the current block and neighboring blocks. As mentioned above, the MPM list can be constructed to include planar modes or to exclude planar modes. For example, when the MPM list includes planar modes, the number of candidates in the MPM list can be 6. When the MPM list does not include planar modes, the number of candidates in the MPM list can be 5.

[0123] The encoding device can perform prediction based on various intra-prediction modes and can determine the optimal intra-prediction mode based on its rate distortion optimization (RDO). In this case, the encoding device can determine the optimal intra-prediction mode by using only the MPM candidates and plane modes configured in the MPM list, or by further using the remaining intra-prediction modes as well as the MPM candidates and plane modes configured in the MPM list. Specifically, for example, if the intra-prediction type of the current block is a specific type other than the normal intra-prediction type (e.g., LIP, MRL, or ISP), the encoding device can determine the optimal intra-prediction mode by only considering the MPM candidates and plane modes as intra-prediction mode candidates for the current block. That is, in this case, the intra-prediction mode of the current block can be determined only from the MPM candidates and plane modes, and in this case, the encoding / signaling of the MPM flag can be omitted. In this case, the decoding device can infer that the MPM flag is 1 without separately signaling the MPM flag.

[0124] Furthermore, typically, when the intra-prediction mode of the current block is not a planar mode but one of the MPM candidates in the MPM list, the coding device generates an MPM index (mpm idx) indicating one of the MPM candidates. When the intra-prediction mode of the current block is not included in the MPM list, the coding device generates MPM remainder information (remaining intra-prediction mode information) indicating the same intra-prediction mode as the current block among the remaining intra-prediction modes not included in the MPM list (and planar modes). The MPM remainder information may include, for example, the intra_luma_mpm_remainder syntax element.

[0125] The decoding device obtains intra-prediction mode information from the bitstream. As described above, the intra-prediction mode information may include at least one of an MPM flag, a non-planar flag, an MPM index, and remaining MPM information (remaining intra-prediction mode information). The decoding device may construct an MPM list. The construction of the MPM list is the same as that of the MPM list constructed in the encoding device. That is, the MPM list may include intra-prediction modes of adjacent blocks, or may further include specific intra-prediction modes according to a predetermined method.

[0126] The decoding device can determine the intra-prediction mode of the current block based on the MPM list and intra-prediction mode information. For example, when the MPM flag is 1, the decoding device can (based on the non-planar flag) deduce the planar mode as the intra-prediction mode of the current block, or deduce the candidate indicated by the MPM index among the MPM candidates in the MPM list as the intra-prediction mode of the current block. Here, the MPM candidate may only represent the candidates included in the MPM list, or it may include not only the candidates included in the MPM list, but also the planar mode applicable when the MPM flag is 1.

[0127] For example, when the MPM flag value is 0, the decoding device can deduce the intra-prediction mode of the current block from the intra-prediction mode indicated by the remaining intra-prediction mode information (which may be referred to as MPM remaining information), which is among the remaining intra-prediction modes not included in the MPM list and planar modes. Furthermore, as another example, when the intra-prediction type of the current block is a specific type (e.g., LIP, MRL, or ISP), the decoding device can deduce the intra-prediction mode of the current block from the candidates indicated by the MPM flag in the planar mode or MPM list without parsing / decoding / checking the MPM flag.

[0128] The coding device derives the neighboring reference samples of the current block (S610). When intra-frame prediction is applied to the current block, neighboring reference samples to be used for intra-frame prediction of the current block can be derived. The neighboring reference samples of the current block may include samples adjacent to the left boundary of the current block of size nW×nH, a total of 2×nH samples adjacent to the lower left of the current block, samples adjacent to the upper boundary of the current block, a total of 2×nW samples adjacent to the upper right of the current block, and samples adjacent to the upper left of the current block. Alternatively, the neighboring reference samples of the current block may include multiple column-level upper neighboring samples and multiple row-level left neighboring samples. In addition, the neighboring reference samples of the current block may include a total of nH samples adjacent to the right boundary of the current block of size nW×nH, a total of nW samples adjacent to the lower boundary of the current block, and samples adjacent to the lower right of the current block.

[0129] On the other hand, when MRL is applied (i.e., when the value of the MRL index is greater than 0), neighboring reference samples may be located on lines 1 to 2 instead of line 0, which is adjacent to the current block on the left / top side, and in this case, the number of neighboring reference samples can be further increased. Furthermore, when ISP is applied, neighboring reference samples can be derived on a sub-partition basis.

[0130] The coding device derives prediction samples by performing intra-frame prediction on the current block (S620). The coding device can derive prediction samples based on intra-frame prediction mode / type and neighboring samples. The coding device can derive reference samples based on the intra-frame prediction mode of the current block in the neighboring reference samples of the current block, and can derive prediction samples of the current block based on the reference samples.

[0131] Furthermore, when applying inter-frame prediction, the predictor of the encoding / decoding device can derive prediction samples by performing inter-frame prediction on a block-by-block basis. Inter-frame prediction can be applied when performing prediction on the current block. That is, the predictor of the encoding / decoding device (more specifically, the inter-frame predictor) can derive prediction samples by performing inter-frame prediction on a block-by-block basis. Inter-frame prediction can represent a prediction derived by a method that depends on data elements (e.g., sample values ​​or motion information) of (one or more) frames other than the current frame. When applying inter-frame prediction to the current block, the prediction block (prediction sample array) for the current block can be derived based on a reference block (reference sample array) on a reference frame indicated by a reference frame index, specified by a motion vector. In this case, to reduce the amount of motion information transmitted in the inter-frame prediction mode, the motion information of the current block can be predicted on a block, sub-block, or sample-by-sample basis based on the correlation of motion information between adjacent blocks and the current block. Motion information can include motion vectors and reference frame indices. Motion information can further include inter-frame prediction type (L0 prediction, L1 prediction, Bi prediction, etc.) information. In the application of inter-frame prediction, neighboring blocks can include spatially adjacent blocks existing in the current frame and temporally adjacent blocks existing in a reference frame. The reference frame including the reference block and the reference frame including the temporally adjacent blocks can be the same or different from each other. Temporally adjacent blocks can be referred to by names such as juxtaposed reference blocks, juxtaposed CUs (ColCU), etc., and the reference frame including the temporally adjacent blocks can be referred to as a juxtaposed frame (ColPic). For example, a motion information candidate list can be configured based on the neighboring blocks of the current block, and a signal can be sent indicating which candidate's flag or index information to select (use) for deriving the motion vector of the current block and / or the reference frame index. Inter-frame prediction can be performed based on various prediction modes, and for example, in skip mode and merge mode, the motion information of the current block can be the same as the motion information of the selected neighboring block. In skip mode, unlike merge mode, residual signals may not be sent. In motion vector prediction (MVP) mode, the motion vector of the selected neighboring block can be used as a motion vector predictor, and the motion vector difference can be signaled. In this case, the motion vector of the current block can be derived by using the sum of the motion vector predictor and the motion vector difference.

[0132] Depending on the inter-frame prediction type (L0 prediction, L1 prediction, Bi prediction, etc.), motion information may further include L0 motion information and / or L1 motion information. The L0 direction motion vector may be referred to as the L0 motion vector or MVL0, and the L1 direction motion vector may be referred to as the L1 motion vector or MVL1. Prediction based on the L0 motion vector may be called L0 prediction, prediction based on the L1 motion vector may be called L1 prediction, and prediction based on both L0 and L1 motion vectors may be called bi-prediction. Here, the L0 motion vector may indicate the motion vector associated with the reference frame list L0, and the L1 motion vector may indicate the motion vector associated with the reference frame list L1. The reference frame list L0 may include frames that precede the current frame in output order, and the reference frame list L1 may include frames that follow the current frame in output order, serving as reference frames. The previous frame may be referred to as the forward (reference) frame, and the subsequent frame may be referred to as the reverse (reference) frame. The reference frame list L0 may further include frames that follow the current frame in output order, serving as reference frames. In this scenario, previous frames can be indexed first in the reference frame list L0, and then subsequent frames can be indexed. The reference frame list L1 can further include frames that precede the current frame in the output order as reference frames. In this case, subsequent frames can be indexed first in the reference frame list L1, and then previous frames can be indexed. Here, the output order can correspond to the frame sequence count (POC) order.

[0133] The video / image coding process based on inter-frame prediction can schematically include, for example, the following.

[0134] Figure 7 An example of a video / image coding method based on inter-frame prediction is shown.

[0135] The encoding device performs inter-frame prediction on the current block (S700). The encoding device can deduce the inter-frame prediction mode and motion information of the current block, and generate prediction samples for the current block. Here, the inter-frame prediction mode determination process, the motion information derivation process, and the prediction sample generation process can be executed simultaneously, and any one of these processes can be executed earlier than the others. For example, the inter-frame prediction unit of the encoding device may include a prediction mode determination unit, a motion information derivation unit, and a prediction sample derivation unit. The prediction mode determination unit can determine the prediction mode of the current block, the motion information derivation unit can deduce the motion information of the current block, and the prediction sample derivation unit can deduce the prediction samples for the current block. For example, the inter-frame prediction unit of the encoding device can search for blocks similar to the current block in a predetermined area (search area) of a reference frame through motion estimation, and deduce a reference block whose difference from the current block is the smallest or equal to or less than a predetermined standard. Based on this derivation, a reference frame index indicating the reference frame where the reference block is located can be derived, and a motion vector can be derived based on the positional difference between the reference block and the current block. The encoding device can determine the mode applicable to the current block among various prediction modes. The encoding device can compare the RD costs of various prediction modes and determine the optimal prediction mode for the current block.

[0136] For example, when a skip mode or merge mode is applied to the current block, the encoding device can configure a merge candidate list (described below) and deduce a reference block among the reference blocks indicated by the merge candidates included in the merge candidate list that has a difference from the current block that is smallest, equal to, or less than a predetermined standard. In this case, a merge candidate associated with the deduced reference block can be selected, and merge index information indicating the selected merge candidate can be generated and signaled to the decoding device. The motion information of the current block can be deduced using the motion information of the selected merge candidate.

[0137] As another example, when the (A)MVP mode is applied to the current block, the encoding device can configure an (A)MVP candidate list, as described below, and use the motion vector of the selected MVP candidate from the motion vector prediction sub-candidates included in the (A)MVP candidate list as the MVP of the current block. In this case, for example, the motion vector of a reference block derived through motion estimation can be used as the motion vector of the current block, and the MVP candidate with the motion vector having the smallest difference from the motion vector of the current block can be selected as the MVP candidate. The motion vector difference (MVD) can be derived, which is the difference obtained by subtracting the MVP from the motion vector of the current block. In this case, information about the MVD can be signaled to the decoding device. Furthermore, when the (A)MVP mode is applied, the value of the reference screen index can be configured as reference screen index information and signaled to the decoding device separately.

[0138] The encoding device can derive residual samples based on the predicted samples (S710). The encoding device can derive residual samples by comparing the original samples and the predicted samples of the current block.

[0139] The encoding device encodes image information including prediction information and residual information (S720). The encoding device can output the encoded image information in the form of a bitstream. The prediction information may include information about prediction mode information (e.g., skip flag, merge flag, or mode index, etc.) and information about motion information, as information related to the prediction process. The information about motion information may include candidate selection information (e.g., merge index, MVP flag, or MVP index), which is information used to derive motion vectors. In addition, the information about motion information may include information about MVD and / or reference frame index information. Furthermore, the information about motion information may include information indicating whether L0 prediction, L1 prediction, or dual prediction is applied. The residual information is information about residual samples. The residual information may include information about the quantization transform coefficients used for the residual samples.

[0140] The output bitstream can be stored in a (digital) storage medium and transmitted to a decoding device, or transmitted to a decoding device via a network.

[0141] Furthermore, as mentioned above, the encoding device can generate a reconstructed picture (including reconstructed samples and reconstructed blocks) based on reference samples and residual samples. This is to derive the same prediction result as that performed by the decoding device, which can increase encoding efficiency. Therefore, the encoding device can store the reconstructed picture (or reconstructed samples or reconstructed blocks) in memory and use the reconstructed picture as a reference picture. As mentioned above, the in-loop filtering process can be further applied to the reconstructed picture.

[0142] The video / image decoding process based on inter-frame prediction can schematically include, for example, the following.

[0143] Figure 8 An example of a video / image decoding method based on inter-frame prediction is shown.

[0144] Reference Figure 8 The decoding device can perform operations corresponding to those performed by the encoding device. The decoding device can perform predictions on the current block and derive prediction samples based on the received prediction information.

[0145] Specifically, the decoding device can determine the prediction mode of the current block based on the received prediction information (S800). The decoding device can determine which inter-frame prediction mode to apply to the current block based on the prediction mode information in the prediction information.

[0146] For example, a merge flag can be used to determine whether to apply a merge mode or (A)MVP mode to the current block. Alternatively, a variety of inter-frame prediction mode candidates can be selected based on a mode index. Inter-frame prediction mode candidates may include skip mode, merge mode, and / or (A)MVP mode, or may include various inter-frame prediction modes described below.

[0147] The decoding device derives motion information for the current block based on the determined inter-frame prediction mode (S810). For example, when a skip mode or merge mode is applied to the current block, the decoding device can be configured to select a merge candidate from the merge candidate list described below. Here, the selection can be performed based on selection information (merge index). The motion information for the current block can be derived using the motion information of the selected merge candidate. The motion information of the selected merge candidate can be used as the motion information for the current block.

[0148] As another example, when applying the (A)MVP mode to the current block, the decoding device can configure an (A)MVP candidate list, as described below, and use the motion vector of the selected MVP candidate from the motion vector prediction sub-candidates included in the (A)MVP candidate list as the MVP of the current block. Here, selection can be performed based on selection information (MVP flag or MVP index). In this case, the MVD of the current block can be derived based on information about the MVD, and the motion vector of the current block can be derived based on the MVP and MVD of the current block. Furthermore, the reference frame index of the current block can be derived based on reference frame index information. The frame indicated by the reference frame index in the reference frame list of the current block can be derived as the reference frame referenced by the inter-frame prediction of the current block.

[0149] Furthermore, as described below, the motion information of the current block can be derived without a candidate list configuration, and in this case, the motion information of the current block can be derived based on the process disclosed in the prediction mode. In this case, the candidate list configuration can be omitted.

[0150] The decoding device can generate prediction samples for the current block based on the motion information of the current block (S820). In this case, a reference frame can be derived based on the reference frame index of the current block, and prediction samples for the current block can be derived by using samples of the reference block indicated by the motion vector of the current block on the reference frame. In some cases, a prediction sample filtering process for all or some of the prediction samples for the current block can be further performed.

[0151] For example, the inter-frame prediction unit of the decoding device may include a prediction mode determination unit, a motion information derivation unit, and a prediction sample derivation unit. The prediction mode determination unit can determine the prediction mode of the current block based on the received prediction mode information, the motion information derivation unit can derive the motion information (motion vector and / or reference frame index) of the current block based on information about the received motion information, and the prediction sample derivation unit can derive the prediction samples of the current block.

[0152] The decoding device generates a residual sample for the current block based on the received residual information (S830). The decoding device can generate a reconstruction sample for the current block based on the prediction sample and the residual sample, and generate a reconstructed image based on the generated reconstruction sample (S840). Thereafter, as described above, the in-loop filtering process can be further applied to the reconstructed image.

[0153] Figure 9 The inter-frame prediction process is illustrated schematically.

[0154] Reference Figure 9 As described above, the inter-frame prediction process may include an inter-frame prediction mode determination step, a motion information derivation step based on the determined prediction mode, and a prediction processing step (prediction sample generation) based on the derivation of motion information. The inter-frame prediction process may be performed by the encoding and decoding devices described above. In this document, the encoding device may include an encoding device and / or a decoding device.

[0155] Reference Figure 9 The encoding device determines the inter-frame prediction mode for the current block (S900). Various inter-frame prediction modes can be used for the prediction of the current block in the frame. For example, various modes can be used, such as merge mode, skip mode, motion vector prediction (MVP) mode, affine mode, sub-block merge mode, merge with MVD (MMVD) mode, and history motion vector prediction (HMVP) mode. Decoder-side motion vector refinement (DMVR) mode, adaptive motion vector resolution (AMVR) mode, dual prediction with CU-level weights (BCW), and bidirectional optical flow (BDOF) can be further used as additional modes. Affine mode can also be called affine motion prediction mode. MVP mode can also be called advanced motion vector prediction (AMVP) mode. In this paper, some modes and / or motion information candidates derived from some modes can also be included in one of the motion information-related candidates in other modes. For example, HMVP candidates can be added to the merge candidates of merge / skip mode, or to the MVP candidates of MVP mode. If an HMVP candidate is used as a motion information candidate for merge mode or skip mode, then the HMVP candidate can be called an HMVP merge candidate.

[0156] Prediction mode information, indicating the inter-frame prediction mode of the current block, can be signaled from the encoding device to the decoding device. In this case, the prediction mode information can be included in the bitstream and received by the decoding device. The prediction mode information may include index information indicating one of a plurality of candidate modes. Alternatively, the inter-frame prediction mode can be indicated by hierarchical signaling of flag information. In this case, the prediction mode information may include one or more flags. For example, a skip flag can be signaled to indicate whether a skip mode is applied; a merge flag can be signaled to indicate whether a merge mode is applied when a skip mode is not applied; and an MVP mode can be signaled when a merge mode is not applied, or further flags for additional differentiation can be signaled. Affine modes can be signaled as independent modes or as subordinate modes to merge or MVP modes. For example, affine modes may include affine merge mode and affine MVP mode.

[0157] The encoding device derives the motion information of the current block (S910). Motion information can be derived based on the inter-frame prediction mode.

[0158] The encoding device can use motion information of the current block to perform inter-frame prediction. The encoding device can derive the optimal motion information for the current block through a motion estimation process. For example, the encoding device can use the original block in the original frame of the current block to search for highly correlated similar reference blocks within a predetermined search range in the reference frame, on a fractional pixel basis, and derive motion information using the searched reference blocks. Block similarity can be derived based on the difference of phase-based sample values. For example, block similarity can be calculated based on the sum of absolute differences (SAD) between the current block (or its template) and a reference block (or its template). In this case, motion information can be derived based on the reference block with the minimum SAD in the search area. The derived motion information can be signaled to the decoding device based on the inter-frame prediction mode and various methods.

[0159] The encoding device performs inter-frame prediction based on the motion information of the current block (S920). The encoding device can derive (one or more) prediction samples for the current block based on the motion information. The current block, including the prediction samples, can be called a prediction block.

[0160] Furthermore, as mentioned above, the quantizer of the encoding device can derive the quantized transform coefficients by applying quantization to the transform coefficients. Similarly, the dequantizer of the encoding device or the dequantizer of the decoding device can derive the transform coefficients by applying dequantization to the quantized transform coefficients.

[0161] In video / image coding, the quantization ratio can typically be changed, and the compression ratio can be adjusted using the changed quantization ratio. In terms of implementation, considering complexity, quantization parameters (QPs) can be used instead of directly using the quantization ratio. For example, quantization parameters with integer values ​​from 0 to 63 can be used, and each quantization parameter value can correspond to the actual quantization ratio. Furthermore, for example, the quantization parameter QP for the luma component... Y Quantization parameter QP of chromaticity components C Different configurations are possible.

[0162] During quantization, the transform coefficient C can be an input, and the quantization ratio (Q) can be an input. step The quantization ratio (QP) can be divided, and the quantization transform coefficients C' can be obtained based on the quantization ratio. In this case, the quantization ratio can be generated in integer form by multiplying the quantization ratio by the scale, taking into account computational complexity, and a shift operation can be performed using the value corresponding to the scale value. The quantization scale can be derived based on the product of the quantization ratio and the scale value. That is, the quantization scale can be derived based on QP. For example, the quantization scale can be applied to the transform coefficients C', and the quantization transform coefficients C' can be derived based on the result of the application.

[0163] Dequantization is the inverse process of quantization. In this process, the quantization transformation coefficients C' can be related to the quantization ratio (Q). step The transform coefficients C'' are multiplied, and the reconstructed transform coefficients C'' can be derived from the result of the multiplication. In this case, the level scale can be derived based on the quantization parameters, and the level scale can be applied to the quantized transform coefficients C'', thus deriving the reconstructed transform coefficients C''. Due to losses during the transform and / or quantization process, the reconstructed transform coefficients C'' may differ somewhat from the first transform coefficients C. Therefore, dequantization is performed in the encoding device as in the decoding device.

[0164] Furthermore, adaptive frequency-weighted quantization (IFQ) can be applied to adjust the quantization intensity based on frequency. IFQ is a method that applies different quantization intensities to different frequencies. In IFQ, a predefined quantization scaling matrix can be used to apply different quantization intensities to each frequency. That is, the quantization / dequantization process described above can be performed based on the quantization scaling matrix. For example, to generate the size of the current block and / or the residual signal of the current block, different quantization scaling matrices can be used depending on whether the prediction mode applied to the current block is inter-frame prediction or intra-frame prediction. The quantization scaling matrix can be referred to as the quantization matrix or the scaling matrix. The quantization scaling matrix can be predefined. Furthermore, for frequency-adaptive scaling, the quantization scaling information for each frequency of the quantization scaling matrix can be constructed / encoded in the encoding device and signaled to the decoding device. The quantization scaling information for each frequency can be referred to as quantization scaling information. The quantization scaling information for each frequency can include scaling list data. The (modified) quantization scaling matrix can be derived based on the scaling list data. Additionally, the quantization scaling information for each frequency can include presence flags indicating the presence of scaling list data. Alternatively, if the scaling list data is signaled at a higher level (e.g., SPS), information indicating whether the scaling list data has been modified at a lower level (e.g., PPS or tile group header) of the higher level may also be included.

[0165] As mentioned above, quantization / dequantization can be applied to the luminance and chrominance components based on quantization parameters.

[0166] The quantization parameters of the coding unit can be determined based on information signaled at the frame and / or slice level. For example, the quantization parameters can be derived as described later.

[0167] For example, information related to the derivation of quantization parameters can be signaled through the Sequence Parameter Set (SPS) as shown in the table below.

[0168] [Table 1]

[0169]

[0170] The semantics of the syntactic elements in Table 1 can be the same as those in the table below.

[0171] [Table 2]

[0172]

[0173] For example, the syntax element bit_depth_luma_minus8 can represent BitDepth. Y (i.e., the bit depth of the samples in the brightness array) and QpBdOffset Y(That is, the range offset of the luminance quantization parameter). For example, BitDepth can be derived based on the syntax element bit_depth_luma_minus8. Y and QpBdOffset Y For example, BitDepth Y It can be deduced that the value is obtained by adding 8 to the value of the syntax element bit_depth_luma_minus8. QpBdOffset Y It can be deduced as the value obtained by multiplying the value of the syntax element bit_depth_luma_minus8 by 6. Furthermore, bit_depth_luma_minus8 can be in the range of 0 to 8.

[0174] Furthermore, for example, the syntax element bit_depth_chroma_minus8 can represent BitDepth. c (i.e., the bit depth of the chroma array samples) and QpBdOffset c (That is, the offset of the chroma quantization parameter range). For example, BitDepth can be derived based on the syntax element bit_depth_chroma_minus8. c and QpBdOffset c For example, BitDepth c It can be deduced that this value is obtained by adding 8 to the value of the syntax element bit_depth_chroma_minus8. QpBdOffset c It can be deduced as the value obtained by multiplying the value of the syntax element bit_depth_chroma_minus8 by 6. Furthermore, bit_depth_chroma_minus8 can be in the range of 0 to 8.

[0175] Furthermore, information related to the derivation of quantization parameters can be signaled, for example, through the Picture Parameter Set (PPS) as shown in the table below. This information may include chroma Cb offset, chroma Cr offset, joint chroma offset, and initial quantization parameters. That is, this information may include syntax elements for chroma Cb offset, chroma Cr offset, joint chroma offset, and initial quantization parameters.

[0176] [Table 3]

[0177]

[0178] The semantics of the syntactic elements in Table 3 can be the same as those in the table below.

[0179] [Table 4]

[0180]

[0181] For example, the value obtained by adding 26 to the syntax element init_qp_minus26 can represent the SliceQp of each slice of the reference PPS. Y The initial value of `slice_qp_delta`. If a non-zero value of `slice_qp_delta` is decoded, the initial value of `SliceQpY` can be modified in the slice layer. `init_qp_minus26 0` can be used in -(26+QpBdOffset) Y The range is from +37 to +37.

[0182] Furthermore, for example, the syntax elements pps_cb_qp_offset and pps_cr_qp_offset can respectively represent the elements used to derive Qp′. Cb and Qp′ Cr Brightness quantization parameter Qp' Y The offsets are pps_cb_qp_offset and pps_cr_qp_offset, which can be in the range of -12 to +12. Furthermore, when ChromaArrayType is 0, pps_cb_qp_offset and pps_cr_qp_offset can be omitted during decoding, and the decoding device can ignore the values ​​of syntax elements.

[0183] Furthermore, for example, the syntax element pps_joint_cbcr_qp_offset can represent the derivation of Qp′. CbCr Brightness quantization parameter Qp' Y The offset. pps_joint_cbcr_qp_offset can be in the range of -12 to +12. Furthermore, when ChromaArrayType is 0, pps_joint_cbcr_qp_offset can be omitted during decoding, and the decoding device can ignore the values ​​of syntax elements.

[0184] Furthermore, for example, the syntax element `pps_slice_chroma_qp_offsets_present_flag` can indicate whether the syntax elements `slice_cb_qp_offset` and `slice_cr_qp_offset` exist in the slice header associated with the syntax elements `slice_cb_qp_offset` and `slice_cr_qp_offset`. For instance, a value of 1 for `pps_slice_chroma_qp_offsets_present_flag` indicates that the syntax elements `slice_cb_qp_offset` and `slice_cr_qp_offset` exist in the slice header associated with the syntax elements `slice_cb_qp_offset` and `slice_cr_qp_offset`. Furthermore, for example, a value of 0 for pps_slice_chroma_qp_offsets_present_flag can indicate that the syntax elements slice_cb_qp_offset and slice_cr_qp_offset do not exist in the slice header associated with them. Additionally, when ChromaArrayType is 0, pps_slice_chroma_qp_offsets_present_flag can be the same as 0 during decoding.

[0185] As mentioned above, the syntax elements parsed in PPS can be init_qp_minus26, pps_cb_qp_offset_pps_cr_qp_offset, pps_joint_cbcr_qp_offset, and pps_slice_chroma_qp_offsets_present_flag. The syntax element init_qp_minus26 can represent the SliceQp that references each slice of PPS. Y The initial value. Furthermore, the syntax elements pps_cb_qp_offset, pps_cr_qp_offset, and pps_joint_cbcr_qp_offset can represent the luminance quantization parameter Qp'. Y The offset. Additionally, the syntax element pps_slice_chroma_qp_offsets_present_flag can indicate whether an offset parameter exists in the slice header.

[0186] In addition, for example, information related to the derivation of quantization parameters can be signaled through the slice header as shown in the table below.

[0187] [Table 5]

[0188]

[0189] The semantics of the syntactic elements in Table 5 can be the same as those in the table below.

[0190] [Table 6]

[0191]

[0192]

[0193] For example, slice_qp_delta can represent the Qp to be used in the coded blocks within a slice. Y The initial value is maintained until it is modified by the value of CuQpDeltaVal in the coding unit layer. For example, the Qp of the slice. Y The initial value of SliceQp Y This can be deduced as 26 + init_qp_minus26 + slice_qp_delta. SliceQp Y The value can be found in -QpBdOffset Y Within the range of +63.

[0194] Furthermore, for example, slice_cb_qp_offset can represent the value when the quantization parameter Qp' is determined. Cb The value of slice_cb_qp_offset is the difference between the slice_offset and the value of pps_cb_qp_offset. The value of slice_cb_qp_offset can be in the range of -12 to +12. Furthermore, for example, if slice_cb_qp_offset does not exist, then slice_cb_qp_offset can be inferred to be 0. The value of pps_cb_qp_offset + slice_cb_qp_offset can be in the range of 12 to +12.

[0195] Furthermore, for example, slice_cr_qp_offset can represent the value when the quantization parameter Qp' is determined. Cr The value of slice_cr_qp_offset is the difference between the slice_offset and the value of pps_cr_qp_offset. The value of slice_cr_qp_offset can be in the range of -12 to +12. Furthermore, for example, if slice_cr_qp_offset does not exist, then slice_cr_qp_offset can be inferred to be 0. The value of pps_cr_qp_offset + slice_cr_qp_offset can be in the range of 12 to +12.

[0196] Furthermore, for example, slice_cbcr_qp_offset can represent the value when the quantization parameter Qp' is determined.CbCr The value of slice_cbcr_qp_offset is the difference between the slice_offset and the value of pps_cbcr_qp_offset. The value of slice_cbcr_qp_offset can be in the range of -12 to +12. Furthermore, for example, if slice_cbcr_qp_offset does not exist, then slice_cbcr_qp_offset can be inferred to be 0. The value of pps_cbcr_qp_offset + slice_cbcr_qp_offset can be in the range of 12 to +12.

[0197] The derivation of the luminance quantization and chrominance quantization parameters can begin with the fact that the inputs to the process are the luminance position, parameters specifying the width and height of the current coding block, and parameters specifying whether it is a single-tree or dual-tree quantization. Furthermore, as described above, the luminance quantization parameter, chrominance quantization parameter, and joint chrominance quantization parameter can be represented as Qp'. Y Qp' Cb Qp' Cr and Qp' CbCr .

[0198] Furthermore, for example, the syntax element cu_qp_delta_sign_flag representing the symbol of CuQpDeltaVal can be resolved. For instance, cu_qp_delta_sign_flag can represent the symbol of CuQpDeltaVal as follows.

[0199] For example, when cu_qp_delta_sign_flag is 0, the CuQpDeltaVal corresponding to cu_qp_delta_sign_flag can have a positive value. Alternatively, for example, when cu_qp_delta_sign_flag is 1, the CuQpDeltaVal corresponding to cu_qp_delta_sign_flag can have a negative value. Furthermore, if cu_qp_delta_sign_flag does not exist, then cu_qp_delta_sign_flag can be inferred to be 0.

[0200] Furthermore, for example, if cu_qp_delta_abs exists, the parameter IsCuQpDeltaCoded can be deduced to be 1. The parameter CuQpDeltaVal can be deduced as cu_qp_delta_abs * (1 - 2 * cu_qp_delta_sign_flag). CuQpDeltaVal can be in the range of -(32 + QpBdOffsetY / 2) to +(31 + QpBdOffsetY / 2).

[0201] Subsequently, for example, the brightness quantization parameter Qp′Y It can be derived from the following formula.

[0202] [Formula 1]

[0203] Qp Y =(qP Y_PRED +CuQpDeltaVal+64+2*QpBdOffset Y )%(64+QpBdOffset Y ))-QpBdOffset Y

[0204] In addition, if ChromaArrayType is not 0 and treeType is SINGLE_TREE or DUAL_TREE_CHROMA, the following can be applied.

[0205] - When treeType equals DUAL_TREE_CHROMA, parameter Qp Y The luminance quantization parameter Qp can be used with the luminance coding unit, which includes the luminance position (xCb+cbWidth / 2, yCb+cbHeight / 2). Y Set the same way.

[0206] -Parameter qP Cb qP Cr and qP CbCr The following derivation can be made.

[0207] [Equation 2]

[0208] qPi Cb =Clip3(-QpBdOffset) C 69, Qp Y +pps_cb_qp_offset+slice_cb_qp_offset)

[0209] qPi Cr =Clip3(-QpBdOffset) C 69, Qp y +pps_cr_qp_offset+slice_cr_qp_offset)

[0210] qPi CbCr =Clip3(-QpBdOffsct C 69, Qp Y +pps_joint_cbcr_qp_offsct+slicc_joint_cbcr_qp_offsct)

[0211] For example, when ChromaArrayType is 1, the parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCr The same index qPi is set in the same way as the QpC value specified in Table 7.

[0212] [Table 7]

[0213] qPi <30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 >43 <![CDATA[QP c ]]> =qPi 29 30 31 32 33 33 34 34 35 35 36 36 37 37 =qPi-6

[0214] Alternatively, when ChromaArrayType is not 1, the parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbC The same index qPi is set in the same way as Min(qPi, 63).

[0215] - The colorimetric parameters Qp′ for the Cb and Cr components Cb and Qp′ Cr and the colorimetric parameter Qp′ used for joint Cb-Cr encoding CbCr The following derivation can be made.

[0216] [Formula 3]

[0217] QP' Cb =qP Cb +QpBdOffset C

[0218] Qp′ Cr =qP Cr +QpBdOffset C

[0219] Qp′ CbCr =qP CbCr +QpBdOffset C

[0220] Furthermore, this paper proposes a scheme to improve coding efficiency during the quantization / dequantization process.

[0221] In its implementation, this document proposes a method for defining and using a user-defined chroma quantization mapping table when ChromaArrayType is not 0 (e.g., when ChromaArrayType is 1), instead of using existing VVCDs. raThis document describes a method for deriving chromaticity parameter values ​​from luminance quantization parameter values ​​using a predefined chromaticity mapping table in FT5 v.7. In the VVC specification text (e.g., VVC Draft5 v.7), when qPi (luminance quantization parameter value) is given, Qpc (chromaticity parameter value) is derived using a predefined chromaticity mapping table (e.g., Table 7). However, this document proposes a method for deriving Qpc from qPi based on a user-defined chromaticity mapping table. According to the implementation of this document, a method is proposed in which Qpc values ​​can be derived from a functional relationship of qpi values. This function can be signaled via a user-defined functional method as a syntax signal such as APS, SPS, or PPS, which includes the function relationship of predefined syntax elements. The user defines the chromaticity mapping table based on the sent values. For example, since Qpc values ​​can be derived from a functional relationship of qpi values, if the syntax element value representing the corresponding function is sent, the user-defined chromaticity mapping table can be derived in a form such as Table 7.

[0222] In the implementation, a scheme is proposed to signal information about the syntax elements (Qpc_data) representing the colorimetric mapping related functions, as described later in the table below in the Adaptive Parameter Set (APS).

[0223] [Table 8]

[0224]

[0225] Referring to Table 8, if aps_params_type represents Qpc_APS, for example, when the value of aps_params_type is 2, a signal can be sent to notify Qpc_data().

[0226] The semantics of the syntactic elements in Table 8 can be the same as those in the following table.

[0227] [Table 9]

[0228]

[0229] For example, the syntax element adaptation_parameter_set_id can provide an identifier for the APS that is referenced by other syntax elements.

[0230] Furthermore, for example, the syntax element `aps_extension_flag` can indicate whether the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure. For instance, a value of 1 for `aps_extension_flag` indicates that the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure, while a value of 0 indicates that the `aps_extension_data_flag` syntax element does not exist in the APS RBSP syntax structure.

[0231] Furthermore, for example, the syntax element `aps_extension_data_flag` can have any value. The presence (existence and value) of `aps_extension_data_flag` does not affect the decoding suitability of the profile specified in this version of the standard. For example, decoding devices conforming to this version of the standard may ignore all syntax elements `aps_extension_data_flag`.

[0232] In addition, for example, the syntax element aps_params_type can indicate the type of APS parameters included in the APS, as shown in Table 10.

[0233] [Table 10]

[0234] aps_params_type The name of aps_params_type Types of APS parameters 0 ALF_APS ALF parameters 1 LMCS_APS LMCS parameters 2 <![CDATA[Qp C _APS]]> Qpc data parameters 3..7 Reserved Reserved

[0235] For example, referring to Table 10, when the value of the syntax element `aps_params_type` is 0, the syntax element `aps_params_type` can indicate that the APS parameter is of type ALF parameter. When the value of the syntax element `aps_params_type` is 1, the syntax element `aps_params_type` can indicate that the APS parameter is of type LMCS parameter. When the value of the syntax element `aps_params_type` is 2, the syntax element `aps_params_type` can indicate that the APS parameter is of type Qpc data parameter. Qpc data parameter can represent colorimetric data parameter.

[0236] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0237] For example, this embodiment proposes a method of signaling a user-defined Qp in the Picture Parameter Set (PPS). CData scheme. As an example of implementing the scheme proposed in this embodiment, a flag indicating whether the PPS includes user-defined data can be introduced in the SPS. That is, the flag indicating whether the PPS includes user-defined data can be signaled in the SPS. Furthermore, according to this embodiment, user-defined data can be signaled in the PPS. Alternatively, user-defined data can be signaled centrally at the slice head and / or the other end.

[0238] The flag indicating whether PPS includes user-defined data can be signaled as shown in the table below.

[0239] [Table 11]

[0240]

[0241] For example, the syntax element `Qpc_data_default_flag` can be a syntax element of the aforementioned flags. The syntax element `Qpc_data_default_flag` can indicate whether the `Qpc_data()` parameter exists in the PPS RBSP syntax structure. For example, `Qpc_data_default_flag` being 0 indicates that the `Qpc_data()` parameter does not exist in the PPS RBSP syntax structure and a default table is used to help determine color quantization. In this case, the default table can be the same as Table 7. Furthermore, for example, `Qpc_data_default_flag` being 1 indicates that the `Qpc_data()` parameter may exist in the PPS RBSP syntax structure.

[0242] Furthermore, the user-defined data for sending signal notifications in PPS according to this embodiment can be the same as the table below.

[0243] [Table 12]

[0244]

[0245] In addition, for example, when ChromaArrayType is 1, Qpc_data() can include the information required for chromaticity derivation.

[0246] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0247] For example, this embodiment proposes a flexible structure for deriving chromaticity quantification parameters (QPs) and combined chromaticity QPs. This embodiment also proposes a scheme for signaling an initial flag indicating the presence of a user-defined mode, in which parameters representing the function used to derive the chromaticity quantification parameters (QPs) in SPS and / or PPS can be used.

[0248] For example, the flag information for signaling using advanced syntax proposed in this embodiment can be the same as the table described later.

[0249] [Table 13]

[0250]

[0251] For example, `Qpc_data_present_flag` can indicate whether a parameter used to derive colorimetric parameters exists in the high-level RBSP syntax structure. For instance, a `Qpc_data_present_flag` value of 0 indicates that the colorimetric parameter does not exist in the high-level RBSP syntax structure. Conversely, a `Qpc_data_present_flag` value of 1 indicates that the colorimetric parameter exists in the high-level RBSP syntax structure.

[0252] Alternatively, the syntax element Qpc_data_present_flag can be used to indicate the scheme for using colorimetric derivation in the bitstream. For example, the syntax element Qpc_data_present_flag can indicate the use of a tool or user-defined pattern for colorimetric derivation as follows.

[0253] For example, `Qpc_data_present_flag` can indicate whether a user-defined colorimetric is used in the bitstream. For instance, a `Qpc_data_present_flag` value of 0 indicates that the user-defined colorimetric is not used in the bitstream. Furthermore, a `Qpc_data_present_flag` value of 1 indicates that the user-defined colorimetric is used alone or in conjunction with another flag.

[0254] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0255] For example, this embodiment proposes how to derive the colorimetric parameter (QP) using user-defined information that is signaled in a function, i.e., Qp` Cb Qp` Cr and Qp` CbCr The implementation method is as follows. For example, according to this implementation method, data representing the function used to derive the colorimetric quantization parameter (QP) can be signaled, and the colorimetric quantization parameter can be derived based on the colorimetric quantization data. The data (or a user-defined QP mapping table) used for deriving the colorimetric quantization parameter can be signaled in the table below.

[0256] [Table 14]

[0257]

[0258] The semantics of the syntax elements in Table 14 may be the same as the following table.

[0259] [Table 15]

[0260]

[0261]

[0262] For example, the syntax element qPi_min_idx may represent the minimum qPi index used in chrominance quantization.

[0263] In addition, for example, the syntax element qPi_delta_max_idx may represent the delta value between Qpi_min_idx and the maximum qPi index used in chrominance Qp c derivation. The value of qPiMaxIdx may be greater than or equal to qPi_min_idx. For example, the maximum index qPiMaxIdx used for Qp c derivation may be derived as in the following equation.

[0264] [Equation 4]

[0265] qPiMaxIdx = qPi_min_idx + qPi_delta_max_idx

[0266] In addition, for example, the syntax element Qp C _qPi_val[i] may represent the Qp of the i-th index C value.

[0267] In addition, for example, the syntax element QpOffset C may represent the offset value used to derive Qp C .

[0268] In addition, for example, the parameter Qp for qPi C Idx[qPi] may be derived as follows. In this case, qPi may range from 0 to qPiMaxIdx.

[0269] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0270] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set to be the same as Qp C _qPi_val[qPi].[[:END]]

[0271] - When qPi>qPiMaxIdx, Qp CIdx[qPi] can be set to qPi - QpOffset C .

[0272] After that, Qp C The value can be derived as Qp C Idx[qPi].

[0273] For example, according to this embodiment, if the process of deriving the quantization parameters is described in a standard format, the process can be represented in the table below.

[0274] [Table 16]

[0275]

[0276]

[0277]

[0278]

[0279] Referring to Table 16, the derivation of the luminance quantization parameters and chrominance quantization parameters can begin with the fact that the input to this process is the luminance position (xCb, yCb), the parameters cbWidth and cbHeight specifying the width and height of the current coding block, and the parameter treeType specifying whether it is a single tree or a dual tree. Furthermore, as described above, the luminance quantization parameters and chrominance quantization parameters can be represented as Qp'. Y Qp' Cb and Qp' Cr .

[0280] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0281] For example, this embodiment presents an example where the flag within SPS has a user-defined mode or a default mode, using syntax elements that can be used to control the derivation of quantization parameters. Examples of syntax elements that can be used to derive quantization parameters can be the same as those in the table below. Furthermore, for example, the structure of the syntax elements is not limited to the structure shown in the table below.

[0282] [Table 17]

[0283]

[0284] [Table 18]

[0285]

[0286] [Table 19]

[0287]

[0288] For example, the syntax element `Qpc_data_default_flag` can indicate whether a user-defined pattern is used for quantization parameter derivation. For instance, a `Qpc_data_default_flag` value of 0 indicates that the user-defined pattern is used for quantization parameter derivation. Furthermore, a `Qpc_data_default_flag` value of 1 indicates that a default table is used for colorimetric quantization parameter derivation. In this case, the default table can be the same as Table 7. Additionally, if the syntax element `Qpc_data_default_flag` does not exist, it can be inferred to be 1.

[0289] Furthermore, if a user-defined mode is used, the corresponding slice header, tile group / header, or another appropriate header can be used to signal the APS ID. For example, as shown in Table 18, the syntax elements representing the APS ID via the slice header can be signaled.

[0290] For example, the syntax element slice_Qp c _aps_id can represent the Qp referenced by the slice. c The APS's `adaptation_parameter_set_id`. It has an `adaptation_parameter_set_id` (e.g., `slice_Qp`). c Qp of _aps_id) c The TemporalId of an APS NAL unit can be less than or equal to the TemporalId of a coded slice NAL unit. If multiple Qp have the same adaptation_parameter_set_id value... c If an APS is referenced by two or more slices of the same frame, then multiple QPs with the same value in `adaptation_parameter_set_id` will have this effect. c APSs can have the same content.

[0291] Furthermore, the APS structure for transmitting colorimetric data proposed in this embodiment can be the same as that in Table 19.

[0292] For example, the syntax element adaptation_parameter_set_id can provide an identifier for the APS that is referenced by other syntax elements.

[0293] Furthermore, for example, the syntax element `aps_extension_flag` can indicate whether the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure. For instance, a value of 1 for `aps_extension_flag` indicates that the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure. A value of 0 for `aps_extension_flag` indicates that the `aps_extension_data_flag` syntax element does not exist in the APS RBSP syntax structure.

[0294] Furthermore, for example, the syntax element `aps_extension_data_flag` can have any value. The presence (existence and value) of `aps_extension_data_flag` does not affect the decoding suitability of the profile specified in this version of the standard. For example, decoding devices conforming to this version of the standard may ignore all syntax elements `aps_extension_data_flag`.

[0295] In addition, for example, the syntax element aps_params_type can indicate the type of APS parameters included in the APS, as shown in Table 10.

[0296] The Qpc_data() function disclosed in Table 19 can be used to send signals as shown in the table below.

[0297] [Table 20]

[0298]

[0299] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization.

[0300] Furthermore, for example, the syntax element qPi_delta_max_idx can represent Qpi_min_idx and the chroma Qp. c The derived incremental value between the maximum qPi indices. The value of qPiMaxIdx can be greater than or equal to qPi_min_idx. For example, for Qp c The derived maximum index qPiMaxIdx can be derived similarly to Equation 4.

[0301] Furthermore, for example, by combining 1 with the syntax element Qp c The value obtained by adding _prec_minus1 can represent the number of bits used to represent the syntax lmcs_delta_abs_cw[i]. Qp c The value of _prec_minus1 can be between 0 and BitDepth.Y in the range of -2.

[0302] In addition, for example, the syntax element Qp c _init_val may represent the Qp corresponding to qPi_min_idx C value.

[0303] In addition, for example, the syntax element Qp C _qPi_delta_val[i] may represent the increment of the Qp of the i-th index C value.

[0304] In addition, for example, the syntax element QpOffset C may represent the offset value used to derive Qp c .

[0305] For example, the parameter Qp of qPi C Idx[qPi] may be derived as follows. In this case, qPi may be 0 to qPiMaxIdx.

[0306] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0307] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set as Qp c _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0308] - When qPi>qPiMaxIdx, Qp C Idx[qPi] may be set as qPi-QpOffset C .

[0309] Thereafter, the value of Qp C may be derived as Qp C Idx[qPi].

[0310] As in the above embodiments, the signaled user-defined information or the default values shown in the default table (for example, Table 7) may be used to derive the chrominance quantization parameters, that is, Qp`Cb, Qp`Cr and Qp`CbCr.

[0311] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process may be represented in the following table.

[0312] [Table 21]

[0313]

[0314]

[0315]

[0316]

[0317]

[0318] Referring to Table 21, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notification as presented in this embodiment. When ChromaArrayType is 1 and Qp c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr They can be based on the same index qPi. Cb qPi Cr and qPi CbCr Inferring from the default table.

[0319] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0320] For example, this embodiment proposes a syntax element that can be used to control the derivation of quantization parameters by indicating a user-defined mode or a default mode via a flag in the SPS. Specifically, this embodiment proposes a scheme for signaling syntax elements for the following syntax structures. Furthermore, the structure of the syntax element is illustrative and is not limited to the structure shown in the table below.

[0321] [Table 22]

[0322]

[0323] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization.

[0324] Furthermore, for example, the syntax element qPi_delta_max_idx can represent Qpi_min_idx and the value used for chroma Qp. c The derived incremental value between the maximum qPi indices. The value of qPiMaxIdx can be greater than or equal to qPi_min_idx. For example, for Qp c The derived maximum index qPiMaxIdx can be derived similarly to Equation 4.

[0325] In addition, for example, the syntax element Qp C _qPi_delta_val[i] can represent the Qp at index i. C The increment of the value.

[0326] In addition, for example, the syntax element QpOffset C This can be used to derive Qp c The offset value (as mentioned above).

[0327] As in the embodiments described above, the colorimetric parameters, namely Qp`Cb, Qp`Cr, and Qp`CbCr, can be derived using user-defined information that sends a signal or default values ​​used in tables such as Table 7.

[0328] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0329] [Table 23]

[0330]

[0331]

[0332]

[0333]

[0334] Referring to Table 23, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. For example, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp cwhen _data_default_flag is 0), the parameter qP Cb , qP Cr and qP CbCr can be derived respectively based on the same index qPi as qPi Cb , qPi Cr and qPi CbCr in the same manner as the value of Qp C .

[0335] For example, the parameter Qp C Idx[i] can be derived as follows.

[0336] - When i<qPi_min_idx, Qp C Idx[qPi] can be set to be the same as qPi.

[0337] - When i=qPi_min_idx…qPiMaxIdx, Qp C Idx[i] can be set as Qp C _qPi_delta_val[i]+Qp C Idx[i-1].

[0338] - When i>qPiMaxIdx, Qp C Idx[i] can be set as qPi-QpOffset C .

[0339] Thereafter, Qp C can be set as Qp C Idx[i].

[0340] In addition, referring to Table 23, when ChromaArrayType is 1 and Qp c _data_default_flag indicates true (i.e., for example, when Qp c _data_default_flag is 1), the parameter qP Cb , qP Cr and qP CbCr can be derived respectively through a default table based on the same index qPi as qPi Cb , qPi Cr and qPi CbCr .

[0341] In addition, this document proposes another embodiment for signaling quantization parameter information.

[0342] For example, this embodiment proposes chroma quantization (Qp CSyntax elements for deducing parameters. For example, the APS ID can be signaled in the slice header. Furthermore, for example, a flag can be proposed within the Picture Parameter Set (PPS) to indicate whether to use the default table or a table deduced from information signaled from the APS. Additionally, for example, if the default table is not used, it is used to support access to Qp... C Additional control schemes for the APS of the data can be added to the slice header.

[0343] Furthermore, according to existing video / image standards, chroma QP can be derived from luminance QP and can be updated via a separately signaled chroma QP offset. Existing chroma quantization parameter Qp C The table can be a default table (e.g., Table 7).

[0344] This implementation proposes adding a function qPi as an index to signal the colorimetric parameter Qp. C APS functions. APS can be used to integrate Qp. C Signaling scheme for value.

[0345] For example, the APS according to this embodiment can be the same as the table below.

[0346] [Table 24]

[0347]

[0348] For example, the syntax element adaptation_parameter_set_id can provide an identifier for the APS that is referenced by other syntax elements.

[0349] In addition, for example, the syntax element aps_params_type can indicate the type of APS parameters included in the APS, as shown in Table 10.

[0350] Furthermore, for example, the syntax element `aps_extension_flag` can indicate whether the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure. For instance, a value of 1 for `aps_extension_flag` indicates that the `aps_extension_data_flag` syntax element exists in the APS RBSP syntax structure, while a value of 0 indicates that the `aps_extension_data_flag` syntax element does not exist in the APS RBSP syntax structure.

[0351] Furthermore, for example, the syntax element `aps_extension_data_flag` can have any value. The presence (existence and value) of `aps_extension_data_flag` does not affect the decoding suitability of the profile specified in this version of the standard. For example, decoding devices conforming to this version of the standard may ignore all syntax elements `aps_extension_data_flag`.

[0352] The Qp disclosed in Table 24 c The _data() function can send signals as shown in the table below.

[0353] [Table 25]

[0354]

[0355] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization. The value of qPi_min_idx can be in the range of 0 to 63.

[0356] Furthermore, for example, the syntax element qPi_delta_max_idx can represent Qpi_min_idx and the chroma Qp. c The derived incremental value between the maximum qPi indices. The value of qPiMaxIdx can be greater than or equal to qPi_min_idx. Furthermore, for example, the value of qPi_delta_max_idx can be in the range of 0 to 63. For example, for Qp... c The derived maximum index qPiMaxIdx can be derived similarly to Equation 4.

[0357] In addition, for example, the syntax element Qp C _qPi_delta_val[i] can represent the Qp at index i. C The difference between values. This difference can also be called the increment.

[0358] In addition, for example, the syntax element Qp C Offset C _present_flag can indicate whether QpOffset exists in the bitstream. C For example, Qp with a value of 1 C Offset C _present_flag can indicate the presence of QpOffset in the bitstream. C Furthermore, for example, Qp with a value of 0. C Offset C _present_flag can indicate that QpOffset does not exist in the bitstream. C When QpC Offset C When _present_flag does not exist, Qp C Offset C _present_flag may be inferred as 0.

[0359] Further, for example, the syntax element QpOffset C may represent the offset value used to derive Qp c .

[0360] For example, the parameter Qp of qPi C Idx[qPi] may be derived as follows. In this case, qPi may be 0 to 63.

[0361] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0362] - When qPi=qPi_min_idx...qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0363] - If qPi>qPiMaxIdx, then when Qp C Offset C _present_flag is 1, Qp C Idx[qPi] may be set to qPi-QpOffset C . If Qp C Offset C _present_flag is not 1, that is, if Qp C Offset C _present_flag is 0, then Qp C Idx[qPi] may be set to qPi-(qPiMaxIdx-Qp C Idx[qPiMaxIdx]).

[0364] Thereafter, the value of Qp C may be derived as Qp C Idx[qPi].

[0365] Furthermore, the present embodiment proposes the flags signaled as PPS in the following table.

[0366] [Table 26]

[0367]

[0368] For example, the syntax element Qp c The `_data_default_flag` flag indicates whether a user-defined pattern is used for quantization parameter derivation. For example, a value of 0 for `Qp`... c `_data_default_flag` can represent a user-defined pattern used for quantization parameter derivation. Additionally, for example, a value of 1 for `Qp`... c `_data_default_flag` indicates that the above default table is used for quantization parameter derivation. The default table can be the same as Table 7. If Qp c If _data_default_flag does not exist, then Qp c _data_default_flag can be inferred to be 1.

[0369] Furthermore, this embodiment proposes the following syntax elements as the notification of hair slice signals:

[0370] [Table 27]

[0371]

[0372] For example, the syntax element slice_Qp c _aps_id can represent the Qp referenced by the slice. c The APS's `adaptation_parameter_set_id`. It has an `adaptation_parameter_set_id` (e.g., `slice_Qp`). c Qp of _aps_id) c The TemporalId of an APS NAL unit can be less than or equal to the TemporalId of a coded slice NAL unit. If multiple Qp have the same adaptation_parameter_set_id value... c If an APS is referenced by two or more slices of the same frame, then multiple QPs with the same value in `adaptation_parameter_set_id` will have this property. c APSs can have the same content.

[0373] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0374] [Table 28]

[0375]

[0376]

[0377]

[0378] Referring to Table 28, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. Furthermore, for example, when ChromaArrayType is 1 and Qp... c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCr The same index qPi is derived through the default table.

[0379] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0380] For example, in this embodiment, a user-defined derivation for signaling colorimetric metrics in SPS is proposed as follows. For example, this embodiment proposes a user-defined colorimetric metric (Qp)... C For example, the SPS flag can indicate whether the default table is used for colorimetric derivation or whether the contents of the table used for colorimetric derivation are derived from the information signaled in the SPS.

[0381] For example, this implementation proposes a scheme to perform colorimetric quantization using the syntax elements shown in the table below as the index qPi.

[0382] [Table 29]

[0383]

[0384] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization. The value of qPi_min_idx can be in the range of 0 to 63.

[0385] In addition, for example, the syntax element qPi_delta_max_idx may represent the increment value between Qpi_min_idx and the maximum qPi index derived for chroma Qp c The value of qPiMaxIdx may be greater than or equal to qPi_min_idx. The value of qPi_delta_max_idx may be in the range of 0 to 63. For example, the maximum index qPiMaxIdx derived for Qp c may be derived similarly to Equation 4.

[0386] In addition, for example, the syntax element Qp C _qPi_delta_val[i] may represent the increment of the Qp at the i-th index C value.

[0387] For example, the parameter Qp C Idx[qPi] may be derived as follows.

[0388] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set the same as qPi.

[0389] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0390] - When qPi>qPiMaxIdx, Qp C Idx[qPi] may be set to qPi-(qPiMaxIdx-Qp C Idx[qPiMaxIdx]).

[0391] After that, Qp C may be set to Qp C Idx[qPi].

[0392] In addition, the SPS flag proposed in this embodiment, which indicates whether the default table is used for chroma quantization derivation or whether the signaled information is used for chroma quantization derivation, may be the same as the following table.

[0393] [Table 30]

[0394]

[0395] For example, the syntax element Qp c`_data_default_flag` indicates whether a user-defined pattern is used for quantization parameter derivation. For example, a value of 0 for `Qp`... c `_data_default_flag` can represent a user-defined pattern used for deriving quantization parameters. Additionally, for example, a value of 1 for `Qp`... c `_data_default_flag` indicates the default table used for quantization parameter derivation. The default table can be the same as Table 7. Furthermore, if Qp... c If _data_default_flag does not exist, then Qp c _data_default_flag can be inferred to be 1.

[0396] For example, according to this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0397] [Table 31]

[0398]

[0399]

[0400]

[0401] Referring to Table 31, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. Furthermore, for example, when ChromaArrayType is 1 and Qp... c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCr The same index qPi is derived through the default table.

[0402] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0403] For example, the present embodiment proposes signaling the chroma quantization parameter Qp as a function of the index qPi C function. For example, a scheme for signaling the syntax element of a user-defined table for quantization parameter derivation in the PPS may be proposed. Thus, flexibility to change the user-defined table and the default table in each picture referencing the PPS can be provided.

[0404] The syntax element of the user-defined table signaled in the PPS proposed in the present embodiment may be the same as the following table.

[0405] [Table 32]

[0406]

[0407] For example, the syntax element qPi_min_idx may denote the minimum qPi index used in chroma quantization. The value of qPi_min_idx may be in the range of 0 to 63.

[0408] Furthermore, for example, the syntax element qPi_delta_max_idx may denote the delta value between Qpi_min_idx and the maximum qPi index for chroma Qp c derivation. The value of qPiMaxIdx may be greater than or equal to qPi_min_idx. The value of qPi_delta_max_idx may be in the range of 0 to 63. For example, the maximum index qPiMaxIdx for Qp c derivation may be derived similarly to Equation 4.

[0409] Furthermore, for example, the syntax element Qp C _qPi_delta_val[i] may denote the delta of the Qp at the i-th index C value.

[0410] For example, the parameter Qp C Idx[qPi] may be derived as follows.

[0411] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0412] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0413] - When qPi>qPiMaxIdx, QpC Idx[qPi] can be set to qPi - (qPiMaxIdx - Qp) C Idx[qPiMaxIdx]).

[0414] After that, Qp C It can be set to Qp C Idx[qPi].

[0415] Furthermore, the flags for the SPS proposed in this embodiment, indicating whether the default table is used for colorimetric derivation or whether the signal notification information is used for colorimetric derivation, can be the same as those in the table below.

[0416] [Table 33]

[0417]

[0418] For example, the syntax element Qp c `_data_default_flag` indicates whether a user-defined pattern is used for quantization parameter derivation. For example, a value of 0 for `Qp`... c `_data_default_flag` can represent the user-defined pattern used for quantization parameter derivation. That is, for example, a value of 0 for `Qp`. c _data_default_flag can indicate the use of colorimetric parameter data Qp. c _data(). When Qp c When _data_default_flag is 0, a signal can be sent to notify the colorimetric quantization parameter data Qp. c _data(). Additionally, for example, Qp with a value of 1. c `_data_default_flag` indicates the default table used for quantization parameter derivation. The default table can be the same as Table 7. Furthermore, if Qp... c If _data_default_flag does not exist, then Qp c _data_default_flag can be inferred to be 1.

[0419] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0420] [Table 34]

[0421]

[0422]

[0423]

[0424]

[0425] Referring to Table 34, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. Furthermore, for example, ChromaArrayType is 1 and Qp... c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCr The same index qPi is derived through the default table.

[0426] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0427] For example, this embodiment proposes to derive the concurrent signal notification colorimetric parameter Qp. C The public model.

[0428] The colorimetric parameter data Qp of the colorimetric parameter proposed in this embodiment c The _data() function can send signals as shown in the table below.

[0429] [Table 35]

[0430]

[0431] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization. The value of qPi_min_idx can be in the range of 0 to 63.

[0432] Furthermore, for example, the syntax element qPi_delta_max_idx can represent Qpi_min_idx and the value used for chroma Qp. c The derived incremental value between the maximum qPi indices. The value of qPiMaxIdx can be greater than or equal to qPi_min_idx. The value of qPi_delta_max_idx can be in the range of 0 to 63. For example, for Qpc The derived maximum index qPiMaxIdx can be derived similarly to Equation 4.

[0433] In addition, for example, the syntax element Qp C _qPi_delta_val[i] may represent the increment of the Qp C value of the i-th index.

[0434] For example, the parameter Qp C Idx[qPi] may be derived as follows.

[0435] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0436] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0437] - When qPi>qPiMaxIdx, Qp C Idx[qPi] may be set to qPi-(qPiMaxIdx-Qp C Idx[qPiMaxIdx]).

[0438] Thereafter, Qp C may be set to Qp C Idx[qPi].

[0439] In addition, the present embodiment proposes a scheme for signaling a flag indicating whether a default table is used for chroma quantization derivation or whether signaled information is used for chroma quantization derivation. The flag may be signaled through high-level syntax such as a sequence parameter set (SPS) or a picture parameter set (PPS). The flag signaled through the high-level syntax may be the same as the following table.

[0440] [Table 36]

[0441]

[0442] For example, the syntax element Qp c _data_default_flag may indicate whether a user-defined mode is used for the derivation of the quantization parameter. For example, Qp c _data_default_flag with a value of 0 may indicate that the user-defined mode is used for the derivation of the quantization parameter. That is, for example, Qp c_data_default_flag can indicate the use of colorimetric parameter data Qp. c _data(). When Qp c When _data_default_flag is 0, a signal can be sent to notify the colorimetric quantization parameter data Qp. c _data(). Additionally, for example, Qp with a value of 1. c `_data_default_flag` indicates the default table used for quantization parameter derivation. The default table can be the same as Table 7. Furthermore, if Qp... c If _data_default_flag does not exist, then Qp c _data_default_flag can be inferred to be 1.

[0443] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0444] [Table 37]

[0445]

[0446]

[0447]

[0448] Referring to Table 37, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. Furthermore, for example, when ChromaArrayType is 1 and Qp... c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCr The same index qPi is derived through the default table.

[0449] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0450] For example, the present embodiment proposes a scheme for deriving the chroma quantization parameter Qp without an offset C table. This embodiment may be proposed for use with an APS or used independently. For example, the syntax structure of the APS integrated with chroma quantization data may be the same as the following table.

[0451] [Table 38]

[0452]

[0453] For example, the syntax element qPi_min_idx may represent the minimum qPi index used in chroma quantization. The value of qPi_min_idx may be in the range from 0 to 63.

[0454] In addition, for example, the syntax element qPi_delta_max_idx may represent the delta value between Qpi_min_idx and the maximum qPi index used for chroma Qp c derivation. The value of qPiMaxIdx may be greater than or equal to qPi_min_idx. The value of qPi_delta_max_idx may be in the range from 0 to 63. For example, the maximum index qPiMaxIdx for Qp c derivation may be derived similarly to Equation 4.

[0455] In addition, for example, the syntax element Qp C _qPi_delta_val[i] may represent the difference between the Qp at the i-th index C values. This difference may also be referred to as a delta.

[0456] For example, the parameter Qp C Idx[qPi] may be derived as follows. In this case, qPi may be from 0 to 63.

[0457] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0458] - When qPi=qPi_min_idx...qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_delta_val[qPi]+Qp C Idx[qPi-1].

[0459] - When qPi>qPiMaxIdx, Qp C Idx[qPi] may be set to qPi-(qPiMaxIdx-QpC Idx[qPiMaxIdx]).

[0460] After that, Qp C It can be set to Qp C Idx[qPi].

[0461] In addition, this document proposes another implementation method for signaling information about quantization parameters.

[0462] For example, this implementation presents a continuous Qp as an example. C A scheme in which the increment (or difference) between values ​​is limited to 1.

[0463] For example, this implementation proposes a method that additionally includes user-defined colorimetric quantization (Qp) in existing image / video standards. C The scheme can be described as follows: For example, the flag of the Sequence Parameter Set (SPS) proposed in this embodiment can indicate whether the existing default table is used for chromaticity parameter derivation or whether the table content is derived based on the signal notification information in the SPS. A suitable scheme for encoding the image can be selected by adapting the user-defined chromaticity according to this embodiment, and encoding efficiency can be improved.

[0464] For example, this implementation proposes using the syntax elements in the table below to add a function as an index qPi to signal the colorimetric quantization Qp. C The function.

[0465] [Table 39]

[0466]

[0467] For example, the syntax element qPi_min_idx can represent the minimum qPi index used in colorimetric quantization. The value of qPi_min_idx can be in the range of 1 to 63.

[0468] Furthermore, for example, the syntax element qPi_delta_max_idx can represent Qpi_min_idx and the chroma Qp. c The derived incremental value between the maximum qPi indices. The value of qPiMaxIdx can be greater than or equal to qPi_min_idx. The value of qPi_delta_max_idx can be in the range of 1 to 63. For example, for Qp c The derived maximum index qPiMaxIdx can be derived similarly to Equation 4.

[0469] Furthermore, for example, the syntax element QpC_qPi_flag[i] can represent Qp Cvalue is incremented by 1. That is, for example, the syntax element QpC_qPi_flag[i] may indicate the i-th Qp C value and the (i-1)-th Qp C value compared to each other whether the former has been incremented by 1. For example, QpC_qPi_flag[i] with a value of 1 may indicate that the Qp C value is incremented by 1. QpC_qPi_flag[i] with a value of 0 may indicate that the Qp C value is not incremented.

[0470] For example, the parameter Qp C Idx[qPi] may be derived as follows. In this case, qPi may be 0 to 63.

[0471] - When qPi<qPi_min_idx, Qp C Idx[qPi] may be set to be the same as qPi.

[0472] - When qPi=qPi_min_idx…qPiMaxIdx, Qp C Idx[qPi] may be set to Qp C _qPi_flag[qPi]+Qp C Idx[qPi-1].

[0473] - When qPi>qPiMaxIdx, Qp C Idx[qPi] may be set to qPi-(qPiMaxIdx-Qp C Idx[qPiMaxIdx]).

[0474] Thereafter, Qp C may be set to Qp C Idx[qPi].

[0475] In addition, the present embodiment proposes a scheme of signaling a flag that indicates whether a default table is used for chroma quantization derivation or whether signaled information is used for chroma quantization derivation. The flag may be signaled by high-level syntax such as a sequence parameter set (SPS) or a picture parameter set (PPS). The flag signaled by the high-level syntax may be the same as the following table.

[0476] [Table 40]

[0477]

[0478] For example, the syntax element Qp c _data_default_flag may indicate whether a user-defined mode is used for derivation of the quantization parameter. For example, Qp with a value of 0 c`_data_default_flag` can represent the user-defined pattern used for quantization parameter derivation. That is, for example, a value of 0 for `Qp`. c _data_default_flag can indicate the use of colorimetric parameter data Qp. c _data(). When Qp c When _data_default_flag is 0, a signal can be sent to notify the colorimetric quantization parameter data Qp. c _data(). Additionally, for example, Qp with a value of 1. c `_data_default_flag` indicates the default table used for quantization parameter derivation. The default table can be the same as Table 7. Furthermore, if Qp... c If _data_default_flag does not exist, then Qp c _data_default_flag can be inferred to be 1.

[0479] For example, in this embodiment, if the process of deriving the quantization parameters is written in a standard format, the process can be represented in the table below.

[0480] [Table 41]

[0481]

[0482]

[0483]

[0484] Referring to Table 41, when ChromaArrayType is 1 and Qp c _data_default_flag indicates false (i.e., for example, when Qp c When _data_default_flag is 0, parameter qP Cb qP Cr and qP CbCr This can be derived based on user-defined information for signaling notifications as presented in this embodiment. Furthermore, for example, when ChromaArrayType is 1 and Qp... c _data_default_flag indicates true (i.e., for example, when Qp c When _data_default_flag is 1, parameter qP Cb qP Cr and qP CbCr It can be based on qPi respectively Cb qPi Cr and qPi CbCrThe same index qPi is derived through the default table.

[0485] Figure 10 An image encoding method of the encoding device according to this document is illustrated schematically. Figure 10 The method disclosed in the article can be derived from Figure 2 The encoding device disclosed in the document executes the code. Specifically, for example, Figure 10 S1000 to S1010 in the encoding device can be executed by the entropy encoder. Furthermore, although not shown, the process of generating reconstructed samples and reconstructed images based on residual samples and predicted samples can be executed by the adder of the encoding device.

[0486] The encoding device encodes the image information (S1000). For example, the encoding device may generate quantization parameter data for combining chroma encoding based on the chroma type of the current chroma block, generate a flag indicating whether quantization parameter data for combining chroma encoding exists, and encode the image information including the quantization parameter data and the flag.

[0487] Specifically, for example, the encoding device can derive the prediction sample of the current chroma block based on the prediction mode. In this case, various prediction methods disclosed in this document, such as inter-frame prediction or intra-frame prediction, can be used.

[0488] For example, the encoding device can determine whether to perform inter-frame prediction or intra-frame prediction for the current chroma block, and can determine a detailed inter-frame prediction mode or a detailed intra-frame prediction mode based on the RD cost. The encoding device can then derive prediction samples for the current chroma block based on the determined mode.

[0489] Alternatively, for example, the encoding device can derive the residual sample by subtracting the original sample from the predicted sample of the current chroma block.

[0490] Additionally, for example, the encoding device can generate quantization parameter data for combined chroma encoding of residual samples based on the chroma type. In this case, the chroma type can refer to the ChromaArrayType mentioned above. For example, if the value of the chroma type is not 0, the encoding device can generate quantization parameter data for combined chroma encoding. For example, when the value of the chroma type is 1, the decoding device can generate quantization parameter data for combined chroma encoding. In this case, when the value of the chroma type is 0, the chroma type can be a monochrome format. When the value of the chroma type is 1, the chroma type can be a 4:2:0 format. When the value of the chroma type is 2, the chroma type can be a 4:2:2 format. When the value of the chroma type is 3, the chroma type can be a 4:4:4 format. Furthermore, combined chroma encoding can also be referred to as joint encoding of chroma components. Chroma components can include Cb components and / or Cr components.

[0491] Furthermore, for example, the encoding device can determine whether to perform combined chroma coding on the residual samples of the chroma components based on the chroma type (e.g., when the value of the chroma type is not 0). If combined chroma coding is performed on the residual samples, quantization parameter data for the combined chroma coding of the residual samples can be generated. For example, the quantization parameter data can be signaled via high-level syntax. For example, the quantization parameter data can be signaled via a sequence parameter set (SPS), a picture parameter set (PPS), a slice header, or an adaptive parameter set (APS).

[0492] For example, quantization parameter data may include syntax elements representing the starting index of a chroma quantization parameter table used for combining chroma encoding and / or syntax elements representing the difference between the starting and ending indices of the chroma quantization parameter table. The syntax element representing the starting index may be qPi_min_idx as described above. Furthermore, the syntax element representing the difference between the starting and ending indices may be qPi_delta_max_idx. Additionally, the chroma quantization parameter table may also be called a chroma quantization parameter map or a user-defined quantization parameter map. Furthermore, the starting index may also be called the minimum index. Furthermore, for example, the syntax elements representing the starting index and / or the syntax elements representing the difference between the starting and ending indices can be signaled via high-level syntax. For example, the syntax elements representing the starting index and / or the syntax elements representing the difference between the starting and ending indices can be signaled via a Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0493] Furthermore, for example, the quantization parameter data may include syntax elements of the quantization parameter values ​​for the indices of the colorimetric quantization parameter table. That is, for example, the quantization parameter data may include syntax elements of the quantization parameter values ​​for the respective indices of the colorimetric quantization parameter table. The syntax element of the quantization parameter value for the index may be the Qp mentioned above. C _qPi_val[i]. Furthermore, for example, syntax elements that signal the quantization parameter value of an index can be used via high-level syntax. For example, syntax elements that signal the quantization parameter value of an index can be used via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0494] Furthermore, for example, the quantization parameter data may include syntax elements representing offsets used to derive quantization parameters for combined chroma encoding. The syntax element representing the offset could be QpOffset as described above. C Furthermore, for example, the syntax elements representing offsets can be signaled via high-level syntax. For instance, the syntax elements representing offsets can be signaled via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0495] Furthermore, for example, the encoding device can derive the quantization parameters used for combining chroma encoding based on quantization parameter data. The quantization parameters used for combining chroma encoding can represent the aforementioned QP`. CbCr .

[0496] For example, as described above, a chromaticity quantization parameter table can be derived based on syntax elements representing the starting index of the chromaticity quantization parameter table, syntax elements representing the difference between the starting and ending indices of the chromaticity quantization parameter table, and / or syntax elements representing the quantization parameter values ​​of the indices of the chromaticity quantization parameter table. That is, for example, a chromaticity quantization parameter table for combined chromaticity coding can be derived based on quantization parameter data. Subsequently, indices for combined chromaticity coding can be derived based on the quantization parameters of the luminance components. Quantization parameters for combined chromaticity coding can be derived based on the quantization parameters of the indices of the chromaticity quantization parameter table. That is, for example, quantization parameters for combined chromaticity coding can be derived based on the quantization parameters of indices in the chromaticity quantization parameter table that are the same as the quantization parameters of the luminance components.

[0497] For example, quantization parameters used for combining chroma encoding (e.g., QP') CbCr This can be achieved by combining the offset with the quantization parameter (e.g., QP) of the colorimetric quantization parameter table. CbCr The offset can be derived by adding them together. The offset can be derived based on the syntax elements that represent the offsets used to derive the quantization parameters used for combining chroma codes.

[0498] The encoding device generates a flag indicating whether quantization parameter data for combining chroma encoding exists (S730). For example, the encoding device can generate the flag based on the chroma type. For example, when the value of the chroma type is not 0, the encoding device can generate a flag indicating whether quantization parameter data for combining chroma encoding exists. For example, when the value of the chroma type is 1, the encoding device can generate a flag indicating whether quantization parameter data for combining chroma encoding exists. For example, the syntax element of this flag can be the Qp described above. C _data_present_flag.

[0499] For example, a value of 0 indicates that the quantization parameter data used for combining chroma encoding does not exist. A value of 1 indicates that the quantization parameter data used for combining chroma encoding exists.

[0500] Furthermore, the flag can be signaled via advanced syntax, for example. It can be signaled via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0501] Additionally, for example, the encoding device can encode image information including prediction information, residual information, quantization parameter data, and / or flags for the current chroma block. The encoding device can encode image information. Image information may include prediction information, residual information, quantization parameter data, and / or flags for the current chroma block.

[0502] For example, an encoding device can generate and encode prediction information for the current block. The prediction information may include prediction mode information representing the prediction mode of the current block. Image information may include the prediction information.

[0503] Furthermore, for example, the encoding device can encode residual information from residual samples. For instance, the encoding device can derive transform coefficients based on residual samples and generate residual information based on the transform coefficients. Image information can include residual information. For example, residual information can include syntax elements of the transform coefficients of the current chroma block. For example, syntax elements can include syntax elements such as coded_sub_block_flag, sig_coeff_flag, coeff_sign_flag, abs_level_gt1_flag, par_level_flag, abs_level_gtX_flag, abs_remainder, and / or coeff_sign_flag.

[0504] Furthermore, for example, the encoding device can encode image information including quantization parameter data and markers.

[0505] The encoding device generates a bitstream that includes image information (S1010). For example, the encoding device may output image information including prediction information, residual information, quantization parameter data, and / or flags as a bitstream. The bitstream may include prediction information, residual information, quantization parameter data, and / or flags.

[0506] Furthermore, a bitstream including image information can be transmitted to the decoding device via a network or (digital) storage medium. In this case, the network may include broadcast networks and / or communication networks. Digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.

[0507] Furthermore, for example, an encoding device can encode image information and output it as a bitstream.

[0508] Furthermore, a bitstream including image information can be transmitted to the decoding device via a network or (digital) storage medium. In this case, the network may include broadcast networks and / or communication networks. Digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, and SSD.

[0509] Figure 11 An encoding device for performing an image encoding method according to this document is illustrated schematically. Figure 10 The method disclosed in the article can be derived from Figure 11 The encoding device disclosed in the document executes the code. Specifically, for example, Figure 11 The entropy encoder of the encoding device can execute S1000 to S1010. Furthermore, although not shown, the process of generating reconstructed samples and reconstructed images based on residual samples and predicted samples can be executed by the adder of the encoding device.

[0510] Figure 12 An image decoding method according to the decoding device of this document is illustrated schematically. Figure 12 The method disclosed in the article can be derived from Figure 3 The decoding device disclosed in the document performs the operation. Specifically, for example, Figure 12 S1200 in the decoding device can be executed by the entropy decoder. Figure 12 S1210 in the process can be executed by the residual processor of the decoding device.

[0511] The decoding device obtains image information (S1200). The decoding device can obtain image information through the bitstream.

[0512] For example, image information may include information about chromaticity quantization parameters. For example, image information may include a flag indicating the presence of quantization parameter data for combined chromaticity encoding. For example, the decoding device may obtain the flag indicating the presence of quantization parameter data for combined chromaticity encoding based on the chromaticity type. In this case, the chromaticity type may refer to the ChromaArrayType mentioned above. For example, when the value of the chromaticity type is not 0, the decoding device may obtain the flag indicating the presence of quantization parameter data for combined chromaticity encoding. For example, when the value of the chromaticity type is 1, the decoding device may obtain the flag indicating the presence of quantization parameter data for combined chromaticity encoding. In this case, when the value of the chromaticity type is 0, the chromaticity type may be a monochrome format. When the value of the chromaticity type is 1, the chromaticity type may be a 4:2:0 format. When the value of the chromaticity type is 2, the chromaticity type may be a 4:2:2 format. When the value of the chromaticity type is 3, the chromaticity type may be a 4:4:4 format. Furthermore, combined chromaticity encoding can also be referred to as joint encoding of chromaticity components. Chromaticity components may include Cb components and / or Cr components. For example, the syntax element of this flag may be the Qp mentioned above. C _data_present_flag.

[0513] For example, a value of 0 indicates that the quantization parameter data used for combining chroma encoding does not exist. A value of 1 indicates that the quantization parameter data used for combining chroma encoding exists.

[0514] Furthermore, the flag can be signaled via advanced syntax, for example. It can be signaled via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0515] Furthermore, for example, when the value of the flag is 1, the image information may include quantization parameter data for combining chroma encoding. That is, for example, the decoding device can obtain the quantization parameter data for combining chroma encoding based on the flag. For example, the decoding device can obtain the quantization parameter data for combining chroma encoding based on the flag indicating its existence. That is, for example, when the value of the flag is 1, the decoding device can obtain the quantization parameter data for combining chroma encoding. Furthermore, for example, the quantization parameter data can be signaled via high-level syntax. For example, the quantization parameter data can be signaled via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0516] For example, quantization parameter data may include syntax elements representing the starting index of a chroma quantization parameter table used for combining chroma encoding and / or syntax elements representing the difference between the starting and ending indices of the chroma quantization parameter table. The syntax element representing the starting index may be qPi_min_idx as described above. Furthermore, the syntax element representing the difference between the starting and ending indices may be qPi_delta_max_idx. Additionally, the chroma quantization parameter table may also be called a chroma quantization parameter map or a user-defined quantization parameter map. Furthermore, the starting index may also be called the minimum index. Furthermore, for example, the syntax elements representing the starting index and / or the syntax elements representing the difference between the starting and ending indices can be signaled via high-level syntax. For example, the syntax elements representing the starting index and / or the syntax elements representing the difference between the starting and ending indices can be signaled via a Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0517] Furthermore, for example, the quantization parameter data may include syntax elements of the quantization parameter values ​​for the indices of the colorimetric quantization parameter table. That is, for example, the quantization parameter data may include syntax elements of the quantization parameter values ​​for the respective indices of the colorimetric quantization parameter table. The syntax element of the quantization parameter value for the index may be the Qp mentioned above. C_qPi_val[i]. Furthermore, for example, syntax elements that signal the quantization parameter value of an index can be used via high-level syntax. For example, syntax elements that signal the quantization parameter value of an index can be used via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0518] Additionally, for example, the quantization parameter data may include syntax elements representing offsets used to derive quantization parameters for combined chroma encoding. The syntax element representing the offset could be QpOffset as described above. C Furthermore, for example, the syntax elements representing offsets can be signaled via high-level syntax. For instance, the syntax elements representing offsets can be signaled via Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Slice Header, or Adaptive Parameter Set (APS).

[0519] Furthermore, for example, image information may include prediction information and / or residual information for the current chroma block. For instance, image information may include prediction information for the current block. Prediction information may include prediction mode information. Prediction mode information may indicate whether inter-frame prediction or intra-frame prediction is applied to the current block. Furthermore, for instance, residual information may include syntax elements of the transform coefficients of the current chroma block. For instance, syntax elements may include syntax elements such as coded_sub_block_flag, sig_coeff_flag, coeff_sign_flag, abs_level_gt1_flag, par_level_flag, abs_level_gtX_flag, abs_remainder, and / or coeff_sign_flag.

[0520] The decoding device generates a reconstructed image based on the image information (S1210).

[0521] For example, a decoding device can derive the transform coefficients of the current chroma block based on image information, derive the chroma quantization parameter table based on quantization parameter data, derive the quantization parameters of the current chroma block based on the chroma quantization parameter table, derive residual samples by dequantizing the transform coefficients based on the quantization parameters, and generate a reconstructed image based on the residual samples.

[0522] For example, a decoding device can derive the transform coefficients of the current chroma block based on residual information included in the image information. The residual information may include coefficient level information and sign flags for the transform coefficients.

[0523] For example, the absolute level of the transform coefficients can be derived as the value indicated by the coefficient level information included in the residual information, and the sign of the transform coefficients can be derived as the sign indicated by the sign flag information.

[0524] Furthermore, for example, a decoding device can derive a colorimetric quantization parameter table based on quantization parameter data.

[0525] For example, as described above, a colorimetric quantization parameter table can be derived based on syntax elements representing the starting index of the colorimetric quantization parameter table, syntax elements representing the difference between the starting and ending indices of the colorimetric quantization parameter table, and / or syntax elements representing the quantization parameter values ​​of the indices used for combining colorimetric encoding. That is, for example, a colorimetric quantization parameter table used for combining colorimetric encoding can be derived based on quantization parameter data.

[0526] Subsequently, the decoding device can derive the quantization parameters used for combining chroma encoding based on the chroma quantization parameter table. The quantization parameters used for combining chroma encoding can represent the aforementioned QP`. CbCr .

[0527] For example, the index of the current chroma block can be derived based on the quantization parameters of the luma component. The quantization parameters of the current chroma block can be derived based on the quantization parameters of the index in the chroma quantization parameter table. That is, for example, the quantization parameters used for combining chroma encoding can be derived based on the quantization parameters of the index in the chroma quantization parameter table that are the same as the quantization parameters of the luma component.

[0528] Furthermore, for example, the quantization parameters used for combining chroma encoding (e.g., QP') CbCr This can be achieved by combining the offset with the quantization parameter (e.g., QP) of the colorimetric quantization parameter table. CbCr The offset can be derived by adding them together. The offset can be derived based on the syntax elements that represent the offsets used to derive the quantization parameters used for combining chroma codes.

[0529] Alternatively, for example, the decoding device can derive the residual samples based on quantization parameters. For instance, the decoding device can derive the residual samples by dequantizing the transform coefficients based on the quantization parameters. Alternatively, for instance, the decoding device can derive the transform coefficients of the inverse transform by performing an inverse transform on the transform coefficients, and can derive the residual samples by dequantizing the transform coefficients of the inverse transform based on the quantization parameters.

[0530] Alternatively, for example, the decoding device can generate a reconstructed image based on residual samples. For instance, the decoding device can derive prediction samples by performing inter-frame prediction mode or intra-frame prediction mode on the current block based on prediction information received through the bitstream, and generate reconstructed samples by adding the prediction samples and residual samples.

[0531] Subsequently, if necessary, to improve the subjective / objective image quality, loop filtering processes such as unblocking filtering, SAO, and / or ALF processes can be applied to the reconstructed samples as described above.

[0532] Figure 13A decoding device for performing the image decoding method according to this document is illustrated schematically. Figure 12 The method disclosed in the article can be derived from Figure 13 The decoding device disclosed in the document performs the operation. Specifically, for example, Figure 13 The entropy decoder of the decoding device can perform Figure 12 S1200 in the middle. Figure 13 The residual processor of the decoding device can perform Figure 12 S1210.

[0533] According to this disclosure, a chromaticity quantization parameter table for quantization parameter derivation can be determined based on a flag indicating whether quantization parameter data for quantization parameter derivation for chromaticity components is sent. Encoding efficiency can be improved by performing encoding based on the quantization parameters according to the characteristics of the image.

[0534] Furthermore, according to this disclosure, a chromaticity parameter table for the chromaticity components can be determined based on the chromaticity quantization data sent via signal notification. Encoding efficiency can be improved by performing encoding based on the quantization parameters according to the characteristics of the image.

[0535] In the above embodiments, the method is described based on a flowchart having a series of steps or blocks. This disclosure is not limited to the order of the above steps or blocks. Some steps or blocks may be performed in a different order than the other steps or blocks described above, or may be performed simultaneously. Furthermore, those skilled in the art will understand that the steps shown in the flowchart are not exclusive, and may include other steps, or one or more steps in the flowchart may be deleted without affecting the scope of this disclosure.

[0536] The embodiments described in this specification can be executed by being implemented on a processor, microprocessor, controller, or chip. For example, the functional units shown in each figure can be executed by being implemented on a computer, processor, microprocessor, controller, or chip. In this case, the information for implementation (e.g., information about instructions) or algorithms can be stored in a digital storage medium.

[0537] Furthermore, the decoding and encoding devices using this disclosure can be included in the following devices: multimedia broadcasting transmitting / 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, portable video cameras, VoD service providing devices, over-the-top (OTT) video devices, internet streaming service providing devices, three-dimensional (3D) video devices, teleconferencing video devices, transportation user equipment (e.g., vehicle user equipment, aircraft user equipment, and ship user equipment), and medical video devices; and the decoding and encoding devices using this disclosure can be used to process video signals or data signals. For example, over-the-top (OTT) video devices can include game consoles, Blu-ray players, internet-access televisions, home theater systems, smartphones, tablet computers, digital video recorders (DVRs), etc.

[0538] Furthermore, the processing methods of this disclosure can be generated in the form of a computer-executable program and can be stored in a computer-readable recording medium. Multimedia data with data structures according to this disclosure can also be stored in a computer-readable recording medium. A computer-readable recording medium includes all types of storage devices in which computer-readable data is stored. Computer-readable recording media can include, for example, BD, Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage devices. Additionally, computer-readable recording media include media implemented in the form of a carrier wave (e.g., transmission via the Internet). Furthermore, bitstreams generated by encoding methods can be stored in a computer-readable recording medium or transmitted via wired / wireless communication networks.

[0539] Furthermore, embodiments of this disclosure can be implemented using computer program products based on program code, and the program code can be executed on a computer using embodiments of this disclosure. The program code can be stored on a computer-readable medium.

[0540] Figure 14 A structural diagram of a content streaming system applying this disclosure is shown.

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

[0542] An encoding server compresses content input from multimedia input devices such as smartphones, cameras, or 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, or camcorders generate bitstreams directly, the encoding server can be omitted.

[0543] A bitstream can be generated by an encoding method or bitstream generation method that applies the embodiments of this disclosure, and the stream server can temporarily store the bitstream during the sending or receiving of the bitstream.

[0544] The streaming server sends multimedia data to the user device via a web server based on user requests, and the web server acts as a medium for notifying the user of services. When a user requests a desired service from the web server, the web server transmits the request to the streaming server, and the streaming server sends 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 within the content streaming system.

[0545] A streaming server can receive content from media storage 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.

[0546] Examples of user devices may include mobile phones, smartphones, laptops, digital broadcast terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigators, touchscreen PCs, tablet PCs, ultrabooks, wearable devices (e.g., smartwatches, smart glasses, and head-mounted displays), digital TVs, desktop computers, and digital signage. Each server within the content streaming system can operate as a distributed server, in which case data received from each server can be distributed.

[0547] The claims described in this disclosure can be combined in various ways. For example, the technical features of the method claims of this disclosure can be combined to implement a device, and the technical features of the device claims of this disclosure can be combined to implement a method. Furthermore, the technical features of the method claims and the device claims of this disclosure can be combined to implement a device, and the technical features of the method claims and the device claims of this disclosure can be combined to implement a method.

Claims

1. An image decoding method performed by a decoding device, the image decoding method comprising the following steps: Obtain image information; Based on the image information, quantization parameters for combining colorimetric encoding are derived; The residual samples are derived based on the quantization parameters used for the combined chroma coding; as well as The reconstructed image is generated based on the residual samples. The steps for obtaining the image information include the following: Determine the chroma type associated with the reconstructed image; Based on the chroma type having values ​​other than 0, a flag indicating the presence of quantization parameter data for combining chroma encoding is obtained; and The quantization parameter data used for the combined chroma encoding is obtained based on the flag. The quantization parameter data includes syntax elements for the initial quantization parameters of the colorimetric quantization parameter mapping table and syntax elements for the number of quantization parameters in the colorimetric quantization parameter mapping table. Specifically, the colorimetric quantization parameter mapping table is derived based on the quantization parameter data. Specifically, the quantization parameters used for the combined chroma encoding are derived based on the quantization parameters corresponding to the quantization parameters of the luminance component in the chroma quantization parameter mapping table. Wherein, the chroma type with a value of 0 represents a monochrome format, and the chroma type with a value other than 0 represents a chroma format other than monochrome.

2. An image encoding method performed by an encoding device, the image encoding method comprising the following steps: The residual samples are derived based on the quantization parameters used for combining chroma coding. Image information, including quantization parameter data used for the combined chroma encoding, is encoded; as well as Generate a bitstream including the image information. The step of encoding the image information includes the following steps: Determine the chromaticity type relevant to the reconstructed image; The quantization parameter data for the combined chroma encoding is generated based on the chroma type having values ​​other than 0; Generate a flag indicating whether the quantization parameter data for the combined chroma encoding exists; and The image information, including the quantization parameter data and the flag, is encoded. The quantization parameter data includes syntax elements for the initial quantization parameters of the colorimetric quantization parameter mapping table and syntax elements for the number of quantization parameters in the colorimetric quantization parameter mapping table. Specifically, the colorimetric quantization parameter mapping table is derived based on the quantization parameter data. Specifically, the quantization parameters used for the combined chroma encoding are derived based on the quantization parameters corresponding to the quantization parameters of the luminance component in the chroma quantization parameter mapping table. Wherein, the chroma type with a value of 0 represents a monochrome format, and the chroma type with a value other than 0 represents a chroma format other than monochrome.

3. A method for transmitting data for an image, the method comprising the following steps: The following steps are performed to obtain a bitstream of image information: deriving residual samples based on quantization parameters used for combined chroma encoding, determining the chroma type related to the reconstructed image, generating quantization parameter data for the combined chroma encoding based on the chroma type having values ​​other than 0, generating a flag indicating whether the quantization parameter data for the combined chroma encoding exists, encoding the image information including the quantization parameter data and the flag, and generating the bitstream including the image information; as well as The data, comprising the bitstream of the image information, including the quantization parameter data and the flag, is transmitted. The quantization parameter data includes syntax elements for the initial quantization parameters of the colorimetric quantization parameter mapping table and syntax elements for the number of quantization parameters in the colorimetric quantization parameter mapping table. Specifically, the colorimetric quantization parameter mapping table is derived based on the quantization parameter data. Specifically, the quantization parameters used for the combined chroma encoding are derived based on the quantization parameters corresponding to the quantization parameters of the luminance component in the chroma quantization parameter mapping table. Wherein, the chroma type with a value of 0 represents a monochrome format, and the chroma type with a value other than 0 represents a chroma format other than monochrome.

Citation Information

Patent Citations

  • Image decoding / encoding device and computer readable recording medium

    CN107888927A

  • Method and apparatus for encoding / decoding image and recording medium storing bit stream

    CN109792521A