Encoding and decoding method, device and apparatus
Abstract
The present application provides an encoding and decoding method, apparatus, and device, the method for encoding and decoding includes: determining prediction values of pixel points of current image block; determining gradient values of pixel points of the current image block based on the prediction values of pixel points of the current image block; determining offset vectors of pixel points of the current image block; determining prediction compensation values of pixel points of the current image block based on the gradient values and the offset vectors of pixel points of the current image block; and determining final prediction values of pixel points of the current image block based on the prediction values and the prediction compensation values of pixel points of the current image block. The method can expand the range of application of the prediction compensation adjustment.
Claims
exact text as granted — not AI-modified1 . A decoding method, which is applied in Versatile Video Coding and comprises:
determining whether a current image block satisfies an enabling condition for a Decoder-side Motion Vector Refinement (DMVR) mode, wherein the current image block is a prediction unit and the current image block is a decoding block obtained by dividing using one of quadtree division, horizontal binary tree division, vertical binary tree division, horizontal trigeminal tree division, or vertical ternary tree division; if the current image block satisfies the enabling condition for the DMVR mode, allowing to use the DMVR mode for the current image block; if the current image block does not satisfy the enabling condition for the DMVR mode, refusing to use the DMVR mode for the current image block; wherein, when the DMVR mode is used for the current image block, a condition satisfied by the current image block comprises: a size of a reference picture of the current image block is the same as a size of a picture to which the current image block belongs, and the reference picture is not a long-term reference picture; wherein, when the DMVR mode is used for the current image block, the current image block satisfies following conditions: a current mode of the current image block is a general merge mode; picture header control information indicates that it is allowed to use the DMVR mode for the current image block; the current image block uses a bidirectional prediction mode, a display order of one of two reference pictures is previous to a picture to which the current image block belongs, and a display order of the other of the two reference pictures is subsequent to the picture to which the current image block belongs, and distances between the two reference pictures and the picture to which the current image block belongs are equal; weighted weights of the two reference pictures of the current image block are the same; a size of the current image block satisfies a limiting condition; wherein, the size of the current image block satisfies a limiting condition, comprising: a width of the current image block is greater than or equal to a first threshold, a height of the current image block is greater than or equal to a second threshold, and an area of the current image block is greater than or equal to a third threshold.
2 . The method according to claim 1 ,
wherein, the picture header control information indicating that it is allowed to use the DMVR mode for the current image block, comprises: a switch for picture header control DMVR mode is of a first numerical value; wherein the switch for picture header control DMVR mode being of a first numerical value means that picture header control allows to use the DMVR mode for the current image block; wherein, the size of the current image block satisfying a limiting condition, comprises: a width of the current image block is greater than or equal to 8, a height of the current image block is greater than or equal to 8, and an area of the current image block is greater than or equal to 128.
3 . The method according to claim 1 , wherein, when the current image block does not allow enabling the DMVR mode, the current image block does not satisfy at least one of the following conditions:
a current mode of the current image block is a general merge mode; picture header control information allows to use the DMVR mode for the current image block; the current image block uses a bidirectional prediction mode, a display order of one of two reference pictures is previous to a picture to which the current image block belongs, and a display order of the other of the two reference pictures is subsequent to the picture to which the current image block belongs, and distances between the two reference pictures and the picture to which the current image block belongs are equal; weighted weights of the two reference pictures of the current image block are the same; a size of the current image block satisfies a limiting condition; sizes of the two reference pictures of the current image block are respectively the same as the size of the picture to which the current image block belongs.
4 . The method according to claim 3 ,
wherein, when the size of the reference picture of the current image block is different from the size of the picture to which the current image block belongs, it is not allowed to use a DMVR mode for the current image block; wherein, when the reference picture of the current image block is a long-term reference picture, it is not allowed to use the DMVR mode for the current image block; wherein, when the size of the reference picture of the current image block is different from the size of the picture to which the current image block belongs, and the reference picture of the current image block is a long-term reference picture, it is not allowed to use the DMVR mode for the current image block; wherein, when the general merge mode is not used for the current image block, it is not allowed to use the DMVR mode for the current image block; wherein, the Decoder-side Motion Vector mode refers to a mode in which a difference between motion vectors is obtained by searching based on motion compensation values of two reference pictures of the current image block.
5 - 7 . (canceled)
8 . A decoding device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, wherein, the processor is configured to execute the machine-executable instructions to implement the method according to claim 1 .
9 . (canceled)
10 . A non-transitory storage medium having instructions stored thereon, wherein, when executed by a processor, implement the method according to claim 1 .
11 . (canceled)Join the waitlist — get patent alerts
Track US2025350763A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.