Lines Matching refs:bitstream_put_ui

59 static void bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits)  in bitstream_put_ui()  function
98 bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero in bitstream_put_ue()
99 bitstream_put_ui(bs, val, size_in_bits); in bitstream_put_ue()
130 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning()
135 bitstream_put_ui(bs, 1, 1); in rbsp_trailing_bits()
141 bitstream_put_ui(bs, 0x00000001, 32); in nal_start_code_prefix()
146 bitstream_put_ui(bs, 0, 1); /* forbidden_zero_bit: 0 */ in nal_header()
147 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header()
148 bitstream_put_ui(bs, nal_unit_type, 5); in nal_header()
190 bitstream_put_ui(bs, profile_idc, 8); /* profile_idc */ in sps_rbsp()
191bitstream_put_ui(bs, !!(constraint_set_flag & 1), 1); /* constraint_set0_f… in sps_rbsp()
192bitstream_put_ui(bs, !!(constraint_set_flag & 2), 1); /* constraint_set1_f… in sps_rbsp()
193bitstream_put_ui(bs, !!(constraint_set_flag & 4), 1); /* constraint_set2_f… in sps_rbsp()
194bitstream_put_ui(bs, !!(constraint_set_flag & 8), 1); /* constraint_set3_f… in sps_rbsp()
195 bitstream_put_ui(bs, 0, 4); /* reserved_zero_4bits */ in sps_rbsp()
196 bitstream_put_ui(bs, seq_param->level_idc, 8); /* level_idc */ in sps_rbsp()
203 bitstream_put_ui(bs, 0, 1); /* qpprime_y_zero_transform_bypass_flag */ in sps_rbsp()
204 bitstream_put_ui(bs, 0, 1); /* seq_scaling_matrix_present_flag */ in sps_rbsp()
217bitstream_put_ui(bs, 0, 1); /* gaps_in_frame_num_value_allowed_fla… in sps_rbsp()
221bitstream_put_ui(bs, seq_param->seq_fields.bits.frame_mbs_only_flag, 1); /* frame_mbs_only_flag… in sps_rbsp()
227bitstream_put_ui(bs, seq_param->seq_fields.bits.direct_8x8_inference_flag, 1); /* direct_8x8_… in sps_rbsp()
228 bitstream_put_ui(bs, seq_param->frame_cropping_flag, 1); /* frame_cropping_flag */ in sps_rbsp()
238 bitstream_put_ui(bs, 0, 1); /* vui_parameters_present_flag */ in sps_rbsp()
240 bitstream_put_ui(bs, 1, 1); /* vui_parameters_present_flag */ in sps_rbsp()
241 bitstream_put_ui(bs, 0, 1); /* aspect_ratio_info_present_flag */ in sps_rbsp()
242 bitstream_put_ui(bs, 0, 1); /* overscan_info_present_flag */ in sps_rbsp()
243 bitstream_put_ui(bs, 0, 1); /* video_signal_type_present_flag */ in sps_rbsp()
244 bitstream_put_ui(bs, 0, 1); /* chroma_loc_info_present_flag */ in sps_rbsp()
245 bitstream_put_ui(bs, 1, 1); /* timing_info_present_flag */ in sps_rbsp()
247 bitstream_put_ui(bs, 15, 32); in sps_rbsp()
248 bitstream_put_ui(bs, 900, 32); in sps_rbsp()
249 bitstream_put_ui(bs, 1, 1); in sps_rbsp()
251 bitstream_put_ui(bs, 1, 1); /* nal_hrd_parameters_present_flag */ in sps_rbsp()
255 bitstream_put_ui(bs, 4, 4); /* bit_rate_scale */ in sps_rbsp()
256 bitstream_put_ui(bs, 6, 4); /* cpb_size_scale */ in sps_rbsp()
260 bitstream_put_ui(bs, 1, 1); /* cbr_flag[0] */ in sps_rbsp()
262 bitstream_put_ui(bs, 23, 5); /* initial_cpb_removal_delay_length_minus1 */ in sps_rbsp()
263 bitstream_put_ui(bs, 23, 5); /* cpb_removal_delay_length_minus1 */ in sps_rbsp()
264 bitstream_put_ui(bs, 23, 5); /* dpb_output_delay_length_minus1 */ in sps_rbsp()
265 bitstream_put_ui(bs, 23, 5); /* time_offset_length */ in sps_rbsp()
267 bitstream_put_ui(bs, 0, 1); /* vcl_hrd_parameters_present_flag */ in sps_rbsp()
268 bitstream_put_ui(bs, 0, 1); /* low_delay_hrd_flag */ in sps_rbsp()
270 bitstream_put_ui(bs, 0, 1); /* pic_struct_present_flag */ in sps_rbsp()
271 bitstream_put_ui(bs, 0, 1); /* bitstream_restriction_flag */ in sps_rbsp()
283bitstream_put_ui(bs, pic_param->pic_fields.bits.entropy_coding_mode_flag, 1); /* entropy_coding_m… in pps_rbsp()
285 bitstream_put_ui(bs, 0, 1); /* pic_order_present_flag: 0 */ in pps_rbsp()
292bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_pred_flag, 1); /* weighted_pred_flag:… in pps_rbsp()
293bitstream_put_ui(bs, pic_param->pic_fields.bits.weighted_bipred_idc, 2); /* weighted_bipred_idc: 0… in pps_rbsp()
299bitstream_put_ui(bs, pic_param->pic_fields.bits.deblocking_filter_control_present_flag, 1); /* deb… in pps_rbsp()
300 bitstream_put_ui(bs, 0, 1); /* constrained_intra_pred_flag */ in pps_rbsp()
301 bitstream_put_ui(bs, 0, 1); /* redundant_pic_cnt_present_flag */ in pps_rbsp()
304bitstream_put_ui(bs, pic_param->pic_fields.bits.transform_8x8_mode_flag, 1); /*transform_8x8_mo… in pps_rbsp()
305 bitstream_put_ui(bs, 0, 1); /* pic_scaling_matrix_present_flag */ in pps_rbsp()
355 bitstream_put_ui(&sei_bp_bs, init_cpb_removal_delay, cpb_removal_length); in build_packed_sei_buffer_timing()
356 bitstream_put_ui(&sei_bp_bs, init_cpb_removal_delay_offset, cpb_removal_length); in build_packed_sei_buffer_timing()
358 bitstream_put_ui(&sei_bp_bs, 1, 1); in build_packed_sei_buffer_timing()
364 bitstream_put_ui(&sei_pic_bs, cpb_removal_delay, cpb_removal_length); in build_packed_sei_buffer_timing()
365 bitstream_put_ui(&sei_pic_bs, dpb_output_delay, dpb_output_length); in build_packed_sei_buffer_timing()
367 bitstream_put_ui(&sei_pic_bs, 1, 1); in build_packed_sei_buffer_timing()
377 bitstream_put_ui(&nal_bs, 0, 8); in build_packed_sei_buffer_timing()
378 bitstream_put_ui(&nal_bs, bp_byte_size, 8); in build_packed_sei_buffer_timing()
382 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()
386 bitstream_put_ui(&nal_bs, 0x01, 8); in build_packed_sei_buffer_timing()
387 bitstream_put_ui(&nal_bs, pic_byte_size, 8); in build_packed_sei_buffer_timing()
391 bitstream_put_ui(&nal_bs, byte_buf[i], 8); in build_packed_sei_buffer_timing()