bs_write1
bs_write1(s, 0); /* no_output_of_prior_pics_flag */
bs_write1(s, 0); /* long_term_reference_flag */
bs_write1(s, 0); /* num_ref_idx_active_override_flag */
bs_write1(s, 0); /* ref_pic_list_reordering_flag_l0 */
bs_write1(s, 0); /* adaptive_ref_pic_marking_mode_flag */
bs_write1(s, 1);
bs_write1(s, 1);