/frameworks/av/media/libstagefright/mpeg2ts/ |
D | HlsSampleDecryptor.cpp | 79 size_t HlsSampleDecryptor::processNal(uint8_t *nalData, size_t nalSize) { in processNal() argument 83 ALOGV("processNal[%d]: (%p)/%zu Skipping due to invalid key", nalType, nalData, nalSize); in processNal() 84 return nalSize; in processNal() 87 bool isEncrypted = (nalSize > VIDEO_CLEAR_LEAD + AES_BLOCK_SIZE); in processNal() 88 ALOGV("processNal[%d]: (%p)/%zu isEncrypted: %d", nalType, nalData, nalSize, isEncrypted); in processNal() 93 size_t newSize = unescapeStream(nalData, nalSize); in processNal() 95 ALOGV("processNal:unescapeStream[%d]: %zu -> %zu", nalType, nalSize, newSize); in processNal() 96 nalSize = newSize; in processNal() 110 size_t remainingBytes = nalSize - VIDEO_CLEAR_LEAD; in processNal() 123 return nalSize; // revisit this in processNal() [all …]
|
D | ESQueue.cpp | 1338 size_t nalSize; in dequeueAccessUnitH264() local 1344 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { in dequeueAccessUnitH264() 1345 if (nalSize == 0) continue; in dequeueAccessUnitH264() 1356 ABitReader br(nalStart + 1, nalSize); in dequeueAccessUnitH264() 1372 } else if (nalType == 6 && nalSize > 0) { in dequeueAccessUnitH264() 1402 if (nalType == 6 && pos.nalSize > 0) { in dequeueAccessUnitH264() 1409 seiPos.nalSize = pos.nalSize; in dequeueAccessUnitH264() 1425 size_t newSize = mSampleDecryptor->processNal(nalData, pos.nalSize); in dequeueAccessUnitH264() 1432 size_t thisShrunkBytes = pos.nalSize - newSize; in dequeueAccessUnitH264() 1441 pos.nalSize); in dequeueAccessUnitH264() [all …]
|
D | HlsSampleDecryptor.h | 40 size_t processNal(uint8_t *nalData, size_t nalSize);
|
/frameworks/av/media/libstagefright/foundation/ |
D | avc_utils.cpp | 280 const uint8_t **nalStart, size_t *nalSize, in getNextNALUnit() argument 286 *nalSize = 0; in getNextNALUnit() 337 *nalSize = endOffset - startOffset; in getNextNALUnit() 352 size_t nalSize; in FindNAL() local 353 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in FindNAL() 354 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) { in FindNAL() 355 sp<ABuffer> buffer = new ABuffer(nalSize); in FindNAL() 356 memcpy(buffer->data(), nalStart, nalSize); in FindNAL() 471 size_t nalSize; in IsIDR() local 472 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in IsIDR() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | AAVCAssembler.cpp | 155 size_t nalSize = (data[0] << 8) | data[1]; in addSingleTimeAggregationPacket() local 157 if (size < nalSize + 2) { in addSingleTimeAggregationPacket() 162 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() 163 memcpy(unit->data(), &data[2], nalSize); in addSingleTimeAggregationPacket() 169 data += 2 + nalSize; in addSingleTimeAggregationPacket() 170 size -= 2 + nalSize; in addSingleTimeAggregationPacket()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | avc_utils.h | 41 uint32_t nalSize; member 80 const uint8_t **nalStart, size_t *nalSize,
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1944 int32_t nalSize = -1; in addTracks() local 1959 nalSize = 1 + (codecPrivate[4] & 3); in addTracks() 1967 nalSize = 1 + (codecPrivate[14 + 7] & 3); in addTracks() 2216 trackInfo->mNalLengthSize = nalSize; in addTracks()
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
D | NuPlayer2CCDecoder.cpp | 238 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); in extractFromSEI()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 239 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); in extractFromSEI()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 3607 size_t nalSize; in amendOutputFormatWithCodecSpecificData() local 3608 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { in amendOutputFormatWithCodecSpecificData() 3609 sp<ABuffer> csd = new ABuffer(nalSize + 4); in amendOutputFormatWithCodecSpecificData() 3611 memcpy(csd->data() + 4, nalStart, nalSize); in amendOutputFormatWithCodecSpecificData()
|