• Home
  • Raw
  • Download

Lines Matching refs:ps_vui

160 WORD32 ih264e_generate_vui(bitstrm_t *ps_bitstrm, vui_t *ps_vui)  in ih264e_generate_vui()  argument
165 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_info_present_flag, 1, in ih264e_generate_vui()
168 if(ps_vui->u1_aspect_ratio_info_present_flag) in ih264e_generate_vui()
170 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_idc, 8, return_status, in ih264e_generate_vui()
172 if(255 == ps_vui->u1_aspect_ratio_idc) /* Extended_SAR */ in ih264e_generate_vui()
174 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_width, 16, return_status, in ih264e_generate_vui()
177 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_height, 16, return_status, in ih264e_generate_vui()
183 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_info_present_flag, 1, in ih264e_generate_vui()
186 if(ps_vui->u1_overscan_info_present_flag) in ih264e_generate_vui()
189 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_appropriate_flag, 1, in ih264e_generate_vui()
194 PUT_BITS(ps_bitstrm, ps_vui->u1_video_signal_type_present_flag, 1, in ih264e_generate_vui()
197 if(ps_vui->u1_video_signal_type_present_flag) in ih264e_generate_vui()
199 PUT_BITS(ps_bitstrm, ps_vui->u1_video_format, 3, return_status, in ih264e_generate_vui()
203 PUT_BITS(ps_bitstrm, ps_vui->u1_video_full_range_flag, 1, return_status, in ih264e_generate_vui()
207 PUT_BITS(ps_bitstrm, ps_vui->u1_colour_description_present_flag, 1, in ih264e_generate_vui()
210 if(ps_vui->u1_colour_description_present_flag) in ih264e_generate_vui()
213 PUT_BITS(ps_bitstrm, ps_vui->u1_colour_primaries, 8, return_status, in ih264e_generate_vui()
217 PUT_BITS(ps_bitstrm, ps_vui->u1_transfer_characteristics, 8, in ih264e_generate_vui()
221 PUT_BITS(ps_bitstrm, ps_vui->u1_matrix_coefficients, 8, in ih264e_generate_vui()
228 PUT_BITS(ps_bitstrm, ps_vui->u1_chroma_loc_info_present_flag, 1, in ih264e_generate_vui()
231 if(ps_vui->u1_chroma_loc_info_present_flag) in ih264e_generate_vui()
234 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_chroma_sample_loc_type_top_field, in ih264e_generate_vui()
238 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_chroma_sample_loc_type_bottom_field, in ih264e_generate_vui()
243 PUT_BITS(ps_bitstrm, ps_vui->u1_vui_timing_info_present_flag, 1, in ih264e_generate_vui()
246 if(ps_vui->u1_vui_timing_info_present_flag) in ih264e_generate_vui()
249 PUT_BITS(ps_bitstrm, ps_vui->u4_vui_num_units_in_tick, 32, in ih264e_generate_vui()
253 PUT_BITS(ps_bitstrm, ps_vui->u4_vui_time_scale, 32, return_status, in ih264e_generate_vui()
257 PUT_BITS(ps_bitstrm, ps_vui->u1_fixed_frame_rate_flag, 1, return_status, in ih264e_generate_vui()
263 PUT_BITS(ps_bitstrm, ps_vui->u1_nal_hrd_parameters_present_flag, 1, in ih264e_generate_vui()
266 if(ps_vui->u1_nal_hrd_parameters_present_flag) in ih264e_generate_vui()
268 hrd_params_t * ps_hrd_params = &ps_vui->s_nal_hrd_parameters; in ih264e_generate_vui()
317 PUT_BITS(ps_bitstrm, ps_vui->u1_vcl_hrd_parameters_present_flag, 1, in ih264e_generate_vui()
320 if(ps_vui->u1_vcl_hrd_parameters_present_flag) in ih264e_generate_vui()
322 hrd_params_t * ps_hrd_params = &ps_vui->s_vcl_hrd_parameters; in ih264e_generate_vui()
370 if(ps_vui->u1_nal_hrd_parameters_present_flag in ih264e_generate_vui()
371 || ps_vui->u1_vcl_hrd_parameters_present_flag) in ih264e_generate_vui()
374 PUT_BITS(ps_bitstrm, ps_vui->u1_low_delay_hrd_flag, 1, return_status, in ih264e_generate_vui()
378 PUT_BITS(ps_bitstrm, ps_vui->u1_pic_struct_present_flag, 1, return_status, in ih264e_generate_vui()
382 PUT_BITS(ps_bitstrm, ps_vui->u1_bitstream_restriction_flag, 1, in ih264e_generate_vui()
385 if(ps_vui->u1_bitstream_restriction_flag == 1) in ih264e_generate_vui()
388 PUT_BITS(ps_bitstrm, ps_vui->u1_motion_vectors_over_pic_boundaries_flag, in ih264e_generate_vui()
392 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_max_bytes_per_pic_denom, in ih264e_generate_vui()
396 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_max_bits_per_mb_denom, in ih264e_generate_vui()
400 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_log2_max_mv_length_horizontal, in ih264e_generate_vui()
404 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_log2_max_mv_length_vertical, in ih264e_generate_vui()
408 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_num_reorder_frames, return_status, in ih264e_generate_vui()
412 PUT_BITS_UEV(ps_bitstrm, ps_vui->u1_max_dec_frame_buffering, in ih264e_generate_vui()
440 WORD32 ih264e_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps, vui_t *ps_vui) in ih264e_generate_sps() argument
588 return_status = ih264e_generate_vui(ps_bitstrm, ps_vui); in ih264e_generate_sps()
1050 vui_t *ps_vui = &ps_codec->s_cfg.s_vui; in ih264e_populate_vui() local
1054 ps_vui->u1_nal_hrd_parameters_present_flag = 0; in ih264e_populate_vui()
1055 ps_vui->u1_vcl_hrd_parameters_present_flag = 0; in ih264e_populate_vui()
1057 ps_vui->u1_bitstream_restriction_flag = 1; in ih264e_populate_vui()
1058 ps_vui->u1_motion_vectors_over_pic_boundaries_flag = 1; in ih264e_populate_vui()
1059 ps_vui->u1_max_bytes_per_pic_denom = 0; in ih264e_populate_vui()
1060 ps_vui->u1_max_bits_per_mb_denom = 0; in ih264e_populate_vui()
1061 ps_vui->u1_log2_max_mv_length_horizontal = 16; in ih264e_populate_vui()
1062 ps_vui->u1_log2_max_mv_length_vertical = 16; in ih264e_populate_vui()
1066 ps_vui->u1_num_reorder_frames = 0; in ih264e_populate_vui()
1070 ps_vui->u1_num_reorder_frames = 1; in ih264e_populate_vui()
1073 ps_vui->u1_max_dec_frame_buffering = ps_sps->u1_max_num_ref_frames; in ih264e_populate_vui()