Mutual excluding settings for multiple tools
A video decoder that implements a mutually exclusive grouping of coding modes is provided. The video decoder receives data for a block of pixels to be decoded as a current block of a current picture of a video. When a first coding mode for the current block is enabled, a second coding mode is disabled for the current block, wherein the first and second coding modes specify different methods for computing an inter-prediction for the current block. The current block is decoded by using an inter-prediction that is computed according to an enabled coding mode.
1. A video decoding method comprising:
receiving data for a block of pixels to be decoded as a current block of a current picture of a video;
when a first coding mode for the current block is enabled, disabling a second coding mode for the current block, wherein the first and second coding modes specify different methods for computing an inter-prediction for the current block; and
decoding the current block by using an inter-prediction that is computed according to an enabled coding mode,
wherein a particular set of two or more coding modes comprises the first and second coding modes,
wherein, when the first coding mode is enabled, all coding modes in the particular set of coding modes except the first coding mode are disabled,
wherein the particular set of coding modes comprises generalized bi-prediction (GBI), decoder-side motion vector refinement (DMVR), bi-directional optical flow (BDOF), and combined inter and intra prediction (CIIP), and
wherein:
GBI is a coding mode in which the video decoder performs weighted averaging of two prediction signals in two different directions to generate the inter-prediction,
DMVR is a coding mode in which the video decoder searches for a refined motion vector around an initial motion vector and uses the refined motion vector to generate the inter-prediction,
BDOF is a coding mode in which the video decoder calculates a motion refinement to minimize distortion between prediction samples of different directions and adjusts the inter-prediction based on the calculated refinement, and
CIIP is a coding mode in which the video decoder combines an inter-prediction signal with an intra-prediction signal to generate the inter-prediction.
2. The method of claim 1 , wherein the first coding mode is combined inter and intra prediction (CIIP) and the second coding mode is generalized bi-prediction (GBI).
3. The method of claim 1 , wherein the first coding mode is generalized bi-prediction (GBI) and the second coding mode is bi-directional optical flow (BDOF).
4. The method of claim 1 , wherein the first coding mode is generalized bi-prediction (GBI) and the second coding mode is decoder-side motion vector refinement (DMVR).
5. The method of claim 1 , wherein the first coding mode is combined inter and intra prediction (CIIP) and the second coding mode is bi-directional optical flow (BDOF).
6. The method of claim 1 , wherein the first coding mode is combined inter and intra prediction (CIIP) and the second coding mode is decoder-side motion vector refinement (DMVR).
7. An electronic apparatus comprising:
a video decoder circuit configured to perform operations comprising:
receiving data for a block of pixels to be decoded as a current block of a current picture of a video;
when a first coding mode for the current block is enabled, disabling a second coding mode for the current block, wherein the first and second coding modes specify different methods for computing an inter-prediction for the current block; and
decoding the current block by using an inter-prediction that is computed according to an enabled coding mode,
wherein a particular set of two or more coding modes comprises the first and second coding modes,
wherein, when the first coding mode is enabled, all coding modes in the particular set of coding modes except the first coding mode are disabled,
wherein the particular set of coding modes comprises generalized bi-prediction (GBI), decoder-side motion vector refinement (DMVR), bi-directional optical flow (BDOF), and combined inter and intra prediction (CIIP), and
wherein:
GBI is a coding mode in which the video decoder performs weighted averaging of two prediction signals in two different directions to generate the inter-prediction,
DMVR is a coding mode in which the video decoder searches for a refined motion vector around an initial motion vector and uses the refined motion vector to generate the inter-prediction,
BDOF is a coding mode in which the video decoder calculates a motion refinement to minimize distortion between prediction samples of different directions and adjusts the inter-prediction based on the calculated refinement, and
CIIP is a coding mode in which the video decoder combines an inter-prediction signal with an intra-prediction signal to generate the inter-prediction.