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

Claim 0:
1. An image decoding method, performed by a decoding apparatus, comprising:
obtaining a Block-based Delta Pulse Code Modulation (BDPCM) flag for a current block;
obtaining a BDPCM direction flag for the current block based on the BDPCM flag representing that BDPCM is applied to the current block; and
deriving a prediction sample of a target sample of the current block based on a prediction direction derived based on the BDPCM direction flag;
wherein an intra prediction mode of the prediction direction is derived based on the BDPCM direction flag as an intra prediction mode of the current block,
wherein the BDPCM direction flag represents a horizontal direction or a vertical direction as the prediction direction,
wherein based on the BDPCM being applied to the current block and the prediction direction for the current block being the vertical direction, 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.