Method, apparatus and computer program for multi-line intra-frame prediction

By applying intra-frame smoothing and PDPC only to the closest reference line, the method addresses inefficiencies in existing video coding technologies, enhancing prediction accuracy and efficiency in intra-frame processing.

JP7574247B2Active Publication Date: 2024-10-28TENCENT AMERICA LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022109624
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-11-26
Filing Date
2022-07-07
Publication Date
2024-10-28
Estimated Expiration
2039-07-24

AI Technical Summary

Technical Problem

Existing video coding technologies, such as HEVC and VVC, face inefficiencies in intra-frame prediction due to the application of intra-frame smoothing and position-dependent prediction combination (PDPC) across multiple reference lines, which can lead to undesirable effects like reference samples becoming closer together or not being optimally utilized.

Method used

The proposed method applies intra-frame smoothing and PDPC only to the closest reference line, optimizing the prediction process by reducing unnecessary processing on other reference lines and improving prediction accuracy.

Benefits of technology

This optimization enhances the efficiency and accuracy of intra-frame prediction by focusing processing resources on the most relevant reference line, thereby improving video decoding performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574247000016
    Figure 0007574247000016
  • Figure 0007574247000017
    Figure 0007574247000017
  • Figure 0007574247000018
    Figure 0007574247000018
Patent Text Reader

Abstract

A method and apparatus for multi-line intra-frame prediction is provided. A method for controlling intra-frame prediction for decoding a video sequence includes informing a decoder of a first reference line based on a reference line index and applying intra-frame smoothing to only the first reference line. A plurality of reference lines are adjacent to a coding unit, and the first reference line is a reference line of the plurality of reference lines that is closest to the coding unit. The method further includes applying intra-frame prediction to the coding unit based on the intra-frame smoothing applied to only the first reference line, and applying position-related intra-frame prediction combining (PDPC) to only the first reference line based on the intra-frame prediction being applied to the coding unit.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [Related Applications] This application claims priority to U.S. Provisional Patent Application No. 62 / 724.575, filed in the U.S. Patent and Trademark Office on August 29, 2018, the entire contents of which are incorporated herein by reference.

[0002] Methods and apparatus consistent with embodiments relate to video processing, and in particular to methods and apparatus for multi-line intra-frame prediction. [Background technology]

[0003] Figure 1 shows the intra prediction modes used in High Efficiency Video Coding (HEVC). In HEVC, there are a total of 35 intra prediction modes, among which mode 10 (101) is a horizontal mode, mode 26 (102) is a vertical mode, and mode 2 (103), mode 18 (104), and mode 34 (105) are diagonal modes. The intra prediction modes are signaled by the three most probable modes (MPM) and 32 remaining modes. Summary of the Invention [Means for solving the problem]

[0004] According to an embodiment, a method for controlling intra-frame prediction for decoding a video sequence, executed by at least one processor, includes the steps of: notifying a decoder of a first reference line based on a reference line index, and applying intra-frame smoothing to only the first reference line, where a plurality of reference lines are adjacent to a coding unit, and the first reference line is a reference line in the plurality of reference lines that is closest to the coding unit; applying intra-frame prediction to the coding unit based on the intra-frame smoothing applied to only the first reference line; and applying position-dependent intra prediction combination (PDPC) to only the first reference line based on the intra-frame prediction being applied to the coding unit.

[0005] According to an embodiment, an apparatus for controlling intra prediction for decoding of a video sequence comprises at least one memory configured to store computer program code, and at least one processor configured to access the at least one memory and operate based on the computer program code, the computer program code comprising: a first applying code configured to cause the at least one processor to inform a decoder of a first reference line based on a reference line index and to apply intra smoothing to only the first reference line, where a plurality of reference lines are adjacent to a coding unit, and the first reference line is a reference line in the plurality of reference lines that is closest to the coding unit, a second applying code configured to cause the at least one processor to apply intra prediction to the coding unit based on the intra smoothing applied to only the first reference line, and a third applying code configured to cause the at least one processor to apply PDPC to only the first reference line based on the intra prediction being applied to the coding unit.

[0006] According to an embodiment, a non-transitory computer-readable storage medium storing instructions that cause a processor to perform the steps of informing a decoder of a first reference line based on a reference line index and applying intra-frame smoothing to only the first reference line, where a plurality of reference lines are adjacent to a coding unit and the first reference line is a reference line in the plurality of reference lines that is closest to the coding unit; applying intra-frame prediction to the coding unit based on the intra-frame smoothing applied to only the first reference line; and applying PDPC to only the first reference line based on the intra-frame prediction being applied to the coding unit. [Brief description of the drawings]

[0007] [Figure 1] 1 is a diagram of intra-frame prediction modes in HEVC.

[0008] [Diagram 2] FIG. 1 is a simplified block diagram of a communication system according to an embodiment.

[0009] [Diagram 3] 1 is a diagram of an arrangement of a video encoder and a video decoder in a streaming environment according to an embodiment;

[0010] [Figure 4] FIG. 2 is a functional block diagram of a video decoder according to an embodiment.

[0011] [Diagram 5] FIG. 2 is a functional block diagram of a video encoder according to an embodiment;

[0012] [Figure 6] 1 is a diagram of intra-frame prediction modes in Versatile Video Coding (VVC) Draft 2.

[0013] [Figure 7] 1 is a diagram showing PDPC weights (wL, wT, wTL) of DC mode at positions (0,0) and (1,0) in one 4×4 block in VVC Draft 2.

[0014] [Figure 8] 1 is a diagram of four reference lines adjacent to a coding block unit for intra-frame prediction according to an embodiment.

[0015] [Figure 9] 1 is a flow chart illustrating a method for controlling intra-frame prediction for decoding of a video sequence according to an embodiment.

[0016] [Figure 10] 1 is a simplified block diagram of an apparatus for controlling intra-frame prediction for decoding of a video sequence according to an embodiment;

[0017] [Figure 11] 1 is a diagram of a computer system for implementing an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] 2 is a block diagram of a communication system (200) according to an embodiment. The communication system (200) may include at least two terminals (210-220) connected to each other via a network (250). For one-way data transmission, a first terminal (210) encodes video data at a local location and transmits it to another terminal (220) via the network (250). The second terminal (220) receives the encoded video data of the other terminal from the network (250), decodes the encoded data, and displays the restored video data. One-way data transmission is common in media service applications, etc.

[0019] 2 illustrates a second pair of terminals (230, 240) supporting bidirectional transmission of encoded video, such as may occur during a video conference. For the bidirectional transmission of data, each terminal (230, 240) encodes video data collected at a local location for transmission to the other terminal over the network (250). Each terminal (230, 240) can also receive encoded video data transmitted from the other terminal, decode the encoded data, and display the recovered video data on a local display device.

[0020] In FIG. 2, the terminals (210-240) are illustrated as servers, personal computers, and smartphones, although the principles of the embodiments are not so limited. The embodiments apply to laptop computers, tablets, media players, and / or specialized video conferencing equipment. The network (250) represents any number of networks, including, for example, wired and / or wireless communication networks, for transmitting encoded video data between the terminals (210-240). The communication network (250) may exchange data over circuit-switched and / or packet-switched channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this discussion, the architecture and topology of the network (250) is not important to the operation of the embodiments, unless otherwise described below.

[0021] 3 is a diagram of a configuration of a video encoder and a video decoder in a streaming environment according to an embodiment. The disclosed subject matter is equally applicable to other applications for supporting video, including, for example, video conferencing, digital TV, storing compressed video on digital media including CDs, DVDs, memory sticks, etc.

[0022] The streaming system includes a capture subsystem (313) including a video source (301), such as a digital camera, that constructs an uncompressed video sample stream (302). The sample stream (302) is depicted as a thick line to emphasize its large amount of data compared to the encoded video bitstream, and the sample stream is processed by an encoder (303) coupled to the camera (301). The encoder (303) may include hardware, software, or a combination thereof to realize or implement aspects of the disclosed subject matter, as described in more detail below. The encoded video bitstream (304) is depicted as a thin line to emphasize its small amount of data compared to the sample stream, and the encoded video bitstream is stored on a streaming server (305) for later use. One or more streaming clients (306, 308) may access the streaming server (305) to retrieve copies (307, 309) of the encoded video bitstream (304). The client (306) may include a video decoder (310) that decodes an incoming copy (307) of the encoded video bitstream (307) and constructs an output video sample stream (311) for display on a display (312) or other presentation device (not shown). Some streaming systems may encode the video bitstream (304, 307, 309) according to certain video encoding / compression standards. Examples of these standards include the ITU-T H.265 recommendation. The developing video encoding standard is informally referred to as VVC. The disclosed subject matter applies in the context of VVC.

[0023] FIG. 4 is a functional block diagram of a video decoder (310) according to an embodiment.

[0024] The receiver (410) can receive one or more codec video sequences to be decoded by the decoder (310), and in the same or other embodiments, can receive one coded video sequence at a time, with each coded video sequence being decoded independently of the other coded video sequences. The receiver (410) receives coded video sequences from a channel (412), which can be a hardware / software link to a storage device for storing the coded video data. The receiver (410) can receive coded video data and other data, such as coded audio data and / or auxiliary data streams, which are forwarded to respective utilization entities (not shown). The receiver (410) can separate the coded video sequences from the other data. To prevent network jitter, a buffer memory (415) is coupled between the receiver (410) and the entropy decoder / parser (420) (hereinafter referred to as the "parser"). The receiver (410) does not require a buffer (415) or the buffer can be small when receiving data from a storage / forwarding device with sufficient bandwidth and controllability, or from an isochronous real-time network. For use in business packet networks such as the Internet, buffers (415) may be required, which may be relatively large and advantageously have a self-adapting size.

[0025] The video decoder (310) includes a parser (420) to reconstruct symbols (421) based on the entropy-coded video sequence. These categories of symbols include information for managing the operation of the decoder (310) and, in some cases, for controlling a display device, such as a display (312), which is not part of the decoder but is coupled to it, as shown in FIG. 4. The control information for the display device may be in the form of a Supplementary Enhancement Information (SEI) message or a Video Usability Information (VUI) parameter set segment (not shown). The parser (420) performs parsing / entropy decoding on the received coded video sequence. The coding of the coded video sequence is based on a video coding technique or standard and follows various principles known to those skilled in the art, such as variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser (420) extracts a subgroup parameter set for at least one of the subgroups of pixels in the video decoder from the coded video sequence based on the at least one parameter corresponding to the group. The subgroup may include a Group of Pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The entropy decoder / parser can further extract information such as transform coefficients, quantizer parameter (QP) values, motion vectors, etc. from the coded video sequence.

[0026] The parser (420) performs an entropy decoding / parsing operation on the video sequence received from the buffer (415) to construct symbols (421). The parser (420) receives the encoded data and selectively decodes particular symbols (421). The parser (420) can also determine whether a particular symbol (421) is to be provided to a motion compensation prediction unit (453), a scaler / inverse transform unit (451), an intraframe prediction unit (452), or a loop filter unit (454).

[0027] Depending on the type of coded video picture, or on a subset of coded video pictures (e.g., inter-frame and intra-frame pictures, inter-frame and intra-frame blocks), and other factors, the reconstruction of the symbols (421) may involve several different units. Which units are involved, and how, is controlled by subgroup control information that the parser (420) parses based on the coded video sequence. For simplicity, such subgroup control information streams between the parser (420) and the following units are not shown:

[0028] In addition to the functional blocks already mentioned, the decoder (310) is conceptually divided into several functional units, which are described below. In an actual implementation that operates under commercial constraints, several of these units may closely interact with each other and may be at least partially integrated with each other. However, for the purpose of describing the disclosed subject matter, it is appropriate to conceptually divide the decoder (310) into the following functional units:

[0029] The first unit is a scalar / inverse transform unit (451). The scalar / inverse transform unit (451) receives quantized transform coefficients as symbols (421) and control information from the parser (420), including which transform scheme to use, the size of the block, the quantization factor, the quantization scaling matrix, etc. The scalar / inverse transform unit outputs a block containing sample values ​​that are input to an aggregator (455).

[0030] The output samples of the scaler / inverse transform (451) can be adapted to intra-coded blocks, i.e., they do not use predictive information from previously reconstructed pictures, but rather use predictive information from previously reconstructed parts of the current picture. Such predictive information is provided by an intra picture prediction unit (452). In some cases, the intra picture prediction unit (452) extracts from the current (partially reconstructed) picture (456) and uses already reconstructed information from the surroundings to generate a block of the same size and shape as the block being reconstructed. In some cases, the aggregator (455) adds, based on each sample, the predictive information generated by the intra prediction unit (452) to the output sample information provided by the scaler / inverse transform unit (451).

[0031] The output samples of the scalar / inverse transform unit (451) may also belong to an inter-frame coding block and possibly a motion compensation block. In such a case, the motion compensation prediction unit (453) can access the reference picture memory (457) to extract samples for prediction. After performing motion compensation on the extracted samples based on the symbols (421) belonging to the block, these samples are added to the output of the scalar / inverse transform unit by the aggregator (455) (in this case called residual samples or residual signals) to generate output sample information. The address in the reference picture memory from which the motion compensation prediction unit extracts the prediction samples is controlled by a motion vector, which is used by the motion compensation unit in the form of a symbol (421), which may have, for example, X, Y and reference picture components. The motion compensation may further include interpolation of sample values ​​extracted from the reference picture memory, motion vector prediction mechanisms, etc., when refining the motion vector by sub-samples.

[0032] The output samples of the aggregator (455) are used for various loop filtering techniques in the loop filter unit (454). The video compression techniques may include in-loop filtering techniques controlled by parameters contained in the coded video bitstream and applied to the loop filter unit (454) as symbols (421) from the parser (420), but may also be responsive to meta-information obtained during decoding of previous (in decoding order) parts of the coded picture or coded video sequence, and to previously constructed loop filtered sample values.

[0033] The output of the loop filter unit (454) may be a sample stream that is output to a display device (312) and stored in a reference picture memory (456) for future inter-picture prediction.

[0034] Once fully reconstructed, a coded picture can be used as a reference picture for future prediction. Once a coded picture is fully reconstructed and the coded picture is recognized (e.g., via the parser (420)) as a reference picture, the current picture (456) becomes part of the reference picture memory (457) and a new current picture buffer is reallocated before reconstructing a subsequent coded picture.

[0035] The video decoder (310) may perform decoding operations based on a given video compression technique, for example in the ITU-T H.265 recommendation standard. A coded video sequence complies with the grammar specified by the video compression technique or standard in use, in the sense that the coded video sequence conforms to both the grammar of the video compression technique or standard and the configuration file recorded in the video compression technique or standard. Compliance requires that the complexity of the coded video sequence be within a range defined by the level of the video compression technique or standard. In some situations, the level limits the maximum picture size, maximum frame rate, maximum reconstruction sampling rate (e.g., measured in millions of samples per second), and maximum reference picture size. In some situations, the limits set by the level are further limited via the specification of a hypothetical reference decoder (HRD) and HRD buffer management metadata signaled in the coded video sequence.

[0036] In an embodiment, the receiver (410) can receive additional (redundant) data and encoded video. The additional data is included as part of the encoded video sequence. The additional data can be utilized by the video decoder (310) to properly decode the data and / or more accurately reconstruct the original video data. The additional data can be in the form of, for example, temporal, spatial, or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

[0037] FIG. 5 is a functional block diagram of a video encoder (303) according to an embodiment.

[0038] The encoder (303) can receive video samples from a video source (301) (not part of the encoder), which can collect video images to be encoded by the encoder (303).

[0039] The video source (301) may provide a source video sequence that is encoded by the video encoder (303) in the form of a digital video sample stream, which may have any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...), and any suitable sampling configuration (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media service system, the video source (301) may be a storage device for storing previously prepared videos. In a video conferencing system, the video source (301) may be a camera for capturing local image information as a video sequence. The video data may be provided as a number of separate pictures that are given motion when viewed in sequence. The pictures themselves are organized as a spatial pixel array, and depending on the sampling configuration, color space, etc. in use, each pixel may contain one or more samples. The relationship between pixels and samples is easily understood by those skilled in the art. The following description focuses on samples.

[0040] Depending on the embodiment, the video encoder (303) encodes pictures of a source video sequence in real time or any other time constraint required by the application and compresses them as an encoded video sequence (543). Running at an appropriate encoding rate is one function of the controller (550). The controller (550) controls and is functionally coupled to other functional units described below, which are not shown for the sake of simplicity. Parameters set by the controller may include parameters related to rate control (picture skip, quantizer, lambda value for rate distortion optimization techniques...), picture size, group of pictures (GOP) configuration, search range for maximum motion vector, etc. The controller (550) may be configured with other suitable functions, which belong to the video encoder (303) optimized for a certain system design.

[0041] In some embodiments, the video encoder is configured to operate in an encoding loop. As a very simple description, in one example, the encoding loop includes an encoder (530) (hereafter referred to as a source encoder) (e.g., responsible for generating symbols based on an input picture to be encoded and reference pictures) and a (local) decoder (533) embedded in the video encoder (303). The decoder reconstructs symbols and constructs sample data in the same way that a (remote) decoder constructs sample data (because in the video compression techniques considered in the disclosed subject matter, the compression between symbols and the encoded video bitstream is lossless). The reconstructed sample stream (sample data) is input to a reference picture memory (534). The decoding of the symbol stream produces bit-exact results that are independent of the decoder location (local or remote), so the contents in the reference picture memory are bit-exact between the local encoder and the remote encoder. In other words, the reference picture samples "seen" by the prediction part of the encoder are exactly the same as the sample values ​​"seen" by the decoder when it tries to use the prediction during decoding. The basic principles of reference picture synchrony (and the drift that occurs when synchrony cannot be maintained, e.g., from channel errors) are known to those skilled in the art.

[0042] The operation of the "local" decoder (533) may be similar to that of the "remote" decoder of the video decoder (310), for example, as described in detail above in conjunction with Figure 4. However, with brief reference to Figure 4, the entropy decoding portion of the video decoder (310), including the channel (412), receiver (410), buffer memory (415) and parser (420), may not be fully implemented in the local decoder (533) if symbols are available and the entropy encoder (545) and parser (420) are capable of losslessly encoding / decoding the symbols into an encoded video sequence.

[0043] In this case, any decoder techniques other than analysis / entropy decoding present in the decoder are necessarily present in the corresponding encoder in the form of essentially the same functionality. The description of the encoder technique may be simplified since it is the opposite process to the fully described decoder technique. A more detailed description is only necessary in certain areas and is provided below.

[0044] As part of its operation, the source encoder (530) can perform motion-compensated predictive encoding, predictively encoding an input frame with reference to one or more encoding frames (designated as "reference frames") from the video sequence. In this manner, the encoding engine (532) encodes the differences between pixel blocks of the input frame and pixel blocks selected as the predictive reference reference frames for the input frame.

[0045] The local video decoder (533) can decode the encoded video data of pictures that can be designated as reference pictures based on the symbols constructed by the source encoder (530). The operation of the encoding engine (532) is preferably a lossy process. Once the encoded video data can be decoded by a video decoder (not shown in FIG. 4), the reconstructed video sequence may be a copy of the source video sequence, which generally has some errors. The local video decoder (533) copies the decoding process that the video decoder performs on the reference pictures and stores the reconstructed reference pictures in a reference picture cache (534). In this manner, the video encoder (303) stores a copy of the reconstructed reference picture locally, which has a common content (no transmission errors) with the reconstructed reference picture obtained by the remote video decoder.

[0046] The predictor (535) can perform a prediction search for the coding engine (532). That is, for a new frame to be coded, the predictor (535) searches the reference picture memory (534) for sample data (as candidate reference pixel blocks) of suitable prediction references for the new picture, or for certain metadata, such as reference picture motion vectors, block shapes, etc. The predictor (535) can find suitable prediction references by operating on a pixel block by pixel block basis based on the sample blocks. In some situations, an input picture may have prediction references obtained from multiple reference pictures stored in the reference picture memory (534), as determined based on the search results obtained by the predictor (535).

[0047] The controller (550) can manage the encoding operations of the video encoder (530), including, for example, setting parameters for encoding the video data and subgroup parameters.

[0048] The output of all the functional units may be entropy coded in an entropy coder (545) which converts the symbols produced by the various functional units into a coded video sequence by performing lossless compression on the symbols using techniques known to those skilled in the art (e.g. Huffman coding, variable length coding, arithmetic coding, etc.).

[0049] The transmitter (540) buffers the encoded video sequence constructed by the entropy encoder (545) and prepares it for transmission over a communication channel (560), which may be a hardware / software link to a storage device for storing the encoded video data. The transmitter (540) merges the encoded video data from the video encoder (530) with other data to be transmitted, such as encoded audio data and / or auxiliary data streams (sources not shown).

[0050] The controller (550) can manage the operation of the video encoder (303). During encoding, the controller (550) can assign a particular encoding picture type to each encoded picture, which can affect the encoding technique applied to the corresponding picture. For example, pictures are typically assigned as one of the following frame types:

[0051] An intraframe picture (I-picture) may be a picture that is coded and decoded when no other picture in the sequence serves as a source of prediction. Some video codecs allow different types of intraframe pictures, including instantaneous refresh pictures for decoder decoding operations. Those skilled in the art will understand the variations of I-pictures and their corresponding applications and characteristics.

[0052] A predicted picture (P picture) may be a picture that is encoded and decoded using intra-frame prediction or inter-frame prediction, where the sample values ​​of each block are predicted by at most one motion vector and reference index.

[0053] A bidirectionally predicted picture (B-picture) may be a picture that uses intra-frame or inter-frame prediction to encode and decode, where at most two motion vectors and reference indices predict the sample values ​​of each block. Similarly, multiple predicted pictures allow more than two reference pictures and associated metadata to be used to reconstruct a single block.

[0054] A source picture can generally be spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples) and coded block by block. These blocks are coded predictively with reference to other (coded) blocks, which are determined by the coding assignment applied to the corresponding picture of the block. For example, blocks of an I picture are coded non-predictively, or blocks of an I picture are coded predictively (spatial or intraframe) with reference to coded blocks of the same picture. Pixel blocks of a P picture may be coded predictively via spatial or temporal prediction with reference to one previously coded reference picture. Blocks of a B picture may be coded predictively via spatial or temporal prediction with reference to one or two previously coded reference pictures.

[0055] The video encoder (303) may perform encoding operations based on a given video encoding technique or standard, for example the ITU-T H.265 recommendation. In its operation, the video encoder (303) may perform various compression operations, including predictive encoding operations that exploit temporal and spatial redundancies in the input video sequence. Thus, the encoded video data conforms to a grammar specified by the video encoding technique or standard used.

[0056] In an embodiment, the transmitter (540) can transmit additional data and encoded video. The source encoder (530) may include such data as part of the encoded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other types of redundant data such as redundant pictures and slices, side information (SEI) messages, video presentation information (VUI) parameter set segments, etc.

[0057] FIG. 6 is a diagram of intra-frame prediction modes in VVC Draft 2.

[0058] In VVC Draft 2, there are a total of 87 intra prediction modes, where mode 18 (601) is the horizontal mode, mode 50 (602) is the vertical mode, and mode 2 (603), mode 34 (604), and mode 66 (605) are diagonal modes, as shown in Figure 6. Modes -1 to 10 and modes 67 to 76 are called Wide-Angle Intra Prediction (WAIP) modes.

[0059] The PDPC does not need to be signaled and applies to the following intra-frame modes: planar mode, DC mode, WAIP mode, horizontal mode, vertical mode, bottom-left corner mode (mode 2 (603)) and its eight adjacent corner modes (modes 3 to 10), and top-right corner mode (mode 66 (605)) and its eight adjacent corner modes (modes 58 to 65).

[0060] Based on the following PDPC expression, a linear combination of the intra-frame prediction mode (DC, planar, angular) and the reference samples is used to predict a prediction sample pred(x, y) at a position (x, y).

number

[0061] Here, R x,-1 ,R -1,y denote the reference samples at the top (T) and left (L) of the current sample (x, y), respectively, and R -1,1 denotes the reference sample in the top-left (TL) corner of the current block.

[0062] In DC mode, for a block having a size of width and height, weights (wL, wT, wTL) are calculated as follows: wT=32>>((y<<1)>> shift), wL=32>>((x<<1)>> shift) WTL = (wL>>4) + (wT>>4), (Formula 2)

[0063] Note that shift = (log2(width)-2)+log2(height)-2+2)>>2

[0064] In planar mode, wTL = 0, in horizontal mode, wTL = wT, and in vertical mode, wTL = wL. The PDPC weights may be computed via additions and shifts only. The value of pred(x, y) may be computed in a single step using Equation 1.

[0065] FIG. 7 is a diagram showing PDPC weights (wL, wT, wTL) of the DC mode at the (0,0) and (1,0) positions in one 4×4 block in VVC Draft 2.

[0066] 7, part (a) shows the PDPC weights (wL, wT, wTL) of the DC mode at the (0,0) position in one 4×4 block, and part (b) shows the PDPC weights (wL, wT, wTL) of the DC mode at the (1,0) position in one 4×4 block.

[0067] Applying PDPC to DC mode, planar mode, horizontal mode and vertical mode does not require any other boundary filters, such as the HEVC DC mode boundary filter or the horizontal / vertical mode edge filter.

[0068] Part (a) of Fig. 7 shows the PDPC reference sample R applied to the upper right corner mode or diagonal mode. x,-1 ,R -1,y and R -1,-1 Here is the definition for . The predicted sample pred(x',y') is located at (x',y') in the prediction block. The reference sample R x,-1 The coordinate x of is given by x=x'+y'+1, and the reference sample R -1,y The coordinate y of is given similarly by y=x'+y'+1.

[0069] The following section from VVC Draft 2 describes the PDPC: 8.2.4.2.9 Position-related intra-frame prediction combination process The input for this process is as follows: - Intra frame prediction mode PredModeIntra, - variable nTbW for specifying the width of the transformation block, - variable nTbH for specifying the height of the transformation block, - variable refW for specifying the width of the reference sample, - variable refH for specifying the height of the reference sample, - the prediction samples predSamples[x][y], where x=0..nTbW-1 and y=0..nTbH-1), - the neighboring samples p[x][y], where x=-1, y=-1..refH-1 and x=0..refW-1, y=-1), - variable cldx for specifying the color components of the current block. The output of the process is the corrected predicted samples predSamples[x][y], where x=0..nTbW-1, y=0..nTbH-1. Depending on the value of cldx, the function cliplCmp is set as follows: If -cldx is equal to 0, cliplCmp Y is set equal to - Otherwise, cliplCmp will C is set equal to The variable nScale is set such that ((Log2(nTbW)+Log2(nTbH)-2)>>2). Obtain the reference sample arrays mainRef[x] and sidRef[y], where x=0..refW and y=0..refH, as follows:

number

number

number

number

number

number

number

number

[0070] In VVC Draft 2, for the luminance component, prior to the generation process (i.e., intraframe smoothing process), filtering is performed on neighboring samples for generating intraframe predicted samples. The filtering is controlled by a predetermined intraframe prediction mode and the size of the transform block. If the intraframe prediction mode is DC mode or the size of the transform block is equal to 4×4, filtering is not performed on neighboring samples. If the distance between the predetermined intraframe prediction mode and the vertical mode (or horizontal mode) is greater than a predefined threshold, the filtering process is started. For filtering of neighboring samples, a [1, 2, 1] filter and a bilinear filter are used.

[0071] The following item from VVC Draft 2 describes the intraframe smoothing process. 8.2.4.2.4 Reference Sample Filtering The input for this process is as follows: - the (unfiltered) adjacent samples refUnfilt[x][y], where x=-1, y=-1..refH-1 and x=0..refW-1, y=-1; - variable nTbW for specifying the width of the transformation block, - variable nTbH for specifying the height of the transformation block, - variable refW for specifying the width of the reference sample, - variable refH for specifying the height of the reference sample, - Variable cIdx for specifying the color components of the current block. The output of the process is the reference samples p[x][y], where x=-1, y=-1..refH-1, and x=0..refW-1, y=-1. The variable nTbS is set equal to (Log2(nTbW)+Log2(nTbH))>>1. The variable whRatio is set equal to min(abs(Log2(nTbW / nTbH)),2). Get the variable wideAngle as follows: - If all of the following conditions are true, then wideAngle is set equal to 1: -nTbW is greater than nTbH -predModeIntra is 2 or greater -predModeIntra is (whRatio>1)?smaller than 12:8 - Otherwise, if all of the following conditions are true, then wideAngle is set equal to 1: -nTbH is greater than nTbW -predModeIntra is less than or equal to 66 -predModeIntra is greater than (whRatio>1)?56:60 - Otherwise, wideAngle is set to 0. Get the variable filterFlag as follows: - filterFlag is set equal to 0 if one or more of the following conditions are true: -predModeIntra is equal to INTRA_DC, - cIdx is not equal to 0. - otherwise, the following applies: -The variable minDistVerHor is It is set equal to Min(Abs(predModeIntra-50),Abs(predModeIntra-18)). The variable intraHorVerDistThres[nTbS] is defined in detail in Table 8-4. -Get the variable filterFlag as follows: If -minDistVerHor is greater than intraHorVerDistThres[nTbS] or wideAngle is equal to 1, then filterFlag is set equal to 1. Otherwise, filterFlag is set equal to 0. Table 8-4: Specification of intraHorVerDistThres[nTbS] for various transform block sizes [Table 1] For obtaining the reference sample p[x][y], the following is applied: -filterFlag equals 1, we get the filtered sample values ​​p[x][y] (where x=-1, y=-1..refH-1 and x=0..refW-1, y=-1) as follows:

number

[0072] In VVC Draft 2, multi-line intra prediction uses more reference lines to perform intra prediction, and the encoder determines and signals which reference line to use to generate the intra predictor. Before the intra prediction mode, the reference line index is signaled, and when a non-zero reference line index is signaled, the planar mode and DC mode are excluded from the intra prediction modes.

[0073] FIG. 8 is a diagram of four reference lines (881-884) adjacent to a coding block unit (810) for intra-frame prediction according to an embodiment.

[0074] Referring to FIG. 8, an example of four reference lines (881-884) is shown, each of which has six segments A-F (820-870). A top-left reference sample (880) is also drawn in black at the top-left of the block unit (810). Segments A and F (820-870) are also padded with the nearest sample (890) from segments B and E (830 and 860), respectively.

[0075] Referring again to Figure 6, the wide angles beyond the prediction direction range covered by the normal intra prediction modes are indicated by dashed arrows, each corresponding to a wide-angle intra prediction mode. The following non-square blocks apply to these wide angles:

[0076] If the block width is greater than the block height, then the angle is greater than 45 degrees in the upper right direction (intra prediction mode 34 in HEVC).

[0077] If the block height is greater than the block width, then the angle is greater than 45 degrees in the bottom-left direction (intra-frame prediction mode 2 in HEVC).

[0078] Signal the replaced modes in the original way, and after analysis, map the replaced modes back to the wide-angle intra prediction mode index. The total number of intra prediction modes remains unchanged, i.e., 35, and the number of intra modes remains unchanged.

[0079] Currently, PDPC is applied to all reference lines. However, to ensure that the resulting predicted samples are similar, the PDPC process utilizes different reference lines, which is not a desirable design.

[0080] Currently, intra-frame smoothing is applied to all reference lines, but the intra-frame smoothing process makes the reference samples in different lines closer together, which is not the desired design.

[0081] To address these issues, the following considers embodiments, which may be used alone or in combination in any order. In the following description, the line index of the closest reference line (i.e., reference line 881 in FIG. 8) is 0. The highest reference line number that is signaled is denoted as N. Also, the term "PDPC" refers to the simplified PDPC described in item 8.2.4.2.9 of VVC Draft 2.

[0082] In an embodiment, the PDPC is applied only to the closest reference line.

[0083] In an embodiment, the intra-frame smoothing process is applied to the nearest reference line only.

[0084] In an embodiment, intraframe smoothing is applied to only some reference lines (i.e., 881-884 in FIG. 8). In an embodiment, intraframe smoothing is applied to only reference lines 0 (i.e., 881 in FIG. 8) and 1 (i.e., 882 in FIG. 8). In another embodiment, intraframe smoothing is applied to reference lines 0 and 3 (i.e., 884 in FIG. 8). In another embodiment, intraframe smoothing is applied to reference lines 0 and 2 (i.e., 883 in FIG. 8). In another embodiment, intraframe smoothing is not applied to one reference line, but is applied to all other reference lines. For example, intraframe smoothing is not applied to reference line 3.

[0085] In an embodiment, the PDPC is applied to only a select few reference lines. In an embodiment, the PDPC is applied to only reference lines 0 and 1. In another embodiment, the PDPC is applied to reference lines 0 and 3. In another embodiment, the PDPC is applied to reference lines 0 and 2. In another embodiment, the PDPC is not applied to one reference line, and the PDPC is applied to all other reference lines. For example, the PDPC is not applied to reference line 3.

[0086] In an embodiment, PDPC is applied only to non-zero reference lines (i.e., 882 to 884 in FIG. 8), but when PDPC is applied to non-zero reference lines, PDPC is applied only to some intra prediction modes. The following embodiments are applied alone or in any order in combination. In an embodiment, when non-zero reference lines are used, PDPC is applied only to planar modes and / or DC modes. In an embodiment, when non-zero reference lines are used, PDPC is applied only to horizontal and vertical modes. In another embodiment, when non-zero reference lines are used, PDPC is applied only to diagonal modes (modes 2 or 66 shown in FIG. 6). In another embodiment, when non-zero reference lines are used, PDPC is applied only to intra prediction modes adjacent to mode 2 and mode 66, for example, modes 3 to 10 and modes 58 to 65 shown in FIG. 6. In another embodiment, when non-zero reference lines are used, PDPC is applied only to WAIP modes.

[0087] In an embodiment, different combinations of PDPC and intra-frame smoothing processes are applied to different reference lines. In an embodiment, PDPC and intra-frame smoothing are applied to reference line 0, only PDPC is applied to reference line 1, only intra-frame smoothing is applied to reference line 2, and neither PDPC nor intra-frame smoothing is applied to reference line 3. In another embodiment, when N is equal to 4, both PDPC and intra-frame smoothing are applied to reference line 0, and / or there is at least one reference line to which only PDPC or only intra-frame smoothing is applied but not both, and / or there is at least one reference line to which neither PDPC nor intra-frame smoothing is applied. In another embodiment, when N is equal to 3, both PDPC and intra-frame smoothing are applied to reference line 0, only PDPC is applied to one of the non-zero reference lines, and neither PDPC nor intra-frame smoothing is applied to one of the reference lines. In another embodiment, when N is equal to 3, both PDPC and intra-frame smoothing are applied to reference line 0, only intra-frame smoothing is applied to at least one of the non-zero reference lines, and neither PDPC nor intra-frame smoothing is applied to at least one of the reference lines.

[0088] In an embodiment, the planar mode and the DC mode are applied to the non-zero reference line, but the PDPC and the intra-frame smoothing applied to the planar mode and the DC mode are different at different reference lines. In an embodiment, the PDPC and the intra-frame smoothing are applied to the planar mode and the DC mode at the nearest reference line, and the PDPC and the intra-frame smoothing are not applied to the planar mode and the DC mode at other reference lines. In another embodiment, the PDPC and the intra-frame smoothing are applied to the planar mode and the DC mode at the nearest reference line, and either one of the PDPC and the intra-frame smoothing is applied to the planar mode and the DC mode at the non-zero reference line, or neither the PDPC nor the intra-frame smoothing is applied to the planar mode and the DC mode.

[0089] In an embodiment, for non-zero reference lines, PDPC is not applied at a wide angle.

[0090] In an embodiment, for non-zero reference lines, intra-frame smoothing is not applied at wide angles.

[0091] In an embodiment, intra smoothing is reference line dependent, i.e., intra smoothing is applied to different intra prediction modes for different reference lines. A threshold for controlling which horizontal / vertical mode adjacent intra prediction modes are excluded from intra smoothing is reference line index dependent. In an embodiment, an intra prediction mode that applies intra smoothing for a certain reference line index is completely covered by an intra prediction mode that applies intra smoothing for a smaller reference line index value, which refers to a reference line that is closer to the current block to be predicted.

[0092] In an embodiment, the intra prediction modes using PDPC are different for different reference lines. In an embodiment, among reference line 0, PDPC is applied vertically and horizontally. However, among non-zero reference lines, PDPC is not applied vertically and horizontally.

[0093] The following text describes the text changes (using underlines and strikethroughs) that utilize an embodiment based on VVC Draft 2 that prohibits intraframe smoothing for non-zero reference lines. 8.2.4.2.1 General Intra-Sample Prediction The input for this process is as follows: - A sample position (xTbCmp, yTbCmp) to specify the top-left sample of the current transform block relative to the top-left sample of the current picture. a variable predModeIntra for specifying the intraframe prediction mode, - variable nTbW for specifying the width of the transformation block, - variable nTbH for specifying the height of the transformation block, - The variable refLine for specifying the reference line index, - Variable cIdx for specifying the color components of the current block. The output of the process is the predicted samples predSamples[x][y], where x=0..nTbW-1, y=0..nTbH-1. The variable whRatio is set equal to min(abs(Log2(nTbW / nTbH)),2). Get the variables refW and refH as follows:

number

number

[0094] The following text describes the text changes (using underlines and strikethroughs) that utilize an embodiment that prohibits PDPC for non-zero reference lines, based on the latest version of VVC Draft 2. 8.2.4.2.1 General Intra-Sample Prediction The input for this process is as follows: a sample position (xTbCmp, yTbCmp) for specifying the top-left sample of the current transform block relative to the top-left sample of the current picture; a variable predModeIntra for specifying the intraframe prediction mode, - variable nTbW for specifying the width of the transformation block, - variable nTbH for specifying the height of the transformation block, - The variable refLine for specifying the reference line index, - Variable cIdx for specifying the color components of the current block. The output of the process is the predicted samples predSamples[x][y], where x=0..nTbW-1 and y=0..nTbH-1. The variable whRatio is set equal to min(abs(Log2(nTbW / nTbH)),2). Get the variables refW and refH as follows:

number

[0095] Figure 9 is a flow chart illustrating a method (900) of intraframe prediction according to an embodiment, which is applied to decoding of a video sequence. In some implementations, one or more of the processing blocks of Figure 9 are performed by the decoder 310. In some implementations, one or more of the processing blocks of Figure 9 are separate from the decoder (310) or are performed by another device or set of devices that includes the decoder (310), such as the encoder (303).

[0096] Referring to FIG. 9, in a first block (910), the method (900) includes a step of informing a decoder of a first reference line based on a reference line index, and applying intra-frame smoothing to only the first reference line, where a plurality of reference lines are adjacent to a coding unit, and the first reference line is the reference line of the plurality of reference lines that is closest to the coding unit.

[0097] In a second block (920), the method (900) includes applying intra prediction to the coding unit based on intra smoothing applied to only the first reference line.

[0098] In a third block (930), the method (900) includes applying PDPC to only the first reference line based on the fact that intraframe prediction is applied to the coding unit.

[0099] The method (900) further includes applying intra-frame smoothing to a second reference line of the plurality of reference lines.

[0100] The method (900) further includes applying intra-frame smoothing to one reference line in the plurality of reference lines and only to other reference lines in the plurality of reference lines.

[0101] The method (900) further includes applying PDPC to a second reference line of the plurality of reference lines based on the fact that intraframe prediction is applied to the coding unit.

[0102] The method (900) further includes applying PDPC to only other reference lines of the plurality of reference lines other than one reference line of the plurality of reference lines based on the fact that intraframe prediction is applied to the coding unit.

[0103] The method (900) further includes a step of determining whether an intra-frame prediction angle corresponding to the intra-frame prediction mode is greater than a predetermined angle corresponding to a diagonal direction of the coding unit, the intra-frame prediction mode being used to decode the video sequence, and a step of preventing application of intra-frame smoothing to reference lines other than the first reference line among the plurality of reference lines based on determining that the intra-frame prediction angle is greater than the predetermined angle.

[0104] The method (900) further includes a step of determining whether an intra-frame prediction angle corresponding to an intra-frame prediction mode is greater than a predetermined angle corresponding to a diagonal direction of a coding unit, the intra-frame prediction mode being used to decode the video sequence, and a step of preventing application of PDPC to reference lines other than a first reference line among a plurality of reference lines based on determining that the intra-frame prediction angle is greater than the predetermined angle.

[0105] The method (900) further includes a step of applying intraframe smoothing to at least one reference line based on an intraframe prediction mode for decoding the video sequence and an index of the at least one reference line, the at least one reference line being a reference line other than the first reference line among the plurality of reference lines.

[0106] The method (900) further includes a step of determining a threshold index range corresponding to a plurality of intra-frame prediction modes based on an index of a second reference line among the plurality of reference lines, the plurality of intra-frame prediction modes being horizontally adjacent to the coding unit, and a step of determining whether a current index value of a current intra-frame prediction mode for decoding the video sequence is within the threshold index range, and preventing application of intra-frame smoothing to the second reference line based on a determination that the current index value is within the threshold index range.

[0107] The method (900) further includes a step of determining a threshold index range corresponding to a plurality of intra-frame prediction modes based on an index of a second reference line among the plurality of reference lines, the plurality of intra-frame prediction modes being vertically adjacent to the coding unit, and a step of determining whether a current index value of a current intra-frame prediction mode for decoding the video sequence is within the threshold index range, and preventing application of intra-frame smoothing to the second reference line based on a determination that the current index value is within the threshold index range.

[0108] Although Figure 9 illustrates example blocks of method (900), in some implementations, method (900) may have additional blocks, fewer blocks, different blocks, or blocks arranged differently than those blocks illustrated in Figure 9. Additionally, or alternatively, two or more blocks of method (900) may be performed in parallel.

[0109] The proposed methods may also be implemented in a processing circuit (e.g., one or more processors, or one or more integrated circuits). Illustratively, the one or more processors execute a program stored on a non-transitory computer-readable medium to perform one or more of the proposed methods.

[0110] FIG. 10 is a simplified block diagram of an apparatus (1000) for controlling intra-frame prediction for decoding of a video sequence according to an embodiment.

[0111] Referring to FIG. 10, an apparatus (1000) is used for decoding a video sequence and includes a first application code (1010), a second application code (1020) and a third application code (1030).

[0112] The first application code (1010) is configured to inform the decoder of a first reference line based on a reference line index and to apply intra-frame smoothing only to the first reference line, where the plurality of reference lines are adjacent to the coding unit, and the first reference line is the reference line in the plurality of reference lines that is closest to the coding unit.

[0113] A second application code (1020) is configured to apply intra prediction to the coding unit based on intra smoothing applied only to the first reference line.

[0114] The selection code (1030) is configured to apply PDPC to only the first reference line based on the fact that intra-frame prediction is applied to the coding unit.

[0115] The first applying code (1010) is further configured to apply intra-frame smoothing to a second reference line of the plurality of reference lines.

[0116] The first applying code (1010) is further configured to apply intra-frame smoothing to the one reference line of the plurality of reference lines and only to other reference lines of the plurality of reference lines.

[0117] The third application code (1030) is further configured to apply the PDPC to a second reference line of the plurality of reference lines based on that intraframe prediction is applied to the coding unit.

[0118] The third application code (1030) is further configured to apply the PDPC to only other reference lines of the plurality of reference lines other than the one reference line of the plurality of reference lines based on the fact that intraframe prediction is applied to the coding unit.

[0119] The first application code (1010) is further configured to determine whether an intra-frame prediction angle corresponding to the intra-frame prediction mode is greater than a predetermined angle corresponding to a diagonal direction of the coding unit, and is configured to prevent application of intra-frame smoothing to reference lines other than the first reference line among the plurality of reference lines based on the intra-frame prediction mode being used to decode the video sequence and the intra-frame prediction angle being determined to be greater than the predetermined angle.

[0120] The third application code (1030) is further configured to determine whether an intra prediction angle corresponding to an intra prediction mode is greater than a predetermined angle corresponding to a diagonal direction of a coding unit, the intra prediction mode being used to decode the video sequence, and based on the intra prediction angle being determined to be greater than the predetermined angle, to prevent application of PDPC to other reference lines among a plurality of reference lines other than the first reference line.

[0121] The first application code (1010) is further configured to apply intraframe smoothing to at least one reference line based on an intraframe prediction mode for decoding the video sequence and an index of the at least one reference line, the at least one reference line being a reference line other than the first reference line among the plurality of reference lines.

[0122] The first application code (1010) is further configured to determine a threshold index range corresponding to a plurality of intra-frame prediction modes based on an index of a second reference line among the plurality of reference lines, the plurality of intra-frame prediction modes being horizontally adjacent to the coding unit, and to determine whether a current index value of a current intra-frame prediction mode for decoding the video sequence is within the threshold index range, and to prevent applying intra-frame smoothing to the second reference line based on the determination that the current index value is within the threshold index range.

[0123] The first application code (1010) is further configured to determine a threshold index range corresponding to a plurality of intra-frame prediction modes based on an index of a second reference line among the plurality of reference lines, the plurality of intra-frame prediction modes being vertically adjacent in the coding unit, determine whether a current index value of a current intra-frame prediction mode for decoding the video sequence is within the threshold index range, and prevent applying intra-frame smoothing to the second reference line based on the determination that the current index value is within the threshold index range.

[0124] The techniques are implemented as computer software using computer readable instructions and physically stored on one or more computer readable media.

[0125] FIG. 11 is a diagram of a computer system (1100) for implementing an embodiment.

[0126] Computer software may be encoded in any suitable machine code or computer language, which may be edited, compiled, linked, or otherwise constructed to produce code containing instructions that are executed directly by one or more computer central processing units (CPUs), graphics processing units (GPUs), or the like, or may be executed by interpretation, microcode execution, or the like.

[0127] The instructions may be executed by various types of computers or components thereof, including, for example, personal computers, tablets, servers, smart phones, gaming devices, Internet of Things devices, and the like.

[0128] The components of the computer system (1100) shown in Figure 11 are exemplary in nature and are not limiting on the scope or functionality of use of the example computer software for implementing the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement regarding any one or combination of components shown in the example embodiment of the computer system (1100).

[0129] The computer system (1100) may include several human-machine interface input devices. Such human-machine interface input devices may respond to input from one or more human users, for example, through tactile input (e.g., keystrokes, slides, data glove movements), audio input (e.g., voice, claps), visual input (e.g., posture), and olfactory input (not shown). The human-machine interface devices may also capture certain media that are not necessarily directly related to a human's conscious input, such as audio (e.g., voice, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image capture devices), and videos (e.g., two-dimensional video, three-dimensional video including stereoscopic video).

[0130] The input man-machine interface device may include one or more of a keyboard (1101), a mouse (1102), a touchpad (1103), a touch panel (1110), a data glove (1104), a joystick (1105), a microphone (1106), a scanner (1107), and an imaging device (1108) (only one of each listed).

[0131] The computer system (1100) may further include man-machine interface output devices. Such man-machine interface output devices may stimulate one or more of the human user's senses, for example, through haptic output, sound, light, and smell / taste. Such man-machine interface output devices may include haptic output devices (e.g., haptic feedback via a touch panel (1110), data gloves (1104), or joystick (1105), although there are also haptic feedback devices that are not used as input devices), audio output devices (e.g., speakers (1109), headphones (not shown)), visual output devices (e.g., a screen (1110), including a CRT screen, LCD screen, plasma screen, OLED screen, each of which may or may not have touch panel input and haptic feedback capabilities, some of which provide two-dimensional visual output or three or more dimensional output, such as by means of stereoscopic image output, including virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).

[0132] The computer system (1100) may further include human-accessible storage devices and associated media, including, for example, optical media including CD / DVD ROM / RW (1120) with media such as CDs / DVDs (1121), thumb drives (1122), removable hard drives or solid state drives (1123), traditional magnetic media such as magnetic tape and floppy disks (not shown), dedicated ROM / ASIC / PLD based devices, such as dongles (not shown), etc.

[0133] Those skilled in the art will appreciate that in conjunction with the presently disclosed subject matter, the term "computer-readable medium" as used does not include transmission media, carrier waves or other transient signals.

[0134] The computer system (1100) may further include an interface for one or more communication networks. The network may be, for example, wireless, wired, or optical. The network may further be local, wide area, metropolitan, vehicular, industrial, real-time, delay-tolerant, etc. Examples of networks include local area networks such as Ethernet, cellular networks including wireless LAN, GSM, 3G, 4G, 5G, LTE, etc., television wired or wireless wide area digital networks including cable television, satellite television, and terrestrial television, vehicular and industrial networks including CANBus, etc. Some networks typically require an external network interface adapter coupled to a general-purpose data port or peripheral bus (1149) (e.g., a USB port of the computer system (1100)), while other networks are typically integrated into the core of the computer system (1100) by coupling to a system bus described below (e.g., an Ethernet interface to a PC computer system, or a cellular network interface to a smartphone computer system). Through any of these networks, the computer system (1100) can communicate with other entities. Such communications may be one-way and receive only (e.g., broadcast television), one-way and transmit only (e.g., a CANbus to a CANbus device), or two-way (e.g., over a local or wide area digital network to another computer system). Specific protocols and protocol stacks may be utilized for each of these networks and network interfaces described above.

[0135] The man-machine interface devices, human-accessible storage devices and network interfaces mentioned above may be coupled to a core (1140) of the computer system (1100).

[0136] The core (1140) includes one or more central processing units (CPU) (1141), graphic processing units (GPU) (1142), specialized programmable processing units in the form of field programmable gate arrays (FPGA) (1143), hardware accelerators for certain tasks (1144), etc. These devices are connected via a system bus (1148) along with read only memory (ROM) (1145), random access memory (1146), internal mass storage devices (1147) such as hard disk drives, SSDs, etc. that are not accessible to the internal user. In some computer systems, the system bus (1148) can be expanded by additional CPUs, GPUs, etc., by accessing the system bus (1148) in the form of one or more physical plugs. Peripheral devices are coupled to the core's system bus (1148) directly or through a peripheral bus (1149). Peripheral bus architectures include PCI, USB, etc.

[0137] The CPU (1141), GPU (1142), FPGA (1143) and accelerator (1144) can execute a number of instructions, which, when combined, constitute the computer code referred to above. The computer code is stored in ROM (1145) or RAM (1146). Transient data is stored in RAM (1146), and permanent data may be stored, for example, in an internal mass storage device (1147). A cache memory can be used to quickly store and retrieve any of the memory devices, and the cache memory can be closely associated with one or more of the CPU (1141), GPU (1142), mass storage device (1147), ROM (1145), RAM (1146), etc.

[0138] The computer readable medium bears computer code for performing various computer implemented operations, and may be media and computer code specially designed and constructed for the purposes of this disclosure, or may be of the type known and available to those skilled in the art of computer software.

[0139] By way of example and not limitation, a computer system having the architecture (1100), and in particular the core (1140), may provide functionality by having a processor (including a CPU, GPU, FPGA, accelerator, etc.) execute software embodied in one or more tangible computer-readable media. Such computer-readable media may be storage devices such as the user-accessible mass storage media discussed above, and non-transitory core (1140) internal mass storage (1147) or ROM (1145). Software for implementing the present disclosure in various embodiments may be stored in such devices and executed by the core (1140). Depending on the particular needs, the computer-readable media may include one or more storage devices or chips. The software may cause the core (1140), and in particular the processor (including a CPU, GPU, FPGA, etc.) therein to execute a particular process or a particular part of a particular process described herein, to define data structures stored in RAM (1146), and to modify such data structures based on the process defined by the software. Also or alternatively, the computer system may provide functionality embodied in circuitry (e.g., accelerator (1144)) in a hardwired or otherwise manner that can operate in place of or in conjunction with software to perform particular processes or portions of particular processes described herein. Where appropriate, references to software may include logic, and conversely, references to logic may include software. Where appropriate, references to computer-readable media may include circuitry (e.g., integrated circuits (ICs)) on which software is stored for execution, circuitry embodying logic for execution, or both. The present disclosure includes any appropriate combination of hardware and software.

[0140] While certain illustrative embodiments have been described in this disclosure, there are alterations, substitutions, and various substitute equivalents which fall within the scope of this disclosure. Thus, many systems and methods which, although not expressly described herein, embody the principles of this disclosure and are within the spirit and scope of this disclosure may be devised by those skilled in the art.

Claims

1. 1. A method for controlling intra-frame prediction for decoding of a video sequence, executed by at least one processor, comprising: receiving a signaled reference line index; applying intra-frame smoothing to a first reference line and a second reference line that are closest to the coding unit among a plurality of reference lines adjacent to the coding unit based on the reference line index, and not applying the intra-frame smoothing to reference lines other than the first reference line and the second reference line among the plurality of reference lines; applying intra prediction to the coding unit based on the intra smoothing being applied to the first reference line and the second reference line; applying position-dependent intra-prediction combining (PDPC) to the first reference line and a third reference line based on the intra-prediction being applied to the coding unit, the third reference line being different from the second reference line; The method includes:

2. The method further comprises: The method according to claim 1 , comprising the step of not applying the PDPC to reference lines other than the first reference line and the third reference line among the plurality of reference lines.

3. 1. A method for controlling intra-frame prediction for decoding of a video sequence, executed by at least one processor, comprising: receiving a signaled reference line index; applying intra-frame smoothing to a first reference line and a second reference line that are closest to the coding unit among a plurality of reference lines adjacent to the coding unit based on the reference line index; applying intra prediction to the coding unit based on the intra smoothing being applied to the first reference line and the second reference line; applying position-dependent intra-frame prediction combining (PDPC) to the first reference line and a third reference line based on the intra-frame prediction being applied to the coding unit, and not applying the PDPC to reference lines other than the first reference line and the third reference line among the plurality of reference lines, the third reference line being different from the second reference line; The method includes:

4. 1. A method for controlling intra-frame prediction for decoding of a video sequence, executed by at least one processor, comprising: receiving a signaled reference line index; applying intra-frame smoothing to one or more first reference lines, including a reference line closest to the coding unit, among a plurality of reference lines adjacent to the coding unit based on the reference line index, and not applying the intra-frame smoothing to one or more second reference lines other than the one or more first reference lines among the plurality of reference lines; applying intra prediction to the coding unit based on the intra smoothing being applied to the one or more first reference lines; applying position-dependent intra-frame prediction combining (PDPC) to one or more third reference lines among the plurality of reference lines, including a reference line closest to the coding unit, based on the intra-frame prediction being applied to the coding unit, and not applying the PDPC to one or more fourth reference lines among the plurality of reference lines other than the one or more third reference lines, the one or more third reference lines being different from the one or more first reference lines; The method includes:

5. 1. An apparatus for controlling intra-frame prediction for decoding of a video sequence, comprising: at least one memory storing computer program code; at least one processor; 5. An apparatus, the computer program code causing the at least one processor to perform the method of any one of claims 1 to 4.

6. A computer program product for causing a computer to carry out the method according to any one of claims 1 to 4.

7. 1. A method for controlling intra-frame prediction for encoding a video sequence, executed by at least one processor, comprising: applying intra-frame smoothing to a first reference line and a second reference line that are closest to the coding unit among a plurality of reference lines adjacent to the coding unit based on a reference line index, and not applying the intra-frame smoothing to reference lines other than the first reference line and the second reference line among the plurality of reference lines; applying intra prediction to the coding unit based on the intra smoothing being applied to the first reference line and the second reference line; applying position-dependent intra-prediction combining (PDPC) to the first reference line and a third reference line based on the intra-prediction being applied to the coding unit, the third reference line being different from the second reference line; Including, The method, wherein the reference line index is signaled to a decoder.

8. 1. A method for controlling intra-frame prediction for encoding a video sequence, executed by at least one processor, comprising: applying intra-frame smoothing to a first reference line and a second reference line, which are closest to the coding unit among a plurality of reference lines adjacent to the coding unit, based on a reference line index; applying intra prediction to the coding unit based on the intra smoothing being applied to the first reference line and the second reference line; applying position-dependent intra-frame prediction combining (PDPC) to the first reference line and a third reference line based on the intra-frame prediction being applied to the coding unit, and not applying the PDPC to reference lines other than the first reference line and the third reference line among the plurality of reference lines, the third reference line being different from the second reference line; Including, The method, wherein the reference line index is signaled to a decoder.

9. 1. A method for controlling intra-frame prediction for encoding a video sequence, executed by at least one processor, comprising: applying intra-frame smoothing to one or more first reference lines, including a reference line closest to the coding unit, among a plurality of reference lines adjacent to the coding unit based on a reference line index, and not applying the intra-frame smoothing to one or more second reference lines other than the one or more first reference lines among the plurality of reference lines; applying intra prediction to the coding unit based on the intra smoothing being applied to the one or more first reference lines; applying position-dependent intra-frame prediction combining (PDPC) to one or more third reference lines among the plurality of reference lines, including a reference line closest to the coding unit, based on the intra-frame prediction being applied to the coding unit, and not applying the PDPC to one or more fourth reference lines among the plurality of reference lines other than the one or more third reference lines, the one or more third reference lines being different from the one or more first reference lines; Including, The method, wherein the reference line index is signaled to a decoder.

Citation Information

Patent Citations

  • Adaptive filtering method applied to intra prediction of multiple reference lines in video content encoding, video encoding device and video decoding device using the same

    JP2020014198A

  • JPP7104178B

  • Intra-picture prediction using non-adjacent reference lines of sample values

    WO2017190288A1