Home | History | Annotate | Download | only in vda

Lines Matching refs:pps

243     DVLOG(1) << "Requested a nonexistent PPS id " << pps_id;
716 H264PPS* pps) {
726 res = ParseScalingList(arraysize(pps->scaling_list4x4[i]),
727 pps->scaling_list4x4[i], &use_default);
732 DefaultScalingList4x4(i, pps->scaling_list4x4);
738 pps->scaling_list4x4);
742 sps.scaling_list4x4[3], pps->scaling_list4x4);
747 if (pps->transform_8x8_mode_flag) {
752 res = ParseScalingList(arraysize(pps->scaling_list8x8[i]),
753 pps->scaling_list8x8[i], &use_default);
758 DefaultScalingList8x8(i, pps->scaling_list8x8);
764 pps->scaling_list8x8);
768 sps.scaling_list8x8[1], pps->scaling_list8x8);
1021 std::unique_ptr<H264PPS> pps(new H264PPS());
1023 READ_UE_OR_RETURN(&pps->pic_parameter_set_id);
1024 READ_UE_OR_RETURN(&pps->seq_parameter_set_id);
1025 TRUE_OR_RETURN(pps->seq_parameter_set_id < 32);
1027 if (active_SPSes_.find(pps->seq_parameter_set_id) == active_SPSes_.end()) {
1028 DVLOG(1) << "Invalid stream, no SPS id: " << pps->seq_parameter_set_id;
1032 sps = GetSPS(pps->seq_parameter_set_id);
1035 READ_BOOL_OR_RETURN(&pps->entropy_coding_mode_flag);
1036 READ_BOOL_OR_RETURN(&pps->bottom_field_pic_order_in_frame_present_flag);
1038 READ_UE_OR_RETURN(&pps->num_slice_groups_minus1);
1039 if (pps->num_slice_groups_minus1 > 1) {
1044 READ_UE_OR_RETURN(&pps->num_ref_idx_l0_default_active_minus1);
1045 TRUE_OR_RETURN(pps->num_ref_idx_l0_default_active_minus1 < 32);
1047 READ_UE_OR_RETURN(&pps->num_ref_idx_l1_default_active_minus1);
1048 TRUE_OR_RETURN(pps->num_ref_idx_l1_default_active_minus1 < 32);
1050 READ_BOOL_OR_RETURN(&pps->weighted_pred_flag);
1051 READ_BITS_OR_RETURN(2, &pps->weighted_bipred_idc);
1052 TRUE_OR_RETURN(pps->weighted_bipred_idc < 3);
1054 READ_SE_OR_RETURN(&pps->pic_init_qp_minus26);
1055 IN_RANGE_OR_RETURN(pps->pic_init_qp_minus26, -26, 25);
1057 READ_SE_OR_RETURN(&pps->pic_init_qs_minus26);
1058 IN_RANGE_OR_RETURN(pps->pic_init_qs_minus26, -26, 25);
1060 READ_SE_OR_RETURN(&pps->chroma_qp_index_offset);
1061 IN_RANGE_OR_RETURN(pps->chroma_qp_index_offset, -12, 12);
1062 pps->second_chroma_qp_index_offset = pps->chroma_qp_index_offset;
1064 READ_BOOL_OR_RETURN(&pps->deblocking_filter_control_present_flag);
1065 READ_BOOL_OR_RETURN(&pps->constrained_intra_pred_flag);
1066 READ_BOOL_OR_RETURN(&pps->redundant_pic_cnt_present_flag);
1069 READ_BOOL_OR_RETURN(&pps->transform_8x8_mode_flag);
1070 READ_BOOL_OR_RETURN(&pps->pic_scaling_matrix_present_flag);
1072 if (pps->pic_scaling_matrix_present_flag) {
1074 res = ParsePPSScalingLists(*sps, pps.get());
1079 READ_SE_OR_RETURN(&pps->second_chroma_qp_index_offset);
1082 // If a PPS with the same id already exists, replace it.
1083 *pps_id = pps->pic_parameter_set_id;
1084 active_PPSes_[*pps_id] = std::move(pps);
1283 const H264PPS* pps;
1299 pps = GetPPS(shdr->pic_parameter_set_id);
1300 TRUE_OR_RETURN(pps);
1302 sps = GetSPS(pps->seq_parameter_set_id);
1326 if (pps->bottom_field_pic_order_in_frame_present_flag &&
1333 if (pps->bottom_field_pic_order_in_frame_present_flag &&
1341 if (pps->redundant_pic_cnt_present_flag) {
1357 pps->num_ref_idx_l0_default_active_minus1;
1360 pps->num_ref_idx_l1_default_active_minus1;
1380 if ((pps->weighted_pred_flag && (shdr->IsPSlice() || shdr->IsSPSlice())) ||
1381 (pps->weighted_bipred_idc == 1 && shdr->IsBSlice())) {
1393 if (pps->entropy_coding_mode_flag && !shdr->IsISlice() &&
1407 if (pps->deblocking_filter_control_present_flag) {
1420 if (pps->num_slice_groups_minus1 > 0) {