CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/33 (2014.11); H04N 19/593 (2014.11); H04N 19/139 (2014.11)] | 14 Claims |
1. A method for decoding a video signal, the method comprising:
obtaining chroma component format information from a higher-level bitstream;
obtaining width-related information (SubWidthC) and height-related information (SubHeightC) based on the chroma component format information;
obtaining x-axis scale information based on the width-related information or information on a color component of a current block;
obtaining y-axis scale information based on the height-related information or information on the color component of the current block;
determining a location of a left block based on the y-axis scale information;
determining a location of an upper block based on the x-axis scale information;
determining a weighting value based on the left block and the upper block;
obtaining first samples by predicting the current block in a merge mode;
obtaining second samples by predicting the current block in an intra mode; and
obtaining a combination prediction sample for the current block based on the weighting value, the first samples, and the second samples.
|