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:
determining, that the length of the at least one side is 8 and the preset number of samples is 2, the reference sample positions corresponding to the at least one side to be 2 and 6;
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.
|