CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/176 (2014.11)] | 19 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 the reference point from the at least one side, and determining first reference sample position and second reference sample position near the reference point as the reference sample positions according to the preset number of samples;, wherein the determining comprises (1) calculating a first sampling interval based on the preset number of samples and the length of the at least one side; and (2) 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.
|