Home
last modified time | relevance | path

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

12345678

/aosp12/frameworks/av/media/libshmem/
H A 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()
H A 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()
/aosp12/frameworks/av/media/libmediaplayerservice/
H A 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;
H A 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(
H A 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()
/aosp12/frameworks/av/services/medialog/
H A 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()
/aosp12/frameworks/av/media/libmedia/include/media/
H A 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;
H A 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();
H A DMediaMetadataRetrieverInterface.h46 virtual sp<IMemory> getFrameAtTime(
48 virtual sp<IMemory> getImageAtIndex(
50 virtual sp<IMemory> getImageRectAtIndex(
52 virtual sp<IMemory> getFrameAtIndex(
H A 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;
/aosp12/system/libhidl/transport/allocator/1.0/vts/functional/
H A DVtsHidlAllocatorV1_0TargetTest.cpp31 using ::android::hidl::memory::V1_0::IMemory;
43 sp<IMemory> expectAllocateSuccess(size_t size) { in expectAllocateSuccess()
44 sp<IMemory> memory; in expectAllocateSuccess()
57 std::vector<sp<IMemory>> expectBatchAllocateSuccess(size_t size, size_t count) { in expectBatchAllocateSuccess()
58 std::vector<sp<IMemory>> memories; in expectBatchAllocateSuccess()
71 for (const sp<IMemory>& memory : memories) { in expectBatchAllocateSuccess()
99 sp<IMemory> memory = expectAllocateSuccess(kSize); in TEST_P()
/aosp12/frameworks/av/media/libshmem/include/media/
H A DShmemCompat.h39 sp<IMemory>* result);
50 sp<IMemory>* result);
59 bool convertIMemoryToSharedFileRegion(const sp<IMemory>& mem,
70 bool convertNullableIMemoryToSharedFileRegion(const sp<IMemory>& mem,
/aosp12/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp168 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime()
189 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageAtIndex()
192 sp<IMemory> getImageRectAtIndex( in getImageRectAtIndex()
213 return interface_cast<IMemory>(reply.readStrongBinder()); in getImageRectAtIndex()
216 sp<IMemory> getFrameAtIndex( in getFrameAtIndex()
234 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtIndex()
237 sp<IMemory> extractAlbumArt() in extractAlbumArt()
249 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt()
421 sp<IMemory> bitmap = getImageRectAtIndex( in onTransact()
445 sp<IMemory> frame = getFrameAtIndex(index, colorFormat, metaOnly); in onTransact()
[all …]
H A Dmediametadataretriever.cpp144 sp<IMemory> MediaMetadataRetriever::getFrameAtTime( in getFrameAtTime()
157 sp<IMemory> MediaMetadataRetriever::getImageAtIndex( in getImageAtIndex()
169 sp<IMemory> MediaMetadataRetriever::getImageRectAtIndex( in getImageRectAtIndex()
182 sp<IMemory> MediaMetadataRetriever::getFrameAtIndex( in getFrameAtIndex()
205 sp<IMemory> MediaMetadataRetriever::extractAlbumArt() in extractAlbumArt()
/aosp12/frameworks/av/media/libstagefright/include/
H A 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;
/aosp12/frameworks/av/media/libnblog/include/media/nblog/
H A 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()
H A 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
/aosp12/frameworks/av/media/libstagefright/include/media/stagefright/
H A 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);
/aosp12/frameworks/av/cmds/stagefright/
H A 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()
/aosp12/frameworks/base/media/jni/
H A Dandroid_media_MediaHTTPConnection.h27 class IMemory; variable
37 sp<IMemory> getIMemory();
50 sp<IMemory> mMemory;
/aosp12/frameworks/av/camera/include/camera/
H A DCamera.h42 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
44 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
114 void releaseRecordingFrame(const sp<IMemory>& mem);
169 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
171 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/test/
H A Dqcamera_test.h125 const sp<IMemory>& dataPtr,
130 const sp<IMemory>& dataPtr);
133 const sp<IMemory>& dataPtr);
140 status_t saveFile(const sp<IMemory>& mem, String8 path);
142 status_t decodeJPEG(const sp<IMemory>& mem, SkBitmap *skBM);
145 void previewCallback(const sp<IMemory>& mem);
178 sp<IMemory> PiPPtrTmp;
/aosp12/frameworks/native/libs/binder/
H A DIMemory.cpp92 friend class IMemory;
127 class BpMemory : public BpInterface<IMemory>
143 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer()
152 void* IMemory::unsecurePointer() const { in unsecurePointer()
161 void* IMemory::pointer() const { return unsecurePointer(); } in pointer()
163 size_t IMemory::size() const { in size()
169 ssize_t IMemory::offset() const { in offset()
178 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory()
191 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory()
240 CHECK_INTERFACE(IMemory, data, reply); in onTransact()
/aosp12/frameworks/av/camera/
H A 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()
/aosp12/system/libhidl/libhidlmemory/
H A Dmapping.cpp30 using android::hidl::memory::V1_0::IMemory;
53 sp<IMemory> mapMemory(const hidl_memory& memory) { in mapMemory()
76 Return<sp<IMemory>> ret = mapper->mapMemory(memory); in mapMemory()

12345678