Patent ID: 11895314
Assignee: LG ELECTRONICS INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A video decoding method comprising:
parsing a first flag related to whether weighted prediction is applied to P slices referring to a picture parameter set, from the picture parameter set of a bitstream;
parsing a second flag related to whether the weighted prediction is applied to B slices referring to the picture parameter set, from the picture parameter set;
parsing a third flag related to whether information on the weighted prediction is present in a picture header of the bitstream or in a slice header of the bitstream, from the picture parameter set, based on the first flag or the second flag;
parsing a prediction weighted table syntax from the picture header or the slice header;
generating prediction samples for a current block by performing the weighted prediction on the 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 prediction weighted table syntax is parsed from the picture header based on the third flag,
wherein whether L0 number information for the weighted prediction is parsed from the prediction weighted table syntax is determined based on the third flag,
wherein whether L1 number information for the weighted prediction is parsed from the prediction weighted table syntax is determined based on the third flag,
wherein the L0 number information represents a number of weighted reference pictures in a reference picture list 0, and
wherein the L1 number information represents a number of weighted reference pictures in a reference picture list 1.