Lines Matching refs:naluOffset
160 memcpy(&(pNaluInfo->naluOffset), pByteStream, sizeof(int32_t)); in decode()
316 uint32_t sliceOffset = mMetadata.naluInfo[naluIndex].naluOffset; in decodeSlice()
423 naluType = *(uint8_t *)(stream + naluStream->naluOffset); in copyNaluHeader()
436 …memcpy(naluStream->byteStream + naluStream->streamPos, &(naluStream->naluOffset), sizeof(int32_t)); in copyNaluHeader()
446 …m->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen); in copyNaluHeader()
455 int32_t naluOffset, offset, left; in parseAnnexBStream() local
459 naluOffset = 0; in parseAnnexBStream()
469 naluOffset = findNalUnitOffset(stream, offset, left); in parseAnnexBStream()
470 if (naluOffset == -1) { in parseAnnexBStream()
475 naluStream->naluOffset = naluOffset; in parseAnnexBStream()
477 naluStream->naluLen = naluOffset - naluStream->naluOffset - STARTCODE_PREFIX_LEN; in parseAnnexBStream()
484 naluStream->naluOffset = naluOffset; in parseAnnexBStream()
492 offset = naluOffset + 1; // skip one byte of NAL unit type in parseAnnexBStream()
497 naluStream->naluLen = length - naluStream->naluOffset; in parseAnnexBStream()