CPC H04N 19/117 (2014.11) [H04N 19/107 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/196 (2014.11); H04N 19/503 (2014.11); H04N 19/593 (2014.11); H04N 19/61 (2014.11); H04N 19/82 (2014.11)] | 3 Claims |
1. A video decoding method comprising:
obtaining constrained prediction information indicating whether a constrained intra prediction mode is used or not;
when the constrained intra prediction mode is used for a current block, generating predicted samples of the current block using samples of a first neighboring block decoded using intra prediction mode without using samples of a second neighboring block decoded using inter prediction mode;
generating reconstructed samples of the current block by using the prediction samples of the current block and residual samples of the current block;
when the constrained intra prediction mode is used for the current block and a prediction mode of a third neighboring block is not an intra prediction mode, determining a padding value for a position corresponding to the third neighboring block, by using a reconstructed sample of the current block adjacent to a boundary between the current block and the third neighboring block among the reconstructed samples of the current block; and
performing post-reconstruction filtering on the reconstructed samples of the current block by using the padding value.
|