Home
last modified time | relevance | path

Searched refs:nalType (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp93 unsigned nalType = data[0] & 0x1f; in addNALUnit() local
94 if (nalType >= 1 && nalType <= 23) { in addNALUnit()
99 } else if (nalType == 28) { in addNALUnit()
102 } else if (nalType == 24) { in addNALUnit()
109 } else if (nalType == 0) { in addNALUnit()
117 ALOGV("Ignoring unsupported buffer (nalType=%d)", nalType); in addNALUnit()
211 uint32_t nalType = data[1] & 0x1f; in addFragmentedNALUnit() local
244 || (data[1] & 0x1f) != nalType in addFragmentedNALUnit()
290 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit()
DAPacketSource.cpp140 uint8_t nalType = nal->data()[0] & 0x1f; in MakeAVCCodecSpecificData() local
142 CHECK_EQ((unsigned)nalType, 7u); in MakeAVCCodecSpecificData()
144 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData()
146 if (nalType == 7) { in MakeAVCCodecSpecificData()
150 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData()
DARTPWriter.cpp614 unsigned nalType = mediaData[0]; in sendAVCData() local
640 data[12] = 28 | (nalType & 0xe0); in sendAVCData()
647 | (nalType & 0x1f); in sendAVCData()
/frameworks/av/media/libstagefright/mpeg2ts/
DHlsSampleDecryptor.cpp81 unsigned nalType = nalData[0] & 0x1f; in processNal() local
83 ALOGV("processNal[%d]: (%p)/%zu Skipping due to invalid key", nalType, nalData, nalSize); in processNal()
88 ALOGV("processNal[%d]: (%p)/%zu isEncrypted: %d", nalType, nalData, nalSize, isEncrypted); in processNal()
95 ALOGV("processNal:unescapeStream[%d]: %zu -> %zu", nalType, nalSize, newSize); in processNal()
138 ALOGV("processNal[%d]: Unencrypted NALU (%p)/%zu", nalType, nalData, nalSize); in processNal()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp350 static sp<ABuffer> FindNAL(const uint8_t *data, size_t size, unsigned nalType) { in FindNAL() argument
354 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL()
478 unsigned nalType = nalStart[0] & 0x1f; in IsIDR() local
480 if (nalType == 5) { in IsIDR()
505 unsigned nalType = nalStart[0] & 0x1f; in IsAVCReferenceFrame() local
507 if (nalType == 5) { in IsAVCReferenceFrame()
509 } else if (nalType == 1) { in IsAVCReferenceFrame()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2CCDecoder.cpp246 unsigned nalType = data[0] & 0x1f; in parseSEINalUnit() local
249 if (nalType != 6) { in parseSEINalUnit()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp247 unsigned nalType = data[0] & 0x1f; in parseSEINalUnit() local
250 if (nalType != 6) { in parseSEINalUnit()
/frameworks/av/cmds/stagefright/
Dstagefright.cpp488 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local
489 if (nalType == 5) { in isIDRFrame()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5553 uint16_t nalType = (nalHeader >> 9) & 0x3Fu; in parseHEVCLayerId() local
5554 if (nalType == TSA_N || nalType == TSA_R || nalType == STSA_N || nalType == STSA_R) { in parseHEVCLayerId()