Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
Davc_utils.cpp268 const uint8_t **nalStart, size_t *nalSize, in getNextNALUnit() argument
273 *nalStart = NULL; in getNextNALUnit()
324 *nalStart = &data[startOffset]; in getNextNALUnit()
339 const uint8_t *nalStart; in FindNAL() local
341 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in FindNAL()
342 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL()
344 memcpy(buffer->data(), nalStart, nalSize); in FindNAL()
466 const uint8_t *nalStart; in IsIDRInternal() local
468 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in IsIDRInternal()
474 unsigned nalType = nalStart[0] & 0x1f; in IsIDRInternal()
[all …]
DMediaCodec.cpp3185 const uint8_t *nalStart; in amendOutputFormatWithCodecSpecificData() local
3187 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in amendOutputFormatWithCodecSpecificData()
3190 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.cpp1033 const uint8_t *nalStart; in dequeueAccessUnitH264() local
1040 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { in dequeueAccessUnitH264()
1043 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264()
1052 ABitReader br(nalStart + 1, nalSize); in dequeueAccessUnitH264()
1189 pos.nalOffset = nalStart - mBuffer->data(); in dequeueAccessUnitH264()