CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/172 (2014.11); H04N 19/174 (2014.11); H04N 19/176 (2014.11); H04N 19/503 (2014.11); H04N 19/70 (2014.11)] | 4 Claims |
1. An image decoding method performed by an image decoding apparatus, the method comprising:
parsing flags related to weighted prediction from a bitstream;
parsing a prediction weighted table syntax from a picture header of the bitstream based on the flags;
generating prediction samples for a current block in a current picture based on syntax elements in the prediction weighted table syntax; and
generating reconstructed samples based on the prediction samples,
wherein the flags comprise a first flag related to whether the weighted prediction is applied to slices referring to a picture parameter set of the bitstream and a second flag related to whether information on the weighted prediction is present in the picture header,
wherein the information on the weighted prediction comprises the prediction weighted table syntax,
wherein the second flag is parsed from the picture parameter set based on the first flag,
wherein the current picture includes a plurality of slices, and
wherein the prediction weighted table syntax comprised in the picture header is related to all of the plurality of slices in the current picture referring to the picture header.
|