Lines Matching refs:naluHeaderLen
168 memcpy(&(pNaluInfo->naluHeaderLen), pByteStream, sizeof(int32_t)); in decode()
171 if (sizeLeft < pNaluInfo->naluHeaderLen) { in decode()
172 …ta to copy NALU header for %d, left = %d, header len = %d", i, sizeLeft, pNaluInfo->naluHeaderLen); in decode()
176 sizeLeft -= pNaluInfo->naluHeaderLen; in decode()
178 if (pNaluInfo->naluHeaderLen) { in decode()
186 memcpy(mNaluHeaderBuffer + sizeAccumulated, pByteStream, pNaluInfo->naluHeaderLen); in decode()
187 pByteStream += pNaluInfo->naluHeaderLen; in decode()
189 sizeAccumulated += pNaluInfo->naluHeaderLen; in decode()
280 headerLen = mMetadata.naluInfo[naluIndex].naluHeaderLen; in decodeSlice()
421 int32_t naluHeaderLen; in copyNaluHeader() local
428 naluHeaderLen = min(naluStream->naluLen, MAX_SLICE_HEADER_SIZE); in copyNaluHeader()
431 naluHeaderLen = naluStream->naluLen; in copyNaluHeader()
442 memcpy(naluStream->byteStream + naluStream->streamPos, &naluHeaderLen, sizeof(int32_t)); in copyNaluHeader()
445 if (naluHeaderLen) { in copyNaluHeader()
446 …m->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen); in copyNaluHeader()
447 naluStream->streamPos += naluHeaderLen; in copyNaluHeader()