Lines Matching refs:naluHeaderLen
171 memcpy(&(pNaluInfo->naluHeaderLen), pByteStream, sizeof(int32_t)); in decode()
175 if (sizeLeft < pNaluInfo->naluHeaderLen) { in decode()
176 …ta to copy NALU header for %d, left = %d, header len = %d", i, sizeLeft, pNaluInfo->naluHeaderLen); in decode()
180 sizeLeft -= pNaluInfo->naluHeaderLen; in decode()
182 if (pNaluInfo->naluHeaderLen) { in decode()
190 memcpy(mNaluHeaderBuffer + sizeAccumulated, pByteStream, pNaluInfo->naluHeaderLen); in decode()
191 pByteStream += pNaluInfo->naluHeaderLen; in decode()
193 sizeAccumulated += pNaluInfo->naluHeaderLen; in decode()
284 headerLen = mMetadata.naluInfo[naluIndex].naluHeaderLen; in decodeSlice()
424 int32_t naluHeaderLen; in copyNaluHeader() local
431 naluHeaderLen = min(naluStream->naluLen, MAX_SLICE_HEADER_SIZE); in copyNaluHeader()
434 naluHeaderLen = naluStream->naluLen; in copyNaluHeader()
445 memcpy(naluStream->byteStream + naluStream->streamPos, &naluHeaderLen, sizeof(int32_t)); in copyNaluHeader()
448 if (naluHeaderLen) { in copyNaluHeader()
449 …m->byteStream + naluStream->streamPos, (uint8_t*)(stream + naluStream->naluOffset), naluHeaderLen); in copyNaluHeader()
450 naluStream->streamPos += naluHeaderLen; in copyNaluHeader()