Lines Matching refs:bs_write_ue
77 static void bs_write_ue(struct bs *s, u32 val) in bs_write_ue() function
89 bs_write_ue(s, val <= 0 ? -val * 2 : val * 2 - 1); in bs_write_se()
113 bs_write_ue(s, 0); /* seq_parameter_set_id */ in tw5864_h264_gen_sps_rbsp()
114 bs_write_ue(s, ilog2(MAX_GOP_SIZE) - 4); /* log2_max_frame_num_minus4 */ in tw5864_h264_gen_sps_rbsp()
115 bs_write_ue(s, 0); /* pic_order_cnt_type */ in tw5864_h264_gen_sps_rbsp()
117 bs_write_ue(s, ilog2(MAX_GOP_SIZE) - 4); in tw5864_h264_gen_sps_rbsp()
118 bs_write_ue(s, 1); /* num_ref_frames */ in tw5864_h264_gen_sps_rbsp()
120 bs_write_ue(s, width / 16 - 1); /* pic_width_in_mbs_minus1 */ in tw5864_h264_gen_sps_rbsp()
121 bs_write_ue(s, height / 16 - 1); /* pic_height_in_map_units_minus1 */ in tw5864_h264_gen_sps_rbsp()
136 bs_write_ue(s, 0); /* pic_parameter_set_id */ in tw5864_h264_gen_pps_rbsp()
137 bs_write_ue(s, 0); /* seq_parameter_set_id */ in tw5864_h264_gen_pps_rbsp()
140 bs_write_ue(s, 0); /* num_slice_groups_minus1 */ in tw5864_h264_gen_pps_rbsp()
141 bs_write_ue(s, 0); /* i_num_ref_idx_l0_active_minus1 */ in tw5864_h264_gen_pps_rbsp()
142 bs_write_ue(s, 0); /* i_num_ref_idx_l1_active_minus1 */ in tw5864_h264_gen_pps_rbsp()
165 bs_write_ue(s, 0); /* first_mb_in_slice */ in tw5864_h264_gen_slice_head()
166 bs_write_ue(s, is_i_frame ? 2 : 5); /* slice_type - I or P */ in tw5864_h264_gen_slice_head()
167 bs_write_ue(s, 0); /* pic_parameter_set_id */ in tw5864_h264_gen_slice_head()
170 bs_write_ue(s, idr_pic_id); in tw5864_h264_gen_slice_head()