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

12345678

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp48 #include <media/stagefright/foundation/ABuffer.h>
415 sp<ABuffer> buffer = new ABuffer(
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp29 #include <media/stagefright/foundation/ABuffer.h>
332 sp<ABuffer> buffer;
353 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j);
488 sp<ABuffer> abuffer = new ABuffer(dstBuffer->base(), dstBuffer->capacity());
H A DSimplePlayer.h23 struct ABuffer;
76 Vector<sp<ABuffer> > mCSD;
H A Dcodec.cpp30 #include <media/stagefright/foundation/ABuffer.h>
178 sp<ABuffer> abuffer = new ABuffer(buffer->base(), buffer->capacity());
H A Dmediafilter.cpp30 #include <media/stagefright/foundation/ABuffer.h>
536 sp<ABuffer> abuffer = new ABuffer(buffer->base(), buffer->capacity());
H A Dmuxer.cpp27 #include <media/stagefright/foundation/ABuffer.h>
159 sp<ABuffer> newBuffer = new ABuffer(bufferSize);
H A Dstagefright.cpp38 #include <media/stagefright/foundation/ABuffer.h>
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp25 #include <media/stagefright/foundation/ABuffer.h>
311 mEcmBuffer = ABuffer::CreateAsCopy(ecm, size);
326 const sp<ABuffer>& keyBytes = keys[keyIndex].key_bytes;
H A DClearKeyFetcher.cpp50 status_t ClearKeyFetcher::ObtainKey(const sp<ABuffer>& buffer,
H A DClearKeyFetcher.h50 status_t ObtainKey(const sp<ABuffer>& ecm, uint64_t* asset_id,
H A DClearKeySessionLibrary.cpp21 #include <media/stagefright/foundation/ABuffer.h>
H A DClearKeySessionLibrary.h28 struct ABuffer;
54 sp<ABuffer> mEcmBuffer;
H A DJsonAssetLoader.cpp20 #include <media/stagefright/foundation/ABuffer.h>
74 sp<ABuffer> JsonAssetLoader::decodeBase64String(const String8& encodedText) {
H A DJsonAssetLoader.h28 struct ABuffer;
45 static sp<ABuffer> decodeBase64String(
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.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...]
H A Decm_generator.cpp59 status_t DecodeECM(const sp<ABuffer>& ecm, Asset* asset,
60 sp<ABuffer> *content_key, DefaultEcmFields* default_fields) {
71 *content_key = new ABuffer(kContentKeyByteSize);
77 status_t DecodeECMClearFields(const sp<ABuffer>& ecm, Asset* asset,
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,
/frameworks/av/drm/mediacas/plugins/clearkey/tests/
H A DClearKeyFetcherTest.cpp72 sp<ABuffer> ecm_;
73 sp<ABuffer> content_key_[kTestEcmCount];
79 ecm_ = new ABuffer((void*) (kTestEcmContainer), sizeof(kTestEcmContainer));
80 content_key_[0] = new ABuffer(
82 content_key_[1] = new ABuffer(
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp18 #include <media/stagefright/foundation/ABuffer.h>
36 using android::ABuffer;
121 android::sp<ABuffer> buffer =
/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/include/media/stagefright/
H A DACodec.h38 struct ABuffer;
H A DDataURISource.h26 struct ABuffer;
39 sp<ABuffer> mBuffer;
41 DataURISource(const sp<ABuffer> &buffer);
H A DHevcUtils.h24 #include <media/stagefright/foundation/ABuffer.h>
102 Vector<sp<ABuffer>> mNalUnits;

Completed in 310 milliseconds

12345678