Lines Matching refs:ps_vu4

125 WORD32 ih264d_parse_vui_parametres(vui_t *ps_vu4,  in ih264d_parse_vui_parametres()  argument
137 ps_vu4->u1_aspect_ratio_idc = (UWORD8)u4_bits; in ih264d_parse_vui_parametres()
140 ps_vu4->u2_sar_width = ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_vui_parametres()
141 ps_vu4->u2_sar_height = ih264d_get_bits_h264(ps_bitstrm, 16); in ih264d_parse_vui_parametres()
148 ps_vu4->u1_overscan_appropriate_flag = ih264d_get_bits_h264( in ih264d_parse_vui_parametres()
154 ps_vu4->u1_video_format = 5; in ih264d_parse_vui_parametres()
155 ps_vu4->u1_video_full_range_flag = 0; in ih264d_parse_vui_parametres()
156 ps_vu4->u1_colour_primaries = 2; in ih264d_parse_vui_parametres()
157 ps_vu4->u1_tfr_chars = 2; in ih264d_parse_vui_parametres()
158 ps_vu4->u1_matrix_coeffs = 2; in ih264d_parse_vui_parametres()
162 ps_vu4->u1_video_format = ih264d_get_bits_h264(ps_bitstrm, 3); in ih264d_parse_vui_parametres()
163 ps_vu4->u1_video_full_range_flag = ih264d_get_bits_h264(ps_bitstrm, in ih264d_parse_vui_parametres()
168 ps_vu4->u1_colour_primaries = ih264d_get_bits_h264(ps_bitstrm, in ih264d_parse_vui_parametres()
170 ps_vu4->u1_tfr_chars = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_vui_parametres()
171 ps_vu4->u1_matrix_coeffs = ih264d_get_bits_h264(ps_bitstrm, 8); in ih264d_parse_vui_parametres()
178 ps_vu4->u1_cr_top_field = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
180 ps_vu4->u1_cr_bottom_field = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
187 ps_vu4->u4_num_units_in_tick = ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_vui_parametres()
188 ps_vu4->u4_time_scale = ih264d_get_bits_h264(ps_bitstrm, 32); in ih264d_parse_vui_parametres()
189 ps_vu4->u1_fixed_frame_rate_flag = ih264d_get_bits_h264(ps_bitstrm, in ih264d_parse_vui_parametres()
194 ps_vu4->u1_nal_hrd_params_present = u4_bits; in ih264d_parse_vui_parametres()
197 ret = ih264d_parse_hrd_parametres(&ps_vu4->s_nal_hrd, ps_bitstrm); in ih264d_parse_vui_parametres()
202 ps_vu4->u1_vcl_hrd_params_present = u4_bits; in ih264d_parse_vui_parametres()
205 ret = ih264d_parse_hrd_parametres(&ps_vu4->s_vcl_hrd, ps_bitstrm); in ih264d_parse_vui_parametres()
210 if(ps_vu4->u1_nal_hrd_params_present || u4_bits) in ih264d_parse_vui_parametres()
212 ps_vu4->u1_low_delay_hrd_flag = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres()
214 ps_vu4->u1_pic_struct_present_flag = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres()
216 ps_vu4->u1_bitstream_restriction_flag = ih264d_get_bits_h264(ps_bitstrm, 1); in ih264d_parse_vui_parametres()
218 if(ps_vu4->u1_bitstream_restriction_flag) in ih264d_parse_vui_parametres()
220 ps_vu4->u1_mv_over_pic_boundaries_flag = ih264d_get_bits_h264( in ih264d_parse_vui_parametres()
222 ps_vu4->u4_max_bytes_per_pic_denom = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
224 ps_vu4->u4_max_bits_per_mb_denom = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
226 ps_vu4->u4_log2_max_mv_length_horz = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
228 ps_vu4->u4_log2_max_mv_length_vert = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
230 ps_vu4->u4_num_reorder_frames = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
232 ps_vu4->u4_max_dec_frame_buffering = ih264d_uev(pu4_bitstrm_ofst, in ih264d_parse_vui_parametres()
234 if((ps_vu4->u4_max_dec_frame_buffering > (H264_MAX_REF_PICS * 2)) || in ih264d_parse_vui_parametres()
235 (ps_vu4->u4_num_reorder_frames > ps_vu4->u4_max_dec_frame_buffering)) in ih264d_parse_vui_parametres()
243 ps_vu4->u4_num_reorder_frames = 64; in ih264d_parse_vui_parametres()
244 ps_vu4->u4_max_dec_frame_buffering = 64; in ih264d_parse_vui_parametres()