Home | History | Annotate | Download | only in source

Lines Matching refs:sps

69 static u32 CheckPps(picParamSet_t *pps, seqParamSet_t *sps);
112 Store sequence parameter set into the storage. If active SPS is
146 if (pStorage->sps[id] == NULL)
148 ALLOCATE(pStorage->sps[id], 1, seqParamSet_t);
149 if (pStorage->sps[id] == NULL)
152 /* sequence parameter set with id equal to id of active sps */
158 * re-activation. Memories allocated for old sps freed
159 * otherwise free memeries allocated for just decoded sps and
163 FREE(pStorage->sps[id]->offsetForRefFrame);
164 FREE(pStorage->sps[id]->vuiParameters);
181 FREE(pStorage->sps[id]->offsetForRefFrame);
182 FREE(pStorage->sps[id]->vuiParameters);
185 *pStorage->sps[id] = *pSeqParamSet;
197 overwritten -> check if active SPS changes and if it does -> set
273 Activate certain SPS/PPS combination. This function shall be
278 When new SPS is activated the function allocates memory for
285 ppsId identifies the PPS to be activated, SPS id obtained
295 trying to change SPS with non-IDR picture
313 /* check that pps and corresponding sps exist */
315 (pStorage->sps[pStorage->pps[ppsId]->seqParameterSetId] == NULL) )
322 pStorage->sps[pStorage->pps[ppsId]->seqParameterSetId]);
332 pStorage->activeSps = pStorage->sps[pStorage->activeSpsId];
410 pStorage->activeSps = pStorage->sps[pStorage->activeSpsId];
423 DEBUG(("TRYING TO CHANGE SPS IN NON-IDR SLICE\n"));
616 -NAL unit types 6-11, 13-18 (e.g. SPS, PPS)
654 seqParamSet_t *sps;
662 ASSERT(storage->sps);
692 /* store sps and pps in separate pointers just to make names shorter */
694 if ( pps == NULL || storage->sps[pps->seqParameterSetId] == NULL ||
699 sps = storage->sps[pps->seqParameterSetId];
711 tmp = h264bsdCheckFrameNum(strm, sps->maxFrameNum, &frameNum);
723 tmp = h264bsdCheckIdrPicId(strm, sps->maxFrameNum, nuNext->nalUnitType,
735 if (sps->picOrderCntType == 0)
737 tmp = h264bsdCheckPicOrderCntLsb(strm, sps, nuNext->nalUnitType,
750 tmp = h264bsdCheckDeltaPicOrderCntBottom(strm, sps,
764 else if (sps->picOrderCntType == 1 && !sps->deltaPicOrderAlwaysZeroFlag)
766 tmp = h264bsdCheckDeltaPicOrderCnt(strm, sps, nuNext->nalUnitType,
798 against the dimensions in the sps.
802 sps pointer to sequence parameter set
812 u32 CheckPps(picParamSet_t *pps, seqParamSet_t *sps)
818 picSize = sps->picWidthInMbs * sps->picHeightInMbs;
842 if ( (pps->topLeft[i] % sps->picWidthInMbs) >
843 (pps->bottomRight[i] % sps->picWidthInMbs) )
865 Check if any valid SPS/PPS combination exists in the storage.
867 SPS exists and calls CheckPps to determine if the PPS conforms
868 to image dimensions of the SPS.
894 pStorage->sps[pStorage->pps[i]->seqParameterSetId] &&
896 pStorage->sps[pStorage->pps[i]->seqParameterSetId]) ==