Searched refs:currentNalu (Results 1 – 2 of 2) sorted by relevance
/hardware/google/aemu/host-common/ |
D | MediaH264DecoderVideoToolBox.cpp | 319 const uint8_t* currentNalu = H264NaluParser::getNextStartCodeHeader(frame, szBytes); in decodeFrameInternal() local 320 if (currentNalu == nullptr) { in decodeFrameInternal() 329 size_t remaining = szBytes - (currentNalu - frame); in decodeFrameInternal() 334 dumpBytes(currentNalu, currentNaluSize); in decodeFrameInternal() 335 nextNalu = H264NaluParser::getNextStartCodeHeader(currentNalu + 3, remaining - 3); in decodeFrameInternal() 337 currentNaluSize = nextNalu - currentNalu; in decodeFrameInternal() 342 H264NaluType naluType = H264NaluParser::getFrameNaluType(currentNalu, currentNaluSize, &data); in decodeFrameInternal() 343 size_t dataSize = currentNaluSize - (data - currentNalu); in decodeFrameInternal() 367 vec.assign(currentNalu, currentNalu + currentNaluSize); in decodeFrameInternal() 382 vec.assign(currentNalu, currentNalu + currentNaluSize); in decodeFrameInternal() [all …]
|
D | MediaVideoToolBoxVideoHelper.cpp | 274 const uint8_t* currentNalu = in parseOneFrame() local 276 if (currentNalu == nullptr) { in parseOneFrame() 282 size_t remaining = szBytes - (currentNalu - frame); in parseOneFrame() 298 nextNalu = H264NaluParser::getNextStartCodeHeader(currentNalu + 3, in parseOneFrame() 301 currentNaluSize = nextNalu - currentNalu; in parseOneFrame() 305 const uint8_t* remainingFrame = currentNalu + currentNaluSize; in parseOneFrame() 310 currentNalu, currentNaluSize, &data); in parseOneFrame() 315 size_t dataSize = currentNaluSize - (data - currentNalu); in parseOneFrame() 324 InputFrame(naluType, currentNalu, currentNaluSize)); in parseOneFrame()
|