Video encoding method and apparatus, video decoding method and apparatus, storage medium, and electronic device
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXinwei GAO, Chenchen GU
Life of this patent
Estimating the term…
Abstract
A video encoding method and a video decoding method are provided. In the video decoding method, a first resolution of a to-be-decoded block in a to-be-decoded video frame is obtained and a second resolution of a reference block referenced by the to-be-decoded block in a decoded video frame is obtained. Resolutions of the to-be-decoded block and the reference block are adjusted to a target resolution when the first resolution is different from the second resolution. A motion vector (MV) of the to-be-decoded block relative to the reference block is determined according to the to-be-decoded block with the target resolution and the reference block with the target resolution.
Claims20
A video decoding method, the method comprising:
- obtaining a first resolution of a to-be-decoded block in a to-be-decoded video frame and a second resolution of a reference block referenced by the to-be-decoded block in a decoded video frame;
- adjusting resolutions of the to-be-decoded block and the reference block to a target resolution when the first resolution is different from the second resolution;
- and
- determining, by processing circuitry, a motion vector (MV) of the to-be-decoded block relative to the reference block according to the to-be-decoded block with the target resolution and the reference block with the target resolution.
A video encoding method, the method comprising:
- obtaining a first resolution of a to-be-encoded block in a to-be-encoded video frame and a second resolution of a reference block referenced by the to-be-encoded block in an encoded video frame;
- adjusting resolutions of the to-be-encoded block and the reference block to a target resolution when the first resolution is different from the second resolution;
- and
- determining, by processing circuitry, a motion vector (MV) of the to-be-encoded block relative to the reference block according to the to-be-encoded block with the target resolution and the reference block with the target resolution.
A video processing apparatus, comprising:
- processing circuitry configured to:
- obtain a first resolution of a to-be-processed block in a to-be-processed video frame and a second resolution of a reference block referenced by the to-be-processed block in a processed video frame;
- adjust resolutions of the to-be-processed block and the reference block to a target resolution when the first resolution is different from the second resolution;
- and
- determine a motion vector (MV) of the to-be-processed block relative to the reference block according to the to-be-processed block with the target resolution and the reference block with the target resolution.
Dependencies are inferred from the claim text.