Home
last modified time | relevance | path

Searched refs:iBufPos (Results 1 – 4 of 4) sorted by relevance

/third_party/openh264/test/api/
Dencode_decode_api_test.cpp321 int iBufPos = 0; in SimulateNALLoss() local
330 if (i - iBufPos) { in SimulateNALLoss()
331 …tmpSLostSim.eNalType = (EWelsNalUnitType) ((* (pSrc + iBufPos + ilastprefixlen)) & 0x1f); // eNalU… in SimulateNALLoss()
338 memcpy (pDst + iDstLen, pSrc + iBufPos, i - iBufPos); in SimulateNALLoss()
339 iDstLen += (i - iBufPos); in SimulateNALLoss()
342 iSkipedBytes += (i - iBufPos); in SimulateNALLoss()
346 iBufPos = i; in SimulateNALLoss()
349 if (i - iBufPos) { in SimulateNALLoss()
350 …tmpSLostSim.eNalType = (EWelsNalUnitType) ((* (pSrc + iBufPos + ilastprefixlen)) & 0x1f); // eNalU… in SimulateNALLoss()
357 memcpy (pDst + iDstLen, pSrc + iBufPos, i - iBufPos); in SimulateNALLoss()
[all …]
/third_party/openh264/test/decoder/
DDecUT_ParseSyntax.cpp231 int32_t iBufPos = 0; in DecodeBs() local
266 if (iBufPos >= iFileSize) { in DecodeBs()
273 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in DecodeBs()
279 iRet |= DecodeFrame (pBuf + iBufPos, iSliceSize, m_pData, &m_sBufferInfo, m_pCtx); in DecodeBs()
280 iBufPos += iSliceSize; in DecodeBs()
299 int32_t iBufPos = 0; in ParseBs() local
335 if (iBufPos >= iFileSize) { in ParseBs()
342 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in ParseBs()
349 iRet |= m_pDec->DecodeParser (pBuf + iBufPos, iSliceSize, &m_sParserBsInfo); in ParseBs()
355 iBufPos += iSliceSize; in ParseBs()
DDecUT_DecExt.cpp139 int32_t iBufPos = 0; in DecoderBs() local
161 if (iBufPos >= iFileSize) { in DecoderBs()
168 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in DecoderBs()
174 m_pDec->DecodeFrame2 (pBuf + iBufPos, iSliceSize, m_pData, &m_sBufferInfo); in DecoderBs()
176 iBufPos += iSliceSize; in DecoderBs()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp242 int32_t iBufPos = 0; in H264DecodeInstance() local
321 if (iBufPos >= iFileSize) { in H264DecodeInstance()
336 iSliceSize = readPicture (pBuf, iFileSize, iBufPos, uSpsPtr, iSpsByteCount); in H264DecodeInstance()
352 …if ((pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 0 && pBuf[iB… in H264DecodeInstance()
353 …&& i > 0) || (pBuf[iBufPos + i] == 0 && pBuf[iBufPos + i + 1] == 0 && pBuf[iBufPos + i + 2] == 1 &… in H264DecodeInstance()
361 iBufPos += iSliceSize; in H264DecodeInstance()
390 pDecoder->DecodeFrameNoDelay (pBuf + iBufPos, iSliceSize, pData, &sDstBufInfo); in H264DecodeInstance()
392 pDecoder->DecodeFrame2 (pBuf + iBufPos, iSliceSize, pData, &sDstBufInfo); in H264DecodeInstance()
451 iBufPos += iSliceSize; in H264DecodeInstance()