Patent ID: 11943473
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 12:
13. One or more non-transitory computer-readable storage media, storing computer-readable instructions, the computer-readable instructions, when executed by one or more processors of an electronic device, cause the electronic device to perform a plurality of operations including:
obtaining a first resolution used in coding a current block and a second resolution used in coding a reference block in a current video frame, the reference block being used for performing directional prediction on the current block in the current video frame;
building a reconstruction block from the reference block;
when the first resolution is greater than the second resolution:
adjusting the reconstruction block of the reference block to the first resolution to obtain a first reconstruction block; and
performing directional prediction on the current block according to the first reconstruction block and the current block; and

when the first resolution is less than the second resolution:
adjusting the reconstruction block of the reference block to the first resolution to obtain a second reconstruction block; and
performing directional prediction on the current block according to the second reconstruction block and the current block.