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

Claim 6:
7. An electronic device, comprising a memory and one or more processors, the memory storing computer-readable instructions, and the computer-readable instructions, when executed by the one or more processors, 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.