Patent ID: 11968392
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 7:
8. An image encoding method, performed by an encoding apparatus, comprising:
deriving a prediction direction for a current block based on Block-based Delta Pulse Code Modulation (BDPCM);
deriving a prediction sample of a target sample of the current block based on the derived prediction direction;
encoding residual information of the current block; and
encoding a BDPCM flag representing that the BDPCM is applied to the current block and a BDPCM direction flag representing the prediction direction for the current block;
wherein an intra prediction mode of the prediction direction as an intra prediction mode of the current block is derived based on the BDPCM,
wherein the BDPCM direction flag represents a horizontal direction or a vertical direction as the prediction direction,
wherein based on the prediction direction for the current block being the vertical direction, the residual information includes syntax elements for the target sample of the current block, and
wherein the syntax elements for the target sample represent a difference between a residual coefficient value of the target sample and a top residual coefficient value of the target sample.