Video encoding / decoding apparatus and video data providing apparatus

By generating and applying reconstruction information between brightness and chroma blocks, the problem of low intra prediction efficiency in non-square blocks in the prior art is solved, and the accuracy and performance of video encoding and decoding are improved.

CN119094783APending Publication Date: 2024-12-06SK TELECOM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411241135.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2018-08-03
Filing Date
2019-01-04
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When existing video compression techniques deal with non-square blocks, intra prediction has problems of data loss and low efficiency, especially in the process of video encoding and decoding, it is difficult to effectively utilize the correlation between brightness and chrominance blocks.

Method used

By generating reconstruction information for residual blocks and luminance blocks of chrominance blocks, scaling values ​​and offset values ​​are determined, applied to luminance blocks to generate prediction blocks, and generating reconstruction blocks based on residual blocks and prediction blocks, utilizing brightness The correlation between the chroma blocks performs intra prediction of the linear model across components.

Benefits of technology

Improve the accuracy and efficiency of intra prediction based on CCLM, reduce data loss, and improve the performance of video encoding and decoding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094783A_ABST
    Figure CN119094783A_ABST
Patent Text Reader

Abstract

The invention relates to a video encoding / decoding apparatus and a video data providing apparatus. According to one aspect of the present embodiment, provided is an image decoding method for predicting and decoding a block to be decoded, the image decoding method comprising the steps of: generating a residual block of a chroma block by receiving a bitstream; generating reconstruction information of a luma block corresponding to the chroma block and adjacent reconstruction information of the luma block; generating neighboring reconstruction information of the chrominance block; determining a scaling value and an offset value by using the neighboring reconstruction information of the chroma block and the neighboring reconstruction information of the luma block; generating a prediction block of the chroma block by applying the determined scaling value and offset value to reconstruction information of the luma block; and generating a reconstructed block of the chroma block based on the residual block of the chroma block and the prediction block of the chroma block.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the original application number 201980016697.2 (International application number: PCT / KR2019 / 000152, application date: January 4, 2019, invention name: Image encoding / decoding method and device using YCBCR correlation). Technical Field

[0002] The present disclosure relates to a video encoding / decoding method and apparatus using the correlation of YCbCr. Background Art

[0003] The statements in this section merely provide background information related to the present disclosure and may not constitute prior art.

[0004] With the development of portable multimedia devices such as smart phones and tablet computers, users are enabled to easily acquire and store videos, and even share them through social networking services. Videos available through video storage and transmission, streaming services that enable users to watch videos online in real time, or video on demand (VoD) services that enable users to download and watch videos are very large in data volume and therefore need to be compressed.

[0005] Video compression, which is an operation of encoding an input video in consideration of the statistical characteristics of the video, is based on techniques such as predictive coding techniques that eliminate temporal / spatial redundancy, transform and quantization techniques based on cognitive vision, and entropy coding techniques. Among these techniques, predictive coding techniques and transform coding techniques are representative methods of reducing the amount of data by representing the same information without causing data loss.

[0006] Predictive coding techniques are compression techniques that predict the current picture to be compressed based on the spatial similarity between internal pixels within the current picture and the temporal similarity between the current picture and the picture compressed at the previous time. In video compression, coding based on temporal redundancy between pictures is called temporal prediction (or inter-frame prediction), and coding based on spatial redundancy within a picture is called spatial prediction (or intra-frame prediction).

[0007] In the coding standard High Efficiency Video Coding (HEVC), pictures are partitioned into square blocks for intra prediction. Therefore, partitioning pictures into blocks of other shapes may cause problems with prediction. Summary of the invention

[0008] Technical issues

[0009] The present disclosure aims to provide a video encoding / decoding method and device for predicting blocks based on YCbCr correlation.

[0010] Technical Solution

[0011] According to one aspect of the present disclosure, a video decoding method for predictive decoding of a target block is provided, the video decoding method comprising the following steps: receiving a bit stream and generating a residual block for a chroma block; generating reconstruction information in a luminance block corresponding to the chroma block and reconstructed neighboring information about the luminance block; generating reconstructed neighboring information about the chroma block; determining a scaling value and an offset value based on the reconstructed neighboring information about the chroma block and the reconstructed neighboring information about the luminance block; generating a prediction block for the chroma block by applying the determined scaling value and offset value to the reconstruction information in the luminance block; and generating a reconstructed block for the chroma block based on the residual block for the chroma block and the prediction block for the chroma block.

[0012] According to another aspect of the present disclosure, a video decoding device for predictive decoding of a target block is provided, the video decoding device including a predictor, the predictor being configured to: receive a bit stream and generate a residual block for a chroma block; generate reconstruction information in a luminance block corresponding to the chroma block and reconstructed neighboring information about the luminance block; generate reconstructed neighboring information about the chroma block; determine a scaling value and an offset value based on the reconstructed neighboring information about the chroma block and the reconstructed neighboring information about the luminance block; generate a prediction block for the chroma block by applying the determined scaling value and offset value to the reconstruction information in the luminance block; and generate a reconstructed block for the chroma block based on the residual block for the chroma block and the prediction block for the chroma block.

[0013] According to another aspect of the present disclosure, a video decoding method for predictive decoding of a target block is provided, the video decoding method comprising the following steps: receiving a bit stream and generating a residual block for a Cr block; generating reconstruction information in a Cb block corresponding to the Cr block and reconstructed neighboring information about the Cb block; generating reconstructed neighboring information about the Cr block; determining a scaling value and an offset value based on the reconstructed neighboring information about the Cr block and the reconstructed neighboring information about the Cb block; generating a prediction block for the Cr block by applying the determined scaling value and offset value to the reconstruction information in the Cb block; and generating a reconstructed block for the Cr block based on the residual block for the Cr block and the prediction block for the Cr block.

[0014] According to another aspect of the present disclosure, a video decoding device for predictive decoding of a target block is provided, the video decoding device including a predictor configured to: receive a bit stream and generate a residual block for a Cr block; generate reconstruction information in a Cb block corresponding to the Cr block and reconstructed neighboring information about the Cb block; generate reconstructed neighboring information about the Cr block; determine a scaling value and an offset value based on the reconstructed neighboring information about the Cr block and the reconstructed neighboring information about the Cb block; generate a prediction block for the Cr block by applying the determined scaling value and offset value to the reconstruction information in the Cb block; and generate a reconstructed block for the Cr block based on the residual block for the Cr block and the prediction block for the Cr block.

[0015] Beneficial Effects

[0016] As is apparent from the above description, according to the embodiments, the accuracy of CCLM (Cross Component Linear Model)-based intra prediction can be improved by effectively setting reconstructed neighboring pixels. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is an exemplary block diagram of a video encoding device capable of implementing the techniques of the present disclosure,

[0018] Figure 2 is an exemplary block diagram of a video decoding device capable of implementing the techniques of the present disclosure,

[0019] Figure 3 is a diagram showing reconstructed neighboring pixel values ​​for a target block of a square shape,

[0020] Figure 4 An exemplary MMLM CCLM is illustrated,

[0021] Figure 5 A method for indicating an intra mode for prediction is illustrated,

[0022] Figure 6 Use as Figure 5 The diagram shown in FIG. 1 represents a method for predicting intra-mode among different types of CCLMs,

[0023] Figure 7 shows samples used for CCLM when predicting a block according to the first embodiment of the present disclosure,

[0024] Figure 8 shows samples for CCLM when predicting a block according to the second embodiment of the present disclosure,

[0025] Fig. 9shows samples used for CCLM when predicting a block according to the third embodiment of the present disclosure,

[0026] Fig.10 shows samples for CCLM when predicting a block according to a fourth embodiment of the present disclosure,

[0027] Fig.11 shows samples used for CCLM when predicting a block according to a fifth embodiment of the present disclosure,

[0028] Fig.12 shows samples used for CCLM when predicting a block according to a sixth embodiment of the present disclosure,

[0029] Fig.13 shows samples used for CCLM when predicting a block according to the seventh embodiment of the present disclosure,

[0030] Fig.14 shows samples used for CCLM when predicting a block according to an eighth embodiment of the present disclosure,

[0031] Fig.15 is a flowchart illustrating a video decoding method according to the present disclosure. DETAILED DESCRIPTION

[0032] Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that when reference numerals are added to the constituent elements in the corresponding drawings, similar reference numerals designate similar elements, although these elements are shown in different drawings. In addition, in the following description of the present invention, detailed descriptions of known functions and configurations incorporated herein will be omitted to avoid obscuring the subject matter of the present invention.

[0033] Various terms such as first, second, A, B, (a), (b), etc. are only used to distinguish one component from another component, but do not imply or suggest the essence, order or sequence of the components. Throughout this specification, when a component "includes" or "contains" a component, the component may also include other components, and unless there is a specific description to the contrary, these other components are not excluded. Terms such as "unit", "module", etc. refer to a unit for processing at least one function or operation that can be implemented by hardware, software or a combination thereof.

[0034] Figure 1 is an exemplary block diagram of a video encoding device capable of implementing the techniques of the present disclosure.

[0035] The video encoding apparatus includes a block partitioner 110, a predictor 120, a subtractor 130, a transformer 140, a quantizer 145, an encoder 150, an inverse quantizer 160, an inverse transformer 165, an adder 170, a filter unit 180, and a memory 190. Each element of the video encoding apparatus may be implemented as a hardware chip, or may be implemented as software, and one or more microprocessors may be implemented to execute the function of the software corresponding to each element.

[0036] The video consists of multiple pictures. Each picture is divided into multiple regions, and encoding is performed for each region. For example, a picture is divided into one or more slices and / or tiles, and each slice or tile is divided into one or more coding tree units (CTUs). In addition, each CTU is divided into one or more coding units (CUs) in a tree structure. The information applied to each CU is encoded as the syntax of the CU, and the information commonly applied to the CUs included in a CTU is encoded as the syntax of the CTU. The information commonly applied to all blocks in a slice is encoded as the syntax of the slice, and the information applied to all blocks constituting a picture is encoded in a picture parameter set (PPS). In addition, information commonly referenced by multiple pictures is encoded in a sequence parameter set (SPS). In addition, information commonly referenced by one or more SPSs is encoded in a video parameter set (VPS).

[0037] The block partitioner 110 determines the size of the coding tree unit (CTU). Information about the size of the CTU (CTU size) is encoded as the syntax of the SPS or PPS and is sent to the video decoding device. The block partitioner 110 divides each picture constituting the video into multiple CTUs of a predetermined size, and then recursively divides the CTU using a tree structure. The leaf nodes in the tree structure are used as coding units (CUs), which are the basic units of coding. The tree structure may be a quadtree (QT) structure in which a node (or parent node) is divided into four child nodes (or child nodes) of the same size, a binary tree (BT) structure in which a node is divided into two child nodes, a ternary tree (TT) structure in which a node is divided into three child nodes at a ratio of 1:2:1, or a structure using one or more of a QT structure, a BT structure, and a TT structure. For example, a quadtree plus a binary tree (QTBT) structure may be used, or a quadtree plus a binary tree ternary tree (QTBTTT) structure may be used.

[0038] The predictor 120 generates a predicted block by predicting a current block. The predictor 120 includes an intra predictor 122 and an inter predictor 124.

[0039] Typically, the current blocks within a picture can each be predictively encoded. Typically, the prediction of the current block can be achieved using intra-frame prediction techniques using data from the picture containing the current block or inter-frame prediction techniques using data from a picture encoded before the picture containing the current block. Inter-frame prediction includes both unidirectional prediction and bidirectional prediction.

[0040] The intra predictor 122 predicts pixels in the current block using pixels (reference samples) located around the current block in the current picture including the current block. There are a variety of intra prediction modes according to the prediction direction.

[0041] The intra-frame predictor 122 may determine an intra-frame prediction mode to be used to encode the current block. In some examples, the intra-frame predictor 122 may use multiple intra-frame prediction modes to encode the current block, and select an appropriate intra-frame prediction mode to use from among the tested modes. For example, the intra-frame predictor 122 may calculate a rate-distortion value using a rate-distortion analysis of multiple tested intra-frame prediction modes, and may select an intra-frame prediction mode having the best rate-distortion characteristic from among the tested modes.

[0042] The intra predictor 122 selects one intra prediction mode from among a plurality of intra prediction modes and predicts the current block using an equation determined according to the selected intra prediction mode and neighboring pixels (reference pixels). Information on the selected intra prediction mode is encoded by the encoder 150 and transmitted to the video decoding apparatus.

[0043] The inter-frame predictor 124 generates a prediction block for the current block by motion compensation. The inter-frame predictor searches for a block most similar to the current block in a reference picture that is encoded and decoded earlier than the current picture, and uses the searched block to generate a prediction block for the current block. Then, the inter-frame predictor generates a motion vector corresponding to the displacement between the current block in the current picture and the prediction block in the reference picture. Typically, motion estimation is performed on the luminance component, and the motion vector calculated based on the luminance component is used for both the luminance component and the chrominance component. Motion information including information about the reference picture and the motion vector for predicting the current block is encoded by the encoder 150 and sent to the video decoding device.

[0044] The subtractor 130 subtracts the prediction block generated by the intra predictor 122 or the inter predictor 124 from the current block to generate a residual block.

[0045] The transformer 140 transforms the residual signal in the residual block having pixel values ​​in the spatial domain into a transform coefficient in the frequency domain. The transformer 140 may transform the residual signal in the residual block by using the size of the current block as a transform unit, or may divide the residual block into a plurality of smaller sub-blocks and transform the residual signal in a transform unit corresponding to the size of the sub-block. There may be various methods for dividing the residual block into smaller sub-blocks. For example, the residual block may be divided into sub-blocks of the same predefined size, or the residual block may be divided in a quadtree (QT) manner with the residual block as a root node.

[0046] The quantizer 145 quantizes the transform coefficient output from the transformer 140 and outputs the quantized transform coefficient to the encoder 150 .

[0047] The encoder 150 encodes the quantized transform coefficients using a coding scheme such as CABAC to generate a bitstream. The encoder 150 encodes information such as a CTU size, a QT split flag, a BT split flag, and a split type associated with block partitioning so that the video decoding device partitions the block in the same manner as in the video encoding device.

[0048] The encoder 150 encodes information about a prediction type indicating whether a current block is encoded by intra prediction or inter prediction, and encodes intra prediction information (ie, information about an intra prediction mode) or inter prediction information (information about a reference picture and a motion vector) according to the prediction type.

[0049] The dequantizer 160 dequantizes the quantized transform coefficient output from the quantizer 145 to generate a transform coefficient. The inverse transformer 165 transforms the transform coefficient output from the dequantizer 160 from the frequency domain to the spatial domain and reconstructs a residual block.

[0050] The adder 170 adds the reconstructed residual block to the prediction block generated by the predictor 120 to reconstruct the current block. Pixels in the reconstructed current block are used as reference samples for performing intra prediction of the next block in sequence.

[0051] The filter unit 180 filters the reconstructed pixels to reduce blocking artifacts, ringing artifacts, and blurring artifacts generated due to block-based prediction and transform / quantization. The filter unit 180 may include a deblocking filter 182 and an SAO filter 184.

[0052] The deblocking filter 180 filters the boundary between the reconstructed blocks to remove block artifacts generated by block-by-block encoding / decoding, and the SAO filter 184 performs additional filtering on the deblocked blocks. The SAO filter 184 is used to compensate for the difference between the reconstructed pixels and the original pixels caused by lossy encoding.

[0053] The reconstructed blocks filtered by the deblocking filter 182 and the SAO filter 184 are stored in the memory 190. Once all blocks in one picture are reconstructed, the reconstructed picture is used as a reference picture for inter-frame prediction of blocks in a picture to be encoded.

[0054] Figure 2 is an exemplary block diagram of a video decoding device capable of implementing the techniques of this disclosure.

[0055] The video decoding device includes a video reconstructor 200, which includes a decoder 210, an inverse quantizer 220, an inverse transformer 230, a predictor 240, and an adder 250. In addition, the decoding device includes a filter unit 260 and a memory 270. Figure 1 Each element of the video encoding device and the video decoding device may be implemented as a hardware chip, or may be implemented as software, and one or more microprocessors may be implemented to execute the function of the software corresponding to each element.

[0056] The decoder 210 decodes a bit stream received from a video encoding apparatus, extracts information related to block partitioning to determine a current block to be decoded, and extracts prediction information required to reconstruct the current block and information about a residual signal.

[0057] The decoder 210 extracts information about the size of the CTU from a sequence parameter set (SPS) or a picture parameter set (PPS), determines the size of the CTU, and partitions the picture into CTUs of the determined size. Then, the decoder determines the CTU as the topmost layer (i.e., the root node) of the tree structure, and extracts the partitioning information about the CTU to partition the CTU using the tree structure. For example, when the CTU is partitioned using the QTBT structure, the first flag (QT_split_flag) related to the QT partition is extracted to partition each node into four nodes of the lower layer. For the nodes corresponding to the leaf nodes of the QT, the second flag (BT_split_flag) and the partitioning type (partitioning direction) information related to the partitioning of the BT are extracted, and the corresponding leaf nodes are partitioned according to the BT structure. For another example, when the CTU is partitioned using the QTBTTT structure, the first flag (QT_split_flag) related to the QT partition is extracted, and each node is partitioned into four child nodes of the lower layer. In addition, for the node corresponding to the leaf node of QT, the split_flag indicating whether the node is further split into BT or TT and the split type (or split direction) information and additional information used to distinguish the BT structure or the TT structure are extracted. Thus, each node below the leaf node of QT is recursively split into a BT or TT structure.

[0058] When a current block to be decoded is determined through the partitioning of the tree structure, the decoder 210 extracts information about a prediction type indicating whether the current block is intra-predicted or inter-predicted.

[0059] When the prediction type information indicates intra prediction, the decoder 210 extracts syntax elements for intra prediction information (intra prediction mode) about the current block.

[0060] When the prediction type information indicates inter prediction, the decoder 210 extracts syntax elements for inter prediction information, that is, a motion vector and information indicating a reference picture to which the motion vector refers.

[0061] The decoder 210 extracts information about the quantized transform coefficient of the current block as information about the residual signal.

[0062] The inverse quantizer 220 inversely quantizes the quantized transform coefficients. The inverse transformer 230 inversely transforms the inversely quantized transform coefficients from the frequency domain to the spatial domain to reconstruct a residual signal, and thereby generates a residual block for the current block.

[0063] The predictor 240 includes an intra predictor 242 and an inter predictor 244. When the prediction type of the current block is intra prediction, the intra predictor 242 is activated, and when the prediction type of the current block is inter prediction, the inter predictor 244 is activated.

[0064] The intra predictor 242 determines an intra prediction mode of a current block among a plurality of intra prediction modes according to a syntax element for the intra prediction mode extracted from the decoder 210 , and predicts the current block using reference samples around the current block according to the intra prediction mode.

[0065] The inter predictor 244 determines a motion vector of a current block and a reference picture referred to by the motion vector using syntax elements related to the inter prediction information extracted from the decoder 210 , and predicts the current block using the determined motion vector and reference picture.

[0066] The adder 250 adds the residual block output from the inverse transformer to the prediction block output from the inter-frame predictor or the intra-frame predictor to reconstruct the current block. The pixels in the reconstructed current block are used as reference samples for intra-frame prediction of a block to be decoded later.

[0067] By sequentially reconstructing the current blocks corresponding to the CUs by the video reconstructor 200 , the CTUs composed of the CUs and the pictures composed of the CTUs are reconstructed.

[0068] The filter unit 260 includes a deblocking filter 262 and an SAO filter 264. The deblocking filter 262 performs deblocking filtering on the boundaries between the reconstructed blocks to remove block artifacts caused by block-by-block decoding. The SAO filter 264 performs additional filtering on the reconstructed blocks after deblocking filtering to compensate for the difference between the reconstructed pixels and the original pixels caused by lossy coding. The reconstructed blocks filtered by the deblocking filter 262 and the SAO filter 264 are stored in the memory 270. When reconstructing all blocks in a picture, the reconstructed picture is used as a reference picture for inter-frame prediction of blocks in subsequent pictures to be decoded.

[0069] The present disclosure is directed to a prediction method for the shape of a current block to be predicted by a predictor in a video encoding / decoding device. Among various methods for generating a prediction block by predicting a current block, the present disclosure relates to a cross-component linear model (CCLM) that predicts a block using correlations between channels. For example, a prediction can be performed on a chrominance channel using a luminance channel value, or vice versa.

[0070] In the case of color images, even when the image is converted from RGB to YCbCr, redundancy remains between the luminance (Y) signal and the chrominance (Cb and Cr) signals. This redundancy is called cross-component redundancy, and CCLM is a linear correlation model created to model this redundancy.

[0071] CCLM can be roughly divided into two types. One type predicts a chrominance signal (or chrominance) from a luminance signal (or luminance), and the other type predicts a Cr signal (or Cr) from a Cb signal (or Cb) or vice versa.

[0072] First, a method of predicting chrominance from luminance using CCLM will be described.

[0073] The chromaticity may be obtained using the luminance in the following Equation 1.

[0074] [Formula 1]

[0075] predc(liao,j)=α·recr'(,j)+6

[0076]

[0077] Among them, pred C (i, j) is the value of the prediction block for the target chroma block corresponding to the current block, and rec L'(i,j) is a value obtained by downsampling the reconstructed pixels in the target luminance block corresponding to the current block. L(n) represents the reconstructed luminance pixel values ​​of the upper and lower neighboring blocks of the current block, and C(n) represents the reconstructed chrominance pixel values ​​of the upper and lower neighboring blocks of the current block.

[0078] In Formula 1, α (scaling value) and β (offset value) are not signaled information but are obtained by calculation. That is, in order to obtain the values ​​of α and β, the reconstructed luminance and chrominance pixel values ​​of the neighboring (adjacent) blocks of the current block are used.

[0079] Hereinafter, a method of predicting a square block will be described.

[0080] In the present disclosure, "reconstructed neighboring pixel value" means the value of a reconstructed pixel adjacent to the current block or a value derived from the value of one or more reconstructed neighboring pixels. For example, it can be a pixel value obtained by downsampling multiple reconstructed neighboring pixels.

[0081] Figure 3 is a view showing reconstructed neighboring pixels of the current block in a square shape. In the YCbCr 4:2:0 format, the luma block undergoes downsampling due to the size difference between the luma block and the chroma block. Figure 3 A 4:2:0 format is shown in which four luminance (Y) pixels correspond to one chrominance (Cb or Cr) pixel. However, the present disclosure is not limited thereto, and various chrominance format sampling structures such as a 4:1:1 format, a 4:2:2 format, and a 4:4:4 format may be used. For simplicity, the present disclosure is described based on the 4:2:0 format.

[0082] like Figure 3 As shown in , the scaling value (α) and the offset value (β) are obtained using the correlation between the reconstructed neighboring chrominance pixel value and its corresponding down-sampled reconstructed luminance pixel value.

[0083] The prediction block for the chrominance block can be generated by substituting the obtained two parameters and the pixel value obtained by downsampling the reconstructed luminance pixel value in the current block into Formula 1. The above operations are performed for the Cb block and the Cr block respectively.

[0084] The method of predicting chrominance from luminance is divided into a linear model CCLM (LM CCLM) as a single model and a multi-model linear model CCLM (MMLM CCLM). LM CCLM corresponds to prediction using a single linear model, and MMLM CCLM corresponds to prediction using two or more linear models. For example, in MMLM CCLM, two linear models can be used based on a threshold value, as in the following equation 2.

[0085] [Formula 2]

[0086]

[0087] Here, the threshold may be set to an average value of reconstructed neighboring pixel values ​​of the target luminance block. Figure 4 An exemplary MMLM CCLM is illustrated. Figure 4 In , the horizontal axis represents the reconstructed neighboring luminance pixel values, and the vertical axis represents the reconstructed neighboring chrominance pixel values. Figure 4 In the figure, the threshold is 17, and two different linear models are implemented based on the threshold of 17.

[0088] When chrominance is predicted from luma by a sampling format such as YCbCr 4:2:0, downsampling of luma blocks is used. The most basic downsampling method is to use a 6-tap filter. The 6-tap filter can be obtained by the following equation 3.

[0089] [Formula 3]

[0090] Rec′ L [x, y] = (6 × Rec L [2x,2y]+2×Rec L [2x,2y+1]+Rec L [2x-1,2y]+Rec L [2x+1,2y]+Rec L [2x-1,2y+1]+Rec L [2x+1,2y+1]+4)>>3

[0091] In addition to the 6-tap filter, a downsampling method using a 2-tap filter of Equations 4 to 6 or a 4-tap filter of Equation 7 may be used.

[0092] [Formula 4]

[0093] Rec′ L [x, y] = (Rec L [2x,2y]+Rec L [2x+1,2y]+1)>>1

[0094] [Formula 5]

[0095]

[0096] [Formula 6]

[0097] Rec′ L [x, y] = (Rec L [2x,2y+1]+Rec L [2x+1,2y+1]+1)>>1

[0098] [Formula 7]

[0099] Rec′ L [x, y] = (Rec L [2x,2y]+Rec L [2x,2y+1]+Rec L [2x+1,2y]+Rec L [2x+1,2y+1]+2)>>2

[0100] LM CCLM and MMLM CCLM use one of the above-mentioned filters to downsample the reconstructed neighboring brightness pixels. Generally, LM CCLM uses a 6-tap filter, and MMLM CCLM uses one of the four types of filters of Equations 4 to 7 and a 6-tap filter.

[0101] Figure 5 A method for expressing an intra mode used for prediction is illustrated.

[0102] First, a flag (eg, CCLM_enabled_SPS_flag) is used to indicate whether CCLM is used (501). Here, the flag may be defined at one or more locations of a VPS, SPS, PPS, slice header, and / or CTU header.

[0103] When CCLM is not used, the normal intra prediction mode is encoded and indicated (505). Here, the normal mode can represent one of five modes in a truncated unary code manner.

[0104] When CCLM is used, it indicates whether CCLM is LM or MMLM (503). Alternatively, LM or MMLM can be determined by the variance of the reconstructed neighboring pixel values ​​of the luminance block. In other words, when the variance is greater than a certain threshold, the MMLM mode can be selected. When the variance value is less than the threshold, the LM mode can be selected.

[0105] In the case of LM CCLM, a 6-tap filter (507) may be used.

[0106] In the case of MMLM CCLM, it is indicated whether a 6-tap filter or another filter is used (509).

[0107] When a 6-tap filter is indicated in the MMLM CCLM, the MMLM CCLM may adopt the 6-tap filter (511).

[0108] When another filter is indicated in the MMLM CCLM, the filter to be used among the four filters is indicated in a fixed length manner (513).

[0109] It can be seen which of the four filters is used in the MMLM CCLM (515).

[0110] Figure 6 Use as Figure 5 The diagram shown in exemplifies a method of representing intra modes for prediction among different types of CCLMs.

[0111] for Figure 6 Among the multiple types of CCLMs to be used, the MMLM CCLM adopts a 6-tap filter, and the LM CCLM adopts a 6-tap filter and one of four other types of filters (Equations 4 to 7).

[0112] Similar to Figure 5 In the example of , a flag (e.g., CCLM_enabled_SPS_flag) is used to indicate whether CCLM is used (501). Here, the flag can be defined at one or more locations of the VPS, SPS, PPS, slice header, and / or CTU header. When CCLM is not used, the normal intra prediction mode is encoded and indicated (505). Here, the normal mode can represent one of the five modes in a truncated unary code manner.

[0113] When CCLM is used, it indicates whether CCLM is LM or MMLM (503). Alternatively, LM or MMLM can be selected by the variance of the reconstructed neighboring pixel values ​​of the luminance block. In other words, when the variance is greater than a certain threshold, the MMLM mode can be selected. When the variance is less than the threshold, the LM mode can be selected.

[0114] In the case of MMLM CCLM, a 6-tap filter (603) may be used.

[0115] In case of LM CCLM, it is indicated whether a 6-tap filter or another filter is used (601).

[0116] When a 6-tap filter is indicated in the LM CCLM, the LM CCLM may adopt the 6-tap filter (605).

[0117] When another filter is indicated in the LM CCLM, the filter to be used among the four filters is indicated in a fixed length manner (607).

[0118] It can be seen which of the four filters is used in the LM CCLM (609).

[0119] Hereinafter, a method for predicting chrominance from luminance according to the present disclosure will be described in detail. Specifically, a method for selecting reconstructed neighboring pixels for predicting a block will be described in detail.

[0120] Figure 7 Samples used for CCLM when predicting a block according to the first embodiment of the present disclosure are shown. In the first embodiment, the number of samples for reconstructing pixels is determined based on the smaller one of the width and height of the chroma block.

[0121] exist Figure 7 In the formula (a), (a) shows a chrominance block, and (b) shows a luminance block. According to the first embodiment of the present disclosure, in Formula 1, N may be set to twice the smaller of the width and height of the chrominance block. When the width and height of the chrominance block are equal to each other, N may be set to either the width or the height. Figure 7 In , since the height of the chroma block is less than its width, N is twice the height of the chroma block. Figure 7 In FIG. 1 , a sample adopted for CCLM according to the first embodiment of the present disclosure is indicated by a circle (●). Figure 7 , since the height of the chroma block is less than its width, all the reconstructed neighboring pixel values ​​on the left are used, and only a part of the reconstructed neighboring pixel values ​​on the upper side can be used through a subsampling operation. For example, only odd-numbered (or even-numbered) reconstructed pixel values ​​among the reconstructed neighboring pixel values ​​on the upper side of the chroma block can be used. Specifically, when odd-numbered reconstructed neighboring pixel values ​​are used among all the reconstructed neighboring pixel values ​​on the upper side, reconstructed pixel values ​​at positions (0,1), (0,3), (0,5), and (0,7) can be used.

[0122] The luminance block may undergo a downsampling operation so as to correspond to the chrominance block, and then, only a portion of its reconstructed neighboring pixels may be used. In other words, when the odd-numbered (or even-numbered) reconstructed pixel values ​​of the reconstructed neighboring pixel values ​​on the upper side of the chrominance block are used, the filter of Formula 7 is used to downsample the corresponding four reconstructed neighboring pixels of the luminance block, and then the downsampled result value is used for CCLM. Specifically, when the odd-numbered reconstructed pixel values ​​(first pixel value, third pixel value, fifth pixel value, seventh pixel value) among the reconstructed neighboring pixel values ​​on the upper side of the chroma block are used, the luminance block is processed by downsampling the 4 reconstructed neighboring luminance pixels corresponding to the first reconstructed neighboring pixel of the chroma block (reconstructed pixels at positions (0,2), (0,3), (1,2) and (1,3)), the 4 reconstructed neighboring luminance pixels corresponding to the third reconstructed neighboring pixel of the chroma block (reconstructed pixels at positions (0,6), (0,7), (1,6) and (1,7)), the 4 reconstructed neighboring luminance pixels corresponding to the fifth reconstructed neighboring pixel of the chroma block (reconstructed pixels at positions (0,10), (0,11), (1,10) and (1,11)), and the 4 reconstructed neighboring luminance pixels corresponding to the seventh reconstructed neighboring pixel of the chroma block (reconstructed pixels at positions (0,14), (0,15), (1,14) and (1,15)) using a 4-tap filter of Formula 7.

[0123] Figure 8 The samples used for CCLM when predicting a block according to the second embodiment of the present disclosure are shown. In the second embodiment, the number of all reconstructed pixels on the left and upper sides of the chroma block is determined as the number of samples.

[0124] exist Figure 8 In (a), (b) shows a chrominance block, and (b) shows a luminance block. According to a second embodiment of the present disclosure, in Formula 1, N may be set to a value obtained by adding the width and height of the chrominance block. Figure 8 In FIG. 1 , a sample used for CCLM according to the second embodiment of the present disclosure is indicated by a circle (●). Figure 8 , all reconstructed neighboring pixel values ​​on the upper and left sides of the chrominance block are used, and the reconstructed neighboring pixel values ​​of the luminance block can be downsampled to correspond to the chrominance block. That is, the filter of Formula 7 is used to downsample four reconstructed neighboring luminance pixels corresponding to one reconstructed neighboring pixel of the chrominance block, and then the downsampled pixel values ​​are used for CCLM (see the first embodiment).

[0125] Fig. 9Samples for CCLM when predicting blocks according to the third embodiment of the present disclosure are shown. In the third embodiment, only the reconstructed neighboring pixel values ​​on one side (left or upper side) of the chrominance block and the luminance block are sampled and used for CCLM. Here, it can be inferred from the shape of the block whether to use the reconstructed neighboring pixel values ​​on the left side or the reconstructed neighboring pixel values ​​on the upper side. For example, when the block width is greater than the block height, only the reconstructed neighboring pixel values ​​on the upper side can be used. Alternatively, only the reconstructed neighboring pixel values ​​on the left side can be used. In addition, information about whether to use the reconstructed neighboring pixel values ​​on the left side or the reconstructed neighboring pixel values ​​on the upper side can be signaled from the video encoding device to the video decoding device.

[0126] exist Fig. 9 In (a), (b) shows a chrominance block, and (b) shows a luminance block. According to a third embodiment of the present disclosure, in Formula 1, N may be set to one of the width and height of the chrominance block, and an example in which N is set to a larger value will be described. Fig. 9 In , since the width of the chroma block is greater than its height, N is the width of the chroma block. Fig. 9 In FIG. 1 , a sample adopted for CCLM according to the third embodiment of the present disclosure is indicated by a circle (●). Fig. 9 , since the width of the chroma block is greater than its height, all the reconstructed neighboring pixel values ​​on the upper side are used, and none of the reconstructed neighboring pixel values ​​on the left side are used. In addition, for the luminance block, none of the reconstructed neighboring pixel values ​​on the left side are used, and the reconstructed neighboring pixels on the upper side are downsampled to correspond to the reconstructed neighboring pixels of the chroma block. That is, the filter of formula 7 is used to downsample the four reconstructed neighboring luminance pixels corresponding to one reconstructed neighboring pixel value of the chroma block, and then the downsampled pixel values ​​are used for CCLM (see the first embodiment).

[0127] This embodiment can be applied when the larger one of the width corresponding to the horizontal axis and the height corresponding to the vertical axis of the current block has a stronger influence. On the contrary, when the smaller one of the width and the height of the current block has a stronger influence, the smaller one can form the basis for application. In addition, information indicating the direction of the stronger influence between the horizontal axis and the vertical axis can be sent to enable the decoder to determine whether to use the reconstructed pixel value on the left side or on the upper side.

[0128] Fig.10 The samples used for CCLM when predicting a block according to the fourth embodiment of the present disclosure are shown. In the fourth embodiment, the number of samples for reconstructing pixels is determined based on the smaller of the width and height of the chroma block. When the width and height of the chroma block are equal to each other, the number of samples can be set to either the width or the height.

[0129] exist Fig.10In (a), (b) shows a chrominance block, and (b) shows a luminance block. According to a fourth embodiment of the present disclosure, in Formula 1, N may be set to a value twice the smaller of the width and height of the chrominance block. Fig.10 In , since the height of the chroma block is less than its width, N is twice the height of the chroma block. Fig.10 In FIG. 1 , a sample adopted for CCLM according to the fourth embodiment of the present disclosure is indicated by a circle (●). Fig.10 , since the height of the chroma block is smaller than its width, all the reconstructed neighboring pixel values ​​on the left can be used, and only a portion of the reconstructed neighboring pixel values ​​on the upper side can be used by downsampling. In this case, among the reconstructed neighboring pixels on the upper side, the reconstructed pixels at positions (0,1) and (0,2), the reconstructed pixels at positions (0,3) and (0,4), the reconstructed pixels at positions (0,4) and (0,5), and the reconstructed pixels at positions (0,6) and (0,7) are downsampled respectively.

[0130] For the luminance block, a 4-tap filter can be used to downsample the reconstructed neighboring pixels on the left side to correspond to the reconstructed neighboring pixels on the left side of the chrominance block, and an 8-tap filter can be used to downsample the reconstructed neighboring pixels on the upper side. As illustrated above, it is assumed that the first value is generated by downsampling the reconstructed pixel values ​​at positions (0,1) and (0,2) among the reconstructed neighboring pixels on the upper side of the chrominance block, and the second value is generated by downsampling the reconstructed pixel values ​​at positions (0,3) and (0,4). In this case, the reconstructed neighboring pixels of the luminance blocks at positions (0,2), (0,3), (0,4), (0,5), (1,2), (1,3), (1,4) and (1,5) corresponding to the first value can be downsampled using an 8-tap filter, and the reconstructed neighboring pixels of the luminance blocks at positions (0,6), (0,7), (0,8), (0,9), (1,6), (1,7), (1,8) and (1,9) corresponding to the second value can be downsampled using an 8-tap filter.

[0131] Fig.11 The sample for CCLM when predicting a block according to the fifth embodiment of the present disclosure is shown. In the fifth embodiment, the sampling number of the reconstructed pixel is determined based on the smaller one of the width and height of the chroma block. When the width and height of the chroma block are equal to each other, the sampling number can be set to either the width or the height.

[0132] exist Fig.11 In (a), (b) shows a chrominance block, and (b) shows a luminance block. According to a fifth embodiment of the present disclosure, in Formula 1, N may be set to a value twice the smaller of the width and height of the chrominance block. Fig.11 In , since the height of the chroma block is less than its width, N is twice the height of the chroma block. Fig.11 In FIG. 1 , a sample adopted for CCLM according to the fifth embodiment of the present disclosure is indicated by a circle (●). Fig.11 Since the height of the chroma block is smaller than its width, all the reconstructed neighboring pixels on the left are used, while the reconstructed neighboring pixels on the upper side are downsampled and used, as in the fourth embodiment described above.

[0133] For the luminance block, a 4-tap filter can be used to downsample the reconstructed neighboring pixel values ​​on the left side to correspond to the reconstructed neighboring pixel values ​​on the left side of the chrominance block, and the reconstructed neighboring pixel values ​​on the upper side can be downsampled twice. For example, in order to obtain the reconstructed neighboring pixel values ​​on the upper side of the luminance block corresponding to the reconstructed pixel value at position (0,1) among the reconstructed neighboring pixel values ​​on the upper side of the chrominance block, the 4-tap filter of Formula 7 is used to downsample the reconstructed pixels at positions (0,2), (0,3), (1,2) and (1,3) among the reconstructed neighboring pixel values ​​on the upper side of the luminance block. In order to obtain the reconstructed neighboring pixel values ​​on the upper side of the luminance block corresponding to the reconstructed pixel value at position (0,2) among the reconstructed neighboring pixel values ​​on the upper side of the chrominance block, the 4-tap filter of Formula 7 is used to downsample the reconstructed pixels at positions (0,4), (0,5), (1,4) and (1,5) on the upper side of the luminance block. After obtaining all the downsampled reconstructed pixel values ​​on the upper side of the luminance block corresponding to all the reconstructed adjacent pixel values ​​on the upper side of the chrominance block through the primary downsampling operation, the two downsampled reconstructed pixel values ​​on the upper side of the luminance block corresponding to the reconstructed pixel values ​​at positions (0, 1) and (0, 2) on the upper side of the chrominance block are downsampled again using a 2-tap filter through a secondary downsampling operation.

[0134] Hereinafter, the method of predicting Cr from Cb using CCLM will be described in detail. Obviously, it is also possible to predict Cb from Cr using the method disclosed in the present invention. When CCLM is used, Cr can be obtained from Cb using the formula 8 given below.

[0135] [Formula 8]

[0136]

[0137] Among them, pred Cr (i, j) is the pixel value of the prediction block for the current encoding target Cr block, and resi Cb (i, j) is the residual signal of the reconstructed residual block for the current encoding target Cb block. Cb(n) represents the reconstructed neighboring Cb sample value, Cr(n) represents the reconstructed neighboring Cr sample value, and λ is ∑(Cb(n)·Cb(n))>>9.

[0138] Hereinafter, a method of predicting Cr from Cb for a target block according to the present disclosure will be described.

[0139] Fig.12 Samples used for CCLM when predicting a block according to a sixth embodiment of the present disclosure are shown. In the sixth embodiment, the number of all reconstructed neighboring pixels on the left and upper sides of the Cb block (or Cr block) is determined as the number of samples.

[0140] exist Fig.12 In (a), (b) shows a Cr block, and (c) shows a Cb block. According to a sixth embodiment of the present disclosure, in Equation 8, N may be set to a value obtained by adding the width and height of the Cr block. Fig.12 In , the samples adopted for CCLM according to the sixth embodiment of the present disclosure are indicated by circles (●). That is, α in Equation 8 can be obtained using all reconstructed neighboring pixel values ​​on the left and upper sides of the Cr block and the Cb block.

[0141] Fig.13 Samples for CCLM when predicting a block according to the seventh embodiment of the present disclosure are shown. In the seventh embodiment, reconstructed pixels on only one side (left or upper side) of the reconstructed neighboring pixels of the Cb block and the Cr block are sampled and used for CCLM. Here, it can be inferred from the shape of the block whether to use the reconstructed neighboring pixel values ​​on the left or the reconstructed neighboring pixel values ​​on the upper side. For example, when the block width is greater than the block height, only the reconstructed neighboring pixel values ​​on the upper side can be used. Alternatively, only the reconstructed neighboring pixel values ​​on the left can be used. In addition, information about whether to use the reconstructed neighboring pixel values ​​on the left or the reconstructed neighboring pixel values ​​on the upper side can be signaled from the video encoding device to the video decoding device.

[0142] As in Fig.12 Same as in Fig.13 In (a), (b) shows the Cr block, and (c) shows the Cb block. According to the seventh embodiment of the present disclosure, in Formula 8, N may be set to the larger one of the width and height of the Cr block. Fig.13 In , the samples adopted for CCLM according to the seventh embodiment of the present disclosure are indicated by circles (●). That is, α in Equation 8 can be obtained using all reconstructed neighboring pixel values ​​on the upper side of the Cr block and the Cb block.

[0143] Fig.14 The sample used for CCLM when predicting a block according to the eighth embodiment of the present disclosure is shown. In the eighth embodiment, the number of samples for reconstructing neighboring pixels is determined based on the smaller one of the width and height of the Cb block (or Cr block). When the width and height of the Cb block (or Cr block) are equal to each other, N can be set to either the width or the height.

[0144] As in Fig.12 and Fig.13 Same as in Fig.14 In (a), (b) shows the Cr block, and (c) shows the Cb block. According to an eighth embodiment of the present disclosure, in Formula 8, N may be set to a value twice the smaller of the width and height of the Cr block. Fig.14 In , since the height of the Cr block is smaller than its width, N is twice the height of the Cr block. Fig.14 In FIG. 8 , the samples adopted for CCLM according to the eighth embodiment of the present disclosure are indicated by circles (●). That is, since the height of the Cr block and the Cb block is smaller than their width, all the reconstructed neighboring pixel values ​​on the left are used to obtain α in Formula 8, while the reconstructed neighboring pixels on the upper side of the Cr block and the Cb block are downsampled and used to obtain α in Formula 8. Fig.14 The following example is illustrated: reconstructed pixels at positions (0,1) and (0,2), reconstructed pixels at positions (0,3) and (0,4), reconstructed pixels at positions (0,5) and (0,6), and reconstructed pixels at positions (0,7) and (0,8) among the reconstructed neighboring pixels on the upper side of the Cr block and the Cb block are downsampled, and α in Formula 8 is obtained using them. Here, various methods (e.g., a 2-tap filter, etc.) may be used to perform downsampling.

[0145] Fig.15 is a flowchart illustrating a video decoding method according to the present disclosure.

[0146] In a method of decoding a video by predicting a target block, a video decoding apparatus initially receives a bitstream and generates a residual block for a chrominance block (1501).

[0147] The video decoding device also generates reconstruction information in the luminance block corresponding to the chrominance block and reconstruction neighboring information about the luminance block (1503). Alternatively, the device can receive the information. The device can also receive reconstruction neighboring information about the chrominance block.

[0148] The video decoding apparatus determines a scaling value and an offset value based on the reconstructed neighboring information about the chrominance block and the reconstructed neighboring information about the luminance block (1505). In addition, the scaling value and the offset value may be determined by further considering information included in the bitstream.

[0149] A prediction block for the chrominance block is generated by applying the determined scaling value and offset value to the reconstruction information in the luminance block (1507). The prediction block for the chrominance block may be determined by correlation between the reconstruction neighboring information about the luminance block and the reconstruction neighboring information about the chrominance block. Information related to the correlation may be sent from the video encoding device to the video decoding device.

[0150] The video decoding apparatus generates a reconstructed block of the chroma block based on the residual block for the chroma block and the prediction block for the chroma block (1509).

[0151] The video decoding device may decode the picture using the reconstructed block.

[0152] although Fig.15 A video decoding method for predicting chrominance from luma is exemplified, but the same principle can be applied even to a video decoding method for predicting Cr from Cb.

[0153] Although operations 1501 to 1507 are Fig.15 In other words, a person skilled in the art of the art to which an embodiment of the present disclosure relates will appreciate that various modifications and variations may be made without departing from the basic characteristics of an embodiment of the present disclosure, thereby performing the steps in a different order. Fig.15 1501 to 1507 disclosed in the embodiment, or one or more of operations 1501 to 1507 are performed in parallel. Therefore, Fig.15 Not limited to sequential order.

[0154] Fig.15 The steps shown in can be implemented as a computer program and can be recorded on a non-transitory computer-readable medium. A computer-readable recording medium includes any type of recording device on which data that can be read by a computer system can be recorded. Examples of computer-readable recording media include magnetic storage media (e.g., ROM, floppy disks, hard disks, etc.), optically readable media (e.g., CD-ROMs, DVDs, etc.), and carrier waves (e.g., transmitted via the Internet). In addition, an example computer-readable recording medium has a computer-readable code that can be stored in a distributed manner in a computer system connected via a network and executed therein.

[0155] Although exemplary embodiments have been described for illustrative purposes, it will be appreciated by those skilled in the art that various modifications and changes can be made without departing from the concept and scope of the embodiments. For the sake of brevity, exemplary embodiments have been described. Therefore, those of ordinary skill will understand that the scope of the embodiments is not limited by the embodiments explicitly described above, but is included in the claims and their equivalents.

[0156] CROSS-REFERENCE TO RELATED APPLICATIONS

[0157] This application claims the claims of Patent Application Nos. 10-2018-0001691 and 10-2018-0090596 filed in South Korea on January 5, 2018 and August 3, 2018, respectively, which are hereby incorporated by reference in their entirety.

Claims

1. A video decoding device, the video decoding device comprising at least one processor, wherein the at least one processor is configured to: Decoding from the bitstream a flag indicating whether a cross-component linear model (CCLM) is allowed for a chroma block; Determining a residual block of the chroma block from the bitstream; generating downsampled luma samples of the luma block from reconstructed luma samples of a luma block corresponding to the chroma block; Determining from the bitstream information indicating a set of downsampled neighboring luma samples to be used to generate the luma block from among a plurality of available sets of reconstructed neighboring luma samples adjacent to the luma block, wherein the plurality of available sets include: 1) a set of reconstructed neighboring luma samples in a left column adjacent to the luma block; and ii) a set of reconstructed neighboring luma samples in an upper row adjacent to the luma block; generating the downsampled neighboring luma samples of the luma block based on the one set indicated by the information from among the plurality of available sets; determining reconstructed neighboring chrominance samples corresponding to the downsampled neighboring luma samples of the luma block; determining parameters of the CCLM based on the reconstructed neighboring chroma samples and the downsampled neighboring luma samples; generating a prediction block of the chrominance block from the downsampled luma samples of the luma block based on parameters of the CCLM; and A reconstructed block for the chroma block is generated based on the residual block of the chroma block and the prediction block of the chroma block.

2. The video decoding device according to claim 1, wherein: The sampling format of the chrominance block and the luminance block is a YUV 4:2:0 format.

3. The video decoding device according to claim 1, wherein: The number of downsampled neighboring luma samples of the luma block is equal to i) the sum of the width and height of the chroma block, ii) twice the width of the chroma block, or iii) twice the height of the chroma block.

4. The video decoding device according to claim 1, wherein: The at least one processor is further configured to: Information specifying a down-sampling filter from among a plurality of available down-sampling filters for use in generating the down-sampled neighboring luma samples of the luma block is determined from the bitstream.

5. A video encoding device, the video encoding device comprising at least one processor, wherein the at least one processor is configured to: Encoding into the bitstream a flag indicating whether a cross-component linear model (CCLM) is allowed for a chroma block; generating downsampled luma samples of the luma block from reconstructed luma samples of a luma block corresponding to the chroma block; encoding into the bitstream information indicating a set of downsampled neighboring luma samples to be used to generate the luma block from among a plurality of available sets of reconstructed neighboring luma samples adjacent to the luma block, wherein the plurality of available sets include: 1) a set of reconstructed neighboring luma samples in a left column adjacent to the luma block; and ii) a set of reconstructed neighboring luma samples in an upper row adjacent to the luma block; generating the downsampled neighboring luma samples of the luma block based on the one set indicated by the information from among the plurality of available sets; determining reconstructed neighboring chrominance samples corresponding to the downsampled neighboring luma samples of the luma block; determining parameters of the CCLM based on the reconstructed neighboring chroma samples and the downsampled neighboring luma samples; generating a prediction block of the chrominance block from the downsampled luma samples of the luma block based on parameters of the CCLM; determining a residual block of the chroma block based on the prediction block of the chroma block; and The residual block of the chroma block is encoded into the bitstream.

6. The video encoding device according to claim 5, wherein: The sampling format of the chrominance block and the luminance block is a YUV 4:2:0 format.

7. The video encoding device according to claim 5, wherein: The number of downsampled neighboring luma samples of the luma block is equal to i) the sum of the width and height of the chroma block, ii) twice the width of the chroma block, or iii) twice the height of the chroma block.

8. The video encoding device according to claim 5, wherein: The at least one processor is further configured to: Information specifying a down-sampling filter from among a plurality of available down-sampling filters for generating the down-sampled neighboring luma samples of the luma block is encoded into the bitstream.

9. A device for providing video data to a video decoding device, the device comprising at least one processor, the at least one processor being configured to: encoding the video data into a bitstream; as well as sending the bit stream to the video decoding device, in, The at least one processor is configured to encode the video data by: encoding into the bitstream a flag indicating whether a cross-component linear model (CCLM) is allowed for a chroma block; generating downsampled luma samples of the luma block from reconstructed luma samples of a luma block corresponding to the chroma block; encoding into the bitstream information indicating a set of downsampled neighboring luma samples to be used to generate the luma block from among a plurality of available sets of reconstructed neighboring luma samples adjacent to the luma block, wherein the plurality of available sets include: 1) a set of reconstructed neighboring luma samples in a left column adjacent to the luma block; and ii) a set of reconstructed neighboring luma samples in an upper row adjacent to the luma block; generating the downsampled neighboring luma samples of the luma block based on the one set indicated by the information from among the plurality of available sets; determining reconstructed neighboring chrominance samples corresponding to the downsampled neighboring luma samples of the luma block; determining parameters of the CCLM based on the reconstructed neighboring chroma samples and the downsampled neighboring luma samples; generating a prediction block of the chrominance block from the downsampled luma samples of the luma block based on parameters of the CCLM; and A residual block for the chroma block is determined based on the prediction block for the chroma block.

10. The device according to claim 9, wherein: The sampling format of the chrominance block and the luminance block is a YUV 4:2:0 format.

11. The device according to claim 9, wherein: The number of downsampled neighboring luma samples of the luma block is equal to i) the sum of the width and height of the chroma block, ii) twice the width of the chroma block, or iii) twice the height of the chroma block.

12. The device according to claim 9, wherein: The at least one processor is further configured to: Information specifying a down-sampling filter from among a plurality of available down-sampling filters for generating the down-sampled neighboring luma samples of the luma block is encoded into the bitstream.

Citation Information

Patent Citations

  • Composition For Hard Coating and Hard Coating Film Including Cured Product Of The Same As The Coating Layer

    KR1020180001691A

  • Low frequency stimulus machine

    KR1020180090596A