Home | History | Annotate | Download | only in source

Lines Matching refs:sps

65 static u32 CheckPps(picParamSet_t *pps, seqParamSet_t *sps);
108 Store sequence parameter set into the storage. If active SPS is
142 if (pStorage->sps[id] == NULL)
144 ALLOCATE(pStorage->sps[id], 1, seqParamSet_t);
145 if (pStorage->sps[id] == NULL)
148 /* sequence parameter set with id equal to id of active sps */
154 * re-activation. Memories allocated for old sps freed
155 * otherwise free memeries allocated for just decoded sps and
159 FREE(pStorage->sps[id]->offsetForRefFrame);
160 FREE(pStorage->sps[id]->vuiParameters);
177 FREE(pStorage->sps[id]->offsetForRefFrame);
178 FREE(pStorage->sps[id]->vuiParameters);
181 *pStorage->sps[id] = *pSeqParamSet;
193 overwritten -> check if active SPS changes and if it does -> set
269 Activate certain SPS/PPS combination. This function shall be
274 When new SPS is activated the function allocates memory for
281 ppsId identifies the PPS to be activated, SPS id obtained
291 trying to change SPS with non-IDR picture
309 /* check that pps and corresponding sps exist */
311 (pStorage->sps[pStorage->pps[ppsId]->seqParameterSetId] == NULL) )
318 pStorage->sps[pStorage->pps[ppsId]->seqParameterSetId]);
328 pStorage->activeSps = pStorage->sps[pStorage->activeSpsId];
392 pStorage->activeSps = pStorage->sps[pStorage->activeSpsId];
405 DEBUG(("TRYING TO CHANGE SPS IN NON-IDR SLICE\n"));
598 -NAL unit types 6-11, 13-18 (e.g. SPS, PPS)
636 seqParamSet_t *sps;
644 ASSERT(storage->sps);
674 /* store sps and pps in separate pointers just to make names shorter */
676 if ( pps == NULL || storage->sps[pps->seqParameterSetId] == NULL ||
681 sps = storage->sps[pps->seqParameterSetId];
693 tmp = h264bsdCheckFrameNum(strm, sps->maxFrameNum, &frameNum);
705 tmp = h264bsdCheckIdrPicId(strm, sps->maxFrameNum, nuNext->nalUnitType,
717 if (sps->picOrderCntType == 0)
719 tmp = h264bsdCheckPicOrderCntLsb(strm, sps, nuNext->nalUnitType,
732 tmp = h264bsdCheckDeltaPicOrderCntBottom(strm, sps,
746 else if (sps->picOrderCntType == 1 && !sps->deltaPicOrderAlwaysZeroFlag)
748 tmp = h264bsdCheckDeltaPicOrderCnt(strm, sps, nuNext->nalUnitType,
780 against the dimensions in the sps.
784 sps pointer to sequence parameter set
794 u32 CheckPps(picParamSet_t *pps, seqParamSet_t *sps)
800 picSize = sps->picWidthInMbs * sps->picHeightInMbs;
824 if ( (pps->topLeft[i] % sps->picWidthInMbs) >
825 (pps->bottomRight[i] % sps->picWidthInMbs) )
847 Check if any valid SPS/PPS combination exists in the storage.
849 SPS exists and calls CheckPps to determine if the PPS conforms
850 to image dimensions of the SPS.
876 pStorage->sps[pStorage->pps[i]->seqParameterSetId] &&
878 pStorage->sps[pStorage->pps[i]->seqParameterSetId]) ==