Searched refs:ABuffer (Results 1 - 25 of 182) sorted by relevance

12345678

/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp17 #include "ABuffer.h"
26 ABuffer::ABuffer(size_t capacity) function in class:android::ABuffer
41 ABuffer::ABuffer(void *data, size_t capacity) function in class:android::ABuffer
52 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity)
54 sp<ABuffer> res = new ABuffer(capacity);
62 ABuffer
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A Dbase64.h25 struct ABuffer;
28 sp<ABuffer> decodeBase64(const AString &s);
H A DABuffer.h32 struct ABuffer : public RefBase { struct in namespace:android
33 explicit ABuffer(size_t capacity);
34 ABuffer(void *data, size_t capacity);
45 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity);
56 virtual ~ABuffer();
72 DISALLOW_EVIL_CONSTRUCTORS(ABuffer);
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A Dbase64.h25 struct ABuffer;
28 sp<ABuffer> decodeBase64(const AString &s);
H A DABuffer.h32 struct ABuffer : public RefBase { struct in namespace:android
33 explicit ABuffer(size_t capacity);
34 ABuffer(void *data, size_t capacity);
45 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity);
56 virtual ~ABuffer();
72 DISALLOW_EVIL_CONSTRUCTORS(ABuffer);
/frameworks/av/media/libstagefright/include/foundation/
H A Dbase64.h25 struct ABuffer;
28 sp<ABuffer> decodeBase64(const AString &s);
H A DABuffer.h32 struct ABuffer : public RefBase { struct in namespace:android
33 explicit ABuffer(size_t capacity);
34 ABuffer(void *data, size_t capacity);
45 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity);
56 virtual ~ABuffer();
72 DISALLOW_EVIL_CONSTRUCTORS(ABuffer);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.h27 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);
H A DAAVCAssembler.h28 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);
H A DARTPSource.h29 struct ABuffer;
40 void processRTPPacket(const sp<ABuffer> &buffer);
44 List<sp<ABuffer> > *queue() { return &mQueue; }
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);
H A DARTPAssembler.cpp19 #include <media/stagefright/foundation/ABuffer.h>
61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) {
72 sp<ABuffer> ARTPAssembler::MakeADTSCompoundFromAACFrames(
76 const List<sp<ABuffer> > &frames) {
78 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
84 sp<ABuffer> accessUnit = new ABuffer(totalSize);
86 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
88 sp<ABuffer> na
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.h32 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> dequeueAccessUnitAA
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DKeyFetcher.h22 #include <media/stagefright/foundation/ABuffer.h>
34 sp<ABuffer> key_bytes;
49 virtual status_t ObtainKey(const sp<ABuffer>& ecm,
H A Decm_generator.h24 #include <media/stagefright/foundation/ABuffer.h>
81 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset,
82 sp<ABuffer> *content_key, DefaultEcmFields* default_fields);
105 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset,
H A Decm.cpp39 status_t Ecm::Parse(const sp<ABuffer>& buffer_as_binary) {
63 const sp<ABuffer>& buffer_as_binary,
71 sp<ABuffer> content_key;
96 status_t EcmDescriptor::Parse(const sp<ABuffer>& buffer_as_binary) {
102 sp<ABuffer> id_buffer = new ABuffer(buffer_as_binary->data(), kIdSizeBytes);
108 sp<ABuffer> ecm_buffer = new ABuffer(
143 status_t EcmContainer::Parse(const sp<ABuffer>& buffer_as_binary) {
152 sp<ABuffer> count_buffe
[all...]
H A Decm.h104 #include <media/stagefright/foundation/ABuffer.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_; }
159 inline void set_buffer(const sp<ABuffer>& buffer) {
160 buffer_ = ABuffer::CreateAsCopy(buffer->data(), buffer->size());
165 inline void set_content_key(const sp<ABuffer>& value) {
166 content_key_ = ABuffer::CreateAsCopy(value->data(), value->size());
168 inline const sp<ABuffer> content_key() const { return content_key_; }
189 sp<ABuffer> buffer
[all...]
/frameworks/av/include/media/stagefright/
H A DDataURISource.h26 struct ABuffer;
39 sp<ABuffer> mBuffer;
41 DataURISource(const sp<ABuffer> &buffer);
/frameworks/av/media/libstagefright/foundation/include/
H A DDataURISource.h26 struct ABuffer;
39 sp<ABuffer> mBuffer;
41 DataURISource(const sp<ABuffer> &buffer);
/frameworks/av/media/libstagefright/include/
H A DDataURISource.h26 struct ABuffer;
39 sp<ABuffer> mBuffer;
41 DataURISource(const sp<ABuffer> &buffer);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.h25 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;
H A DTSPacketizer.h28 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/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoderPassThrough.h59 sp<ABuffer> mPendingAudioAccessUnit;
61 sp<ABuffer> mAggregateBuffer;
72 status_t dequeueAccessUnit(sp<ABuffer> *accessUnit);
73 sp<ABuffer> aggregateBuffer(const sp<ABuffer> &accessUnit);
/frameworks/av/media/libstagefright/
H A DBufferImpl.cpp22 #include <media/stagefright/foundation/ABuffer.h>
33 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())),
38 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())),
43 : MediaCodecBuffer(format, new ABuffer(nullptr, size)),
49 : MediaCodecBuffer(format, new ABuffer(nullptr, size)),
/frameworks/av/include/media/
H A DMediaCodecBuffer.h27 struct ABuffer;
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
45 // ABuffer-like interface
51 // Default implementation calls ABuffer::setRange() and returns OK.
68 const sp<ABuffer> mBuffer;
/frameworks/av/media/libmedia/include/media/
H A DMediaCodecBuffer.h27 struct ABuffer;
36 MediaCodecBuffer(const sp<AMessage> &format, const sp<ABuffer> &buffer);
45 // ABuffer-like interface
51 // Default implementation calls ABuffer::setRange() and returns OK.
68 const sp<ABuffer> mBuffer;

Completed in 251 milliseconds

12345678