Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DAHEVCAssembler.cpp274 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in addNALUnit() local
275 if (nalType > 0 && nalType < H265_NALU_AP) { in addNALUnit()
280 } else if (nalType == H265_NALU_FU) { in addNALUnit()
283 } else if (nalType == H265_NALU_AP) { in addNALUnit()
290 } else if (nalType == 0) { in addNALUnit()
298 ALOGV("Ignoring unsupported buffer (nalType=%d)", nalType); in addNALUnit()
313 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in checkSpsUpdated() local
314 if (nalType == H265_NALU_SPS) { in checkSpsUpdated()
332 unsigned nalType = (data[0] >> 1) & H265_NALU_MASK; in checkIFrameProvided() local
333 if (nalType > 0x0F && nalType < 0x18) { in checkIFrameProvided()
[all …]
DAAVCAssembler.cpp264 unsigned nalType = data[0] & 0x1f; in addNALUnit() local
265 if (nalType >= 1 && nalType <= 23) { in addNALUnit()
270 } else if (nalType == 28) { in addNALUnit()
273 } else if (nalType == 24) { in addNALUnit()
280 } else if (nalType == 0) { in addNALUnit()
288 ALOGV("Ignoring unsupported buffer (nalType=%d)", nalType); in addNALUnit()
299 unsigned nalType = data[0] & 0x1f; in checkSpsUpdated() local
300 if (nalType == 0x7) { in checkSpsUpdated()
317 unsigned nalType = data[0] & 0x1f; in checkIFrameProvided() local
318 if (nalType == 0x5) { in checkIFrameProvided()
[all …]
DARTPWriter.cpp342 uint8_t nalType = (*NALPtr) & H264_NALU_MASK; in SpsPpsParser() local
345 if (nalType == H264_NALU_SPS) { in SpsPpsParser()
347 } else if (nalType == H264_NALU_PPS) { in SpsPpsParser()
352 ALOGV("SPS(7) or PPS(8) found. Type %d", nalType); in SpsPpsParser()
402 uint8_t nalType = ((*NALPtr) >> 1) & H265_NALU_MASK; in VpsSpsPpsParser() local
405 if (nalType == H265_NALU_VPS) { in VpsSpsPpsParser()
407 } else if (nalType == H265_NALU_SPS) { in VpsSpsPpsParser()
409 } else if (nalType == H265_NALU_PPS) { in VpsSpsPpsParser()
414 ALOGV("VPS(32) SPS(33) or PPS(34) found. Type %d", nalType); in VpsSpsPpsParser()
978 int nalType = ((mediaData[0] >> 1) & H265_NALU_MASK); in sendVPSSPSPPSIfIFrame() local
[all …]
DAPacketSource.cpp142 uint8_t nalType = nal->data()[0] & 0x1f; in MakeAVCCodecSpecificData() local
144 CHECK_EQ((unsigned)nalType, 7u); in MakeAVCCodecSpecificData()
146 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData()
148 if (nalType == 7) { in MakeAVCCodecSpecificData()
152 CHECK_EQ((unsigned)nalType, 8u); in MakeAVCCodecSpecificData()
/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()
DESQueue.cpp1354 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/
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.cpp555 uint8_t nalType = (nalStart[0] & 0x7E) >> 1; in IsHevcIDR() local
556 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.cpp487 uint8_t nalType = data[i + 3] & 0x1f; in isIDRFrame() local
488 if (nalType == 5) { in isIDRFrame()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp6086 uint16_t nalType = (nalHeader >> 9) & 0x3Fu; in parseHEVCLayerId() local
6087 if (nalType == TSA_N || nalType == TSA_R || nalType == STSA_N || nalType == STSA_R) { in parseHEVCLayerId()