Lines Matching defs:pps

1036 static int FUNC(pps)(CodedBitstreamContext *ctx, RWContext *rw,
1306 const H265RawPPS *pps;
1324 pps = h265->pps[current->slice_pic_parameter_set_id];
1325 if (!pps) {
1330 h265->active_pps = pps;
1332 sps = h265->sps[pps->pps_seq_parameter_set_id];
1335 pps->pps_seq_parameter_set_id);
1351 if (pps->dependent_slice_segments_enabled_flag)
1361 for (i = 0; i < pps->num_extra_slice_header_bits; i++)
1366 if (pps->output_flag_present_flag)
1396 if (pps->pps_curr_pic_ref_enabled_flag &&
1398 !pps->pps_deblocking_filter_disabled_flag ||
1399 pps->deblocking_filter_override_enabled_flag)) {
1459 if (pps->pps_curr_pic_ref_enabled_flag)
1482 infer(num_ref_idx_l1_active_minus1, pps->num_ref_idx_l1_default_active_minus1);
1484 infer(num_ref_idx_l0_active_minus1, pps->num_ref_idx_l0_default_active_minus1);
1485 infer(num_ref_idx_l1_active_minus1, pps->num_ref_idx_l1_default_active_minus1);
1488 if (pps->lists_modification_present_flag && num_pic_total_curr > 1)
1494 if (pps->cabac_init_present_flag)
1516 if ((pps->weighted_pred_flag && current->slice_type == HEVC_SLICE_P) ||
1517 (pps->weighted_bipred_flag && current->slice_type == HEVC_SLICE_B))
1528 - 6 * sps->bit_depth_luma_minus8 - (pps->init_qp_minus26 + 26),
1529 + 51 - (pps->init_qp_minus26 + 26));
1530 if (pps->pps_slice_chroma_qp_offsets_present_flag) {
1537 if (pps->pps_slice_act_qp_offsets_present_flag) {
1539 -12 - (pps->pps_act_y_qp_offset_plus5 - 5),
1540 +12 - (pps->pps_act_y_qp_offset_plus5 - 5));
1542 -12 - (pps->pps_act_cb_qp_offset_plus5 - 5),
1543 +12 - (pps->pps_act_cb_qp_offset_plus5 - 5));
1545 -12 - (pps->pps_act_cr_qp_offset_plus3 - 3),
1546 +12 - (pps->pps_act_cr_qp_offset_plus3 - 3));
1552 if (pps->chroma_qp_offset_list_enabled_flag)
1557 if (pps->deblocking_filter_override_enabled_flag)
1567 infer(slice_beta_offset_div2, pps->pps_beta_offset_div2);
1568 infer(slice_tc_offset_div2, pps->pps_tc_offset_div2);
1572 pps->pps_deblocking_filter_disabled_flag);
1573 infer(slice_beta_offset_div2, pps->pps_beta_offset_div2);
1574 infer(slice_tc_offset_div2, pps->pps_tc_offset_div2);
1576 if (pps->pps_loop_filter_across_slices_enabled_flag &&
1582 pps->pps_loop_filter_across_slices_enabled_flag);
1585 if (pps->tiles_enabled_flag || pps->entropy_coding_sync_enabled_flag) {
1587 if (!pps->tiles_enabled_flag && pps->entropy_coding_sync_enabled_flag)
1589 else if (pps->tiles_enabled_flag && !pps->entropy_coding_sync_enabled_flag)
1591 (pps->num_tile_columns_minus1 + 1) * (pps->num_tile_rows_minus1 + 1);
1594 (pps->num_tile_columns_minus1 + 1) * pic_height_in_ctbs_y - 1;
1610 if (pps->slice_segment_header_extension_present_flag) {