Video signal processing method and apparatus using block DPCM prediction method

The implementation of block-based Delta Pulse Code Modulation (BDPCM) with specific criteria and transform skip inference enhances video signal processing efficiency by optimizing block processing and reducing unnecessary transform operations.

JP2024156029AActive Publication Date: 2024-10-31WILUS INSTITUTE OF STANDARDS & TECHNOLOGY INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024146707
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2019-06-11
Filing Date
2024-08-28
Publication Date
2024-10-31
Estimated Expiration
2040-06-10

AI Technical Summary

Technical Problem

Existing video signal processing methods lack efficiency in coding, particularly in handling spatial and temporal correlations in video signals.

Method used

Implementing block-based Delta Pulse Code Modulation (BDPCM) with specific block size criteria, intra-BDPCM direction information, and transform skip inference based on BDPCM activation, applied to luma components regardless of chroma components, to enhance coding efficiency.

Benefits of technology

Increases coding efficiency by optimizing block processing and reducing unnecessary transform operations, thereby improving overall video signal processing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024156029000001_ABST
    Figure 2024156029000001_ABST
Patent Text Reader

Abstract

To provide a video signal processing method and apparatus using block DPCM.SOLUTION: A method for processing a video signal includes steps of: parsing, from a bitstream, block-based delta pulse code modulation (BDPCM) activity information indicating whether the BDPCM is activated; when the BDPCM activity information indicates the activation of the BDPCM, and when the width of a current block is less than or equal to a first value, and the height of the current block is less than or equal to a second value, parsing, from the bitstream, intra BDPCM information indicating whether the BDPCM is applied to the current block; when the intra BDPCM information indicates that the BDPCM is applied to the current block, parsing, from the bitstream, intra BDPCM direction information regarding the current block; and reconstructing the current block on the basis of the intra BDPCM direction information.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a video signal processing method and apparatus, and more particularly to a video signal processing method and apparatus for encoding or decoding a video signal. [Background technology]

[0002] Compression coding refers to a series of signal processing techniques for transmitting digitized information via a communication line or storing it in a form suitable for a storage medium. The objects of compression coding include voice, video, text, etc., and the technology for compressing and coding video in particular is called video compression. Compression coding of video signals is performed by removing redundant information by considering spatial correlation, temporal correlation, probabilistic correlation, etc. However, with the recent development of various media and data transmission media, there is a demand for more efficient video signal processing methods and devices. Summary of the Invention [Problem to be solved by the invention]

[0003] The present disclosure has an objective to increase the coding efficiency of video signals. [Means for solving the problem]

[0004] A method for processing a video signal according to an embodiment of the present disclosure includes the steps of: parsing, from a bitstream, BDPCM activity information indicating whether Block-based Delta Pulse Code Modulation (BDPCM) is activated; parsing, from the bitstream, intra BDPCM information indicating whether BDPCM is applied to the current block, if the BDPCM activity information indicates activation of BDPCM and the width of the current block is smaller than or equal to a first value and the height of the current block is smaller than or equal to a second value; parsing, from the bitstream, intra BDPCM direction information for the current block, if the intra BDPCM information indicates that BDPCM is applied to the current block; and restoring the current block based on the intra BDPCM direction information.

[0005] The first value and the second value of the method for processing a video signal according to an embodiment of the present disclosure are characterized by being maximum block sizes that allow transform skipping.

[0006] In the method for processing a video signal according to an embodiment of the present disclosure, intra-BDPCM information and intra-BDPCM direction information are parsed for the luma component regardless of the chroma component.

[0007] The BDPCM activity information of the method for processing a video signal according to an embodiment of the present disclosure is characterized in that it is signaled in a sequence.

[0008] In a method for processing a video signal according to one embodiment of the present disclosure, when intra BDPCM information indicates that BDPCM is to be applied to a current block, transform skip information of a transform block corresponding to the current block is not parsed from the bitstream, and the transform skip information indicates that no transform is applied to the block corresponding to the transform skip information if the value of the transform skip information is a first inference value.

[0009] A method for processing a video signal according to one embodiment of the present disclosure further includes a step of inferring the transform skip information to a first inference value when transform skip information is not present and intra BDPCM information indicates that BDPCM is to be applied to the current block, and a step of inferring the transform skip information to a second inference value when transform skip information is not present and intra BDPCM information indicates that BDPCM is not to be applied to the current block.

[0010] In the method for processing a video signal according to an embodiment of the present disclosure, the intra-BDPCM direction information indicates one of a horizontal direction or a vertical direction.

[0011] A method for processing a video signal according to one embodiment of the present disclosure is characterized in that it includes a step of selecting an intra prediction mode corresponding to a horizontal direction among a plurality of intra modes as an intra prediction mode of a current block when intra BDPCM direction information is 0, and a step of selecting an intra prediction mode corresponding to a vertical direction among a plurality of intra modes as an intra prediction mode of the current block when intra BDPCM direction information is 1.

[0012] In the method for processing a video signal according to an embodiment of the present disclosure, an intra prediction mode of a current block is used to determine an intra prediction mode of a neighboring block that is restored after the current block.

[0013] A video signal processing device according to an embodiment of the present disclosure includes a processor and a memory, and the processor parses BDPCM activity information indicating whether block-based delta pulse code modulation (BDPCM) is active from the bitstream based on an instruction word stored in the memory, parses intra BDPCM information indicating whether BDPCM is applied to the current block from the bitstream if the BDPCM activity information indicates activation of BDPCM and the width of the current block is smaller than or equal to a first value and the height of the current block is smaller than or equal to a second value, and parses intra BDPCM direction information for the current block from the bitstream if the intra BDPCM information indicates that BDPCM is applied to the current block, and restores the current block based on the intra BDPCM direction information.

[0014] The first and second values ​​of the video signal processing device according to the embodiment of the present disclosure are maximum block sizes for which transform skipping is permitted.

[0015] Intra-BDPCM information and intra-BDPCM direction information of a video signal processing device according to an embodiment of the present disclosure are parsed for the luma component regardless of the chroma component.

[0016] The BDPCM activity information of the video signal processing apparatus according to an embodiment of the present disclosure is signaled in a sequence.

[0017] When intra BDPCM information of a video signal processing device according to one embodiment of the present disclosure indicates that BDPCM is to be applied to a current block, the transform skip information of the transform block corresponding to the current block is not parsed from the bitstream, and the transform skip information indicates that no transform is applied to the block corresponding to the transform skip information if the value of the transform skip information is a first inference value.

[0018] A processor of a video signal processing device according to one embodiment of the present disclosure infers, based on instructions stored in a memory, the transform skip information to a first inference value when there is no transform skip information and the intra BDPCM information indicates that BDPCM is to be applied to the current block, and infers the transform skip information to a second inference value when there is no transform skip information and the intra BDPCM information indicates that BDPCM is not to be applied to the current block.

[0019] The intra BDPCM direction information of the video signal processing device according to an embodiment of the present disclosure indicates one of a horizontal direction or a vertical direction.

[0020] A processor of a video signal processing device according to one embodiment of the present disclosure, based on an instruction stored in a memory, selects an intra prediction mode corresponding to the horizontal direction among multiple intra modes as the intra prediction mode of a current block when intra BDPCM direction information is 0, and selects an intra prediction mode corresponding to the vertical direction among multiple intra modes as the intra prediction mode of a current block when the intra BDPCM direction information is 1.

[0021] The intra prediction mode of the video signal processing device according to an embodiment of the present disclosure is used to determine the intra prediction modes of the neighboring blocks that are reconstructed after the current block.

[0022] A method for processing a video signal according to one embodiment of the present disclosure includes the steps of: generating BDPCM activity information indicating whether block-based delta pulse code modulation (BDPCM) is active; generating intra BDPCM information indicating whether BDPCM is applied to the current block if the BDPCM activity information indicates activation of BDPCM, the width of the current block is smaller than or equal to a first value, and the height of the current block is smaller than or equal to a second value; generating intra BDPCM direction information for the current block if the intra BDPCM information indicates that BDPCM is applied to the current block; and generating a bitstream based on the BDPCM activity information, the intra BDPCM information, and the intra BDPCM direction information.

[0023] In a method for processing a video signal according to an embodiment of the present disclosure, when intra BDPCM information indicates that BDPCM is applied to a current block, transform skip information of a transform block corresponding to the current block is not generated.

[0024] A video signal processing device according to one embodiment of the present disclosure includes a processor and a memory, and the processor generates BDPCM activity information indicating whether block-based delta pulse code modulation (BDPCM) is active based on an instruction word stored in the memory, generates intra-BDPCM information indicating whether BDPCM is applied to the current block if the BDPCM activity information indicates activation of BDPCM, a width of the current block is smaller than or equal to a first value, and a height of the current block is smaller than or equal to a second value, generates intra-BDPCM direction information for the current block if the intra-BDPCM information indicates that BDPCM is applied to the current block, and generates a bitstream based on the BDPCM activity information, the intra-BDPCM information, and the intra-BDPCM direction information.

[0025] When the intra BDPCM information indicates that BDPCM is applied to the current block, the video signal processing apparatus according to the embodiment of the present disclosure does not generate transform skip information of the transform block corresponding to the current block.

[0026] A computer-readable recording medium having an encoded video signal recorded thereon according to one embodiment of the present disclosure includes the steps of generating BDPCM activity information indicating whether block-based delta pulse code modulation (BDPCM) is active; generating intra-BDPCM information indicating whether BDPCM is applied to the current block if the BDPCM activity information indicates activation of BDPCM and the width of the current block is less than or equal to a first value and the height of the current block is less than or equal to a second value; generating intra-BDPCM direction information for the current block if the intra-BDPCM information indicates that BDPCM is applied to the current block; and generating a bitstream based on the BDPCM activity information, the intra-BDPCM information, and the intra-BDPCM direction information. Effect of the Invention

[0027] According to the embodiments of the present disclosure, the coding efficiency of the video signal is increased. [Brief description of the drawings]

[0028] [Figure 1] 1 is a schematic block diagram of a video signal encoding apparatus according to an embodiment of the present invention; [Diagram 2] 1 is a schematic block diagram of a video signal decoding device according to an embodiment of the present invention; [Diagram 3] FIG. 2 shows an example of how coding tree units are divided into coding units within a picture. [Figure 4] FIG. 1 illustrates an embodiment of a method for signaling splits of quad trees and multi-type trees. [Diagram 5] FIG. 2 is a diagram showing an example of reference samples used to predict a current block in intra-prediction mode. [Figure 6] FIG. 2 is a diagram showing an example of a prediction mode used in intra prediction. [Figure 7]4 is a flowchart illustrating an operation of a video signal processing device according to an embodiment of the present disclosure. [Figure 8] A diagram showing prediction modes and quantized residual signals of Block DPCM (BDPCM). [Figure 9] FIG. 13 is a diagram showing BDPCM Bragg defined in a sequence parameter set. [Figure 10] A diagram showing a portion of a coding unit syntax structure. [Figure 11] A diagram showing a portion of a coding unit syntax, including a size variable of a BDPCM application block. [Figure 12] A diagram showing a portion of a transform unit syntax structure. [Figure 13] A diagram illustrating the signaling / parsing conditions of the transform skip flag within a portion of the transform unit syntax. [Figure 14] FIG. 13 is a diagram showing the relationship between a block to which BDPCM is applied and an intra-screen prediction mode variable. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] The terms used in this specification are selected from currently widely used general terms as much as possible while taking into consideration the functions in the present invention, but this may vary depending on the intentions of the engineers in this field, customs, or the emergence of new technologies. In addition, in certain cases, the applicant may arbitrarily select terms, and in this case, the meanings of the terms will be described in the corresponding embodiment of the invention. Therefore, it is made clear that the terms used in this specification should be interpreted based on the substantial meanings of the terms and the contents of this specification as a whole, rather than simply the names of the terms.

[0030] In this specification, some terms are interpreted as follows. Coding may be interpreted as encoding or decoding depending on the circumstances. In this specification, an apparatus for encoding a video signal to generate a video signal bitstream is referred to as an encoding apparatus or encoder, and an apparatus for decoding a video signal bitstream to restore a video signal is referred to as a decoding apparatus or decoder. In this specification, a video signal processing apparatus is used as a term including both an encoder and a decoder. Information is a term including values, parameters, coefficients, elements, etc., and may be interpreted differently depending on the circumstances, so the present invention is not limited thereto. A "unit" is used to mean a basic unit of image processing or a specific position of a picture, and refers to an image area including both luma components and chroma components. In addition, a "block" refers to an image area including a specific component of a luma component and a chroma component (i.e., Cb and Cr). However, depending on the embodiment, the terms "unit", "block", "partition", and "area" may be used interchangeably. In this specification, a unit or a block is used as a concept including a coding unit (or a coding block), a prediction unit (or a prediction block), and a transform unit (or a transform block). A picture refers to a field or a frame, and the terms are used interchangeably depending on the embodiment.

[0031] 1 is a schematic block diagram of a video signal encoding apparatus 100 according to an embodiment of the present invention. Referring to FIG. 1, the encoding apparatus 100 of the present specification includes a transform unit 110, a quantization unit 115, an inverse quantization unit 120, an inverse transform unit 125, a filtering unit 130, a prediction unit 150, and an entropy coding unit 160.

[0032] The transform unit 110 transforms a residual signal, which is a difference between an input video signal and a prediction signal generated by the prediction unit 150, to obtain a transform coefficient value. For example, a discrete cosine transform (DCT), a discrete sine transform (DST), or a wavelet transform is used. The discrete cosine transform and the discrete sine transform divide the input picture signal into blocks and perform the transform. In the transform, the coding efficiency may vary depending on the distribution and characteristics of values ​​in the transform domain. The quantizer 115 quantizes the values ​​of the transform coefficients output from the transform unit 110.

[0033] In order to improve coding efficiency, a method is used in which a picture signal is not directly coded, but a picture is predicted using a previously coded area through a prediction unit 150, and a residual value between an original picture and a predicted picture is added to the predicted picture to obtain a reconstructed picture. In order to prevent mismatch between the encoder and the decoder, when the encoder performs prediction, information that can also be used by the decoder should be used. For this purpose, the encoder performs a process of further reconstructing the current block that has been coded. The inverse quantization unit 120 inversely quantizes the transform coefficient values, and the inverse transform unit 125 reconstructs the residual values ​​using the inversely quantized transform coefficient values. Meanwhile, the filtering unit 130 performs a filtering operation to improve the quality of the reconstructed picture and the coding efficiency. For example, a deblocking filter, a sample adaptive offset (SAO), an adaptive loop filter, etc. may be included. The filtered picture is stored in a decoded picture buffer (DPB) 156 to be output or used as a reference picture.

[0034] The prediction unit 150 includes an intra prediction unit 152 and an inter prediction unit 154. The intra prediction unit 152 performs intra prediction within a current picture, and the inter prediction unit 154 performs inter prediction to predict the current picture using a reference buffer stored in a decoded picture buffer 156. The intra prediction unit 152 performs intra prediction from reconstructed samples within the current picture, and transmits intra coding information to the entropy coding unit 160. The intra coding information includes at least one of an intra prediction mode, a Most Probable Mode (MPM) flag, and an MPM index. The inter prediction unit 154 includes a motion estimation unit 154a and a motion compensation unit 154b. The motion estimation unit 154a obtains a motion vector value of the current region by referring to a specific region of the reconstructed reference signal picture. The motion estimation unit 154a transmits a motion information set (reference picture index, motion vector information) for the reference region to the entropy coding unit 160. The motion compensation unit 154b performs motion compensation using the motion vector values ​​transmitted from the motion compensation unit 154a. The inter prediction unit 154 transmits to the entropy coding unit 160 inter coding information including motion information for the reference region.

[0035] When the above-mentioned picture prediction is performed, the transform unit 110 converts residual values ​​between the original picture and the predicted picture to obtain transform coefficient values. At this time, the transform is performed in units of specific blocks within the picture, and the size of the specific blocks varies within a preset range. The quantization unit 115 quantizes the transform coefficient values ​​generated by the transform unit 110 and transfers the quantized values ​​to the entropy coding unit 160.

[0036] The entropy coding unit 160 generates a video signal bit stream by entropy coding the quantized transform coefficients, the intra-coded information, and the inter-coded information. The entropy coding unit 160 uses a variable length coding (VLC) method, an arithmetic coding method, and the like. The variable length coding (VLC) method converts input symbols into consecutive code words, but the length of the code words is variable. For example, frequently occurring symbols are represented by short code words, and infrequently occurring symbols are represented by long code words. As the variable length coding method, a context-based adaptive variable length coding (CAVLC) method is used. In arithmetic coding, consecutive data symbols are converted into one prime number, and arithmetic coding obtains the optimal prime number bits required to represent each symbol. As the arithmetic coding, a context-based adaptive binary arithmetic coding (CABAC) method is used.

[0037] The generated bitstream is encapsulated in a basic unit of Network Abstraction Layer (NAL) units. An NAL unit includes an integer number of coded coding tree units. In order for a video decoder to decode the bitstream, the bitstream must first be separated into NAL units and then each separated NAL unit must be decoded. Meanwhile, information required for decoding the video signal bitstream is transmitted via Raw Byte Sequence Payload (RBSP) of higher level sets such as a Picture Parameter Set (PPS), a Sequence Parameter Set (SPS), a Video Parameter Set (VPS), etc.

[0038] 1 illustrates an encoding apparatus 100 according to one embodiment of the present invention, with separate blocks illustrating logically distinct elements of encoding apparatus 100. Thus, the elements of encoding apparatus 100 described above may be implemented on a single chip or multiple chips depending on the device design. According to one embodiment, the operation of each element of encoding apparatus 100 described above is performed by a processor (not shown).

[0039] 2 is a schematic block diagram of a video signal decoding device 200 according to an embodiment of the present invention. Referring to FIG. 2, the decoding device 200 of the present invention includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 225, a filtering unit 230, and a prediction unit 250.

[0040] The entropy decoding unit 210 entropy decodes the video signal bitstream to extract transform coefficient information, intra-coding information, inter-coding information, etc. for each region. The inverse quantization unit 220 inverse quantizes the quantized transform coefficients, and the inverse transform unit 225 restores residual values ​​using the inverse quantized transform coefficients. The video signal processing device 200 combines the residual values ​​obtained from the inverse transform unit 225 with the predicted values ​​obtained from the prediction unit 250 to restore original pixel values.

[0041] Meanwhile, the filtering unit 230 performs filtering on the picture to improve image quality, including a deblocking filter for reducing block distortion and / or an adaptive loop filter for removing distortion of the entire picture, etc. The filtered picture is output or stored in a decoded picture buffer (DPB) 256 to be used as a reference picture for the next picture.

[0042] The prediction unit 250 includes an intra prediction unit 252 and an inter prediction unit 254. The prediction unit 250 generates a predicted picture using the coding type, the transform coefficient for each region, the intra / inter coding information, etc., decoded through the entropy decoding unit 210. To reconstruct the current block to be decoded, the current picture including the current block or a decoded region of another picture can be used. A picture (or tile / slice) that uses only the current picture for reconstruction, i.e., performs only intra prediction, is called an intra picture or I picture (or tile / slice), and a picture (or tile / slice) that performs both intra prediction and inter prediction is called an inter picture (or tile / slice). Among interpictures (or tiles / slices), a picture (or tile / slice) that uses at most one motion vector and reference picture index to predict sample values ​​of each block is called a predictive picture or P picture (or tile / slice), and a picture (or tile / slice) that uses at most two motion vectors and reference picture indexes is called a bi-predictive picture or B picture (or tile / slice). In other words, a P picture (or tile / slice) uses at most one motion information set to predict each block, and a B picture (or tile / slice) uses at most two motion information sets to predict each block. Here, a motion information set includes one or more motion vectors and one reference picture index.

[0043] The intra prediction unit 252 generates a prediction block using intra coding information and reconstructed samples in the current picture. As described above, the intra coding information includes at least one of an intra prediction mode, an MPM flag, and an MPM index. The intra prediction unit 252 predicts pixel values ​​of the current block by using reconstructed pixels located on the left and / or upper sides of the current block as reference pixels. According to one embodiment, the reference pixels are pixels adjacent to the left boundary and / or the upper boundary of the current block. According to another embodiment, the reference pixels are pixels adjacent to the left boundary of the current block within a preset distance and / or pixels adjacent to the upper boundary of the current block within a preset distance from the left boundary of the current block among pixels of neighboring blocks of the current block. In this case, the neighboring blocks of the current block include at least one of a left (L) block, an upper (A) block, a below left (BL) block, an above right (AR) block, or an above left (AL) block adjacent to the current block.

[0044] The inter prediction unit 254 generates a prediction block using the reference picture and inter coding information stored in the decoded picture buffer 256. The inter coding information includes a motion information set (reference picture index, motion vector, etc.) of a current block with respect to a reference block. Inter prediction includes L0 prediction, L1 prediction, and bi-prediction. L0 prediction means a prediction using one reference picture included in an L0 picture list, and L1 prediction means a prediction using one reference picture included in an L1 picture list. For this purpose, one set of motion information (e.g., motion vector and reference picture index) is required. In the bi-prediction method, a maximum of two reference regions are used, and the two reference regions may exist in the same reference picture or may exist in different pictures. That is, in the bi-prediction method, a maximum of two sets of motion information (e.g., motion vector and reference picture index) are used, and the two motion vectors may correspond to the same reference picture index or may correspond to different reference picture indexes. In this case, the reference picture is displayed (or output) either before or after the current picture in terms of time.

[0045] The inter prediction unit 254 obtains a current reference block using a motion vector and a reference picture index. The reference block exists in a reference picture corresponding to the reference picture index. In addition, a pixel value of a block identified by the motion vector or an interpolated value thereof is used as a predictor of the current block. For motion prediction with pixel accuracy in sub-pel units, for example, an 8-tab interpolation filter is used for a luma signal and a 4-tab interpolation filter is used for a chroma signal. However, the interpolation filter for sub-pel unit motion prediction is not limited thereto. In this way, the inter prediction unit 254 performs motion compensation to predict the texture of the current unit from a previously restored picture using motion information.

[0046] A reconstructed video picture is generated by summing the predicted value output from the intra prediction unit 252 or the inter prediction unit 254 and the residual value output from the inverse transformation unit 225. That is, the video signal decoding apparatus 200 reconstructs a current block using the predicted block generated by the prediction unit 250 and the residual obtained from the inverse transformation unit 225.

[0047] 2 shows a block diagram of a decoding apparatus 200 according to an embodiment of the present invention, with separate blocks illustrating the logically distinct elements of the decoding apparatus 200. Thus, the elements of the decoding apparatus 200 described above may be implemented on a single chip or multiple chips depending on the device design. According to an embodiment, the operation of each element of the decoding apparatus 200 described above is performed by a processor (not shown).

[0048] FIG. 3 illustrates an embodiment in which a coding tree unit (CTU) is divided into coding units (CUs) in a picture. In a video signal coding process, a picture is divided into a sequence of coding tree units (CTUs). A coding tree unit consists of an NXN block of luma samples and two blocks of corresponding chroma samples. The coding tree unit is divided into a plurality of coding units. A coding unit refers to a basic unit for processing a picture in the above-mentioned video signal processing process, i.e., in the process of intra / inter prediction, transformation, quantization, and / or entropy coding. In one picture, the size and pattern of the coding units are not constant. The coding units have a square or rectangular pattern. A rectangular coding unit (or rectangular block) includes a vertical coding unit (or vertical block) and a horizontal coding unit (or horizontal block). In this specification, a vertical block is a block whose height is greater than its width, and a horizontal block is a block whose width is greater than its height. In this specification, a non-square block refers to a rectangular block, but the present invention is not limited thereto. As described above, the encoding apparatus 100 and the decoding apparatus 200 have been described. A video signal processing apparatus described below includes at least one of the encoding apparatus 100 and the decoding apparatus 200.

[0049] Referring to Figure 3, the coding tree unit is first divided into a quad tree (QT) structure. That is, in the quad tree structure, one node having a size of 2N x 2N is divided into four nodes having a size of N x N. In this specification, the quad tree is also referred to as a quaternary tree. The quad tree division is performed recursively, and it is not necessary that all nodes are divided to the same depth.

[0050] Meanwhile, the leaf node of the above-mentioned quad tree is further divided into a Multi-Type Tree (MTT) structure. According to an embodiment of the present invention, in the Multi-Type Tree structure, one node is divided into a horizontally or vertically divided binary or ternary tree structure. That is, the Multi-Type Tree structure has four division structures, namely, vertical binary division, horizontal binary division, vertical ternary division, and horizontal ternary division. According to an embodiment of the present invention, in each of the tree structures, the width and height of the node are both powers of 2. For example, in a Binary Tree (BT) structure, a node of size 2N×2N is divided into two N×2N nodes by vertical binary division and divided into two 2N×N nodes by horizontal binary division. In addition, in a Ternary Tree (TT) structure, a node of size 2N x 2N is divided into (N / 2) x 2N, N x 2N, and (N / 2) x 2N nodes by vertical ternary division, and into 2N x (N / 2), 2N x N, and 2N x (N / 2) nodes by horizontal ternary division. Such multi-type tree division is performed recursively.

[0051] A leaf node of a multi-type tree can be a coding unit. If the coding unit is not too large compared to the maximum transform length, the coding unit is not divided any more and is used as a unit of prediction and transform. Meanwhile, in the above-mentioned quad tree and multi-type tree, at least one of the following parameters is predefined or transmitted via the RBSP of a higher level set such as PPS, SPS, VPS, etc. 1) CTU size: size of root node of quad tree, 2) MinQT size (MinQtSize): size of minimum QT leaf node allowed, 3) MaxBt size (MaxBtSize): size of maximum BT root node allowed, 4) MaxTt size (MaxTtSize): size of maximum TT root node allowed, 5) MaxMttDepth (MaxMttDepth): maximum allowed depth of MTT division from QT leaf node, 6) MinBt size (MinBtSize): size of minimum BT leaf node allowed, 7) MinTT size: size of minimum TT leaf node allowed.

[0052] 4 illustrates an embodiment of a method for signaling the split of a quad tree and a multi-type tree. A preset flag may be used to signal the split of the quad tree and the multi-type tree. Referring to FIG. 4, at least one of a flag 'qt_split_flag' indicating whether to split a quad tree node, a flag 'mtt_split_flag' indicating whether to split a multi-type tree node, a flag 'mtt_split_vertical_flag' indicating the split direction of a multi-type tree node, or a flag 'mtt_split_binary_flag' indicating the split type of a multi-type tree node may be used.

[0053] According to an embodiment of the present invention, the coding tree unit is the root node of a quad tree and can be split into a quad tree structure in advance. In the quad tree structure, 'qt_split_flag' is signaled for each node 'QT_node'. If the value of 'qt_split_flag' is 1, the corresponding node is split into four regular square nodes, and if the value of 'qt_split_flag' is 0, the corresponding node becomes a leaf node 'QT_leaf_node' of the quad tree. Each quad tree leaf node 'QT_leaf_node' can be further split into a multi-type tree structure. In the multi-type tree structure, 'mtt_split_flag' is signaled for each node 'MTT_node'. If the value of 'mtt_split_flag' is 1, the corresponding node is split into multiple rectangular nodes, and if the value of 'mtt_split_flag' is 0, the corresponding node becomes the leaf node 'MTT_leaf_node' of the multi-type tree. If the multi-type tree node 'MTT_node' is split into multiple rectangular nodes (i.e., if the value of 'mtt_split_flag' is 1), 'mtt_split_vertical_flag' and 'mtt_split_binary_flag' can be additionally signaled for the node 'MTT_node'. If the value of 'mtt_split_vertical_flag' is 1, the node 'MTT_node' is split vertically, and if the value of 'mtt_split_vertical_flag' is 0, the node 'MTT_node' is split horizontally. If the value of 'mtt_split_binary_flag' is 1, the node 'MTT_node' is split into two rectangular nodes, and if the value of 'mtt_split_binary_flag' is 0, the node 'MTT_node' is split into three rectangular nodes.

[0054] 5 and 6 are diagrams illustrating in more detail an intra prediction method according to an embodiment of the present disclosure. As described above, the intra prediction unit predicts pixel values ​​of a current block using reconstructed pixels located to the left and / or above the current block as reference pixels.

[0055] First, FIG. 5 illustrates an embodiment of a reference sample used to predict a current block in an intra prediction mode. According to an embodiment, the reference pixel is a pixel adjacent to the left boundary and / or the upper boundary of the current block. As illustrated in FIG. 5, if the size of the current block is W×H and pixels of a single reference line adjacent to the current block are used for intra prediction, the reference pixel is set using up to 2W+2H+1 adjacent pixels located to the left and / or upper side of the current block. Meanwhile, according to a further embodiment of the present disclosure, pixels of multiple reference lines are used for intra prediction of the current block. The multiple reference lines are composed of n lines located within a preset range from the current block. According to an embodiment, if pixels of multiple reference lines are used for intra prediction, separate index information indicating the lines to be set as reference pixels is signaled. If at least some of the adjacent pixels used as reference pixels have not yet been restored, the intra prediction unit performs a reference sample padding process according to a preset rule to obtain reference pixels. In addition, the intra prediction unit performs a reference sample filtering process to reduce an error in intra prediction. That is, the reference pixels are obtained by filtering the neighboring pixels and / or the pixels obtained by the reference sample padding process, and the intra prediction unit predicts the pixels of the current block using the reference pixels obtained in this manner.

[0056] Next, FIG. 6 illustrates an embodiment of a prediction mode used in intra prediction. For intra prediction, intra prediction mode information indicating an intra prediction direction can be signaled. The intra prediction mode information indicates one of a plurality of intra prediction modes constituting an intra prediction mode set. If the current block is an intra predicted block, the decoder receives the intra prediction mode information of the current block from the bitstream. The intra prediction unit of the decoder performs intra prediction on the current block based on the extracted intra prediction mode information.

[0057] According to an embodiment of the present invention, the intra prediction mode set includes all intra prediction modes (e.g., a total of 67 intra prediction modes) used in intra prediction. More specifically, the intra prediction mode set includes a planar mode, a DC mode, and a plurality of (e.g., 65) angle modes (i.e., directional modes). Each intra prediction mode is indicated by a preset index (i.e., intra prediction mode index). For example, as shown in FIG. 6, an intra prediction mode index 0 indicates a planar mode, and an intra prediction mode index 1 indicates a DC mode. In addition, intra prediction mode indexes 2 to 66 indicate different angle modes. The angle modes indicate different angles within a preset angle range. For example, the angle modes may indicate angles within an angle range of 45° to −135° in a clockwise direction (i.e., a first angle range). The angle modes may be defined based on a 12 o'clock direction. In this case, intra-prediction mode index 2 indicates horizontal diagonal (HDIA) mode, intra-prediction mode index 18 indicates horizontal (HOR) mode, intra-prediction mode index 34 indicates diagonal (DIA) mode, intra-prediction mode index 50 indicates vertical (VER) mode, and intra-prediction mode index 66 indicates vertical diagonal (VDIA) mode.

[0058] Meanwhile, the preset angle ranges are set differently according to the pattern of the current block. For example, if the current block is a rectangular block, a wide angle mode that indicates an angle that exceeds 45 degrees or is less than -135 degrees clockwise is further used. If the current block is a horizontal block, the angle mode indicates an angle within an angle range between (45+offset 1) degrees and (-135+offset 1) degrees clockwise (i.e., a second angle range). At this time, angle modes 67 to 76 that deviate from the first angle range are further used. Also, if the current block is a vertical block, the angle mode indicates an angle within an angle range between (45-offset 2) degrees and (-135-offset 2) degrees clockwise (i.e., a third angle range). At this time, angle modes -10 to -1 that deviate from the first angle range are further used. According to an embodiment of the present disclosure, the values ​​of offset 1 and offset 2 are determined differently according to the ratio between the width and height of the rectangular block. Additionally, offset 1 and offset 2 are positive numbers.

[0059] According to a further embodiment of the present disclosure, the plurality of angle modes constituting the intra prediction mode set includes a base angle mode and an extension angle mode, where the extension angle mode is determined based on the base angle mode.

[0060] According to an embodiment, the basic angle mode is a mode corresponding to an angle used in intra prediction of the conventional High Efficiency Video Coding (HEVC) standard, and the extended angle mode is a mode corresponding to an angle newly added in intra prediction of the next-generation video codec standard. More specifically, the basic angle mode is an angle mode corresponding to any one of intra prediction modes {2, 4, 6, ..., 66}, and the extended angle mode is an angle mode corresponding to any one of intra prediction modes {3, 5, 7, ..., 66}. That is, the extended angle mode is an angle mode between the basic angle modes within the first angle range. Thus, the angle indicated by the extended angle mode is determined based on the angle indicated by the basic angle mode.

[0061] According to another embodiment, the basic angle mode is a mode corresponding to an angle within a first angle range that is preset, and the extension angle mode is a wide angle mode that deviates from the first angle range. That is, the basic angle mode is an angle mode corresponding to any one of intra prediction modes {2, 3, 4, ..., 66}, and the extension angle mode is an angle mode corresponding to any one of intra prediction modes {-10, -9, ..., -1} and {67, 68, ..., 76}. The angle indicated by the extension angle mode is determined to be an angle opposite to the angle indicated by the corresponding basic angle mode. Thus, the angle indicated by the extension angle mode is determined based on the angle indicated by the basic angle mode. Meanwhile, the number of extension angle modes is not limited thereto, and further extension angles are defined according to the size and / or shape of the current block. For example, the extension angle mode may be defined as an angle mode corresponding to any one of intra prediction modes {-14, -13, ..., -1} and {67, 68, ..., 80}. Meanwhile, the total number of intra prediction modes included in the intra prediction mode set varies depending on the configuration of the base angle mode and the extended angle mode.

[0062] In the above embodiment, the interval between the extension angle modes is set based on the interval between the corresponding basic angle modes. For example, the interval between the extension angle modes {3, 5, 7, ..., 65} is determined based on the interval between the corresponding basic angle modes {2, 4, 6, ..., 66}. The interval between the extension angle modes {-10, -9, ..., -1} is determined based on the interval between the corresponding opposite basic angle modes {56, 57, ..., 65}, and the interval between the extension angle modes {67, 68, ..., 76} is determined based on the interval between the corresponding opposite basic angle modes {3, 4, ..., 12}. The angle interval between the extension angle modes is set to be the same as the angle interval between the corresponding basic angle modes. In addition, the number of the extension angle modes in the intra prediction mode set is set to be equal to or less than the number of the basic angle modes.

[0063] According to an embodiment of the present disclosure, the extension angle mode is signaled based on the base angle mode. For example, the wide angle mode (i.e., the extension angle mode) replaces at least one angle mode (i.e., the base angle mode) within the first angle range. The replaced base angle mode is an angle mode corresponding to the opposite side of the wide angle mode. That is, the replaced base angle mode is an angle mode corresponding to an angle in the opposite direction of the angle indicated by the wide angle mode, or an angle that is different from the opposite angle by a preset offset index. According to an embodiment of the present disclosure, the preset offset index is 1. The intra prediction mode index corresponding to the replaced base angle mode is further mapped to the wide angle mode to signal the corresponding wide angle mode. For example, the wide angle modes {-10, -9, ..., -1} are signaled by intra prediction mode indexes {57, 58, ..., 66}, respectively, and the wide angle modes {67, 68, ..., 76} are signaled by intra prediction mode indexes {2, 3, ..., 11}, respectively. In this way, by making the intra prediction mode index for the base angle mode signal the extension angle mode, even if the configurations of the angle modes used for intra prediction of each block are different, the same set of intra prediction mode indexes are used to signal the intra prediction mode, thereby minimizing signaling overhead due to changes in the configuration of the intra prediction mode.

[0064] Meanwhile, whether or not to use the extended angle mode is determined based on at least one of the shape and size of the current block. According to one embodiment, if the size of the current block is larger than a preset size, the extended angle mode is used for intra prediction of the current block, otherwise, only the base angle mode is used for intra prediction of the current block. According to another embodiment, if the current block is a non-square block, the extended angle mode is used for intra prediction of the current block, and if the current block is a square block, only the base angle mode is used for intra prediction of the current block.

[0065] The intra prediction unit determines reference pixels and / or interpolated reference pixels to be used for intra prediction of the current block based on intra prediction mode information of the current block. If the intra prediction mode index indicates a specific angle mode, reference pixels or interpolated reference pixels corresponding to the specific angle from the current pixel of the current block are used for predicting the current pixel. Thus, different sets of reference pixels and / or interpolated reference pixels are used for intra prediction according to the intra prediction mode. After intra prediction of the current block is performed using the reference pixels and intra prediction mode information, the decoder restores pixel values ​​of the current block by adding a residual signal of the current block obtained from the inverse transform unit to the intra prediction value of the current block.

[0066] FIG. 7 is a flowchart showing the operation of a video signal processing device according to an embodiment of the present disclosure.

[0067] Each step in FIG. 7 will be described in detail in conjunction with FIGS.

[0068] FIG. 8 is a diagram illustrating prediction modes and quantized residual signals of Block DPCM (BDPCM) according to one embodiment of the present disclosure.

[0069] Block-based delta pulse code modulation (BDPCM) is one of the intra prediction methods. BDPCM uses two intra prediction modes. Among the common intra prediction modes, vertical prediction mode and horizontal prediction mode are used. If the total number of intra prediction modes is 67, the vertical prediction mode index is 50 and the horizontal prediction mode index is 18. When BDPCM is used, one of the two modes is signaled. When BDPCM is applied to the current coding block, the reference sample uses an unfiltered sample. If the vertical prediction mode is applied to BDPCM, samples corresponding to the width of the current coding block can be used, and each sample predicts the same value for the corresponding column. If the horizontal prediction mode is applied to BDPCM, samples corresponding to the height of the current coding block can be used, and each sample predicts all samples in the corresponding row to the same value. Blocks to which BDPCM is applied are omitted from the conversion process and coded into a residual signal and notified to the decoder. "A. BDPCM Prediction Mode" in FIG. 8 is a method related to residual signal coding.

[0070]

number

[0071]

number

[0072] The decoder performs the reverse calculation of the encoder to generate a quantized residual signal, which is then added to the predicted value to produce a reconstructed signal.

[0073] FIG. 9 is a diagram showing BDPCM flags defined in a sequence parameter set.

[0074] A BDPCM flag is defined at a higher level to turn on / off the corresponding function. In order of higher level, it is divided into video parameter set, sequence parameter set, picture parameter set, etc. In the present disclosure, the flag is defined as a sequence parameter set (SPS). However, this is not limited to this. BDPCM activation information (sps_bdpcm_enabled_flag) indicates whether BDPCM is activated. The video signal processing device performs step 710 of parsing the BDPCM activation information (sps_bdpcm_enabled_flag) from the bitstream. If the BDPCM activation information (sps_bdpcm_enabled_flag) is 1, it indicates that BDPCM is activated. If the value is 0, it indicates that BDPCM is deactivated. The indicating value may be defined inversely, and may indicate activation and deactivation in any form.

[0075] As already described, in FIG. 9, the BDPCM activity information (sps_bdpcm_enabled_flag) is defined in units of a sequence, but is not limited thereto. The BDPCM activity information (sps_bdpcm_enabled_flag) is signaled in units of at least one of a coding tree unit (CTU), a slice, a tile, a tile group, a picture, a subpicture, a sequence, or a video. If the BDPCM activity information (sps_bdpcm_enabled_flag) is signaled in units of a coding tree unit (CTU), a slice, a tile, a tile group, a picture, a subpicture, or a video, the name of the BDPCM activity information (sps_bdpcm_enabled_flag) may be different. However, the function is the same.

[0076] Referring to FIG. 9, the BDPCM enablement information (sps_bdpcm_enabled_flag) is parsed from the bitstream without any additional condition. However, this is not limited thereto. The video signal processing device parses the transform skip enablement information (sps_transform_skip_enabled_flag) indicating whether the transform skip information (transform_skip_flag) exists in the transform unit (transform unit) from the bitstream. The transform unit is a unit for transforming pixels included in a coding block and is included in the coding block. Also, the current transform unit is included in the current block. The transform skip enablement information (sps_transform_skip_enabled_flag) is information indicating whether the transform skip is enabled or disabled. The transform skip enablement information (sps_transform_skip_enabled_flag) is signaled on a sequence basis. If the transform skip activation information (sps_transform_skip_enabled_flag) is 1, it indicates that the transform skip information (transform_skip_flag) exists, and the video signal processing device later parses the transform skip information (transform_skip_flag) from the bitstream. If the transform skip activation information (sps_transform_skip_enabled_flag) is 0, it indicates that the transform skip information (transform_skip_flag) does not exist, and the video signal processing device later does not parse the transform skip information (transform_skip_flag) from the bitstream. The fact that a decoder in the video signal processing device does not parse the transform skip information indicates that an encoder in the video signal processing device does not generate the transform skip information. According to the present disclosure, if the transform skip activation information (sps_transform_skip_enabled_flag) is 1, the video signal processing device parses the BDPCM activation information (sps_bdpcm_enabled_flag) from the bitstream.

[0077] FIG. 10 is a diagram showing a portion of a coding unit syntax structure.

[0078] FIG. 10 shows the structure of information required for each coding block to be predicted, where the encoder signals according to the corresponding conditions, and the decoder also parses and acquires information from the bitstream according to the corresponding conditions. If pcm_flag[x0][y0] at the upper left coordinate (x0, y0) of the corresponding coding block is 0 indicating that the PCM mode is not applied, it is checked whether treeType is SINGLE_TREE or DUAL_TREE_LUMA. If treeType is SINGLE_TREE or DUAL_TREE_LUMA, the video signal processing device parses intra BDPCM information (intra_bdpcm_flag) from the bitstream. The intra BDPCM information (intra_bdpcm_flag) indicates whether BDPCM is applied to the current block. If the intra BDPCM information (intra_bdpcm_flag) is 1, it means that BDPCM is applied to the current block. Also, if the intra BDPCM information (intra_bdpcm_flag) is 0, it means that BDPCM is not applied to the current block. However, without being limited thereto, if the intra BDPCM information (intra_bdpcm_flag) is 0, it may mean that BDPCM is applied to the current block, and if the intra BDPCM information (intra_bdpcm_flag) is 1, it may mean that BDPCM is not applied to the current block.

[0079] The intra BDPCM information (intra_bdpcm_flag) is expressed in the format of intra_bdpcm_flag[x0][y0], where x0 and y0 are the coordinates of the current block. More specifically, x0 and y0 are the coordinates of the upper left pixel of the current block.

[0080] In order for the intra BDPCM information (intra_bdpcm_flag) to be parsed, it must satisfy the conditions for the width and height of the corresponding coding unit and the activation / deactivation condition of the BDPCM enablement information (sps_bdpcm_enabled_flag). For example, the width and height should both be 32 or less, and the BDPCM enablement information (sps_bdpcm_enabled_flag) should be 1 indicating activation. If the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 1 indicating that it has been transferred, the intra BDPCM direction information (intra_bdpcm_dir_flag[x0][y0]) is signaled / parsed. The corresponding flag indicates the prediction mode applied to the BDPCM. The prediction mode is one of the 18 horizontal prediction modes and the 50 directional prediction modes. If the value of the intra BDPCM direction information (intra_bdpcm_dir_flag[x0][y0]) is 0, it indicates intra prediction mode No. 18, and if it is 1, it indicates intra prediction mode No. 50. Whether or not the BDPCM function is used in a coding block is determined by the value of sps_bdpcm_enabled_flag defined at a higher level.

[0081] FIG. 11 is a diagram showing a portion of a coding unit syntax, including a size variable of a BDPCM application block.

[0082] The size of the block to which BDPCM is applied may be variably changed according to a preset variable, or may be applied together with other preset variables. If the BDPCM activation information (sps_bdpcm_enabled_flag) indicates activation of BDPCM, the width of the current block is less than or equal to a first value (Value 1), and the height of the current block is less than or equal to a second value (Value 2), the video signal processing device performs step 720 of parsing intra BDPCM information (intra_bdpcm_flag), which indicates whether BDPCM is applied to the current block, from the bitstream.

[0083] More specifically, the condition for signaling / parsing intra BDPCM information (intra_bdpcm_flag[x0][y0]) is when the width (cbWidth) of the coding block is smaller than or equal to a first value (Value 1), and the height (cbHeight) of the coding block is smaller than or equal to a second value (Value 2). Value 1 and Value 2 may be the same or different from each other. For example, the first value (Value 1) and the second value (Value 2) are the maximum block size (MaxTsSize) applied to the transform skip. The maximum block size (MaxTsSize) applied to the transform skip is the maximum block size allowing transform skip. The maximum block size (MaxTsSize) allowing transform skip is a value between 4 and 32. The maximum block size (MaxTsSize) allowing transform skip is defined as follows: The syntax variable log2_transform_skip_max_size_minus2 indicates the maximum block size to which transform skip is applied, and its value is between 0 and 3. If the variable (log2_transform_skip_max_size_minus2) does not exist, it is inferred to be 0. Using the variable (log2_transform_skip_max_size_minus2), the maximum block size (MaxTsSize) that allows transform skip is set as 1<<(log2_transform_skip_max_size_minus2+2).

[0084] Alternatively, a separate block size variable for BDPCM may be set without using log2_transform_skip_max_size_minus2 for the transform skip condition. For example, the variable MaxBdpcmSize is used. The size of MaxBdpcmSize is set based on the value signaled by log2_bdpcm_max_size_minus2. MaxBdpcmSize is set to 1<<(log2_transform_skip_max_size_minus2+2). log2_transform_skip_max_size_minus2 has a maximum value of 0, and its maximum value is one of the values ​​7, 6, 5, 4, 3, 2, and 1. When log2_transform_skip_max_size_minus2 for the transform skip condition is used, there is no need to set an additional variable and there may be no additional information transmitted from the encoder to the decoder. If you use log2_transform_skip_max_size_minus2 instead, you will need additional variables such as log2_bdpcm_max_size_minus2, but the block will have more flexibility. You can also set Value 1 and Value 2 differently in a similar way to the above.

[0085] The video signal processing device includes sps_bdpcm_enabled_flag in the signaling / parsing conditions of intra BDPCM information (intra_bdpcm_flag), such that sps_bdpcm_enabled_flag && cbWidth <= Value 1 && cbHeight <= Value 2.

[0086] 11 shows a structure of information required for each coding block to be predicted, where the encoder signals according to a corresponding condition, and the decoder also parses and acquires information from a bitstream according to the corresponding condition. Referring to line 1110, the video signal processing device determines whether pcm_flag[x0][y0] indicates that the PCM mode is not applied at the upper left coordinate (x0,y0) of the corresponding coding block. Referring to line 1120, if pcm_flag[x0][y0] is equal to 0 indicating that the PCM mode is not applied at the upper left coordinate (x0,y0) of the coding block, the video signal processing device can check whether the treeType is SINGLE_TREE or DUAL_TREE_LUMA. Also, if treeType is SINGLE_TREE or DUAL_TREE_LUMA, the video signal processing device determines whether the BDPCM activation information (sps_bdpcm_enabled_flag) indicates the activation of BDPCM, whether the width of the current block is smaller than or equal to a first value (Value 1), or whether the height of the current block is smaller than or equal to a second value (Value 2). Although line 1130 does not state whether the BDPCM activation information (sps_bdpcm_enabled_flag) indicates the activation of BDPCM, it is also determined whether the BDPCM activation information (sps_bdpcm_enabled_flag) indicates the activation of BDPCM. Here, the first and second values ​​are the maximum block size (MaxTsSize) that allows transform skip. The maximum block size (MaxTsSize) that allows transform skip has already been described, so a duplicate description will be omitted.

[0087] Referring to line 1140, the video signal processing device performs step 720 of parsing intra BDPCM information (intra_bdpcm_flag) from the bitstream if the BDPCM activation information (sps_bdpcm_enabled_flag) indicates BDPCM activation, the width of the current block is less than or equal to a first value, and the height of the current block is less than or equal to a second value.

[0088] Intra BDPCM information (intra_bdpcm_flag) indicates whether BDPCM is applied to the current block. Intra BDPCM information (intra_bdpcm_flag) is expressed in the format of intra_bdpcm_flag[x0][y0], where x0 and y0 are the coordinates of the current block. More specifically, x0 and y0 are the coordinates of the upper left pixel of the current block.

[0089] Referring to line 1150, the video signal processing apparatus determines whether the intra BDPCM information (intra_bdpcm_flag[x0][y0]) indicates the use of BDPCM. Referring to line 1160, if the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is applied to the current block, step 730 is performed to parse the intra BDPCM direction information (intra_bdpcm_dir_flag) for the current block from the bitstream. The intra BDPCM direction information (intra_bdpcm_dir_flag) indicates one of the horizontal and vertical directions. For example, if the intra BDPCM direction information (intra_bdpcm_dir_flag) is 0, it indicates the horizontal direction. Also, if the intra BDPCM direction information (intra_bdpcm_dir_flag) is 1, it indicates the vertical direction. However, the present invention is not limited to this. If the intra BDPCM direction information (intra_bdpcm_dir_flag) is 1, it indicates the horizontal mode, and if the intra BDPCM direction information (intra_bdpcm_dir_flag) is 0, it indicates the vertical mode.

[0090] The intra BDPCM direction information (intra_bdpcm_dir_flag) indicates the prediction mode applied to the BDPCM. The prediction mode is one of the 18th intra prediction mode or the 50th intra prediction mode. The 18th intra prediction mode is a horizontal prediction mode, and the 50th intra prediction mode is a vertical prediction mode. If the value of the intra BDPCM direction information (intra_bdpcm_dir_flag[x0][y0]) is 0, the BDPCM prediction method indicates the horizontal direction, and if the value of the intra BDPCM direction information (intra_bdpcm_dir_flag[x0][y0]) is 1, the BDPCM prediction direction indicates the vertical direction. If the value of the intra BDPCM direction information (intra_bdpcm_dir_flag[x0][y0]) is 0, the 18th intra prediction mode is indicated, and if the value is 1, the 50th intra prediction mode is indicated. The value of the BDPCM active information (sps_bdpcm_enabled_flag) defined at a higher level determines whether or not a corresponding function is used in a coding block.

[0091] The intra BDPCM information (intra_bdpcm_flag) and the intra BDPCM direction information (intra_bdpcm_dir_flag) are parsed for each chroma component and luma component. The intra BDPCM information (intra_bdpcm_flag) and the intra BDPCM direction information (intra_bdpcm_dir_flag) are parsed for the luma component regardless of the chroma component. That is, the video signal processing device parses the intra BDPCM information (intra_bdpcm_luma_flag) for the luma component or the intra BDPCM direction information (intra_bdpcm_luma_dir_flag) for the luma component in the manner already described, and parses the intra BDPCM information (intra_bdpcm_chroma_flag) for the chroma component or the intra BDPCM direction information (intra_bdpcm_chroma_dir_flag) for the chroma component in a similar manner. The process of obtaining intra BDPCM information for the luma component (intra_bdpcm_luma_flag) and intra BDPCM direction information for the luma component (intra_bdpcm_luma_dir_flag) is slightly different from the process of obtaining intra BDPCM information for the chroma component (intra_bdpcm_chroma_flag) and intra BDPCM direction information for the chroma component (intra_bdpcm_chroma_dir_flag). This is because the current block of the luma component and the current block of the chroma component may be different from each other. More specifically, the size or position of the current block of the luma component may be different from the size or position of the current block of the chroma component. The video signal processing device parses intra BDPCM information (intra_bdpcm_luma_flag) for the luma component from the bitstream when the BDPCM activation information (sps_bdpcm_enabled_flag) indicates activation of BDPCM, the width of the current luma coding block is less than or equal to a first value, and the height of the current luma coding block is less than or equal to a second value. Similarly, the video signal processing device parses intra BDPCM information (intra_bdpcm_chroma_flag) for the chroma component from the bitstream when the BDPCM activation information (sps_bdpcm_enabled_flag) indicates activation of BDPCM, the width of the current chroma coding block is less than or equal to the first value, and the height of the current chroma coding block is less than or equal to a second value. Also, if the intra BDPCM information for the luma component (intra_bdpcm_luma_flag) indicates that BDPCM is applied to the current luma coding block, the luma intra BDPCM direction information (intra_bdpcm_luma_dir_flag) for the current luma coding block is parsed from the bitstream.Similarly, if the intra BDPCM information for a chroma component (intra_bdpcm_chroma_flag) indicates that BDPCM is applied to the current chroma coding block, the chroma intra BDPCM direction information (intra_bdpcm_chroma_dir_flag) for the current chroma coding block is parsed from the bitstream, where the first and second values ​​are the maximum block size (MaxTsSize) that allows transform skipping.

[0092] In the present disclosure, intra BDPCM information (intra_bdpcm_flag) includes intra BDPCM information for the luma component (intra_bdpcm_luma_flag) and intra BDPCM information for the chroma component (intra_bdpcm_chroma_flag). Also, in the present disclosure, intra BDPCM direction information (intra_bdpcm_dir_flag) includes intra BDPCM direction information for the luma component (intra_bdpcm_luma_dir_flag) and intra BDPCM direction information for the chroma component (intra_bdpcm_chroma_dir_flag).

[0093] The video signal processing apparatus performs step 740 of restoring the current block based on the intra BDPCM direction information (intra_bdpcm_dir_flag). Step 740 of restoring the current block based on the intra BDPCM direction information (intra_bdpcm_dir_flag) has been described with reference to FIG. 8, so a duplicate description will be omitted.

[0094] FIG. 12 is a diagram showing a part of the transform unit syntax.

[0095] The coding block to which BDPCM is applied codes the residual signal in the manner described in FIG. 8 without the transform process. The syntax variable for preventing the corresponding block from applying the transform process is the transform skip information (transform_skip_flag). That is, the transform skip information (transform_skip_flag) indicates whether or not transform is applied to the corresponding block. Alternatively, if the transform skip information (transform_skip_flag) is equal to a pre-specified value, the transform skip information (transform_skip_flag) indicates that transform is not applied to the current block. If the transform skip information (transform_skip_flag) is 1, transform is skipped for the corresponding transform block. Also, if the transform skip information (transform_skip_flag) is 0, transform is not skipped for the corresponding transform block. However, this is not limited thereto, and if the transform skip information (transform_skip_flag) is 0, transform may be skipped for the corresponding transform block. Also, if the transform skip information (transform_skip_flag) is 1, transform may not be skipped for the corresponding transform block.

[0096] The transform skip information (transform_skip_flag) is expressed for each color component in the format of transform_skip_flag[x0][y0]. Here, x0 and y0 are the coordinates of the corresponding transform block. More specifically, x0 and y0 are the coordinates of the upper left pixel of the corresponding block. As already explained, the current block includes at least one transform block. The encoder performs transform in transform block units, and the decoder performs inverse transform in transform block units.

[0097] The conditions for signaling / parsing transform skip information (transform_skip_flag[x0][y0]) are as follows: tu_cbf_luma[x0][y0] is 1, treeType is different from DUAL_TYPE_TREE_CHROMA, the width and height of the coding unit are equal to or smaller than 32, IntraSubPartitionsSplit[x0][y0] is equal to ISP_NO_SPLIT, cu_sbt_flag is 0, and intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 0. In addition, the condition of transform_skip_enabled_flag&&tbWidth<=MaxTsSize&&tbHeight<=MaxTsSize should also be satisfied. tbWidth is a variable indicating the width of the transform block, and tbHeight is a variable indicating the height of the transform block.

[0098] The above conditions are merely examples, and some of the conditions may be replaced with other conditions or deleted. Also, other conditions may be added. However, some of the conditions may be maintained to improve the efficiency of encoding or decoding of a video. For example, as described above, since a transform skip is applied to a coding block to which BDPCM is applied, the application of the transform skip is determined by inference without signaling / parsing separate information. That is, when the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is applied to the current block, the transform skip information (transform_skip_flag), which indicates whether or not a transform is applied to the current block, is not parsed. As described above, if the intra BDPCM information (intra_bdpcm_flag) is 1, it indicates that BDPCM is applied to the current block. If the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is not applied to the current block, the video signal processing device further determines at least one of the above-mentioned conditions to determine whether to parse the transform skip information (transform_skip_flag).

[0099] If some of the above conditions are not satisfied, the transform skip information (transform_skip_flag) is not parsed, so that the transform skip information (transform_skip_flag[x0][y0]) may not exist. For example, when the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is applied to the current block, the transform skip information (transform_skip_flag[x0][y0]) does not exist. The video signal processing device infers the transform_skip_flag based on the intra BDPCM information (intra_bdpcm_flag) to know whether the transform skip is applied or not.

[0100] For example, if there is no transform skip information (transform_skip_flag[x0][y0]) and the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 1, the video signal processing device infers the transform skip information (transform_skip_flag[x0][y0]) as a first inference value. Here, the intra BDPCM information (intra_bdpcm_flag) being 1 indicates that BDPCM is applied to the current block. If the value of the transform skip information is the first inference value, it indicates that transform is not applied to the block corresponding to the transform skip information.

[0101] Also, if there is no transform skip information (transform_skip_flag[x0][y0]) and the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 0, the video signal processing device infers the transform skip information (transform_skip_flag[x0][y0]) as a second inference value. Here, the intra BDPCM information (intra_bdpcm_flag) being 0 indicates that BDPCM is not applied to the current block. If the value of the transform skip information is the second inference value, it indicates that transformation is applied to the block corresponding to the transform skip information. Here, the first inference value is 1 and the second inference value is 0. However, without being limited thereto, the first inference value may be 0 and the second inference value may be 1.

[0102] If the transform skip information (transform_skip_flag[x0][y0]) of the block to which BDPCM is applied is 1, the residual_ts_coding() function is called. This function codes the residual signal transformed in Figure 8. In addition, the MinBdpcmSize condition for tbWidth and tbHeight is also added in the same way. The corresponding values ​​are signaled and calculated in a similar way at higher levels. The MinBdpcmSize condition may also be added and applied to the conditions in Figure 13.

[0103] FIG. 13 illustrates the signaling / parsing conditions of the transform skip flag within a portion of the transform unit syntax.

[0104] Figure 13 is an embodiment similar to Figure 12. Since transform skip is applied to a coding block to which BDPCM is applied, application of transform skip is determined by inference without signaling / parsing separate information. Therefore, a condition indicating that BDPCM is not applied is added to the conditions for signaling / parsing the transform skip flag.

[0105] As shown in Fig. 13, the video signal processing device uses a condition such as (transform_skip_enabled_flag && tbWidth <= MaxTsSize && tbHeight <= MaxTsSize && (! intra_bdpcm_flag[x0][y0])) as a condition for parsing the transform skip information (transform_skip_flag). Also, the video signal processing device parses the transform skip information (transform_skip_flag) if transform_skip_enabled_flag is 1, tbWidth <= MaxTsSize is satisfied, tbHeight <= MaxTsSize is satisfied, and intra_bdpcm_flag[x0][y0] is 0. That is, transform_skip_flag[x0][y0] is signaled / parsed only in blocks to which the transform skip condition and BDPCM are not applied.

[0106] The conditions for signaling / parsing the transform skip information (transform_skip_flag[x0][y0]) are as follows: Referring to line 1310, the video signal processing device checks whether the value of tu_cbf_luma[x0][y0] is 1, whether the treeType is different from DUAL_TYPE_TREE_CHROMA, whether the width (tbWidth) and height (tbHeight) of the transform block are equal to or smaller than 32, whether IntraSubPartitionsSplit[x0][y0] is equal to ISP_NO_SPLIT, whether cu_sbt_flag is 0, and whether the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 0. As already explained, the intra BDPCM information (intra_bdpcm_flag) being 0 means that BDPCM is not applied to the current block. Also, referring to line 1320, the video signal processor determines whether the condition transform_skip_enabled_flag && tbWidth<=MaxTsSize && tbHeight<=MaxTsSize is satisfied.

[0107] The above conditions are merely examples, and some of the conditions may be replaced with other conditions or deleted. Other conditions may be added. However, some of the conditions may be maintained to improve the efficiency of encoding or decoding of a video. For example, as described above, a coding block to which BDPCM is applied is applied with a transform skip, and therefore no separate information is signaled / parsed. That is, when the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is applied to the current block, the transform skip information (transform_skip_flag) indicating whether or not a transform is applied to the current block is not parsed. As described above, when the intra BDPCM information (intra_bdpcm_flag) is 1, it indicates that BDPCM is applied to the current block. When the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is not applied to the current block, the video signal processing device further checks at least one of the above conditions to determine whether or not to parse the transform skip information (transform_skip_flag).

[0108] If at least one of the above conditions is not satisfied, a case may occur where the transform skip information (transform_skip_flag[x0][y0]) does not exist. For example, when the intra BDPCM information (intra_bdpcm_flag) indicates that BDPCM is applied to the current block, the transform skip information (transform_skip_flag[x0][y0]) does not exist. The video signal processing device infers the transform_skip_flag based on the intra BDPCM information (intra_bdpcm_flag) to know whether the transform skip is applied or not. For example, if there is no transform skip information (transform_skip_flag[x0][y0]) and the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 1, the video signal processing device infers the transform skip information (transform_skip_flag[x0][y0]) to 1. Here, the intra BDPCM information (intra_bdpcm_flag) being 1 indicates that BDPCM is applied to the current block. Conversely, if there is no transform skip information (transform_skip_flag[x0][y0]) and the intra BDPCM information (intra_bdpcm_flag[x0][y0]) is 0, the video signal processing device infers the transform skip information (transform_skip_flag[x0][y0]) to 0. Here, the intra BDPCM information (intra_bdpcm_flag) being 0 indicates that BDPCM is not applied to the current block. In this way, the encoder does not transmit duplicate information and the decoder does not parse, thereby improving the encoding / decoding efficiency. The encoder does not generate transform_skip_flag, thereby improving the encoding efficiency and reducing the bitstream capacity. In addition, the decoder infers information without a parsing process, thereby improving the computing efficiency.

[0109] The transform skip information (transform_skip_flag) is parsed separately for the chroma component and the luma component. The chroma components include Cb and Cr. The transform skip information (transform_skip_flag) is parsed separately for Cb and Cr. The transform skip information (transform_skip_flag) may be parsed for the luma component regardless of the chroma component. The transform skip information (transform_skip_flag) may be parsed for the chroma component regardless of the luma component. The video signal processing device acquires the transform skip information (transform_skip_flag) for the luma component and acquires the transform skip information (transform_skip_flag) for the chroma component. Also, if there is no transform skip information (transform_skip_flag), the transform skip information (transform_skip_flag) is inferred separately for the chroma component and the luma component. The video signal processing device infers the transform skip information (transform_skip_flag) using the method already described. Alternatively, the video signal processing apparatus may infer the transform skip information (transform_skip_flag) for the chroma components using the transform skip information (transform_skip_flag) for the luma components.

[0110] FIG. 14 is a diagram showing the relationship between a block to which BDPCM is applied and an intra-prediction mode variable.

[0111] The block to which BDPCM is applied indicates an intra (intra-screen) prediction mode according to the value of intra_bdpcm_dir_flag[x0][y0]. For example, if the intra BDPCM direction information (intra_bdpcm_dir_flag) is 0, the video signal processing device performs a step of selecting an intra prediction mode (mode 18) corresponding to the horizontal direction among a plurality of intra modes as the intra prediction mode of the current block. Also, if the intra BDPCM direction information (intra_bdpcm_dir_flag) is 1, the video signal processing device performs a step of selecting an intra prediction mode (mode 50) corresponding to the vertical direction among a plurality of intra modes as the intra prediction mode of the current block.

[0112] Since the intra prediction mode used in the block to which BDPCM is applied is the same as the general intra prediction mode, the corresponding mode is stored as a variable (IntraPredModeY[xCb][yCb]) indicating the intra prediction mode of the current predicted block and used to derive the MPM of the general coding block. That is, the intra prediction mode of the current block is used to determine the intra prediction mode of the surrounding block restored after the current block. In addition, the video signal processing device stores the intra prediction mode of the current block as a candidate for determining the intra prediction mode of the surrounding block restored after the current block. The video signal processing device selects one of the stored candidates based on the parsed information to determine the intra prediction mode of the surrounding block restored after the current block.

[0113] In addition, the intra prediction mode of the already restored coding block is used to determine the intra prediction mode of the current block. The video signal processing device stores the intra prediction modes of the already restored coding blocks as candidates for determining the intra prediction mode of the current block. The video signal processing device selects one of the stored candidates based on the parsed information to determine the intra prediction mode of the current block.

[0114] For example, if the current block is a general block not to which BDPCM is applied, one of the neighboring blocks already restored is a block to which BDPCM is applied, and intra_bdpcm_dir_flag[x0][y0] is 0, IntraPredModeY[xCb][yCb] stores the 18th intra prediction mode. The video signal processing device uses the 18th intra prediction mode of the neighboring block already restored to encode or decode the general coding block. More specifically, the video signal processing device uses the 18th intra prediction mode of the neighboring block already restored when inducing MPM for the current block. The prediction mode of the block to which BDPCM is applied is intended to minimize the final residual signal, so the prediction method may be the same, but since the residual pattern may differ from the general situation, a preset value is used. Set the DC mode to the horizontal mode of BDPCM in the vertical direction, the horizontal mode of BDPCM in the vertical direction, or one mode in two directions of BDPCM.

[0115] Although the above description has been written from the perspective of a decoder, the same operation is performed in an encoder. Although the term "parsing" in the above description has been described with a focus on the process of obtaining information from a bitstream, from the perspective of an encoder, it can be interpreted as configuring corresponding information in a bitstream. Therefore, the term "parsing" is not limited to the operation of a decoder, but can also be interpreted as the act of configuring a bitstream in an encoder.

[0116] The above-described embodiments of the present invention may be implemented in a variety of ways, for example, in hardware, firmware, software, or a combination thereof.

[0117] In the case of a hardware implementation, the methods according to the embodiments of the present invention may be implemented using one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSDPs), Programmable Logic Devices (PDLs), Field Programmable Gate Arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, etc.

[0118] In the case of implementation by firmware or software, the method according to the embodiment of the present invention may be implemented in the form of modules, procedures, or functions performing the functions or operations described above. The software code is stored in a memory and implemented by a processor. The memory may be located inside or outside the processor and may exchange data with the processor by various means known in the art.

[0119] The above description of the present invention is for illustrative purposes only, and those skilled in the art will understand that the present invention can be easily modified into other specific forms without changing the technical idea or essential features of the present invention. Therefore, it should be understood that the above-described embodiments are illustrative in all respects and are not limiting. For example, each component described as a single type may be implemented in a distributed form, and each component described as a distributed form may be implemented in a combined form.

[0120] The above-described preferred embodiments of the present invention have been disclosed for illustrative purposes, and those skilled in the art may improve, modify, substitute or add to various other embodiments within the technical spirit and scope of the present invention disclosed in the claims appended below.

Claims

1. 1. A method of processing a video signal for decoding, comprising the steps of: Parsing BDPCM activation information indicating whether or not a block-based delta pulse code modulation (BDPCM) is activated from the bitstream; parsing intra-BDPCM information, indicating whether BDPCM is applied to the current block, from the bitstream if the BDPCM activity information indicates activation of BDPCM, a width of the current block is less than or equal to a first value, and a height of the current block is less than or equal to a second value; if the intra BDPCM information indicates that BDPCM is applied to the current block, parsing intra BDPCM direction information for the current block from a bitstream; recovering the current block based on the intra BDPCM direction information; 16. A method for processing a video signal, comprising:

2. 2. The method of claim 1, wherein the first value and the second value are maximum block sizes that allow transform skipping.

3. 2. The method of claim 1, wherein the intra BDPCM information and the intra BDPCM direction information are parsed for a luma component regardless of a chroma component.

4. 2. The method of claim 1, wherein the BDPCM activity information is signaled in a sequence.

5. if the intra BDPCM information indicates that BDPCM is applied to the current block, then not parsing transform skip information of a transform block corresponding to the current block from the bitstream; The method of claim 1 , wherein the transform skip information indicates that no transform is applied to a block corresponding to the transform skip information when the value of the transform skip information is a first speculated value.

6. inferring the transform skip information to the first inferred value if the transform skip information does not exist and the intra BDPCM information indicates that BDPCM is applied to the current block; 6. The method of claim 5, further comprising the step of inferring the transform skip information to a second inferred value if the transform skip information is not present and the intra BDPCM information indicates that BDPCM is not to be applied to the current block.

7. 2. The method of claim 1, wherein the intra BDPCM direction information indicates one of a horizontal direction or a vertical direction.

8. selecting an intra prediction mode corresponding to a horizontal direction among a plurality of intra modes as an intra prediction mode of the current block when the intra BDPCM direction information is 0; and if the intra BDPCM direction information is 1, selecting an intra prediction mode corresponding to a vertical direction among a plurality of intra modes as the intra prediction mode of the current block.

9. The method of claim 8, wherein the intra-prediction mode of the current block is used to determine the intra-prediction modes of neighboring blocks that are reconstructed after the current block.

10. A video signal processing apparatus for decoding an image includes a processor and a memory, The processor, based on the instructions stored in the memory, Parsing BDPCM activation information indicating whether block-based delta pulse code modulation (BDPCM) is activated from the bit stream; parsing intra-BDPCM information, which indicates whether BDPCM is applied to the current block, from the bitstream if the BDPCM activation information indicates activation of BDPCM, a width of the current block is less than or equal to a first value, and a height of the current block is less than or equal to a second value; if the intra BDPCM information indicates that BDPCM is applied to the current block, parsing intra BDPCM direction information for the current block from a bitstream; A video signal processing device for reconstructing the current block based on the intra BDPCM direction information.

11. The video signal processing apparatus according to claim 10, wherein the first value and the second value are maximum block sizes that allow transform skipping.

12. The video signal processing apparatus of claim 10, wherein the intra BDPCM information and the intra BDPCM direction information are parsed for a luma component regardless of a chroma component.

13. 11. The video signal processing apparatus of claim 10, wherein the BDPCM activity information is signaled in a sequence.

14. if the intra BDPCM information indicates that BDPCM is applied to the current block, then not parsing transform skip information of a transform block corresponding to the current block from the bitstream; The video signal processing apparatus of claim 10 , wherein the transform skip information indicates that, when a value of the transform skip information is a first speculated value, no transform is applied to the block corresponding to the transform skip information.

15. The processor, based on the instructions stored in the memory, if the transform skip information does not exist and the intra BDPCM information indicates that BDPCM is to be applied to the current block, inferring the transform skip information to the first inferred value; 15. The video signal processing apparatus of claim 14, wherein if the transform skip information does not exist and the intra BDPCM information indicates that BDPCM is not applied to the current block, the transform skip information is inferred to a second inferred value.

16. 11. The apparatus of claim 10, wherein the intra BDPCM direction information indicates one of a horizontal direction or a vertical direction.

17. The processor, based on the instructions stored in the memory, If the intra BDPCM direction information is 0, an intra prediction mode corresponding to a horizontal direction among a plurality of intra modes is selected as an intra prediction mode of the current block; The video signal processing apparatus of claim 16, wherein, when the intra BDPCM direction information is 1, an intra prediction mode corresponding to a vertical direction among a plurality of intra modes is selected as the intra prediction mode of the current block.

18. The video signal processing apparatus of claim 17, wherein the intra-prediction mode of the current block is used to determine the intra-prediction modes of neighboring blocks reconstructed after the current block.

19. 1. A method of processing a video signal for encoding, comprising: generating block-based delta pulse code modulation (BDPCM) activation information indicating whether BDPCM is activated; generating intra BDPCM information indicating whether BDPCM is applied to the current block when the BDPCM activity information indicates activation of BDPCM, a width of the current block is less than or equal to a first value, and a height of the current block is less than or equal to a second value; generating intra BDPCM direction information for the current block when the intra BDPCM information indicates that BDPCM is applied to the current block; generating a bitstream based on the BDPCM activity information, the intra BDPCM information, and the intra BDPCM direction information; 16. A method for processing a video signal, comprising:

20. 20. The method of claim 19, wherein if the intra BDPCM information indicates that BDPCM is applied to the current block, transform skip information of a transform block corresponding to the current block is not generated.

21. A video signal processing apparatus for encoding includes a processor and a memory, The processor, based on the instructions stored in the memory, generating BDPCM activation information indicating whether block-based delta pulse code modulation (BDPCM) is activated; generating intra-BDPCM information indicating whether BDPCM is applied to the current block when the BDPCM activation information indicates activation of BDPCM, a width of the current block is less than or equal to a first value, and a height of the current block is less than or equal to a second value; if the intra BDPCM information indicates that BDPCM is to be applied to the current block, generating intra BDPCM direction information for the current block; A video signal processing apparatus for generating a bitstream based on the BDPCM activity information, the intra BDPCM information, and the intra BDPCM direction information.

22. 22. The video signal processing apparatus of claim 21, wherein if the intra BDPCM information indicates that BDPCM is applied to the current block, transform skip information of a transform block corresponding to the current block is not generated.

23. generating block-based delta pulse code modulation (BDPCM) activation information indicating whether BDPCM is activated; generating intra-BDPCM information indicating whether BDPCM is applied to the current block when the BDPCM activation information indicates activation of BDPCM, a width of the current block is less than or equal to a first value, and a height of the current block is less than or equal to a second value; if the intra BDPCM information indicates that BDPCM is applied to the current block, generating intra BDPCM direction information for the current block; generating a bitstream based on the BDPCM activity information, the intra BDPCM information, and the intra BDPCM direction information; A computer-readable recording medium on which an encoded video signal including the above is recorded.

Citation Information

Patent Citations

  • Residual differential pulse code modulation (DPCM) extensions and harmonization with transform skip, rotation, and scans

    US20140362917A1

  • Image processing device and method

    WO2018173798A1

  • Polymethoxyflavones as sweetness enhancers

    WO2020025639A1

  • Method and apparatus for video coding

    WO2020139774A1

  • Bdpcm-based image coding method and device therefor

    WO2020218793A1