CPC H04N 19/176 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/167 (2014.11); H04N 19/196 (2014.11); H04N 19/50 (2014.11); H04N 19/503 (2014.11)] | 9 Claims |
5. A method for encoding a video signal with an encoding apparatus, comprising:
generating, with the encoding apparatus, a first prediction sample of a current block;
determining, with the encoding apparatus, a weight prediction parameter set of a current block by using a predetermined reference region, the reference region being a region encoded before the current block and including a neighboring region spatially adjacent to the current block;
generating, with the encoding apparatus, a second prediction sample of the current block by applying the weight prediction parameter set to the first prediction sample;
obtaining, with the encoding apparatus, a prediction block of the current block based on the second prediction sample;
obtaining, with the encoding apparatus, a residual block of the current block based on the prediction block of the current block and an original block of the current block; and
encoding, with the encoding apparatus, the residual block into a bitstream,
wherein information used to determine the neighboring region is encoded into the bitstream,
wherein the information specifies a position of the neighboring region and is used to determine the weight prediction parameter set, and
wherein the neighboring region includes a bottom-left neighboring region or a right-top neighboring region.
|