Searched refs:pSrcNal (Results 1 – 3 of 3) sorted by relevance
/third_party/openh264/codec/decoder/core/inc/ |
D | au_parser.h | 87 … int32_t iSrcRbspLen, uint8_t* pSrcNal, int32_t iSrcNalLen, int32_t* pConsumedBytes); 89 …ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t kiSrcLen, uint8_t* pSrcNal, 118 uint8_t* pSrcNal, const int32_t kSrcNalLen); 134 int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, uint8_t* pSrcNal,
|
/third_party/openh264/codec/decoder/core/src/ |
D | au_parser.cpp | 109 … int32_t iSrcRbspLen, uint8_t* pSrcNal, int32_t iSrcNalLen, int32_t* pConsumedBytes) { in ParseNalHeader() argument 327 while (pSrcNal[iSrcNalLen - iTrailingZeroByte - 1] == 0x0) //remove final trailing 0 bytes in ParseNalHeader() 333 if (pSrcNal[0] == 0x0 && pSrcNal[1] == 0x0 && pSrcNal[2] == 0x1) { //if 0x001 in ParseNalHeader() 338 * (pSrcNal + iCurrStartByte) &= 0xE0; in ParseNalHeader() 339 * (pSrcNal + iCurrStartByte) |= 0x05; in ParseNalHeader() 341 * (pSrcNal + iCurrStartByte) &= 0xE0; in ParseNalHeader() 342 * (pSrcNal + iCurrStartByte) |= 0x01; in ParseNalHeader() 346 pSavedData->pCurPos[4] = * (pSrcNal + iCurrStartByte); in ParseNalHeader() 349 memcpy (pSavedData->pCurPos, pSrcNal + iOffset, iActualLen - iOffset); in ParseNalHeader() 356 while (pSrcNal[iSrcNalLen - iTrailingZeroByte - 1] == 0x0) //remove final trailing 0 bytes in ParseNalHeader() [all …]
|
D | decoder.cpp | 752 uint8_t* pSrcNal = NULL; in WelsDecodeBs() local 763 pSrcNal = const_cast<uint8_t*> (kpBsBuf) + iOffset; in WelsDecodeBs() 783 …if ((2 + iSrcConsumed < iSrcLength) && (0 == LD16 (pSrcNal + iSrcIdx)) && (pSrcNal[2 + iSrcIdx] <=… in WelsDecodeBs() 784 if (bNalStartBytes && (pSrcNal[2 + iSrcIdx] != 0x00 && pSrcNal[2 + iSrcIdx] != 0x01)) { in WelsDecodeBs() 789 if (pSrcNal[2 + iSrcIdx] == 0x02) { in WelsDecodeBs() 792 } else if (pSrcNal[2 + iSrcIdx] == 0x00) { in WelsDecodeBs() 793 pDstNal[iDstIdx++] = pSrcNal[iSrcIdx++]; in WelsDecodeBs() 796 } else if (pSrcNal[2 + iSrcIdx] == 0x03) { in WelsDecodeBs() 797 if ((3 + iSrcConsumed < iSrcLength) && pSrcNal[3 + iSrcIdx] > 0x03) { in WelsDecodeBs() 812 …pNalPayload = ParseNalHeader (pCtx, &pCtx->sCurNalHead, pDstNal, iDstIdx, pSrcNal - 3, iSrcIdx + 3… in WelsDecodeBs() [all …]
|