CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |
1. A prediction method for decoding, comprising:
acquiring reference samples adjacent to at least one side of a coding block;
determining a reference point from the at least one side and determining reference sample positions corresponding to the at least one side according to a preset number of samples, wherein the determining comprises:
calculating a first sampling interval based on the preset number of samples and the length of the at least one side; and
determining the reference point from the at least one side, and determining the reference sample positions corresponding to the at least one side according to the first sampling interval;
deriving reference samples corresponding to the reference sample positions from the reference samples; and
performing prediction on the coding block based on the derived reference samples.
|