Lines Matching refs:ps_pps
196 dec_pic_params_t * ps_pps = NULL; in ih264d_parse_pps() local
217 ps_pps = ps_dec->pv_scratch_sps_pps; in ih264d_parse_pps()
218 *ps_pps = ps_dec->ps_pps[u4_temp]; in ih264d_parse_pps()
219 ps_pps->u1_pic_parameter_set_id = (WORD8)u4_temp; in ih264d_parse_pps()
220 COPYTHECONTEXT("PPS: pic_parameter_set_id",ps_pps->u1_pic_parameter_set_id); in ih264d_parse_pps()
225 ps_pps->i4_transform_8x8_mode_flag = 0; in ih264d_parse_pps()
226 ps_pps->i4_pic_scaling_matrix_present_flag = 0; in ih264d_parse_pps()
239 ps_pps->ps_sps = ps_sps; in ih264d_parse_pps()
244 ps_pps->u1_entropy_coding_mode = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
245 COPYTHECONTEXT("PPS: entropy_coding_mode_flag",ps_pps->u1_entropy_coding_mode); in ih264d_parse_pps()
247 ps_pps->u1_pic_order_present_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
248 COPYTHECONTEXT("PPS: pic_order_present_flag",ps_pps->u1_pic_order_present_flag); in ih264d_parse_pps()
260 ps_pps->u1_num_slice_groups = u4_temp; in ih264d_parse_pps()
261 COPYTHECONTEXT("PPS: num_slice_groups_minus1",ps_pps->u1_num_slice_groups -1); in ih264d_parse_pps()
269 ps_pps->u1_num_ref_idx_lx_active[0] = u4_temp; in ih264d_parse_pps()
271 ps_pps->u1_num_ref_idx_lx_active[0] - 1); in ih264d_parse_pps()
276 ps_pps->u1_num_ref_idx_lx_active[1] = u4_temp; in ih264d_parse_pps()
278 ps_pps->u1_num_ref_idx_lx_active[1] - 1); in ih264d_parse_pps()
280 ps_pps->u1_wted_pred_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
281 COPYTHECONTEXT("PPS: weighted prediction u4_flag",ps_pps->u1_wted_pred_flag); in ih264d_parse_pps()
284 ps_pps->u1_wted_bipred_idc = uc_temp; in ih264d_parse_pps()
286 if(ps_pps->u1_wted_bipred_idc > MAX_WEIGHT_BIPRED_IDC) in ih264d_parse_pps()
294 ps_pps->u1_pic_init_qp = i_temp; in ih264d_parse_pps()
295 COPYTHECONTEXT("PPS: pic_init_qp_minus26",ps_pps->u1_pic_init_qp - 26); in ih264d_parse_pps()
302 ps_pps->u1_pic_init_qs = i_temp; in ih264d_parse_pps()
303 COPYTHECONTEXT("PPS: pic_init_qs_minus26",ps_pps->u1_pic_init_qs - 26); in ih264d_parse_pps()
308 ps_pps->i1_chroma_qp_index_offset = i_temp; in ih264d_parse_pps()
309 COPYTHECONTEXT("PPS: chroma_qp_index_offset",ps_pps->i1_chroma_qp_index_offset); in ih264d_parse_pps()
315 ps_pps->i1_second_chroma_qp_index_offset = in ih264d_parse_pps()
316 ps_pps->i1_chroma_qp_index_offset; in ih264d_parse_pps()
318 ps_pps->u1_deblocking_filter_parameters_present_flag = ih264d_get_bit_h264( in ih264d_parse_pps()
321 ps_pps->u1_deblocking_filter_parameters_present_flag); in ih264d_parse_pps()
322 ps_pps->u1_constrained_intra_pred_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
324 ps_pps->u1_constrained_intra_pred_flag); in ih264d_parse_pps()
325 ps_pps->u1_redundant_pic_cnt_present_flag = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
327 ps_pps->u1_redundant_pic_cnt_present_flag); in ih264d_parse_pps()
331 if(u1_more_data_flag && (ps_pps->ps_sps->u1_profile_idc == HIGH_PROFILE_IDC)) in ih264d_parse_pps()
334 ps_pps->i4_transform_8x8_mode_flag = (WORD32)ih264d_get_bit_h264( in ih264d_parse_pps()
338 ps_pps->i4_pic_scaling_matrix_present_flag = in ih264d_parse_pps()
341 if(ps_pps->i4_pic_scaling_matrix_present_flag) in ih264d_parse_pps()
344 for(i4_i = 0; i4_i < (6 + (ps_pps->i4_transform_8x8_mode_flag << 1)); i4_i++) in ih264d_parse_pps()
346 ps_pps->u1_pic_scaling_list_present_flag[i4_i] = in ih264d_parse_pps()
349 if(ps_pps->u1_pic_scaling_list_present_flag[i4_i]) in ih264d_parse_pps()
354 ps_pps->i2_pic_scalinglist4x4[i4_i], in ih264d_parse_pps()
356 &ps_pps->u1_pic_use_default_scaling_matrix_flag[i4_i], in ih264d_parse_pps()
362 ps_pps->i2_pic_scalinglist8x8[i4_i - 6], in ih264d_parse_pps()
364 &ps_pps->u1_pic_use_default_scaling_matrix_flag[i4_i], in ih264d_parse_pps()
378 ps_pps->i1_second_chroma_qp_index_offset = i_temp; in ih264d_parse_pps()
387 ps_pps->u1_is_valid = TRUE; in ih264d_parse_pps()
388 ps_dec->ps_pps[ps_pps->u1_pic_parameter_set_id] = *ps_pps; in ih264d_parse_pps()