/frameworks/av/media/module/mpeg2ts/include/mpeg2ts/ |
D | ESQueue.h | 32 struct ABuffer; 69 sp<ABuffer> clearSizes, sp<ABuffer> encSizes); 74 sp<ABuffer> dequeueAccessUnit(); 97 sp<ABuffer> mClearSizes; 98 sp<ABuffer> mEncSizes; 105 sp<ABuffer> mBuffer; 108 sp<ABuffer> mScrambledBuffer; 122 sp<ABuffer> dequeueAccessUnitH264(); 123 sp<ABuffer> dequeueAccessUnitAAC(); 124 sp<ABuffer> dequeueAccessUnitEAC3(); [all …]
|
D | AnotherPacketSource.h | 30 struct ABuffer; 65 void queueAccessUnit(const sp<ABuffer> &buffer); 74 status_t dequeueAccessUnit(sp<ABuffer> *buffer); 75 void requeueAccessUnit(const sp<ABuffer> &buffer); 120 List<sp<ABuffer> > mBuffers;
|
/frameworks/av/media/module/foundation/ |
D | ABuffer.cpp | 25 ABuffer::ABuffer(size_t capacity) in ABuffer() function in android::ABuffer 39 ABuffer::ABuffer(void *data, size_t capacity) in ABuffer() function in android::ABuffer 49 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy() 51 sp<ABuffer> res = new ABuffer(capacity); in CreateAsCopy() 59 ABuffer::~ABuffer() { in ~ABuffer() 68 void ABuffer::setRange(size_t offset, size_t size) { in setRange() 76 sp<AMessage> ABuffer::meta() { in meta()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 66 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { in CopyTimes() 77 sp<ABuffer> ARTPAssembler::MakeADTSCompoundFromAACFrames( in MakeADTSCompoundFromAACFrames() 81 const List<sp<ABuffer> > &frames) { in MakeADTSCompoundFromAACFrames() 83 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 89 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeADTSCompoundFromAACFrames() 91 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 93 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() 127 sp<ABuffer> ARTPAssembler::MakeCompoundFromPackets( in MakeCompoundFromPackets() 128 const List<sp<ABuffer> > &packets) { in MakeCompoundFromPackets() 130 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() [all …]
|
D | APacketSource.cpp | 70 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex() 76 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex() 105 static sp<ABuffer> MakeAVCCodecSpecificData( in MakeAVCCodecSpecificData() 111 sp<ABuffer> profileLevelID = NULL; in MakeAVCCodecSpecificData() 119 Vector<sp<ABuffer> > paramSets; in MakeAVCCodecSpecificData() 136 sp<ABuffer> nal = decodeBase64(nalString); in MakeAVCCodecSpecificData() 173 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData() 190 sp<ABuffer> nal = paramSets.editItemAt(i); in MakeAVCCodecSpecificData() 208 sp<ABuffer> nal = paramSets.editItemAt(i + numSeqParameterSets); in MakeAVCCodecSpecificData() 223 static sp<ABuffer> MakeAACCodecSpecificData(const char *params) { in MakeAACCodecSpecificData() [all …]
|
D | AAVCAssembler.cpp | 58 List<sp<ABuffer>> *queue = source->queue(); in addNack() 61 List<sp<ABuffer> >::iterator it = queue->begin(); in addNack() 117 List<sp<ABuffer> > *queue = source->queue(); in addNALUnit() 124 sp<ABuffer> buffer = *queue->begin(); in addNALUnit() 290 void AAVCAssembler::checkSpsUpdated(const sp<ABuffer> &buffer) { in checkSpsUpdated() 309 void AAVCAssembler::checkIFrameProvided(const sp<ABuffer> &buffer) { in checkIFrameProvided() 327 bool AAVCAssembler::dropFramesUntilIframe(const sp<ABuffer> &buffer) { in dropFramesUntilIframe() 342 void AAVCAssembler::addSingleNALUnit(const sp<ABuffer> &buffer) { in addSingleNALUnit() 373 bool AAVCAssembler::addSingleTimeAggregationPacket(const sp<ABuffer> &buffer) { in addSingleTimeAggregationPacket() 392 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() [all …]
|
D | AHEVCAssembler.cpp | 67 List<sp<ABuffer>> *queue = source->queue(); in addNack() 70 List<sp<ABuffer> >::iterator it = queue->begin(); in addNack() 127 List<sp<ABuffer> > *queue = source->queue(); in addNALUnit() 134 sp<ABuffer> buffer = *queue->begin(); in addNALUnit() 297 void AHEVCAssembler::checkSpsUpdated(const sp<ABuffer> &buffer) { in checkSpsUpdated() 317 void AHEVCAssembler::checkIFrameProvided(const sp<ABuffer> &buffer) { in checkIFrameProvided() 334 bool AHEVCAssembler::dropFramesUntilIframe(const sp<ABuffer> &buffer) { in dropFramesUntilIframe() 343 void AHEVCAssembler::addSingleNALUnit(const sp<ABuffer> &buffer) { in addSingleNALUnit() 373 bool AHEVCAssembler::addSingleTimeAggregationPacket(const sp<ABuffer> &buffer) { in addSingleTimeAggregationPacket() 392 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() [all …]
|
D | AH263Assembler.cpp | 54 List<sp<ABuffer> > *queue = source->queue(); in addPacket() 61 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() 75 sp<ABuffer> buffer = *queue->begin(); in addPacket() 160 List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit() 162 const sp<ABuffer> &unit = *it; in submitAccessUnit() 168 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit() 172 const sp<ABuffer> &unit = *it; in submitAccessUnit()
|
D | AMPEG4AudioAssembler.cpp | 63 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex() 69 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex() 145 static status_t parseAudioSpecificConfig(ABitReader *bits, sp<ABuffer> *asc) { in parseAudioSpecificConfig() 239 *asc = new ABuffer(numBytes); in parseAudioSpecificConfig() 362 sp<ABuffer> AMPEG4AudioAssembler::removeLATMFraming(const sp<ABuffer> &buffer) { in removeLATMFraming() 365 sp<ABuffer> out = new ABuffer(buffer->size()); in removeLATMFraming() 461 sp<ABuffer> config = decodeHex(val); in AMPEG4AudioAssembler() 496 List<sp<ABuffer> > *queue = source->queue(); in addPacket() 503 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() 517 sp<ABuffer> buffer = *queue->begin(); in addPacket() [all …]
|
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/ |
D | AHEVCAssembler.h | 29 struct ABuffer; 35 typedef List<sp<ABuffer> > Queue; 56 List<sp<ABuffer> > mNALUnits; 59 void checkSpsUpdated(const sp<ABuffer> &buffer); 60 void checkIFrameProvided(const sp<ABuffer> &buffer); 61 bool dropFramesUntilIframe(const sp<ABuffer> &buffer); 63 void addSingleNALUnit(const sp<ABuffer> &buffer); 64 AssemblyStatus addFragmentedNALUnit(List<sp<ABuffer> > *queue); 65 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
|
D | AAVCAssembler.h | 29 struct ABuffer; 35 typedef List<sp<ABuffer> > Queue; 55 List<sp<ABuffer> > mNALUnits; 58 void checkSpsUpdated(const sp<ABuffer> &buffer); 59 void checkIFrameProvided(const sp<ABuffer> &buffer); 60 bool dropFramesUntilIframe(const sp<ABuffer> &buffer); 62 void addSingleNALUnit(const sp<ABuffer> &buffer); 63 AssemblyStatus addFragmentedNALUnit(List<sp<ABuffer> > *queue); 64 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
|
D | ARTPSource.h | 36 struct ABuffer; 62 void processRTPPacket(const sp<ABuffer> &buffer); 70 List<sp<ABuffer> > *queue() { return &mQueue; } in queue() 72 void addReceiverReport(const sp<ABuffer> &buffer); 73 void addFIR(const sp<ABuffer> &buffer); 74 void addTMMBR(const sp<ABuffer> &buffer, int32_t targetBitrate); 75 int addNACK(const sp<ABuffer> &buffer); 118 List<sp<ABuffer> > mQueue; 154 void calcTimeGapRtpRtcp(const sp<ABuffer> &buffer, int64_t nowUs); 155 void calcUnderlineDelay(const sp<ABuffer> &buffer, int64_t nowUs); [all …]
|
D | ARTPAssembler.h | 30 struct ABuffer; 48 inline int64_t findRTPTime(const uint32_t& firstRTPTime, const sp<ABuffer>& buffer); 58 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from); 60 static sp<ABuffer> MakeADTSCompoundFromAACFrames( 64 const List<sp<ABuffer> > &frames); 66 static sp<ABuffer> MakeCompoundFromPackets( 67 const List<sp<ABuffer> > &frames); 69 void showCurrentQueue(List<sp<ABuffer> > *queue); 80 inline int64_t ARTPAssembler::findRTPTime(const uint32_t& firstRTPTime, const sp<ABuffer>& buffer) { in findRTPTime()
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ecm.h | 137 status_t Parse(const sp<ABuffer>& buffer_as_binary); 152 status_t Decrypt(const sp<ABuffer>& buffer_as_binary, 158 const sp<ABuffer> buffer() const { return buffer_; } in buffer() 159 inline void set_buffer(const sp<ABuffer>& buffer) { in set_buffer() 160 buffer_ = ABuffer::CreateAsCopy(buffer->data(), buffer->size()); in set_buffer() 165 inline void set_content_key(const sp<ABuffer>& value) { in set_content_key() 166 content_key_ = ABuffer::CreateAsCopy(value->data(), value->size()); in set_content_key() 168 inline const sp<ABuffer> content_key() const { return content_key_; } in content_key() 189 sp<ABuffer> buffer_; 190 sp<ABuffer> content_key_; [all …]
|
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/ |
D | ABuffer.h | 31 struct ABuffer : public RefBase { struct 32 explicit ABuffer(size_t capacity); 33 ABuffer(void *data, size_t capacity); 44 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity); argument 52 virtual ~ABuffer(); argument 66 DISALLOW_EVIL_CONSTRUCTORS(ABuffer); argument
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 29 struct ABuffer; 113 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer); 114 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer); 141 KeyedVector<AString, sp<ABuffer> > mAESKeyForURI; 201 size_t playlistIndex, const sp<ABuffer> &buffer, 203 status_t checkDecryptPadding(const sp<ABuffer> &buffer); 238 const sp<ABuffer> &setAccessUnitProperties( 239 const sp<ABuffer> &accessUnit, 243 status_t extractAndQueueAccessUnitsFromTs(const sp<ABuffer> &buffer); 246 const sp<ABuffer> &buffer, const sp<AMessage> &itemMeta);
|
/frameworks/av/media/module/mpeg2ts/ |
D | AnotherPacketSource.cpp | 100 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in getFormat() 102 sp<ABuffer> buffer = *it; in getFormat() 117 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit() 161 void AnotherPacketSource::requeueAccessUnit(const sp<ABuffer> &buffer) { in requeueAccessUnit() 178 const sp<ABuffer> buffer = *mBuffers.begin(); in read() 217 sp<ABuffer> sei; in read() 222 sp<ABuffer> mpegUserData; in read() 228 sp<ABuffer> ap; in read() 238 sp<ABuffer> clearBytesBuffer, encBytesBuffer; in read() 289 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) { in queueAccessUnit() [all …]
|
D | ESQueue.cpp | 1170 sp<ABuffer> buffer = new ABuffer(neededSize); in appendData() 1205 sp<ABuffer> clearSizes, sp<ABuffer> encSizes) { in appendScrambledData() 1216 sp<ABuffer> buffer = new ABuffer(neededSize); in appendScrambledData() 1242 sp<ABuffer> ElementaryStreamQueue::dequeueScrambledAccessUnit() { in dequeueScrambledAccessUnit() 1253 sp<ABuffer> clearSizes, encSizes; in dequeueScrambledAccessUnit() 1345 sp<ABuffer> scrambledAccessUnit = ABuffer::CreateAsCopy( in dequeueScrambledAccessUnit() 1374 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnit() { in dequeueAccessUnit() 1387 sp<ABuffer> accessUnit = new ABuffer(info.mLength); in dequeueAccessUnit() 1439 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitDTSOrDTSHD() { in dequeueAccessUnitDTSOrDTSHD() 1476 sp<ABuffer> accessUnit = new ABuffer(syncStartPos + payloadSize); in dequeueAccessUnitDTSOrDTSHD() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/ |
D | NuPlayerDecoderPassThrough.h | 59 sp<ABuffer> mPendingAudioAccessUnit; 61 sp<ABuffer> mAggregateBuffer; 72 status_t dequeueAccessUnit(sp<ABuffer> *accessUnit); 73 sp<ABuffer> aggregateBuffer(const sp<ABuffer> &accessUnit);
|
D | NuPlayerCCDecoder.h | 43 void decode(const sp<ABuffer> &accessUnit); 67 KeyedVector<int64_t, sp<ABuffer> > mCCMap; 76 sp<ABuffer> mDTVCCPacket; 82 bool extractFromSEI(const sp<ABuffer> &accessUnit); 86 bool extractFromMPEGUserData(const sp<ABuffer> &accessUnit);
|
/frameworks/av/drm/mediacas/plugins/clearkey/tests/ |
D | ClearKeyFetcherTest.cpp | 72 sp<ABuffer> ecm_; 73 sp<ABuffer> content_key_[kTestEcmCount]; 79 ecm_ = new ABuffer((void*) (kTestEcmContainer), sizeof(kTestEcmContainer)); in SetUp() 80 content_key_[0] = new ABuffer( in SetUp() 82 content_key_[1] = new ABuffer( in SetUp()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 46 sp<ABuffer> mPsshBuf; 49 sp<ABuffer> U32ArrayToSizeBuf(size_t numSubSamples, uint32_t *data) { in U32ArrayToSizeBuf() 53 sp<ABuffer> sizebuf = new ABuffer(numSubSamples * sizeof(size_t)); in U32ArrayToSizeBuf() 186 sp<ABuffer> tmp = new ABuffer(buffer, capacity); in AMediaExtractor_readSampleData() 255 sp<ABuffer> buffer; in AMediaExtractor_getPsshInfo() 313 ex->mPsshBuf = new ABuffer(newsize); in AMediaExtractor_getPsshInfo() 395 sp<ABuffer> clearbuf; in AMediaExtractor_getSampleCryptoInfo() 396 sp<ABuffer> cryptedbuf; in AMediaExtractor_getSampleCryptoInfo() 474 sp<ABuffer> sei = ABuffer::CreateAsCopy(seiData, seiLength);; in AMediaExtractor_getSampleFormat() 482 sp<ABuffer> mpegUserData = ABuffer::CreateAsCopy(mpegUserDataPointer, mpegUserDataLength); in AMediaExtractor_getSampleFormat() [all …]
|
/frameworks/av/media/libstagefright/ |
D | BufferImpl.cpp | 39 : MediaCodecBuffer(format, new ABuffer(mem->unsecurePointer(), mem->size())), in SharedMemoryBuffer() 44 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())), in SharedMemoryBuffer() 51 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer() 57 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.h | 74 sp<ABuffer> getImageData() const { return mImageData; } in getImageData() 92 void setImageData(const sp<ABuffer> &imageData); 94 sp<ABuffer> mImageData; 216 std::function<sp<ABuffer>(size_t)> alloc); 225 const sp<ABuffer> &buffer, 228 const sp<ABuffer> &imageData, 284 std::function<sp<ABuffer>(size_t)> alloc); 296 std::function<sp<ABuffer>(size_t)> alloc); 308 const sp<ABuffer> &aBuffer, 311 const sp<ABuffer> &imageData, [all …]
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrame.cpp | 30 sp<ABuffer> toABuffer(MediaBufferBase *mbuf) { in toABuffer() 31 sp<ABuffer> abuf = new ABuffer(mbuf->range_length()); in toABuffer() 45 mData(new ABuffer(0)), in WebmFrame()
|