Home
last modified time | relevance | path

Searched refs:pSpsBs (Results 1 – 2 of 2) sorted by relevance

/third_party/openh264/codec/decoder/core/src/
Dau_parser.cpp1162 SSpsBsInfo* pSpsBs = &pCtx->sSpsBsInfo [iSpsId]; in ParseSps() local
1163 pSpsBs->iSpsId = iSpsId; in ParseSps()
1168 pSpsBs->uiSpsBsLen = (uint16_t) iActualLen; in ParseSps()
1172 pSpsBs->pSpsBsBuf[0] = 0x0; //add 0 to form 0x0001 in ParseSps()
1174 pSpsBs->uiSpsBsLen++; in ParseSps()
1176 memcpy (pSpsBs->pSpsBsBuf + iStartDeltaByte, pSrcNal, iActualLen); in ParseSps()
1178 SSpsBsInfo* pSpsBs = &pCtx->sSubsetSpsBsInfo [iSpsId]; in ParseSps() local
1179 pSpsBs->iSpsId = iSpsId; in ParseSps()
1180 pSpsBs->pSpsBsBuf [0] = pSpsBs->pSpsBsBuf [1] = pSpsBs->pSpsBsBuf [2] = 0x00; in ParseSps()
1181 pSpsBs->pSpsBsBuf [3] = 0x01; in ParseSps()
[all …]
Ddecoder_core.cpp120 SSpsBsInfo* pSpsBs = NULL; in DecodeFrameConstruction() local
126 pSpsBs = bSubSps ? &pCtx->sSubsetSpsBsInfo [iSpsId] : &pCtx->sSpsBsInfo [iSpsId]; in DecodeFrameConstruction()
128 …if (pDstBuf - pParser->pDstBuff + pSpsBs->uiSpsBsLen + pPpsBs->uiPpsBsLen >= MAX_ACCESS_UNIT_CAPAC… in DecodeFrameConstruction()
130 …codeFrameConstruction(): sps pps size: (%d %d) too large. Failed to parse. \n", pSpsBs->uiSpsBsLen, in DecodeFrameConstruction()
136 memcpy (pDstBuf, pSpsBs->pSpsBsBuf, pSpsBs->uiSpsBsLen); in DecodeFrameConstruction()
137 pParser->pNalLenInByte [pParser->iNalNum ++] = pSpsBs->uiSpsBsLen; in DecodeFrameConstruction()
138 pDstBuf += pSpsBs->uiSpsBsLen; in DecodeFrameConstruction()