Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DAHEVCAssembler.cpp264 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in addNALUnit() local
265 if (nalType > 0 && nalType < H265_NALU_AP) { in addNALUnit()
270 } else if (nalType == H265_NALU_FU) { in addNALUnit()
273 } else if (nalType == H265_NALU_AP) { in addNALUnit()
280 } else if (nalType == 0) { in addNALUnit()
288 ALOGV("Ignoring unsupported buffer (nalType=%d)", nalType); in addNALUnit()
303 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in checkSpsUpdated() local
304 if (nalType == H265_NALU_SPS) { in checkSpsUpdated()
322 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in checkIFrameProvided() local
323 if (nalType > 0x0F && nalType < 0x18) { in checkIFrameProvided()
[all …]
DAAVCAssembler.cpp257 unsigned nalType = data[0] & 0x1f; in addNALUnit() local
258 if (nalType >= 1 && nalType <= 23) { in addNALUnit()
263 } else if (nalType == 28) { in addNALUnit()
266 } else if (nalType == 24) { in addNALUnit()
273 } else if (nalType == 0) { in addNALUnit()
281 ALOGV("Ignoring unsupported buffer (nalType=%d)", nalType); in addNALUnit()
296 unsigned nalType = data[0] & 0x1f; in checkSpsUpdated() local
297 if (nalType == 0x7) { in checkSpsUpdated()
314 unsigned nalType = data[0] & 0x1f; in checkIFrameProvided() local
315 if (nalType == 0x5) { in checkIFrameProvided()
[all …]
DARTPWriter.cpp368 uint8_t nalType = (*NALPtr) & H264_NALU_MASK; in SpsPpsParser() local
371 if (nalType == H264_NALU_SPS) { in SpsPpsParser()
373 } else if (nalType == H264_NALU_PPS) { in SpsPpsParser()
378 ALOGV("SPS(7) or PPS(8) found. Type %d", nalType); in SpsPpsParser()
428 uint8_t nalType = ((*NALPtr) >> 1) & H265_NALU_MASK; in VpsSpsPpsParser() local
431 if (nalType == H265_NALU_VPS) { in VpsSpsPpsParser()
433 } else if (nalType == H265_NALU_SPS) { in VpsSpsPpsParser()
435 } else if (nalType == H265_NALU_PPS) { in VpsSpsPpsParser()
440 ALOGV("VPS(32) SPS(33) or PPS(34) found. Type %d", nalType); in VpsSpsPpsParser()
1004 int nalType = ((mediaData[0] >> 1) & H265_NALU_MASK); in sendVPSSPSPPSIfIFrame() local
[all …]
DAPacketSource.cpp141 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()
/frameworks/av/media/module/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()
DESQueue.cpp1960 unsigned nalType = nalStart[0] & 0x1f; in dequeueAccessUnitH264() local
1963 if (nalType == 1 || nalType == 5) { in dequeueAccessUnitH264()
1964 if (nalType == 5) { in dequeueAccessUnitH264()
1980 } else if ((nalType == 9 || nalType == 7) && foundSlice) { in dequeueAccessUnitH264()
1985 } else if (nalType == 6 && nalSize > 0) { in dequeueAccessUnitH264()
2013 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f; in dequeueAccessUnitH264() local
2015 if (nalType == 6 && pos.nalSize > 0) { in dequeueAccessUnitH264()
2027 sprintf(tmp, "0x%02x", nalType); in dequeueAccessUnitH264()
2036 if (mSampleDecryptor != NULL && (nalType == 1 || nalType == 5)) { in dequeueAccessUnitH264()
/frameworks/av/media/module/foundation/
Davc_utils.cpp363 static sp<ABuffer> FindNAL(const uint8_t *data, size_t size, unsigned nalType) { in FindNAL() argument
367 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL()
491 unsigned nalType = nalStart[0] & 0x1f; in IsIDR() local
493 if (nalType == 5) { in IsIDR()
518 unsigned nalType = nalStart[0] & 0x1f; in IsAVCReferenceFrame() local
520 if (nalType == 5) { in IsAVCReferenceFrame()
522 } else if (nalType == 1) { in IsAVCReferenceFrame()
/frameworks/av/media/libstagefright/
DHevcUtils.cpp556 uint8_t nalType = (nalStart[0] & 0x7E) >> 1; in IsHevcIDR() local
557 switch(nalType) { in IsHevcIDR()
/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.cpp494 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local
495 if (nalType == 5) { in isIDRFrame()
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp6118 uint16_t nalType = (nalHeader >> 9) & 0x3Fu; in parseHEVCLayerId() local
6119 if (nalType == TSA_N || nalType == TSA_R || nalType == STSA_N || nalType == STSA_R) { in parseHEVCLayerId()