Searched refs:nalType (Results 1 – 8 of 8) sorted by relevance
93 unsigned nalType = data[0] & 0x1f; in addNALUnit() local94 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() local244 || (data[1] & 0x1f) != nalType in addFragmentedNALUnit()290 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit()
141 uint8_t nalType = nal->data()[0] & 0x1f; in MakeAVCCodecSpecificData() local143 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()
612 unsigned nalType = mediaData[0]; in sendAVCData() local638 data[12] = 28 | (nalType & 0xe0); in sendAVCData()645 | (nalType & 0x1f); in sendAVCData()
302 static sp<ABuffer> FindNAL(const uint8_t *data, size_t size, unsigned nalType) { in FindNAL() argument306 if ((nalStart[0] & 0x1f) == nalType) { in FindNAL()434 unsigned nalType = nalStart[0] & 0x1f; in IsIDR() local436 if (nalType == 5) { in IsIDR()454 unsigned nalType = nalStart[0] & 0x1f; in IsAVCReferenceFrame() local456 if (nalType == 5) { in IsAVCReferenceFrame()458 } else if (nalType == 1) { in IsAVCReferenceFrame()
805 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264() local808 if (nalType == 1 || nalType == 5) { in dequeueAccessUnitH264()809 if (nalType == 5) { in dequeueAccessUnitH264()824 } else if ((nalType == 9 || nalType == 7) && foundSlice) { in dequeueAccessUnitH264()829 } else if (nalType == 6 && nalSize > 0) { in dequeueAccessUnitH264()856 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f; in dequeueAccessUnitH264() local858 if (nalType == 6 && pos.nalSize > 0) { in dequeueAccessUnitH264()870 sprintf(tmp, "0x%02x", nalType); in dequeueAccessUnitH264()
213 unsigned nalType = nalStart[0] & 0x1f; in parseSEINalUnit() local216 if (nalType != 6) { in parseSEINalUnit()
380 uint8_t nalType = nalStart[0] & 0x1f; in queueAVCBuffer() local393 dst[1] = nalType; in queueAVCBuffer()
462 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local463 if (nalType == 5) { in isIDRFrame()