Method, apparatus, and medium for video processing
AssigneesBeijing Bytedance Network Technology Co., Ltd., Bytedance Inc.
InventorsNa Zhang, Kai Zhang, Li Zhang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a solution for video processing. A method for video processing is proposed. The method comprises: determining, during a conversion between a target video block of a video and a bitstream of the video, a cost metric for a target motion candidate for the target video block at least based on a matching cost of the target motion candidate; and performing the conversion based on a comparison of the cost metric and a further matching cost for the target video block. Compared with the conventional solution, the proposed method can advantageously improve the coding effectiveness and coding efficiency.
Claims20
A method for video processing, comprising:
- determining, during a conversion between a target video block of a video and a bitstream of the video, a matching cost of a target motion candidate for the target video block, the matching cost comprising a template matching cost or a bilateral matching cost;
- determining a cost metric for the target motion candidate at least based on the matching cost of the target motion candidate;
- and
- performing the conversion based on a comparison of the cost metric and a further matching cost for the target video block, the further matching cost comprising a further template matching cost or a further bilateral matching cost,
- wherein determining the cost metric for the target motion candidate comprises:
- calculating the cost metric based on a product of the matching cost and a cost factor for the target motion candidate,
- wherein calculating the cost metric based on a product of the matching cost and the cost factor comprises one of:
- calculating the cost metric by adding a deviation to the product of the matching cost and the cost factor, or
- calculating the cost metric by shifting the product of the matching cost and the cost factor by an offset.
An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to perform a method comprising:
- determining, during a conversion between a target video block of a video and a bitstream of the video, a matching cost of a target motion candidate for the target video block, the matching cost comprising a template matching cost or a bilateral matching cost;
- determining a cost metric for the target motion candidate at least based on the matching cost of the target motion candidate;
- and
- performing the conversion based on a comparison of the cost metric and a further matching cost for the target video block, the further matching cost comprising a further template matching cost or a further bilateral matching cost,
- wherein determining the cost metric for the target motion candidate comprises:
- calculating the cost metric based on a product of the matching cost and a cost factor for the target motion candidate,
- wherein calculating the cost metric based on a product of the matching cost and the cost factor comprises one of:
- calculating the cost metric by adding a deviation to the product of the matching cost and the cost factor, or
- calculating the cost metric by shifting the product of the matching cost and the cost factor by an offset.
A non-transitory computer-readable recording medium storing program instructions and a bitstream of a video which is generated by a processor executing the program instructions to perform a method wherein the method comprises:
- determining, during a conversion between a target video block of a video and a bitstream of the video, a matching cost of a target motion candidate for the target video block, the matching cost comprising a template matching cost or a bilateral matching cost;
- determining a cost metric for the target motion candidate at least based on the matching cost of the target motion candidate;
- and
- generating the bitstream based on a comparison of the cost metric and a further matching cost for the target video block, the further matching cost comprising a further template matching cost or a further bilateral matching cost,
- wherein determining the cost metric for the target motion candidate comprises:
- calculating the cost metric based on a product of the matching cost and a cost factor for the target motion candidate,
- wherein calculating the cost metric based on a product of the matching cost and the cost factor comprises one of:
- calculating the cost metric by adding a deviation to the product of the matching cost and the cost factor, or
- calculating the cost metric by shifting the product of the matching cost and the cost factor by an offset.
Dependencies are inferred from the claim text.