Patent attributes
Aspects of the disclosure provide methods and apparatuses for video encoding/decoding. In some examples, an apparatus for video decoding includes receiving circuitry and processing circuitry. The processing circuitry decodes prediction information of a current block from a coded video bitstream. The prediction information is indicative of an inter prediction mode and a usage of a position dependent prediction combination (PDPC) in the inter prediction mode. Then, the processing circuitry calculates an intermediate value for a sample in the current block based on neighboring samples of the current block that are selected based on a position of the sample, and combines the intermediate value for the sample with an inter prediction value of the sample to reconstruct the sample.