Home
last modified time | relevance | path

Searched refs:nal (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DARTPAssembler.cpp88 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() local
95 unsigned frameLength = nal->size() + 7; in MakeADTSCompoundFromAACFrames()
112 memcpy(dst + 7, nal->data(), nal->size()); in MakeADTSCompoundFromAACFrames()
113 offset += nal->size() + 7; in MakeADTSCompoundFromAACFrames()
134 sp<ABuffer> nal = *it; in MakeCompoundFromPackets() local
135 memcpy(accessUnit->data() + offset, nal->data(), nal->size()); in MakeCompoundFromPackets()
136 offset += nal->size(); in MakeCompoundFromPackets()
DAPacketSource.cpp136 sp<ABuffer> nal = decodeBase64(nalString); in MakeAVCCodecSpecificData() local
137 CHECK(nal != NULL); in MakeAVCCodecSpecificData()
138 CHECK_GT(nal->size(), 0u); in MakeAVCCodecSpecificData()
139 CHECK_LE(nal->size(), 65535u); in MakeAVCCodecSpecificData()
141 uint8_t nalType = nal->data()[0] & 0x1f; in MakeAVCCodecSpecificData()
149 totalSeqParameterSetSize += nal->size(); in MakeAVCCodecSpecificData()
153 totalPicParameterSetSize += nal->size(); in MakeAVCCodecSpecificData()
156 paramSets.push(nal); in MakeAVCCodecSpecificData()
190 sp<ABuffer> nal = paramSets.editItemAt(i); in MakeAVCCodecSpecificData() local
192 *out++ = nal->size() >> 8; in MakeAVCCodecSpecificData()
[all …]
DAAVCAssembler.cpp335 sp<ABuffer> nal = *it; in submitAccessUnit() local
336 memcpy(accessUnit->data() + offset, nal->data(), nal->size()); in submitAccessUnit()
337 offset += nal->size(); in submitAccessUnit()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp200 const NALPosition *nal = (NALPosition *) sei->data(); in extractFromSEI() local
202 for (size_t i = 0; i < sei->size() / sizeof(NALPosition); ++i, ++nal) { in extractFromSEI()
204 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); in extractFromSEI()