n one slice, the following constraints shall be obeyed: a) When slice type specifies an EP or EB slice, the value of num_ref_idx_10_active_minus1 (either the value transmitted in the slice header when num_ref_idx_active_override_flagisequal to 1 or the inferred value when num_ref_idx_active_override_flag is equal to 0) shall be the same across all slices of the set setOfRefLayerSlices. When slice type specifies an EB slice, the value of num_ref idx 11_active_minus1 (either the value transmitted in the slice header when num_ref_idx_active_override_flagisequal to 1 or the inferred value when num_ref_idx_active_override_flag is equal to 0) shall be the same across all slices of the set setOfRefLayerSlices. c) All elements of the syntax structure ef_pic_list_modification() shall be the same across all slices of the set setOfRefLayerSlices. d) When slice type specifies an EP slice, the following applies: i) When weighted_pred_flag is equal to 1, the value of base_pred_weight_table_flag shall be the same across all slices of the set setOfRefLayerSlices. Rec. ITU-T H.264 (01/2012) ii) When weighted_pred_fl is equal to 1 and pred_weight_table() is present in the slices of the set setOfRefLayerSlices, the values of all syntax elements inside the syntax structure pred_weight_table() shall be the same across all slices of the set setOfRefLayerSlices. e) When slice_type specifies an EB slice, the following applies: i) When weighted_bipred_ide is equal to 1, the value of pase_pred_weight_table_flag shall be the same across all slices of the set setOfRefLayerSlices. ii) When weighted_bipred_ido is equal to 1 and pred_weight_table() is present in the slices of the set setOfRefLayerSlices, the values of all syntax elements inside the syntax structure pred_weight_table() shall be the same across all slices of the set setOfRefLayerSlices. first_mb_in_slice has the same semantics as specified in clause 7.4.3 with the term current picture being substituted by the term current layer representation and with the reference to Annex A be