Home
last modified time | relevance | path

Searched refs:nalStart (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
Davc_utils.cpp259 const uint8_t **nalStart, size_t *nalSize, in getNextNALUnit() argument
264 *nalStart = NULL; in getNextNALUnit()
315 *nalStart = &data[startOffset]; in getNextNALUnit()
330 const uint8_t *nalStart; in FindNAL() local
332 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in FindNAL()
333 if ((nalStart[0] & 0x1f) == nalType) { in FindNAL()
335 memcpy(buffer->data(), nalStart, nalSize); in FindNAL()
457 const uint8_t *nalStart; in IsIDRInternal() local
459 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in IsIDRInternal()
465 unsigned nalType = nalStart[0] & 0x1f; in IsIDRInternal()
[all …]
DMediaCodec.cpp3126 const uint8_t *nalStart; in amendOutputFormatWithCodecSpecificData() local
3128 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in amendOutputFormatWithCodecSpecificData()
3131 memcpy(csd->data() + 4, nalStart, nalSize); in amendOutputFormatWithCodecSpecificData()
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp323 const uint8_t *nalStart; in queueAVCBuffer() local
326 &data, &size, &nalStart, &nalSize, in queueAVCBuffer()
342 memcpy(out->data() + outBytesUsed, nalStart, nalSize); in queueAVCBuffer()
369 memcpy(dst, nalStart, nalSize); in queueAVCBuffer()
380 uint8_t nalType = nalStart[0] & 0x1f; in queueAVCBuffer()
381 uint8_t nri = (nalStart[0] >> 5) & 3; in queueAVCBuffer()
403 memcpy(&dst[2], nalStart + srcOffset, copy); in queueAVCBuffer()
/frameworks/av/media/libstagefright/include/
Davc_utils.h81 const uint8_t **nalStart, size_t *nalSize,
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1028 const uint8_t *nalStart; in dequeueAccessUnitH264() local
1035 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { in dequeueAccessUnitH264()
1038 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264()
1047 ABitReader br(nalStart + 1, nalSize); in dequeueAccessUnitH264()
1184 pos.nalOffset = nalStart - mBuffer->data(); in dequeueAccessUnitH264()