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 | 141 uint8_t nalType = nal->data()[0] & 0x1f; in MakeAVCCodecSpecificData() local 143 CHECK_EQ((unsigned)nalType, 7u); in MakeAVCCodecSpecificData() 145 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData() 147 if (nalType == 7) { in MakeAVCCodecSpecificData() 151 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData()
|
D | ARTPWriter.cpp | 612 unsigned nalType = mediaData[0]; in sendAVCData() local 638 data[12] = 28 | (nalType & 0xe0); in sendAVCData() 645 | (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 | 1043 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264() local 1046 if (nalType == 1 || nalType == 5) { in dequeueAccessUnitH264() 1047 if (nalType == 5) { in dequeueAccessUnitH264() 1063 } else if ((nalType == 9 || nalType == 7) && foundSlice) { in dequeueAccessUnitH264() 1068 } else if (nalType == 6 && nalSize > 0) { in dequeueAccessUnitH264() 1096 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f; in dequeueAccessUnitH264() local 1098 if (nalType == 6 && pos.nalSize > 0) { in dequeueAccessUnitH264() 1110 sprintf(tmp, "0x%02x", nalType); in dequeueAccessUnitH264() 1119 if (mSampleDecryptor != NULL && (nalType == 1 || nalType == 5)) { in dequeueAccessUnitH264()
|
/frameworks/av/media/libstagefright/ |
D | avc_utils.cpp | 338 static sp<ABuffer> FindNAL(const uint8_t *data, size_t size, unsigned nalType) { in FindNAL() argument 342 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL() 474 unsigned nalType = nalStart[0] & 0x1f; in IsIDRInternal() local 476 if (nalType == 5) { in IsIDRInternal() 509 unsigned nalType = nalStart[0] & 0x1f; in IsAVCReferenceFrame() local 511 if (nalType == 5) { in IsAVCReferenceFrame() 513 } else if (nalType == 1) { in IsAVCReferenceFrame()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 233 unsigned nalType = data[0] & 0x1f; in parseSEINalUnit() local 236 if (nalType != 6) { in parseSEINalUnit()
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
D | RTPSender.cpp | 380 uint8_t nalType = nalStart[0] & 0x1f; in queueAVCBuffer() local 393 dst[1] = nalType; in queueAVCBuffer()
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 469 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local 470 if (nalType == 5) { in isIDRFrame()
|