Searched refs:nalType (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 93 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()
|
D | APacketSource.cpp | 140 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()
|
D | ARTPWriter.cpp | 614 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/ |
D | HlsSampleDecryptor.cpp | 81 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()
|
D | ESQueue.cpp | 1354 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264() local 1357 if (nalType == 1 || nalType == 5) { in dequeueAccessUnitH264() 1358 if (nalType == 5) { in dequeueAccessUnitH264() 1374 } else if ((nalType == 9 || nalType == 7) && foundSlice) { in dequeueAccessUnitH264() 1379 } else if (nalType == 6 && nalSize > 0) { in dequeueAccessUnitH264() 1407 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f; in dequeueAccessUnitH264() local 1409 if (nalType == 6 && pos.nalSize > 0) { in dequeueAccessUnitH264() 1421 sprintf(tmp, "0x%02x", nalType); in dequeueAccessUnitH264() 1430 if (mSampleDecryptor != NULL && (nalType == 1 || nalType == 5)) { in dequeueAccessUnitH264()
|
/frameworks/av/media/libstagefright/foundation/ |
D | avc_utils.cpp | 350 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/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 247 unsigned nalType = data[0] & 0x1f; in parseSEINalUnit() local 250 if (nalType != 6) { in parseSEINalUnit()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 487 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local 488 if (nalType == 5) { in isIDRFrame()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 5631 uint16_t nalType = (nalHeader >> 9) & 0x3Fu; in parseHEVCLayerId() local 5632 if (nalType == TSA_N || nalType == TSA_R || nalType == STSA_N || nalType == STSA_R) { in parseHEVCLayerId()
|