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

Claim 19:
20. The non-transitory computer-readable recording medium of claim 18, wherein the format rule specifies that the fourth syntax element is included in the weighted prediction parameters syntax structure upon satisfying (1) the fifth syntax element having a first value which specifies that the explicit WP is applied to B slices referring to the picture parameter set, wherein the first value is equal to 1, (2) the sixth syntax element having a second value which specifies that the WP information is allowed to be present in the picture header and the WP information is not present in slice headers referring to the picture parameter set that do not contain a picture header, wherein the second value is equal to 1, and (3) the value of the third syntax element indicating the number of the reference pictures in the particular RPL being greater than 0,
wherein the format rule specifies that the fourth syntax element is excluded from the weighted prediction parameters syntax structure upon not satisfying at least one of (1) the fifth syntax element having a first value which specifies that the explicit WP is applied to B slices referring to the picture parameter set, (2) the sixth syntax element having a second value which specifies that the WP information is allowed to be present in the picture header and the WP information is not present in slice headers referring to the picture parameter set that do not contain a picture header, and (3) the value of the third syntax element indicating the number of the reference pictures in the particular RPL being greater than 0, and
wherein the format rule specifies that a value of a first variable NumWeightsL1 corresponding to weights for the particular RPL is derived as follows:
if(!pps_weighted_bipred_flag∥(pps_wp_info_in_ph_flag && num_ref_entries[1][RplsIdx[1]==0))
NumWeightsL1=0

else if(pps_wp_info_in_ph_flag)
NumWeightsL1=num_l1_weights

else
NumWeightsL1=NumRefIdxActive[1],

wherein pps_weighted_bipred_flag is the fifth syntax element, pps_wp_info_in_ph_flag is the sixth syntax element, num_ref_entries[1][RplsIdx[1] is the third syntax element, num_l1_weights is the fourth syntax element, and NumRefIdxActive[1] is a second variable indicating a number of active reference pictures in the reference picture list 1 that allowed to be used to code at least one slice.