CPC H04N 19/44 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 18 Claims |
1. A prediction decoding method, comprising:
determining first multiple neighbouring reference samples of a coding block, wherein the first multiple neighbouring reference samples comprise reference samples in a reference row or a reference column neighbouring the coding block;
determining, from a starting position of the reference row or the reference column, positions corresponding to K reference samples, wherein K is a positive integer;
determining second multiple neighbouring reference samples according to the determined positions corresponding to the K reference samples, wherein the second multiple neighbouring reference samples comprise neighbouring reference samples among the first multiple neighbouring reference samples, wherein reference sample positions for the second multiple neighbouring reference samples are determined based on equal sampling intervals; and
performing prediction decoding on the coding block according to the second multiple neighbouring reference samples,
wherein the method further comprises:
for the reference row, determining a value of K according to a length of the reference row and a first preset proportion, wherein the first preset proportion corresponds to the reference row; or
for the reference column, determining the value of K according to a length of the reference column and a second preset proportion, wherein the second preset proportion corresponds to the reference column.
|