Method and device for video processing and medium

By introducing long-tap chromaticity interpolation filters and dynamically adjusting the number of taps in video encoding and decoding technology, the problem of insufficient taps of chromaticity interpolation filters is solved, the efficiency and performance of video encoding and decoding are improved, and more flexible is achieved codec processing.

CN119072925APending Publication Date: 2024-12-03DOUYIN VISION CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380033945.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-04-13
Filing Date
2023-04-12
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the existing video encoding and decoding technology, when chromaticity interpolation filter obtains high-quality interpolation results, the number of taps is insufficient, resulting in poor encoding and decoding efficiency and performance, especially in the reference structure of the random access configuration, the time layer The optimal tradeoff is difficult to achieve with different qualities and interpolation computational complexity.

Method used

It is proposed to use a long tap chromaticity interpolation filter (LTCIF) to calculate the filter coefficients through a discrete cosine transform interpolation filter (DCT-IF), and dynamically adjust the number of taps based on factors such as time layer, codec information and color components to improve color quality and efficiency of degree interpolation.

Benefits of technology

The efficiency, gain and performance of video encoding and decoding are improved, and more flexible encoding and decoding processing is realized. The number of taps of the filter can be dynamically adjusted according to different conditions to adapt to different time layers and codec modes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119072925A_ABST
    Figure CN119072925A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a scheme for video processing. A method for video processing is presented. The method includes determining, for a conversion between a video unit of a video and a bitstream of the video, a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), where a number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying a chroma interpolation filter to the chroma component of the video unit; and performing conversion based on the chroma prediction block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure generally relate to video coding techniques, and more particularly, to long-tap chroma interpolation filters. Background Art

[0002] Nowadays, digital video functions are being applied to all aspects of people's lives. For video encoding / decoding, various types of video compression technologies have been proposed, such as Moving Picture Experts Group (MPEG)-2, MPEG-4, ITU-TH.263, ITU-TH.264 / MPEG-4 Part 10 Advanced Video Codec (AVC), ITU-TH.265 High Efficiency Video Codec (HEVC) standard, and Versatile Video Codec (VVC) standard. However, the encoding and decoding efficiency of video encoding and decoding technologies is generally expected to be further improved. Summary of the invention

[0003] Embodiments of the present disclosure provide solutions for video processing.

[0004] In a first aspect, a method for video processing is proposed. The method includes: for conversion between a video unit of a video and a bitstream of the video, using a discrete cosine transform interpolation filter (DCT-IF) to determine a chroma interpolation filter for the video unit, wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; by applying the chroma interpolation filter to the chroma component of the video unit, a chroma prediction block is obtained; and conversion is performed based on the chroma prediction block. Compared with conventional schemes, some embodiments of the present disclosure can advantageously improve codec efficiency, codec gain, codec performance and flexibility.

[0005] In a second aspect, a device for processing video data is provided. The device comprises a processor and a non-volatile memory having instructions thereon. The instructions, when executed by the processor, cause the processor to perform the method according to the first aspect of the present disclosure.

[0006] In a third aspect, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores instructions, which enable a processor to execute the method according to the first aspect of the present disclosure.

[0007] In a fourth aspect, another non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a bitstream of a video generated by a method performed by a device for video processing. The method includes: determining a chroma interpolation filter for a video unit of the video using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; and generating a bitstream based on the chroma prediction block.

[0008] In a fifth aspect, a method for storing a bitstream of a video is provided. The method includes: determining a chroma interpolation filter for a video unit of the video using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; generating a bitstream based on the chroma prediction block; and storing the bitstream in a non-transitory computer-readable recording medium.

[0009] This Summary is intended to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become more apparent through the following detailed description with reference to the accompanying drawings. In the exemplary embodiments of the present disclosure, the same reference numerals generally refer to the same components.

[0011] Figure 1 A block diagram showing an example video encoding and decoding system according to some embodiments of the present disclosure is shown;

[0012] Figure 2 A block diagram illustrating a first example video encoder according to some embodiments of the present disclosure is shown;

[0013] Figure 3 A block diagram of an example video decoder according to some embodiments of the present disclosure is shown;

[0014] Figure 4 A schematic diagram showing a group of pictures (GOP)-16 structure;

[0015] Figure 5 A schematic diagram showing the structure of GOP-32 is shown;

[0016] Figure 6 A flowchart showing a method according to some embodiments of the present disclosure; and

[0017] Figure 7 A block diagram of a computing device is shown in which various embodiments of the present disclosure may be implemented.

[0018] Throughout the drawings, same or similar reference numbers generally refer to same or similar elements. DETAILED DESCRIPTION

[0019] The principle of the present disclosure will now be described with reference to some embodiments. It should be understood that these embodiments are described only for the purpose of illustrating and helping those skilled in the art to understand and implement the present disclosure, without implying any limitation on the scope of the present disclosure. In addition to the methods described below, the disclosure described herein can also be implemented in various ways.

[0020] In the following description and claims, unless defined otherwise, all scientific and technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present disclosure belongs.

[0021] References in this disclosure to "one embodiment," "an embodiment," "an example embodiment," etc. indicate that the described embodiment may include a particular feature, structure, or characteristic, but not every embodiment must include the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an example embodiment, whether or not explicitly described, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in relation to other embodiments.

[0022] It should be understood that although the terms "first" and "second" etc. can be used to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish one element from another element. For example, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element without departing from the scope of the exemplary embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.

[0023] The terms used herein are only used for the purpose of describing specific embodiments and are not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an", and "the" are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "including", "comprising", and / or "having" when used herein indicate the presence of the features, elements, and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, components, and / or combinations thereof. Example Environment

[0024] Figure 11 is a block diagram illustrating an example video codec system 100 that may utilize the techniques of the present disclosure. As shown, the video codec system 100 may include a source device 110 and a destination device 120. The source device 110 may also be referred to as a video encoding device, and the destination device 120 may also be referred to as a video decoding device. In operation, the source device 110 may be configured to generate encoded video data, and the destination device 120 may be configured to decode the encoded video data generated by the source device 110. The source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.

[0025] Video source 112 may include a source such as a video capture device. Examples of a video capture device include, but are not limited to, an interface that receives video data from a video content provider, a computer graphics system for generating video data, and / or combinations thereof.

[0026] The video data may include one or more pictures. The video encoder 114 encodes the video data from the video source 112 to generate a code stream. The code stream may include a bit sequence that forms a coded representation of the video data. The code stream may include coded pictures and associated data. The coded picture is a coded representation of the picture. The associated data may include a sequence parameter set, a picture parameter set, and other grammatical structures. The I / O interface 116 may include a modulator / demodulator and / or a transmitter. The coded video data may be directly transmitted to the destination device 120 via the network 130A via the I / O interface 116. The coded video data may also be stored on a storage medium / server 130B for access by the destination device 120.

[0027] The destination device 120 may include an I / O interface 126, a video decoder 124, and a display device 122. The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain encoded video data from the source device 110 or the storage medium / server 130B. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to the user. The display device 122 may be integrated with the destination device 120, or may be outside the destination device 120, which is configured to be connected to an external display device interface.

[0028] The video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Codec (HEVC) standard, the Versatile Video Codec (VVC) standard, and other existing and / or future standards.

[0029] Figure 2 is a block diagram showing an example of a video encoder 200 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video encoder 114 in the system 100 is shown.

[0030] Video encoder 200 may be configured to implement any or all of the techniques of this disclosure. Figure 2 In the example of , video encoder 200 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video encoder 200. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.

[0031] In some embodiments, the video encoder 200 may include a partitioning unit 201, a prediction unit 202, a residual generation unit 207, a transformation unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transformation unit 211, a reconstruction unit 212, a buffer 213 and an entropy coding and decoding unit 214, and the prediction unit 202 may include a mode selection unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra-frame prediction unit 206.

[0032] In other examples, the video encoder 200 may include more, fewer, or different functional components. In one example, the prediction unit 202 may include an intra-block copy (IBC) unit. The IBC unit may perform prediction in an IBC mode, where at least one reference picture is a picture where the current video block is located.

[0033] Furthermore, although some components, such as the motion estimation unit 204 and the motion compensation unit 205, may be integrated, for the purpose of explanation, these components are described in detail in the following. Figure 2 are shown separately in the example.

[0034] The partition unit 201 may partition the picture into one or more video blocks. The video encoder 200 and the video decoder 300 may support various video block sizes.

[0035] The mode selection unit 203 may select one of a plurality of codec modes, intra-coding or inter-coding, for example, based on the error result, and provide the generated intra-coding block or inter-coding block to the residual generation unit 207 to generate residual block data, and to the reconstruction unit 212 to reconstruct the coding block for use as a reference picture. In some examples, the mode selection unit 203 may select a combination of intra- and inter-prediction (CIIP) modes, where the prediction is based on an inter-prediction signal and an intra-prediction signal. In the case of inter-prediction, the mode selection unit 203 may also select a resolution for the motion vector (e.g., sub-pixel precision or integer pixel precision) for the block.

[0036] To perform inter-frame prediction on the current video block, the motion estimation unit 204 may generate motion information for the current video block by comparing the current video block with one or more reference frames from the buffer 213. The motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from the buffer 213 other than the picture associated with the current video block.

[0037] The motion estimation unit 204 and the motion compensation unit 205 may perform different operations on the current video block, for example, depending on whether the current video block is in an I slice, a P slice, or a B slice. As used herein, an "I slice" may refer to a portion of a picture consisting of macroblocks, all of which are based on macroblocks within the same picture. Furthermore, as used herein, in some aspects, a "P slice" and a "B slice" may refer to a portion of a picture consisting of macroblocks that are independent of macroblocks in the same picture.

[0038] In some examples, the motion estimation unit 204 may perform unidirectional prediction on the current video block, and the motion estimation unit 204 may search the reference pictures of list 0 or list 1 to find the reference video block for the current video block. The motion estimation unit 204 may then generate a reference index and a motion vector, the reference index indicating the reference picture in list 0 or list 1 containing the reference video block, and the motion vector indicating the spatial displacement between the current video block and the reference video block. The motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as the motion information of the current video block. The motion compensation unit 205 may generate a predicted video block for the current video block based on the reference video block indicated by the motion information of the current video block.

[0039] Alternatively, in other examples, the motion estimation unit 204 may perform bidirectional prediction on the current video block. The motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block, and may also search the reference pictures in list 1 for another reference video block for the current video block. The motion estimation unit 204 may then generate a plurality of reference indexes and a plurality of motion vectors, the plurality of reference indexes indicating a plurality of reference pictures in list 0 and list 1 containing a plurality of reference video blocks, and the plurality of motion vectors indicating a plurality of spatial displacements between the plurality of reference video blocks and the current video block. The motion estimation unit 204 may output the plurality of reference indexes and the plurality of motion vectors of the current video block as motion information of the current video block. The motion compensation unit 205 may generate a predicted video block for the current video block based on the plurality of reference video blocks indicated by the motion information of the current video block.

[0040] In some examples, motion estimation unit 204 may output a complete set of motion information for use in a decoding process by a decoder. Alternatively, in some embodiments, motion estimation unit 204 may signal motion information of a current video block with reference to motion information of another video block. For example, motion estimation unit 204 may determine that motion information of a current video block is sufficiently similar to motion information of a neighboring video block.

[0041] In one example, motion estimation unit 204 may indicate to video decoder 300 a value in a syntax structure associated with the current video block that indicates that the current video block has the same motion information as another video block.

[0042] In another example, the motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates the difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.

[0043] As discussed above, the video encoder 200 may signal motion vectors in a predictive manner.Two examples of prediction signaling techniques that may be implemented by the video encoder 200 include Advanced Motion Vector Prediction (AMVP) and merge mode signaling.

[0044] The intra prediction unit 206 may perform intra prediction on the current video block. When performing intra prediction on the current video block, the intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a prediction video block and various syntax elements.

[0045] The residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by a minus sign) the prediction video block(s) of the current video block from the current video block. The residual data of the current video block may include residual video blocks corresponding to different sample portions of samples in the current video block.

[0046] In other examples, such as in skip mode, there may be no residual data for the current video block, and the residual generation unit 207 may not perform a subtraction operation.

[0047] Transform unit 208 may generate one or more transform coefficient video blocks for a current video block by applying one or more transforms to the residual video block associated with the current video block.

[0048] After transform unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values ​​associated with the current video block.

[0049] The inverse quantization unit 210 and the inverse transform unit 211 may apply inverse quantization and inverse transform to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block. The reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more prediction video blocks generated by the prediction unit 202 to generate a reconstructed video block associated with the current video block for storage in the buffer 213.

[0050] After reconstruction unit 212 reconstructs the video block, a loop filtering operation may be performed to reduce video blocking artifacts in the video block.

[0051] The entropy coding unit 214 may receive data from other functional components of the video encoder 200. When the data is received, the entropy coding unit 214 may perform one or more entropy coding operations to generate entropy coded data and output a code stream including the entropy coded data.

[0052] Figure 3 is a block diagram showing an example of a video decoder 300 according to some embodiments of the present disclosure, which may be Figure 1 An example of a video decoder 124 in the system 100 is shown.

[0053] Video decoder 300 may be configured to perform any or all of the techniques of this disclosure. Figure 3 In the example of , video decoder 300 includes multiple functional components. The techniques described in this disclosure can be shared between the various components of video decoder 300. In some examples, a processor can be configured to perform any or all of the techniques described in this disclosure.

[0054] exist Figure 3 In the example of , the video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transform unit 305, and a reconstruction unit 306 and a buffer 307. In some examples, the video decoder 300 can perform a decoding process that is generally opposite to the encoding process described with respect to the video encoder 200.

[0055] The entropy decoding unit 301 can retrieve the encoded code stream. The encoded code stream may include entropy encoded video data (e.g., encoded video data blocks). The entropy decoding unit 301 can decode the entropy encoded video data, and the motion compensation unit 302 can determine motion information from the entropy decoded video data, the motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. The motion compensation unit 302 can determine the information, for example, by performing AMVP and merge mode. AMVP is used, including deriving several most likely candidates based on data and reference pictures of neighboring PBs. The motion information typically includes horizontal and vertical motion vector displacement values, one or two reference picture indexes, and in the case of prediction areas in B stripes, also includes an identification of which reference picture list is associated with each index. As used herein, in some aspects, "merge mode" may refer to deriving motion information from blocks that are adjacent in space or time.

[0056] The motion compensation unit 302 may generate motion compensated blocks, possibly performing interpolation based on interpolation filters.Identifiers for the interpolation filters used with sub-pixel precision may be included in the syntax elements.

[0057] The motion compensation unit 302 may calculate interpolated values ​​for sub-integer pixels of a reference block using interpolation filters used by the video encoder 200 during encoding of the video block. The motion compensation unit 302 may determine the interpolation filters used by the video encoder 200 based on received syntax information, and the motion compensation unit 302 may use the interpolation filters to generate a prediction block.

[0058] The motion compensation unit 302 may use at least part of the syntax information to determine the size of blocks used to encode (multiple) frames and / or (multiple) slices of the encoded video sequence, partition information describing how each macroblock of a picture of the encoded video sequence is partitioned, a mode indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-frame coding block, and other information for decoding the encoded video sequence. As used herein, in some aspects, a "slice" may refer to a data structure that can be decoded independently of other slices of the same picture in terms of entropy coding, signal prediction, and residual signal reconstruction. A slice may be an entire picture, or it may be a region of a picture.

[0059] The intra prediction unit 303 may use, for example, an intra prediction mode received in a bitstream to form a prediction block from spatially neighboring blocks. The inverse quantization unit 304 inversely quantizes (i.e., dequantizes) the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 305 applies an inverse transform.

[0060] The reconstruction unit 306 may obtain the decoded block, for example, by adding the residual block to the corresponding prediction block generated by the motion compensation unit 302 or the intra prediction unit 303. If necessary, a deblocking filter may also be applied to filter the decoded block to remove blocking artifacts. The decoded video block is then stored in a buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction, and the buffer 307 also generates the decoded video for presentation on a display device.

[0061] Some example embodiments of the present disclosure will be described in detail below. It should be noted that the section titles used in this document are for ease of understanding, and the embodiments disclosed in the section are not limited to that section. In addition, although some embodiments are described with reference to general video codecs or other specific video codecs, the disclosed technology is also applicable to other video coding and decoding technologies. In addition, although some embodiments describe the video encoding steps in detail, it should be understood that the corresponding decoding steps of canceling the encoding will be implemented by the decoder. In addition, the term video processing includes video coding or compression, video decoding or decompression, and video transcoding, in which video pixels are represented from one compression format to another compression format or at different compression bit rates. 1 Overview The present disclosure relates to video coding technology. Specifically, it relates to a chroma interpolation filter in video coding. It can be applied to existing video coding standards or standards such as HEVC (universal video coding). It can also be applied to future video coding standards or video codecs. 2 Introduction 2.1 Interpolation in Motion Compensation Inter-frame prediction can save transmitted information by eliminating temporal redundancy. Motion compensation is an important operation in inter-frame prediction. Motion vector and reference frame index are used to indicate the displacement between the current prediction unit and the reference block. Therefore, each prediction unit can find the reference block based on the motion vector and reference frame index. Since the displacement information can be continuous and the reference pixels are spatially discrete, the displacement information can point to the fractional position between two adjacent integer pixels. Therefore, in order to obtain a prediction block with a fractional motion vector, it is necessary to interpolate the reference block by using an interpolation filter. The number of fractional positions depends on the resolution of the motion vector. If the motion vector resolution is There are then (n-1) fractional positions that need to be interpolated. Each fractional position corresponds to an N-tap interpolation filter containing N filter coefficients. 2.2 Development of interpolation filters The coefficients of the filter are pre-calculated using an interpolation filter. In H.264 / AVC, the interpolation coefficients are calculated using a Lonzo filter. In H.265 / HEVC and H.266 / VVC, the interpolation coefficients are calculated using a DCT-IF filter. In H.265 / HEVC, the resolution of the motion vector is 1 / 4, so the number of fractional positions for the luma component is 3. In H.266 / VVC, the resolution of the motion vector can be up to 1 / 16 of the luma component and 1 / 32 of the chroma component for video in 4:2:0 color format. Therefore, the number of fractional positions for the luma component is 16, and the number of fractional positions for the chroma component is 32. 3 Questions 1. When interpolating a reference block, a long tap filter can obtain more pixel information from the reference block than a short tap filter. An increase in the number of taps has been shown to obtain performance in the luma component. Therefore, in the latest generation of the test model, the number of interpolation taps for the luma component has been increased to 12. However, the interpolation filter for the chroma component is a 4-tap interpolation filter, which cannot be used to obtain high-quality interpolation results. 2. In the reference structure of random access configuration, all time layers use the same interpolation filter. Considering the different quality and interpolation computation complexity of different time layers, allowing different time layers to use interpolation filters with different numbers of taps can achieve a better trade-off. 4 Detailed solutions The following detailed embodiments should be considered as examples to explain the general concept. These embodiments should not be interpreted in a narrow manner. In addition, these embodiments can be combined in any way. In order to solve the above problems, this paper proposes the following methods: 1. Chroma interpolation filtering by at least one filter having more than four taps (called long tap chroma interpolation filter, LTCIF) is proposed on at least one chroma component. a) In one example, by interpolating a chroma reference block using a long-tap chroma interpolation filter in motion compensation, a chroma prediction block may be obtained. b) In one example, by interpolating chroma reference samples using a long-tap chroma interpolation filter in intra prediction, a chroma prediction block may be obtained. c) The long tap chroma interpolation filter comprises a set of filter coefficients that are pre-computed and / or signaled online. 2. For one example, LTCIF can be calculated using a discrete cosine transform interpolation filter (DCT-IF). a) For example, LTCIF can be calculated using DCT-IF with a cosine window. The filter coefficients are calculated using the following equations. Size=(M min +M max -1) Among them, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values ​​of Filter l (α) indicates the filter coefficient. M min and M max Indicates the range of neighboring integer position samples involved in the interpolation process. Size is the number of reference samples used in the interpolation filter. N is the smoothing window size, which is not necessarily an integer. b) For example, LTCIF can be calculated using DCT-IF with frequency domain smoothing. The filter coefficients are calculated using the following equation. Size=(M min +M max -1) Among them, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values ​​of Filter l (α) indicates the filter coefficient. M min and M max Indicates the range of neighboring integer position samples involved in the interpolation process. Size is the number of reference samples used in the interpolation filter. N is the smoothing window size, which is not necessarily an integer. σ is the smoothing parameter. 1. For one example, LTCIF can be calculated using a Lanzo interpolation filter (DCT-IF). The filter coefficients are calculated using the following equation. where {p l} represents the interpolation value p at the integer position l used for the interpolation value p at the fractional position α α Size is the number of reference samples used in the interpolation filter. 2. In one example, the use of chroma interpolation filters may depend on the temporal layer. a) For example, a long tap chroma interpolation filter is used for layers with a temporal marker less than or equal to k. And layers with a temporal marker greater than k may use a 4 tap chroma interpolation filter. b) Examples of GOP-16 and GOP-32 time stamps are shown in Figure 1 and Figure 2 is shown in , where k is set to 4. c) For example, chroma interpolation filters with different numbers of taps may be used for different temporal layers. d) For example, chroma interpolation filters with different filter taps may be used for different temporal layers. 3. In one example, the use of chroma interpolation filters may depend on codec information. a) For example, the codec information may include a QP value. i. For example, chroma interpolation filters with different numbers of taps may be used for different QPs. ii. For example, chroma interpolation filters with different filter taps may be used for different QPs. b) For example, the codec information may include W and / or H, which indicates the width and height of the current block or current tile or current picture. i. For example, chroma interpolation filters with different numbers of taps can be used for different W or H or W*H or the maximum of W and H or the minimum of W and H. ii. For example, chroma interpolation filters with different filter taps can be used for different W or H or W*H or the maximum of W and H or the minimum of W and H. c) For example, the codec information may include the accuracy of the MV or MVD. i. For example, chroma interpolation filters with different numbers of taps may be used for different precisions of MV or MVD. ii. For example, chroma interpolation filters with different filter taps may be used for different precisions of MV or MVD. d) For example, the codec information may include a codec mode. i. For example, chroma interpolation filters with different numbers of taps may be used for different intra prediction modes. ii. For example, chroma interpolation filters with different filter taps can be used for different intra prediction modes. iii. For example, chroma interpolation filters with different numbers of taps can be used for different inter-frame modes, such as Merge / Affine / AMVP / GMVD / BCW / CIIP / etc. iv. For example, chroma interpolation filters with different filter taps can be used for different inter-frame modes, such as merge / affine / AMVP / GMVD / BCW / CIIP / etc. v. For example, chroma interpolation filters with different numbers of taps can be used for different inter-frame prediction directions, such as unidirectional prediction or bidirectional prediction. vi. For example, chroma interpolation filters with different filter taps can be used for different inter-frame prediction directions, such as unidirectional prediction or bidirectional prediction. vii. For example, depending on the resolution of the reference picture, chroma interpolation filters with different numbers of taps may be used. viii. For example, depending on the resolution of the reference picture, chroma interpolation filters with different filter taps may be used. 4. In one example, the use of chroma interpolation filters may depend on the color component (such as Cb or Cr) or the color format (such as RGB or YUV or 4:2 or 4:2 or 4:4:4). a) For example, chroma interpolation filters with different numbers of taps may be used for different color components or color formats. b) For example, chroma interpolation filters with different filter taps may be used for different color components or color formats. 5. In one example, the filtering result of LTCIF can be clipped. 6. In one example, the use of chroma interpolation filters can be signaled from the encoder to the decoder. a) For example, at least one index or flag indicating which chroma interpolation filter to use may be signaled from the encoder to the decoder. i. For example, a flag may be transmitted via a signal to indicate whether to use an LTCIF or 4-tap filter. b) At least one chroma interpolation filter coefficient is derived, for example based on information signaled from the encoder to the decoder. c) Signaling can be presented in sPS / PPS / APS / picture header / slice header / CTU / CU / PU or any other unit at sequence level / picture level / slice level / block level. 5. Embodiment The filter coefficients of LTCIF can be the following coefficients. a) When the number of taps is 6, the coefficients are as follows. b) When the number of taps is 8, the coefficients are as follows. c) When the number of taps is 12, the coefficients are as follows. d) When the number of taps is 16, the coefficients are as follows. Scaling the above coefficients by 256, the chroma interpolation is calculated as follows. where {p l} represents the value p at integer position l that is used for interpolation at fractional position α α Size is the number of reference samples used in the interpolation filter. l is the filter coefficient in the above table.

[0062] Embodiments of the present disclosure relate to chroma interpolation filters.

[0063] As used herein, the terms "video unit" or "codec unit" or "block" used herein may refer to one or more of the following: a color component, a sub-picture, a slice, a tile, a codec tree unit (CTU), a CTU row, a group of CTUs, a codec unit (CU), a prediction unit (PU), a transform unit (TU), a codec tree block (CTB), a codec block (CB), a prediction block (PB), a transform block (TB), a block, a sub-block of a block, a sub-region within a block, or a region including more than one sample or pixel.

[0064] Figure 6 A flow chart of a method 600 for video processing according to some embodiments of the present disclosure is shown. The method 600 is implemented during conversion between video units and a bitstream of a video.

[0065] At block 610, between a video unit for a video and a bitstream for the video, a chroma interpolation filter for the video unit is determined using a discrete cosine transform interpolation filter (DCT-IF). The number of taps of the chroma interpolation filter is greater than a predetermined number. For example, the predetermined number may be 4. A chroma interpolation filter having more than a predetermined number of taps may be referred to as a long tap chroma interpolation filter (LTCIF).

[0066] At block 620, a chroma prediction block is obtained by applying the chroma interpolation filter to the chroma component of the video unit. In some embodiments, the chroma prediction block may be obtained by interpolating a chroma reference block using a chroma interpolation filter in motion compensation. Alternatively, the chroma prediction block may be obtained by interpolating a chroma reference sample using a chroma interpolation filter in intra prediction. In some embodiments, the filtering result of the chroma interpolation filter may be clipped.

[0067] At block 630, conversion is performed based on the chroma prediction block. In some embodiments, conversion may include encoding the video unit into a bitstream. Alternatively or additionally, conversion may include decoding the video unit from the bitstream. In this way, high-quality interpolation results can be obtained. Compared to conventional schemes, some embodiments of the present disclosure can advantageously improve codec efficiency, codec gain, codec performance, and flexibility.

[0068] In some embodiments, the chroma interpolation filter is determined using a DCT-IF with a cosine window. For example, a set of filter coefficients for the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with a cosine window. As an example, a set of filter coefficients for the chroma interpolation filter is determined using the following equation: In this case, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents a set of filter coefficients, M min and M max represents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, and N represents the smoothing window size.

[0069] In some embodiments, the chroma interpolation filter is determined using DCT-IF with frequency domain smoothing. For example, a set of filter coefficients for the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with frequency domain smoothing. As an example, a set of filter coefficients for the chroma interpolation filter is determined using the following equation: as well as In this case, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents a set of filter coefficients, M min and M maxrepresents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, N represents the smoothing window size, and σ represents the smoothing parameter.

[0070] In some embodiments, the use of the chroma interpolation filter can depend on the temporal layer. For example, the chroma interpolation filter is used for layers with temporal markers not greater than a predetermined value. In some embodiments, the predetermined value is 4.

[0071] In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for the first temporal layer and the other chroma interpolation filter is used for the second temporal layer. In some other embodiments, if the chroma interpolation filter includes filter taps and another chroma interpolation filter includes second filter taps, the chroma interpolation filter is used for the first temporal layer and the other chroma interpolation filter is used for the second temporal layer.

[0072] In some embodiments, the use of the chroma interpolation filter depends on the encoding and decoding information. For example, the encoding information includes more quantization parameter (QP) values.

[0073] In some embodiments, if the chroma interpolation filter includes a first number of taps and the other chroma interpolation filter includes a second number of taps, the first chroma interpolation filter is used for a first QP value and the other chroma interpolation filter is used for a second QP value. In some other embodiments, if the chroma interpolation filter includes filter taps and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for the first QP value and the other chroma interpolation filter is used for the second QP value.

[0074] In some embodiments, the codec information includes the width and height of at least one of the following: the current block, the current tile, or the current picture. In some embodiments, if the chroma interpolation filter includes a first number of taps and the other chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for one of the following: the first width, the first height, the maximum of the first W and H, or the minimum of the first W and H, and the other chroma interpolation filter is used for one of the following: the second width, the second height, the maximum of the second W and H, or the minimum of the second W and H, where W represents width and H represents height. In some other embodiments, if the chroma interpolation filter includes a first filter tap and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for one of the following: the first width, the first height, the maximum of the first W and H, or the minimum of the first W and H, and the other chroma interpolation filter is used for one of the following: the second width, the second height, the maximum of the second W and H, or the minimum of the second W and H, where W represents width and H represents height.

[0075] In some embodiments, the codec information includes the precision of a motion vector (MV) or a motion vector difference (MVD). In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first MV or a first MVD, and the other chroma interpolation filter is used for a second MV or a second MVD. In some other embodiments, if the chroma interpolation filter includes a first filter tap and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a MV of a first precision or a MVD of a first precision, and the other chroma interpolation filter is used for a MV of a second precision or a MVD of a second precision.

[0076] In some embodiments, the codec information includes a codec mode. In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first intra-frame prediction mode and the other chroma interpolation filter is used for a second intra-frame prediction mode. In some other embodiments, if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first intra-frame prediction mode and the other chroma interpolation filter is used for a second intra-frame prediction mode.

[0077] In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction mode and the other chroma interpolation filter is used for a second inter-frame prediction mode. In some other embodiments, if the chroma interpolation filter includes a first filter tap and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first inter-frame prediction mode and the other chroma interpolation filter is used for a second inter-frame prediction mode.

[0078] In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction direction and the other chroma interpolation filter is used for a second inter-frame prediction direction. In some other embodiments, if the chroma interpolation filter includes a first filter tap and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for the first inter-frame prediction direction and the other chroma interpolation filter is used for the second inter-frame prediction direction.

[0079] In some embodiments, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, whether to apply the chroma interpolation filter or the other chroma interpolation filter is based on the resolution of the reference picture. In some other embodiments, if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, whether to apply the chroma interpolation filter or the other chroma interpolation filter is based on the resolution of the reference picture.

[0080] In some embodiments, the use of the chroma interpolation filter depends on the color component or color format. For example, if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for the first color component or the first color format, and the other chroma interpolation filter is used for the second color component or the second color format. In some embodiments, if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for the first color component or the first color format, and the other chroma interpolation filter is used for the second color component or the second color format.

[0081] In some embodiments, the result of the chroma interpolation filter is clipped. In some other embodiments, the use of the chroma interpolation filter is indicated from the encoder to the decoder. In some embodiments, at least one index or flag indicating the chroma interpolation filter to be used is indicated from the encoder to the decoder. In some embodiments, at least one index or flag indicates whether the chroma interpolation filter is used. In some embodiments, at least one chroma interpolation filter coefficient is derived based on information indicated from the encoder to the decoder. In some embodiments, one of the following is indicated: sequence level, picture level, slice level or block level. In some embodiments, the use is indicated in one of the following: picture header, sequence parameter set (SPS), picture parameter set (PPS), adaptive parameter set (APS), slice header, codec tree unit (CTU), codec unit (CU) or prediction unit (PU).

[0082] According to another embodiment of the present disclosure, a non-transitory computer-readable recording medium is provided. The non-transitory computer-readable recording medium stores a bitstream of a video generated by a method performed by a device for video processing. The method includes: using a discrete cosine transform interpolation filter (DCT-IF) to determine a chroma interpolation filter for a video unit of the video, wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; and generating a bitstream based on the chroma prediction block.

[0083] According to some other embodiments of the present disclosure, a method for storing a bitstream of a video is provided. The method includes: determining a chroma interpolation filter for a video unit of the video using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; generating a bitstream based on the chroma prediction block; and storing the bitstream in a non-transitory computer-readable recording medium.

[0084] Implementations of the present disclosure may be described in view of the following clauses, and features of the following clauses may be combined in any reasonable manner.

[0085] Clause 1. A method of video processing, comprising: for conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; and performing the conversion based on the chroma prediction block.

[0086] Clause 2. The method of clause 1, wherein the chroma interpolation filter is a long tap chroma interpolation filter.

[0087] Clause 3. The method of clause 1, wherein the predetermined number is 4.

[0088] Clause 4. The method of clause 1, wherein the chroma interpolation filter is determined using a DCT-IF with a cosine window.

[0089] Clause 5. The method of clause 4, wherein a set of filter coefficients of the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with the cosine window.

[0090] Clause 6. The method of clause 5, wherein the set of filter coefficients of the chroma interpolation filter is determined using the following equation: And among them, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents the set of filter coefficients, M min and M max represents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, and N represents the smoothing window size.

[0091] Clause 7. The method of clause 1, wherein the chroma interpolation filter is determined using DCT-IF with frequency domain smoothing.

[0092] Clause 8. The method of clause 7, wherein a set of filter coefficients of the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with the frequency domain smoothing.

[0093] Clause 9. The method of clause 8, wherein the set of filter coefficients of the chroma interpolation filter is determined using the following equation: And among them, {p l} represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents the set of filter coefficients, M min and M maxrepresents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, N represents the smoothing window size, and φ represents the smoothing parameter.

[0094] Clause 10. The method of clause 1, wherein use of the chroma interpolation filter depends on a temporal layer.

[0095] Clause 11. The method of clause 10, wherein the chroma interpolation filter is applied to layers having a temporal signature no greater than a predetermined value.

[0096] Clause 12. The method of clause 11, wherein the predetermined value is 4.

[0097] Clause 13. A method according to clause 10, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first temporal layer and the another chroma interpolation filter is used for a second temporal layer.

[0098] Clause 14. A method according to clause 10, wherein if the chroma interpolation filter includes a filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first temporal layer and the another chroma interpolation filter is used for a second temporal layer.

[0099] Clause 15. The method of clause 1, wherein use of the chroma interpolation filter depends on codec information.

[0100] Clause 16. The method of clause 15, wherein the codec information comprises further quantization parameter (QP) values.

[0101] Clause 17. A method according to Clause 16, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the first chroma interpolation filter is used for a first QP value and the another chroma interpolation filter is used for a second QP value.

[0102] Clause 18. The method of clause 16, wherein if the chroma interpolation filter comprises a filter tap and another chroma interpolation filter comprises a second filter tap, the chroma interpolation filter is used for a first QP value and the another chroma interpolation filter is used for a second QP value.

[0103] Clause 19. The method of clause 15, wherein the codec information comprises a width and a height of at least one of: a current block, a current tile, or a current picture.

[0104] Clause 20. A method according to Clause 19, wherein if the chroma interpolation filter includes a first number of taps and the other chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for one of: a first width, a first height, a maximum of the first W and H, or a minimum of the first W and H, and the other chroma interpolation filter is used for one of: a second width, a second height, a maximum of the second W and H, or a minimum of the second W and H, and wherein W represents the width and H represents the height.

[0105] Clause 21. A method according to Clause 19, wherein if the chroma interpolation filter includes a first filter tap and the other chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for one of the following: a first width, a first height, a maximum of the first W and H, or a minimum of the first W and H, and the other chroma interpolation filter is used for one of the following: a second width, a second height, a maximum of the second W and H, or a minimum of the second W and H, and wherein W represents the width and H represents the height.

[0106] Clause 22. The method of clause 15, wherein the codec information comprises a precision of a motion vector (MV) or a motion vector difference (MVD).

[0107] Clause 23. A method according to Clause 22, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first MV or a first MVD, and the other chroma interpolation filter is used for a second MV or a second MVD.

[0108] Clause 24. A method according to Clause 22, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for an MV of a first precision or an MVD of a first precision, and the other chroma interpolation filter is used for an MV of a second precision or an MVD of a second precision.

[0109] Clause 25. The method of clause 15, wherein the codec information comprises a codec mode.

[0110] Clause 26. A method according to Clause 25, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first intra-frame prediction mode and the other chroma interpolation filter is used for a second intra-frame prediction mode.

[0111] Clause 27. A method according to Clause 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first intra-frame prediction mode and the other chroma interpolation filter is used for a second intra-frame prediction mode.

[0112] Clause 28. A method according to Clause 25, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction mode and the other chroma interpolation filter is used for a second inter-frame prediction mode.

[0113] Clause 29. A method according to Clause 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first inter-frame prediction mode and the another chroma interpolation filter is used for a second inter-frame prediction mode.

[0114] Clause 30. A method according to Clause 25, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction direction and the other chroma interpolation filter is used for a second inter-frame prediction direction.

[0115] Clause 31. A method according to Clause 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first inter-frame prediction direction and the other chroma interpolation filter is used for a second inter-frame prediction direction.

[0116] Clause 32. The method of clause 25, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, whether to apply the chroma interpolation filter or the another chroma interpolation filter is based on a resolution of a reference picture.

[0117] Clause 33. The method of clause 25, wherein if the chroma interpolation filter comprises a first filter tap and another chroma interpolation filter comprises a second filter tap, whether to apply the chroma interpolation filter or the another chroma interpolation filter is based on a resolution of a reference picture.

[0118] Clause 34. The method of clause 1, wherein use of the chroma interpolation filter depends on a color component or a color format.

[0119] Clause 35. A method according to clause 34, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first color component or a first color format, and the other chroma interpolation filter is used for a second color component or a second color format.

[0120] Clause 36. A method according to clause 34, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first color component or a first color format, and the other chroma interpolation filter is used for a second color component or a second color format.

[0121] Clause 37. The method of clause 1, wherein a result of the chroma interpolation filter is clipped.

[0122] Clause 38. The method of clause 1, wherein use of the chroma interpolation filter is indicated from an encoder to a decoder.

[0123] Clause 39. The method of clause 38, wherein at least one index or flag indicating a chroma interpolation filter to be used is indicated from the encoder to the decoder.

[0124] Clause 40. The method of clause 39, wherein the at least one index or flag indicates whether the chroma interpolation filter is used.

[0125] Clause 41. The method of clause 38, wherein at least one chroma interpolation filter coefficient is derived based on information indicated from the encoder to the decoder.

[0126] Clause 42. The method of clause 38, wherein the use is indicated at one of: sequence level, picture level, slice level, or block level.

[0127] Clause 43. A method according to clause 38, wherein the use is indicated in one of the following: a picture header, a sequence parameter set (SPS), a picture parameter set (PPS), an adaptation parameter set (APS), a slice header, a codec tree unit (CTU), a codec unit (CU), or a prediction unit (PU).

[0128] Clause 44. The method of any one of clauses 1 to 43, wherein the converting comprises encoding the video unit into the bitstream.

[0129] Clause 45. The method of any one of clauses 1 to 43, wherein the converting comprises decoding the video unit from the bitstream.

[0130] Clause 46. An apparatus for video processing, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of clauses 1 to 45.

[0131] Clause 47. A non-transitory computer-readable storage medium storing instructions that cause a processor to perform the method of any one of clauses 1 to 45.

[0132] Item 48. A non-transitory computer-readable recording medium storing a bitstream of a video generated by a method executed by a video processing device, wherein the method comprises: for conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; and generating the bitstream based on the chroma prediction block.

[0133] Item 49. A method for storing a bitstream of a video, comprising: for conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; obtaining a chroma prediction block by applying the chroma interpolation filter to the chroma component of the video unit; generating the bitstream based on the chroma prediction block; and storing the bitstream in a non-transitory computer-readable recording medium. Example Device

[0134] Figure 7 A block diagram of a computing device 700 is shown in which various embodiments of the present disclosure may be implemented. The computing device 700 may be implemented as a source device 110 (or video encoder 114 or 200) or a destination device 120 (or video decoder 124 or 300).

[0135] It should be understood that Figure 7 The computing device 700 shown in FIG. 7 is for illustrative purposes only and is not intended to in any way imply any limitation on the functionality and scope of the embodiments of the present disclosure.

[0136] like Figure 7As shown, computing device 700 includes a general computing device 700. Computing device 700 may include at least one or more processors or processing units 710, memory 720, storage unit 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760.

[0137] In some embodiments, the computing device 700 can be implemented as any user terminal or server terminal with computing capabilities. The server terminal can be a server provided by a service provider, a large computing device, etc. The user terminal can be, for example, any type of mobile terminal, fixed terminal or portable terminal, including a mobile phone, a station, a unit, a device, a multimedia computer, a multimedia tablet computer, an Internet node, a communicator, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a gaming device, or any combination thereof, and includes the accessories and peripherals of these devices, or any combination thereof. It is conceivable that the computing device 700 can support any type of interface to the user (such as a "wearable" circuit device, etc.).

[0138] The processing unit 710 may be a physical processor or a virtual processor and may implement various processes based on a program stored in the memory 720. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the computing device 700. The processing unit 710 may also be referred to as a central processing unit (CPU), a microprocessor, a controller, or a microcontroller.

[0139] The computing device 700 typically includes a variety of computer storage media. Such media can be any media accessible by the computing device 700, including but not limited to volatile media and non-volatile media, or removable media and non-removable media. The memory 720 can be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (such as a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), or flash memory), or any combination thereof. The storage unit 730 can be any removable or non-removable medium, and can include machine-readable media, such as a memory, a flash drive, a disk, or other media that can be used to store information and / or data and can be accessed in the computing device 700.

[0140] The computing device 700 may also include additional removable / non-removable storage media, volatile / non-volatile storage media. Figure 7Although not shown in the figure, a magnetic disk drive for reading from and / or writing to a removable nonvolatile magnetic disk and an optical disk drive for reading from and / or writing to a removable nonvolatile optical disk may be provided. In this case, each drive may be connected to the bus (not shown) via one or more data medium interfaces.

[0141] The communication unit 740 communicates with another computing device via a communication medium. In addition, the functions of the components in the computing device 700 can be implemented by a single computing cluster or multiple computing machines that can communicate via a communication connection. Therefore, the computing device 700 can operate in a networked environment using logical connections to one or more other servers, networked personal computers (PCs), or other general network nodes.

[0142] The input device 750 may be one or more of various input devices, such as a mouse, keyboard, trackball, voice input device, etc. The output device 760 may be one or more of various output devices, such as a display, a speaker, a printer, etc. With the aid of the communication unit 740, the computing device 700 may also communicate with one or more external devices (not shown), such as storage devices and display devices, and the computing device 700 may also communicate with one or more devices that enable a user to interact with the computing device 700, or any device that enables the computing device 700 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), if necessary. Such communication may be performed via an input / output (I / O) interface (not shown).

[0143] In some embodiments, some or all components of the computing device 700 may also be arranged in a cloud computing architecture rather than being integrated in a single device. In a cloud computing architecture, components may be provided remotely and work together to implement the functions described in the present disclosure. In some embodiments, cloud computing provides computing, software, data access and storage services, which will not require the end user to know the physical location or configuration of the system or hardware that provides these services. In various embodiments, cloud computing provides services via a wide area network (e.g., the Internet) using a suitable protocol. For example, a cloud computing provider provides applications via a wide area network, which can be accessed through a web browser or any other computing component. The software or components of the cloud computing architecture and the corresponding data may be stored on a remote server. The computing resources in a cloud computing environment may be merged or distributed at the location of a remote data center. Cloud computing infrastructures may provide services through a shared data center, although they appear as a single access point for users. Therefore, cloud computing architectures may be used to provide components and functions described herein from a service provider at a remote location. Alternatively, they may be provided by a conventional server, or installed directly or otherwise on a client device.

[0144] In an embodiment of the present disclosure, the computing device 700 may be used to implement video encoding / decoding. The memory 720 may include one or more video encoding / decoding modules 725 having one or more program instructions. These modules can be accessed and executed by the processing unit 710 to perform the functions of the various embodiments described herein.

[0145] In an example embodiment of performing video encoding, the input device 750 may receive video data as input 770 to be encoded. The video data may be processed by, for example, the video codec module 725 to generate an encoded bitstream. The encoded bitstream may be provided as output 780 via the output device 760.

[0146] In an example embodiment of performing video decoding, the input device 750 may receive an encoded bitstream as input 770. The encoded bitstream may be processed by, for example, the video codec module 725 to generate decoded video data. The decoded video data may be provided as output 780 via the output device 760.

[0147] Although the present disclosure has been specifically shown and described with reference to the preferred embodiments of the present disclosure, it will be understood by those skilled in the art that various changes can be made in form and detail without departing from the spirit and scope of the present application as defined by the appended claims. These changes are intended to be encompassed by the scope of the present application. Therefore, the foregoing description of the embodiments of the present application is not intended to be limiting.

Claims

1. A video processing method, comprising: For conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; Obtaining a chroma prediction block by applying the chroma interpolation filter to a chroma component of the video unit; as well as The converting is performed based on the chroma prediction block. 2 . The method of claim 1 , wherein the chroma interpolation filter is a long-tap chroma interpolation filter. The method according to claim 1 , wherein the predetermined number is 4.

4. The method of claim 1, wherein the chroma interpolation filter is determined using DCT-IF with a cosine window.

5. The method of claim 4, wherein a set of filter coefficients of the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with the cosine window.

6. The method of claim 5, wherein the set of filter coefficients of the chroma interpolation filter is determined using the following equation: and in, {p l } represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents the set of filter coefficients, M min and M max represents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, and N represents the smoothing window size.

7. The method of claim 1, wherein the chroma interpolation filter is determined using DCT-IF with frequency domain smoothing.

8. The method of claim 7, wherein a set of filter coefficients of the chroma interpolation filter is determined based on a set of parameters of the DCT-IF with the frequency domain smoothing.

9. The method of claim 8, wherein the set of filter coefficients of the chroma interpolation filter is determined using the following equation: and in, {p l } represents the value p at integer position l that is used for interpolation at fractional position α α A set of sample values, Filter l (α) represents the set of filter coefficients, M min and M max represents the range of neighboring integer position samples involved in the interpolation process, Size represents the number of reference samples used in the chroma interpolation filter, N represents the smoothing window size, and σ represents the smoothing parameter.

10. The method of claim 1, wherein use of the chroma interpolation filter depends on a temporal layer. The method according to claim 10 , wherein the chroma interpolation filter is applied to layers having a temporal stamp not greater than a predetermined value. The method according to claim 11 , wherein the predetermined value is 4.

13. The method of claim 10, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, the chroma interpolation filter is used for a first temporal layer and the another chroma interpolation filter is used for a second temporal layer.

14. The method of claim 10, wherein if the chroma interpolation filter includes a filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first temporal layer and the another chroma interpolation filter is used for a second temporal layer.

15. The method of claim 1, wherein use of the chroma interpolation filter depends on codec information.

16. The method of claim 15, wherein the codec information includes more quantization parameter (QP) values.

17. The method of claim 16, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, the first chroma interpolation filter is used for a first QP value and the another chroma interpolation filter is used for a second QP value.

18. The method of claim 16, wherein if the chroma interpolation filter comprises a filter tap and another chroma interpolation filter comprises a second filter tap, the chroma interpolation filter is used for a first QP value and the another chroma interpolation filter is used for a second QP value.

19. The method of claim 15, wherein the codec information comprises a width and a height of at least one of: a current block, a current tile, or a current picture.

20. The method of claim 19, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, the chroma interpolation filter is used for one of: a first width, a first height, a maximum of a first W and a first H, or a minimum of a first W and a first H, and The other chroma interpolation filter is applied to one of the second width, the second height, the maximum of the second W and H, or the minimum of the second W and H, and Wherein W represents the width, and H represents the height.

21. The method of claim 19, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for one of: a first width, a first height, a maximum of a first W and a first H, or a minimum of a first W and a first H, and The other chroma interpolation filter is applied to one of the second width, the second height, the maximum of the second W and H, or the minimum of the second W and H, and Wherein W represents the width, and H represents the height.

22. The method according to claim 15, wherein the coding information includes the accuracy of the motion vector (MV) or the motion vector difference (MVD).

23. The method of claim 22, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first MV or a first MVD, and the another chroma interpolation filter is used for a second MV or a second MVD.

24. The method of claim 22, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first precision MV or a first precision MVD, and the other chroma interpolation filter is used for a second precision MV or a second precision MVD.

25. The method of claim 15, wherein the codec information comprises a codec mode.

26. The method of claim 25, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, the chroma interpolation filter is used for a first intra-frame prediction mode and the another chroma interpolation filter is used for a second intra-frame prediction mode.

27. The method of claim 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first intra-frame prediction mode and the another chroma interpolation filter is used for a second intra-frame prediction mode.

28. The method of claim 25, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction mode and the another chroma interpolation filter is used for a second inter-frame prediction mode.

29. The method of claim 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first inter-frame prediction mode and the another chroma interpolation filter is used for a second inter-frame prediction mode.

30. The method of claim 25, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first inter-frame prediction direction and the another chroma interpolation filter is used for a second inter-frame prediction direction.

31. The method of claim 25, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first inter-frame prediction direction and the another chroma interpolation filter is used for a second inter-frame prediction direction.

32. The method of claim 25, wherein if the chroma interpolation filter comprises a first number of taps and another chroma interpolation filter comprises a second number of taps, whether to apply the chroma interpolation filter or the another chroma interpolation filter is based on a resolution of a reference picture.

33. The method of claim 25, wherein if the chroma interpolation filter comprises a first filter tap and another chroma interpolation filter comprises a second filter tap, whether to apply the chroma interpolation filter or the another chroma interpolation filter is based on a resolution of a reference picture.

34. The method of claim 1, wherein use of the chroma interpolation filter depends on color component or color format.

35. A method according to claim 34, wherein if the chroma interpolation filter includes a first number of taps and another chroma interpolation filter includes a second number of taps, the chroma interpolation filter is used for a first color component or a first color format, and the other chroma interpolation filter is used for a second color component or a second color format.

36. A method according to claim 34, wherein if the chroma interpolation filter includes a first filter tap and another chroma interpolation filter includes a second filter tap, the chroma interpolation filter is used for a first color component or a first color format, and the other chroma interpolation filter is used for a second color component or a second color format.

37. The method of claim 1, wherein a result of the chroma interpolation filter is clipped.

38. The method of claim 1, wherein use of the chroma interpolation filter is indicated from an encoder to a decoder.

39. The method of claim 38, wherein at least one index or flag indicating a chroma interpolation filter to be used is indicated from the encoder to the decoder.

40. The method of claim 39, wherein the at least one index or flag indicates whether the chroma interpolation filter is used.

41. The method of claim 38, wherein at least one chroma interpolation filter coefficient is derived based on information indicated from the encoder to the decoder.

42. The method of claim 38, wherein the use is indicated by one of: Sequence level, Picture level, Stripe level, or Block level.

43. The method of claim 38, wherein the use is indicated in one of: Picture header, Sequence Parameter Set (SPS), Picture Parameter Set (PPS), Adaptive Parameter Set (APS), Strip head, Codec Tree Unit (CTU), Codec Unit (CU), or Prediction Unit (PU).

44. The method of any one of claims 1 to 43, wherein the converting comprises encoding the video unit into the bitstream.

45. The method of any one of claims 1 to 43, wherein the converting comprises decoding the video unit from the bitstream.

46. ​​An apparatus for video processing, comprising a processor and a non-transitory memory having instructions thereon, wherein the instructions, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 45.

47. A non-transitory computer-readable storage medium storing instructions, the instructions causing a processor to execute the method according to any one of claims 1 to 45.

48. A non-transitory computer-readable recording medium storing a bit stream of a video generated by a method performed by a video processing device, wherein the method comprises: For conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; Obtaining a chroma prediction block by applying the chroma interpolation filter to a chroma component of the video unit; as well as The bitstream is generated based on the chroma prediction block.

49. A method for storing a bitstream of a video, comprising: For conversion between a video unit of a video and a bitstream of the video, determining a chroma interpolation filter for the video unit using a discrete cosine transform interpolation filter (DCT-IF), wherein the number of taps of the chroma interpolation filter is greater than a predetermined number; Obtaining a chroma prediction block by applying the chroma interpolation filter to a chroma component of the video unit; generating the bitstream based on the chroma prediction block; as well as The bit stream is stored in a non-transitory computer-readable recording medium.