Home | History | Annotate | Download | only in src

Lines Matching refs:sps

855             /*SPS Packet */
856 M4OSA_TRACE1_0("Error : SPS");
1028 ComSequenceParameterSet_t_MCS *sps )
1039 sps->profile_idc = (M4OSA_UInt8)H264MCS_getBits(p_bs, 8);
1040 sps->constraint_set0_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1041 sps->constraint_set1_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1042 sps->constraint_set2_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1043 sps->constraint_set3_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1045 sps->level_idc = (M4OSA_UInt8)H264MCS_getBits(p_bs, 8);
1046 sps->seq_parameter_set_id =
1048 sps->log2_max_frame_num_minus4 =
1050 sps->MaxFrameNum = 1 << (sps->log2_max_frame_num_minus4 + 4);
1051 sps->pic_order_cnt_type =
1054 if (sps->pic_order_cnt_type == 0)
1056 sps->log2_max_pic_order_cnt_lsb_minus4 =
1058 sps->MaxPicOrderCntLsb =
1059 1 << (sps->log2_max_pic_order_cnt_lsb_minus4 + 4);
1061 else if( sps->pic_order_cnt_type == 1 )
1063 sps->delta_pic_order_always_zero_flag =
1068 sps->offset_for_non_ref_pic =
1070 sps->offset_for_top_to_bottom_field =
1076 sps->num_ref_frames_in_pic_order_cnt_cycle =
1080 sps->expectedDeltaPerPicOrderCntCycle = 0;
1082 for ( i = 0; i < sps->num_ref_frames_in_pic_order_cnt_cycle; i++ )
1085 sps->offset_for_ref_frame[i] =
1088 sps->expectedDeltaPerPicOrderCntCycle +=
1089 sps->offset_for_ref_frame[i];
1094 sps->num_ref_frames = (M4OSA_UInt8)H264MCS_DecVLCReadExpGolombCode(p_bs);
1095 sps->gaps_in_frame_num_value_allowed_flag =
1098 sps->pic_width_in_mbs_minus1 =
1100 sps->pic_height_in_map_units_minus1 =
1103 sps->frame_mbs_only_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1105 if (!sps->frame_mbs_only_flag)
1107 sps->mb_adaptive_frame_field_flag =
1112 sps->mb_adaptive_frame_field_flag = 0;
1115 sps->PicWidthInMbs = sps->pic_width_in_mbs_minus1 + 1;
1116 sps->FrameHeightInMbs = ( 2 - sps->frame_mbs_only_flag) * \
1117 (sps->pic_height_in_map_units_minus1 + 1);
1120 sps->NumSliceGroupMapUnits =
1121 sps->PicWidthInMbs * (sps->pic_height_in_map_units_minus1 + 1);
1122 sps->MaxPicSizeInMbs = sps->PicWidthInMbs * sps->FrameHeightInMbs;
1126 sps->direct_8x8_inference_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1128 if( sps->frame_mbs_only_flag == 0 )
1129 sps->direct_8x8_inference_flag = 1;
1131 sps->frame_cropping_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1133 if( sps->frame_cropping_flag )
1135 sps->frame_crop_left_offset = H264MCS_DecVLCReadExpGolombCode(p_bs);
1136 sps->frame_crop_right_offset = H264MCS_DecVLCReadExpGolombCode(p_bs);
1137 sps->frame_crop_top_offset = H264MCS_DecVLCReadExpGolombCode(p_bs);
1138 sps->frame_crop_bottom_offset = H264MCS_DecVLCReadExpGolombCode(p_bs);
1142 sps->frame_crop_left_offset = 0;
1143 sps->frame_crop_right_offset = 0;
1144 sps->frame_crop_top_offset = 0;
1145 sps->frame_crop_bottom_offset = 0;
1148 sps->vui_parameters_present_flag = (M4OSA_Bool)H264MCS_getBits(p_bs, 1);
1150 if (sps->vui_parameters_present_flag) {
1336 /* Find the active SPS ID */
1385 /* Find the clip SPS ID used at the cut start frame */
1453 /*SPS Packet */
1454 M4OSA_TRACE1_0("H264MCS_ProcessSPS_PPS() Error: SPS");
1565 /* Form the final SPS and PPS data */
1680 /* Decode the clip SPS */
1709 /* Decode encoder SPS */
1857 /*SPS Packet */
1858 M4OSA_TRACE1_0("H264MCS_ProcessNALU() Error: SPS");
2603 // SPS and PPS are storead as per the 3gp file format
5521 "!!! M4MCS_intStepSet ERROR : invalid SPS / PPS %d %d %d",