CPC H04N 19/593 (2014.11) [H04N 19/105 (2014.11); H04N 19/11 (2014.11); H04N 19/117 (2014.11); H04N 19/119 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11)] | 16 Claims |
1. An intra prediction method, applied to an encoding apparatus and comprising:
deriving an intra prediction mode of a current block;
determining a pixel line for intra prediction of the current block among a plurality of pixel lines, wherein the pixel line is a reference pixel line;
performing filtering on reference pixels of the determined pixel line;
performing the intra prediction of the current block based on the intra prediction mode and the determined pixel line; and
performing correction on a prediction pixel of the current block according to the intra prediction mode in consideration of a position of the pixel line of the current block, to determine additional reference pixels for the correction based on the position of a prediction pixel of the current block;
wherein the filtering is selectively performed based on a first flag indicating whether the reference pixels for intra prediction is filtered;
wherein the first flag is derived from a decoding apparatus based on a coding parameter of the current block, and
wherein the coding parameter comprises whether intra prediction in units of sub-blocks is applied.
|