KR-102964188-B1 - SYSTEM AND METHOD FOR COMBINED INTER AND INTRA PREDICTION
Abstract
The present disclosure relates to a method for video coding. The method comprises the steps of: acquiring a first reference image and a second reference image associated with a current prediction block; acquiring a first prediction L0 based on a first motion vector MV0 from the current prediction block to a reference block in the first reference image; acquiring a second prediction L1 based on a second motion vector MV1 from the current prediction block to a reference block in the second reference image; determining whether a bidirectional optical flow (BDOF) operation is applied; and calculating a bidirectional prediction of the current prediction block based on the first prediction L0 and the second prediction L1, and the first gradient value and the second gradient value.
Inventors
- 슈 샤오위
- 천 이-원
- 왕 샹린
Assignees
- 베이징 다지아 인터넷 인포메이션 테크놀로지 컴퍼니 리미티드
Dates
- Publication Date
- 20260512
- Application Date
- 20200109
- Priority Date
- 20190109
Claims (9)
- As a video encoding method, A step of partitioning the current image into one or more coding blocks; A step of acquiring a first reference image and a second reference image associated with the current coding block - in chronological order, the first reference image is prior to the current image, and the second reference image is after the current image -; A step of obtaining a first prediction based on a first motion vector from the current coding block to the reference block in the first reference image; A step of obtaining a second prediction based on a second motion vector from the current coding block to the reference block in the second reference image; At least a step of calculating a bi-prediction of the current coding block based on the first prediction and the second prediction—the calculating step includes a step of enabling a bidirectional optical flow (BDOF) under conditions where the Combined Inter and Intra Prediction (CIIP) used to calculate the bi-prediction of the current coding block is not applied. A video encoding method including
- In paragraph 1, The step of calculating a double prediction of the current coding block based on at least the first prediction and the second prediction is, A step comprising disabling BDOF in the calculation of double prediction of the current coding block in response to a decision that CIIP is applied to calculate double prediction of the current coding block, Video encoding method.
- In paragraph 2, The step of calculating the double prediction of the current coding block in response to the decision that CIIP is applied to calculate the double prediction of the current coding block is, A step comprising calculating a double prediction of the current coding block based on averaging the first prediction and the second prediction, Video encoding method.
- In paragraph 1, The step of calculating double prediction of the current coding block in response to the decision that the above BDOF is activated is, The first horizontal gradient value for the prediction sample associated with the first prediction above and the first vertical gradient value Calculate, and the second horizontal gradient value for the prediction sample associated with the second prediction above and second vertical gradient value The step of calculating - here, is the sample location associated with the first prediction above. Representing the predicted sample in, is the sample location associated with the second prediction above. Represents predicted samples in - ; and A step of calculating a double prediction of the current coding block based on the first prediction, the second prediction, the first horizontal gradient value, the first vertical gradient value, the second horizontal gradient value, and the second vertical gradient value. A video encoding method including
- In paragraph 4, The step of calculating double prediction of the current coding block in response to the decision that the above BDOF is activated is, A step of calculating motion refinement of each sub-block by minimizing the difference between a prediction sample associated with the first prediction and a prediction sample associated with the second prediction; and A step of calculating a double prediction of the current coding block based on the motion adjustment, the first prediction, the second prediction, the first horizontal gradient value, the first vertical gradient value, the second horizontal gradient value, and the second vertical gradient value. A video encoding method including
- In paragraph 5, The step of calculating double prediction of the current coding block in response to the decision that the above BDOF is activated is, A step of calculating a BDOF value based on the motion adjustment, the first horizontal gradient value, the first vertical gradient value, the second horizontal gradient value, and the second vertical gradient value; and A step of calculating a double prediction of the current coding block based on the first prediction, the second prediction, and the BDOF value. A video encoding method including
- As a video encoding device, It includes one or more processors and one or more storage coupled to said one or more processors, and The above video encoding device is configured to generate a bitstream and transmit the bitstream by performing the method of any one of claims 1 to 6. Video encoding device.
- A computer-readable, non-transient storage medium for storing a plurality of programs for execution by a computing device having one or more processors, A computer-readable, non-transient storage medium that causes the computing device to perform a method according to any one of claims 1 to 6 when the plurality of programs are executed by the one or more processors.
- As a method for transmitting a bitstream, A step of generating a bitstream by performing a method of any one of claims 1 to 6; and Step of transmitting the above bitstream A method for transmitting a bitstream including
Description
System and Method for Combined Inter and Intra Prediction This application is based on and claims priority to Provisional Application No. 62/790,421 filed on January 9, 2019, the contents of which are incorporated herein by reference in their entirety. This application relates to video coding and compression. More specifically, this application relates to a Combined Inter and Intra Prediction (CIIP) method and apparatus for video coding. Various video coding techniques can be used to compress video data. Video coding is performed according to one or more video coding standards. For example, video coding standards include VVC (versatile video coding), JEM (Joint exploration test model), high-efficiency video coding (H.265/HEVC), advanced video coding (H.264/AVC), and MPEG (moving picture experts group) coding. Video coding generally utilizes prediction methods (e.g., inter-prediction, intra-prediction, etc.) that take advantage of the redundancy present in video images or sequences. An important goal of video coding techniques is to prevent or minimize video quality degradation while compressing video data into a format that uses a lower bit rate. Examples of the present disclosure provide a method for improving the efficiency of syntax signaling of merge-related modes. According to a first aspect of the present disclosure, a video coding method comprises the steps of: acquiring a first reference image and a second reference image associated with a current prediction block—wherein in the display order, the first reference image is before the current image and the second reference image is after the current image—; acquiring a first prediction L0 based on a first motion vector MV0 from the current prediction block to a reference block in the first reference image; acquiring a second prediction L1 based on a second motion vector MV1 from the current prediction block to a reference block in the second reference image; and determining whether a bidirectional optical flow (BDOF) operation is applied—wherein the BDOF is a first horizontal gradient value for a prediction sample associated with the first prediction L0. and the first vertical gradient value And the second horizontal gradient value associated with the above second prediction L1 and second vertical gradient value Calculate -; and the first prediction L0 and the second prediction L1, the first gradient value and And the second gradient value and It includes the step of calculating a bi-prediction of the current prediction block based on the above. According to a second aspect of the present disclosure, a video coding method comprises: acquiring a reference image from a reference image list associated with a current prediction block; generating an inter prediction based on a first motion vector from the current image to a first reference image; acquiring an intra prediction mode associated with the current prediction block; generating an intra prediction of the current prediction block based on the intra prediction; generating a final prediction of the current prediction block by averaging the inter prediction and the intra prediction; and determining whether the current prediction block is treated as an inter mode or an intra mode for most probable mode (MPM) based intra mode prediction. According to a third aspect of the present disclosure, a computer-readable, non-transient storage medium is provided, wherein the instruction is stored. When the instruction is executed by one or more processors, the computing device performs the operation of acquiring a first reference image and a second reference image associated with a current prediction block—wherein the display order the first reference image is prior to the current image and the second reference image is after the current image—; the operation of acquiring a first prediction L0 based on a first motion vector MV0 from the current prediction block to a reference block in the first reference image; the operation of acquiring a second prediction L1 based on a second motion vector MV1 from the current prediction block to a reference block in the second reference image; and the operation of determining whether a bidirectional optical flow (BDOF) operation is applied—wherein the BDOF is a first horizontal gradient value for a prediction sample associated with the first prediction L0. and the first vertical gradient value And the second horizontal gradient value associated with the above second prediction L1 and second vertical gradient value Calculate -; and perform operations including operations to calculate the double prediction of the current prediction block. According to a fourth aspect of the present disclosure, a computer-readable non-transient storage medium is provided, wherein a command is stored. When executed by one or more processors, the command causes a computing device to perform operations including: acquiring a reference image from a list of reference images associated with a current p