/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.h | 32 struct ABuffer; 63 sp<ABuffer> clearSizes, sp<ABuffer> encSizes); 68 sp<ABuffer> dequeueAccessUnit(); 91 sp<ABuffer> mClearSizes; 92 sp<ABuffer> mEncSizes; 99 sp<ABuffer> mBuffer; 102 sp<ABuffer> mScrambledBuffer; 116 sp<ABuffer> dequeueAccessUnitH264(); 117 sp<ABuffer> dequeueAccessUnitAAC(); 118 sp<ABuffer> dequeueAccessUnitAC3(); [all …]
|
D | ESQueue.cpp | 464 sp<ABuffer> buffer = new ABuffer(neededSize); in appendData() 498 sp<ABuffer> clearSizes, sp<ABuffer> encSizes) { in appendScrambledData() 509 sp<ABuffer> buffer = new ABuffer(neededSize); in appendScrambledData() 534 sp<ABuffer> ElementaryStreamQueue::dequeueScrambledAccessUnit() { in dequeueScrambledAccessUnit() 546 sp<ABuffer> clearSizes, encSizes; in dequeueScrambledAccessUnit() 572 sp<ABuffer> scrambledAccessUnit = ABuffer::CreateAsCopy( in dequeueScrambledAccessUnit() 616 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnit() { in dequeueAccessUnit() 625 sp<ABuffer> accessUnit = new ABuffer(info.mLength); in dequeueAccessUnit() 666 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitAC3() { in dequeueAccessUnitAC3() 714 sp<ABuffer> accessUnit = new ABuffer(syncStartPos + payloadSize); in dequeueAccessUnitAC3() [all …]
|
D | AnotherPacketSource.cpp | 99 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in getFormat() 101 sp<ABuffer> buffer = *it; in getFormat() 116 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit() 160 void AnotherPacketSource::requeueAccessUnit(const sp<ABuffer> &buffer) { in requeueAccessUnit() 177 const sp<ABuffer> buffer = *mBuffers.begin(); in read() 216 sp<ABuffer> sei; in read() 221 sp<ABuffer> mpegUserData; in read() 230 sp<ABuffer> clearBytesBuffer, encBytesBuffer; in read() 274 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) { in queueAccessUnit() 353 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in queueDiscontinuity() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 26 ABuffer::ABuffer(size_t capacity) in ABuffer() function in android::ABuffer 41 ABuffer::ABuffer(void *data, size_t capacity) in ABuffer() function in android::ABuffer 52 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy() 54 sp<ABuffer> res = new ABuffer(capacity); in CreateAsCopy() 62 ABuffer::~ABuffer() { in ~ABuffer() 73 void ABuffer::setRange(size_t offset, size_t size) { in setRange() 81 sp<AMessage> ABuffer::meta() { in meta() 88 MediaBufferBase *ABuffer::getMediaBufferBase() { in getMediaBufferBase() 95 void ABuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { in CopyTimes() 72 sp<ABuffer> ARTPAssembler::MakeADTSCompoundFromAACFrames( in MakeADTSCompoundFromAACFrames() 76 const List<sp<ABuffer> > &frames) { in MakeADTSCompoundFromAACFrames() 78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeADTSCompoundFromAACFrames() 86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 88 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() 122 sp<ABuffer> ARTPAssembler::MakeCompoundFromPackets( in MakeCompoundFromPackets() 123 const List<sp<ABuffer> > &packets) { in MakeCompoundFromPackets() 125 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() [all …]
|
D | ARTPAssembler.h | 27 struct ABuffer; 47 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from); 49 static sp<ABuffer> MakeADTSCompoundFromAACFrames( 53 const List<sp<ABuffer> > &frames); 55 static sp<ABuffer> MakeCompoundFromPackets( 56 const List<sp<ABuffer> > &frames);
|
D | AAVCAssembler.cpp | 48 List<sp<ABuffer> > *queue = source->queue(); in addNALUnit() 55 List<sp<ABuffer> >::iterator it = queue->begin(); in addNALUnit() 69 sp<ABuffer> buffer = *queue->begin(); in addNALUnit() 126 void AAVCAssembler::addSingleNALUnit(const sp<ABuffer> &buffer) { in addSingleNALUnit() 143 bool AAVCAssembler::addSingleTimeAggregationPacket(const sp<ABuffer> &buffer) { in addSingleTimeAggregationPacket() 162 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() 181 List<sp<ABuffer> > *queue) { in addFragmentedNALUnit() 184 sp<ABuffer> buffer = *queue->begin(); in addFragmentedNALUnit() 226 List<sp<ABuffer> >::iterator it = ++queue->begin(); in addFragmentedNALUnit() 230 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() [all …]
|
D | ARTPSource.h | 29 struct ABuffer; 40 void processRTPPacket(const sp<ABuffer> &buffer); 44 List<sp<ABuffer> > *queue() { return &mQueue; } in queue() 46 void addReceiverReport(const sp<ABuffer> &buffer); 47 void addFIR(const sp<ABuffer> &buffer); 54 List<sp<ABuffer> > mQueue; 66 bool queuePacket(const sp<ABuffer> &buffer);
|
D | APacketSource.cpp | 72 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex() 78 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex() 107 static sp<ABuffer> MakeAVCCodecSpecificData( in MakeAVCCodecSpecificData() 113 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 sp<ABuffer> MakeAACCodecSpecificData(const char *params) { in MakeAACCodecSpecificData() [all …]
|
D | AAVCAssembler.h | 28 struct ABuffer; 48 List<sp<ABuffer> > mNALUnits; 51 void addSingleNALUnit(const sp<ABuffer> &buffer); 52 AssemblyStatus addFragmentedNALUnit(List<sp<ABuffer> > *queue); 53 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
|
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() 456 sp<ABuffer> config = decodeHex(val); in AMPEG4AudioAssembler() 491 List<sp<ABuffer> > *queue = source->queue(); in addPacket() 498 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() 512 sp<ABuffer> buffer = *queue->begin(); in addPacket() [all …]
|
/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 …]
|
D | ecm.cpp | 39 status_t Ecm::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() 63 const sp<ABuffer>& buffer_as_binary, in Decrypt() 71 sp<ABuffer> content_key; in Decrypt() 96 status_t EcmDescriptor::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() 102 sp<ABuffer> id_buffer = new ABuffer(buffer_as_binary->data(), kIdSizeBytes); in Parse() 108 sp<ABuffer> ecm_buffer = new ABuffer( in Parse() 143 status_t EcmContainer::Parse(const sp<ABuffer>& buffer_as_binary) { in Parse() 152 sp<ABuffer> count_buffer = new ABuffer( in Parse() 176 sp<ABuffer> descriptor_buffer = new ABuffer( in Parse()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | TSPacketizer.cpp | 54 sp<ABuffer> prependCSD(const sp<ABuffer> &accessUnit) const; 55 sp<ABuffer> prependADTSHeader(const sp<ABuffer> &accessUnit) const; 58 sp<ABuffer> descriptorAt(size_t index) const; 75 Vector<sp<ABuffer> > mCSD; 77 Vector<sp<ABuffer> > mDescriptors; 108 sp<ABuffer> csd; in extractCSDIfNecessary() 176 sp<ABuffer> TSPacketizer::Track::prependCSD( in prependCSD() 177 const sp<ABuffer> &accessUnit) const { in prependCSD() 183 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); in prependCSD() 186 const sp<ABuffer> &csd = mCSD.itemAt(i); in prependCSD() [all …]
|
D | Converter.h | 25 struct ABuffer; 61 void feedAccessUnit(const sp<ABuffer> &accessUnit); 115 List<sp<ABuffer> > mInputBufferQueue; 117 sp<ABuffer> mCSD0; 126 sp<ABuffer> mPartialAudioAU; 148 static bool IsSilence(const sp<ABuffer> &accessUnit); 150 sp<ABuffer> prependCSD(const sp<ABuffer> &accessUnit) const;
|
D | TSPacketizer.h | 28 struct ABuffer; 51 size_t trackIndex, const sp<ABuffer> &accessUnit, 52 sp<ABuffer> *packets, 61 sp<ABuffer> prependCSD( 62 size_t trackIndex, const sp<ABuffer> &accessUnit) const; 78 Vector<sp<ABuffer> > mProgramInfoDescriptors;
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
D | RTPSender.h | 27 struct ABuffer; 55 const sp<ABuffer> &buffer, 92 List<sp<ABuffer> > mHistory; 97 status_t queueRawPacket(const sp<ABuffer> &tsPackets, uint8_t packetType); 98 status_t queueTSPackets(const sp<ABuffer> &tsPackets, uint8_t packetType); 99 status_t queueAVCBuffer(const sp<ABuffer> &accessUnit, uint8_t packetType); 102 const sp<ABuffer> &packet, bool storeInHistory, 107 status_t onRTCPData(const sp<ABuffer> &data);
|
D | RTPSender.cpp | 185 const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) { in queueBuffer() 209 const sp<ABuffer> &packet, uint8_t packetType) { in queueRawPacket() 215 sp<ABuffer> udpPacket = new ABuffer(12 + packet->size()); in queueRawPacket() 249 const sp<ABuffer> &tsPackets, uint8_t packetType) { in queueTSPackets() 257 sp<ABuffer> udpPacket = in queueTSPackets() 258 new ABuffer(12 + kMaxNumTSPacketsPerRTPPacket * 188); in queueTSPackets() 310 const sp<ABuffer> &accessUnit, uint8_t packetType) { in queueAVCBuffer() 316 List<sp<ABuffer> > packets; in queueAVCBuffer() 318 sp<ABuffer> out = new ABuffer(kMaxUDPPacketSize); in queueAVCBuffer() 351 out = new ABuffer(kMaxUDPPacketSize); in queueAVCBuffer() [all …]
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | ABuffer.h | 32 struct ABuffer : public RefBase { struct 33 explicit ABuffer(size_t capacity); 34 ABuffer(void *data, size_t capacity); 45 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity); argument 56 virtual ~ABuffer(); argument 72 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; 200 size_t playlistIndex, const sp<ABuffer> &buffer, 202 status_t checkDecryptPadding(const sp<ABuffer> &buffer); 237 const sp<ABuffer> &setAccessUnitProperties( 238 const sp<ABuffer> &accessUnit, 242 status_t extractAndQueueAccessUnitsFromTs(const sp<ABuffer> &buffer); 245 const sp<ABuffer> &buffer, const sp<AMessage> &itemMeta);
|
/frameworks/av/media/libmediaplayerservice/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 | 42 void decode(const sp<ABuffer> &accessUnit); 66 KeyedVector<int64_t, sp<ABuffer> > mCCMap; 75 sp<ABuffer> mDTVCCPacket; 81 bool extractFromSEI(const sp<ABuffer> &accessUnit); 85 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/libstagefright/wifi-display/ |
D | MediaSender.h | 30 struct ABuffer; 71 size_t trackIndex, const sp<ABuffer> &accessUnit); 92 List<sp<ABuffer> > mAccessUnits; 123 sp<ABuffer> accessUnit, 124 sp<ABuffer> *tsPackets);
|