Home
last modified time | relevance | path

Searched refs:IMemory (Results 1 – 25 of 129) sorted by relevance

123456

/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.h53 virtual sp<IMemory> getFrameAtTime(
55 virtual sp<IMemory> getImageAtIndex(
57 virtual sp<IMemory> getImageRectAtIndex(
59 virtual sp<IMemory> getFrameAtIndex(
61 virtual sp<IMemory> extractAlbumArt();
78 sp<IMemory> mAlbumArt;
DStagefrightMetadataRetriever.h44 virtual sp<IMemory> getFrameAtTime(
46 virtual sp<IMemory> getImageAtIndex(
48 virtual sp<IMemory> getImageRectAtIndex(
50 virtual sp<IMemory> getFrameAtIndex(
71 sp<IMemory> getFrameInternal(
74 sp<IMemory> getImageInternal(
DMetadataRetrieverClient.cpp196 sp<IMemory> MetadataRetrieverClient::getFrameAtTime( in getFrameAtTime()
207 sp<IMemory> frame = mRetriever->getFrameAtTime(timeUs, option, colorFormat, metaOnly); in getFrameAtTime()
215 sp<IMemory> MetadataRetrieverClient::getImageAtIndex( in getImageAtIndex()
225 sp<IMemory> frame = mRetriever->getImageAtIndex(index, colorFormat, metaOnly, thumbnail); in getImageAtIndex()
233 sp<IMemory> MetadataRetrieverClient::getImageRectAtIndex( in getImageRectAtIndex()
243 sp<IMemory> frame = mRetriever->getImageRectAtIndex( in getImageRectAtIndex()
251 sp<IMemory> MetadataRetrieverClient::getFrameAtIndex( in getFrameAtIndex()
262 sp<IMemory> frame = mRetriever->getFrameAtIndex(index, colorFormat, metaOnly); in getFrameAtIndex()
269 sp<IMemory> MetadataRetrieverClient::extractAlbumArt() in extractAlbumArt()
/frameworks/av/media/libshmem/
DShmemTest.cpp47 sp<IMemory> makeIMemory(const std::vector<uint8_t>& content, bool writeable = true) { in makeIMemory()
52 sp<IMemory> result = sp<MemoryBase>::make(heap, kOffset, content.size()); in makeIMemory()
66 sp<IMemory> reconstructed; in TEST()
69 sp<IMemory> imem = makeIMemory({6, 5, 3}); in TEST()
86 sp<IMemory> reconstructed; in TEST()
89 sp<IMemory> imem = makeIMemory({6, 5, 3}, false); in TEST()
106 sp<IMemory> reconstructed; in TEST()
109 sp<IMemory> imem; in TEST()
DShmemCompat.cpp26 sp<IMemory>* result) { in convertSharedFileRegionToIMemory()
62 bool convertIMemoryToSharedFileRegion(const sp<IMemory>& mem, in convertIMemoryToSharedFileRegion()
100 sp<IMemory>* result) { in convertNullableSharedFileRegionToIMemory()
111 bool convertNullableIMemoryToSharedFileRegion(const sp<IMemory>& mem, in convertNullableIMemoryToSharedFileRegion()
/frameworks/av/media/libshmem/include/media/
DShmemCompat.h39 sp<IMemory>* result);
50 sp<IMemory>* result);
59 bool convertIMemoryToSharedFileRegion(const sp<IMemory>& mem,
70 bool convertNullableIMemoryToSharedFileRegion(const sp<IMemory>& mem,
/frameworks/av/media/libstagefright/include/
DSharedMemoryBuffer.h27 class IMemory; variable
34 typedef ::android::hidl::memory::V1_0::IMemory TMemory;
35 SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem);
43 const sp<IMemory> mMemory;
/frameworks/av/media/libmedia/include/media/
DIMediaMetadataRetriever.h45 virtual sp<IMemory> getFrameAtTime(
47 virtual sp<IMemory> getImageAtIndex(
49 virtual sp<IMemory> getImageRectAtIndex(
51 virtual sp<IMemory> getFrameAtIndex(
53 virtual sp<IMemory> extractAlbumArt() = 0;
DMediaMetadataRetrieverInterface.h46 virtual sp<IMemory> getFrameAtTime(
48 virtual sp<IMemory> getImageAtIndex(
50 virtual sp<IMemory> getImageRectAtIndex(
52 virtual sp<IMemory> getFrameAtIndex(
Dmediametadataretriever.h98 sp<IMemory> getFrameAtTime(int64_t timeUs, int option,
100 sp<IMemory> getImageAtIndex(int index,
102 sp<IMemory> getImageRectAtIndex(
104 sp<IMemory> getFrameAtIndex(
106 sp<IMemory> extractAlbumArt();
DIMediaSource.h153 uint64_t lookup(const sp<IMemory> &mem) { in lookup()
169 uint64_t insert(const sp<IMemory> &mem) { in insert()
206 std::map<IMemory *, std::pair<sp<IMemory>, uint64_t>> mMemoryToIndex;
DIMediaLogService.h31 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) = 0;
32 virtual void unregisterWriter(const sp<IMemory>& shared) = 0;
/frameworks/av/services/medialog/
DIMediaLogService.cpp43 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter()
53 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter()
81 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
90 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp116 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly) in getFrameAtTime()
131 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime()
134 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) in getImageAtIndex()
149 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageAtIndex()
152 sp<IMemory> getImageRectAtIndex( in getImageRectAtIndex()
170 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageRectAtIndex()
173 sp<IMemory> getFrameAtIndex( in getFrameAtIndex()
188 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtIndex()
191 sp<IMemory> extractAlbumArt() in extractAlbumArt()
200 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt()
[all …]
Dmediametadataretriever.cpp140 sp<IMemory> MediaMetadataRetriever::getFrameAtTime( in getFrameAtTime()
153 sp<IMemory> MediaMetadataRetriever::getImageAtIndex( in getImageAtIndex()
165 sp<IMemory> MediaMetadataRetriever::getImageRectAtIndex( in getImageRectAtIndex()
178 sp<IMemory> MediaMetadataRetriever::getFrameAtIndex( in getFrameAtIndex()
201 sp<IMemory> MediaMetadataRetriever::extractAlbumArt() in extractAlbumArt()
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.h27 class IMemory; variable
37 sp<IMemory> getIMemory();
50 sp<IMemory> mMemory;
Dandroid_media_MediaDataSource.h44 virtual sp<IMemory> getIMemory();
62 sp<IMemory> mMemory;
/frameworks/av/media/libnblog/include/media/nblog/
DReader.h34 class IMemory; variable
50 Reader(const sp<IMemory>& iMemory, size_t size, const std::string &name);
55 bool isIMemory(const sp<IMemory>& iMemory) const;
68 sp<IMemory> mIMemory; // ref-counted version, assigned only in constructor
115 DumpReader(const sp<IMemory>& iMemory, size_t size, const std::string &name) in DumpReader()
DWriter.h33 class IMemory; variable
51 Writer(const sp<IMemory>& iMemory, size_t size);
80 sp<IMemory> getIMemory() const { return mIMemory; } in getIMemory()
103 sp<IMemory> mIMemory{}; // ref-counted version, initialized in constructor
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h35 class IMemory; variable
187 virtual void releaseRecordingFrame(const sp<IMemory>& frame);
204 List<sp<IMemory> > mFramesReceived;
205 List<sp<IMemory> > mFramesBeingEncoded;
227 List<sp<IMemory>> mMemoryBases;
239 std::vector<const sp<IMemory>> mInflightReturnedMemorys;
243 void releaseOneRecordingFrame(const sp<IMemory>& frame);
/frameworks/av/camera/include/camera/
DCamera.h43 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
45 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
117 void releaseRecordingFrame(const sp<IMemory>& mem);
172 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
174 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
/frameworks/av/camera/
DICameraClient.cpp59 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback()
75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp()
141 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
162 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/cmds/stagefright/
Dstream.cpp54 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
67 Vector<sp<IMemory> > mBuffers;
91 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { in setBuffers()
117 sp<IMemory> mem = mBuffers.itemAt(index); in onBufferAvailable()
134 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
146 Vector<sp<IMemory> > mBuffers;
208 const Vector<sp<IMemory> > &buffers) { in setBuffers()
234 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); in writeData()
/frameworks/native/libs/binder/
DIMemory.cpp93 friend class IMemory;
128 class BpMemory : public BpInterface<IMemory>
144 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer()
153 void* IMemory::unsecurePointer() const { in unsecurePointer()
162 void* IMemory::pointer() const { return unsecurePointer(); } in pointer()
164 size_t IMemory::size() const { in size()
170 ssize_t IMemory::offset() const { in offset()
179 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory()
192 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory()
241 CHECK_INTERFACE(IMemory, data, reply); in onTransact()
/frameworks/av/media/libmedia/include/android/
DIDataSource.h27 class IMemory; variable
36 virtual sp<IMemory> getIMemory() = 0;

123456