Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp293 const uint8_t **nalStart, size_t *nalSize, in getNextNALUnit() argument
298 *nalStart = NULL; in getNextNALUnit()
349 *nalStart = &data[startOffset]; in getNextNALUnit()
364 const uint8_t *nalStart; in FindNAL() local
366 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in FindNAL()
367 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL()
369 memcpy(buffer->data(), nalStart, nalSize); in FindNAL()
483 const uint8_t *nalStart; in IsIDR() local
485 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in IsIDR()
491 unsigned nalType = nalStart[0] & 0x1f; in IsIDR()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
Davc_utils.h80 const uint8_t **nalStart, size_t *nalSize,
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1347 const uint8_t *nalStart; in dequeueAccessUnitH264() local
1354 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { in dequeueAccessUnitH264()
1357 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264()
1366 ABitReader br(nalStart + 1, nalSize); in dequeueAccessUnitH264()
1508 pos.nalOffset = nalStart - mBuffer->data(); in dequeueAccessUnitH264()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp4163 const uint8_t *nalStart; in amendOutputFormatWithCodecSpecificData() local
4165 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in amendOutputFormatWithCodecSpecificData()
4168 memcpy(csd->data() + 4, nalStart, nalSize); in amendOutputFormatWithCodecSpecificData()