Home
last modified time | relevance | path

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

123456

/frameworks/av/soundtrigger/
DISoundTriggerClient.cpp43 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory) in onRecognitionEvent()
53 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory) in onSoundModelEvent()
62 virtual void onServiceStateChange(const sp<IMemory>& eventMemory) in onServiceStateChange()
84 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact()
91 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact()
98 sp<IMemory> eventMemory = interface_cast<IMemory>( in onTransact()
DISoundTrigger.cpp54 status_t loadSoundModel(const sp<IMemory>& modelMemory, in loadSoundModel()
87 const sp<IMemory>& dataMemory) in startRecognition()
147 sp<IMemory> modelMemory = interface_cast<IMemory>( in onTransact()
169 sp<IMemory> dataMemory; in onTransact()
171 dataMemory = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.h44 virtual sp<IMemory> getFrameAtTime(
46 virtual sp<IMemory> getImageAtIndex(
48 virtual sp<IMemory> getImageRectAtIndex(
51 std::vector<sp<IMemory> >* frames,
74 sp<IMemory>* outFrame, std::vector<sp<IMemory> >* outFrames);
75 virtual sp<IMemory> getImageInternal(
DMetadataRetrieverClient.h53 virtual sp<IMemory> getFrameAtTime(
55 virtual sp<IMemory> getImageAtIndex(
57 virtual sp<IMemory> getImageRectAtIndex(
60 std::vector<sp<IMemory> > *frames,
62 virtual sp<IMemory> extractAlbumArt();
79 sp<IMemory> mAlbumArt;
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()
253 std::vector<sp<IMemory> > *frames, in getFrameAtIndex()
273 sp<IMemory> MetadataRetrieverClient::extractAlbumArt() in extractAlbumArt()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h51 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
107 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
109 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* …
114 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
116 void handlePostview(const sp<IMemory>& mem);
117 void handleRawPicture(const sp<IMemory>& mem);
118 void handleCompressedPicture(const sp<IMemory>& mem);
120 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
122 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
162 std::vector<sp<IMemory>> mAvailableCallbackBuffers;
/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/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;
DFrameDecoder.h50 sp<IMemory> extractFrame(FrameRect *rect = NULL);
52 status_t extractFrames(std::vector<sp<IMemory> >* frames);
54 static sp<IMemory> getMetadataOnly(
84 void addFrame(const sp<IMemory> &frame) { in addFrame()
94 std::vector<sp<IMemory> > mFrames;
/frameworks/av/media/libmedia/include/media/
DIMediaMetadataRetriever.h45 virtual sp<IMemory> getFrameAtTime(
47 virtual sp<IMemory> getImageAtIndex(
49 virtual sp<IMemory> getImageRectAtIndex(
52 std::vector<sp<IMemory> > *frames,
54 virtual sp<IMemory> extractAlbumArt() = 0;
Dmediametadataretriever.h95 sp<IMemory> getFrameAtTime(int64_t timeUs, int option,
97 sp<IMemory> getImageAtIndex(int index,
99 sp<IMemory> getImageRectAtIndex(
102 std::vector<sp<IMemory> > *frames, int frameIndex, int numFrames = 1,
104 sp<IMemory> extractAlbumArt();
DMediaMetadataRetrieverInterface.h46 virtual sp<IMemory> getFrameAtTime(
48 virtual sp<IMemory> getImageAtIndex(
50 virtual sp<IMemory> getImageRectAtIndex(
53 std::vector<sp<IMemory> >* frames,
/frameworks/av/include/soundtrigger/
DSoundTrigger.h50 status_t loadSoundModel(const sp<IMemory>& modelMemory,
55 status_t startRecognition(sound_model_handle_t handle, const sp<IMemory>& dataMemory);
60 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory);
61 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory);
62 virtual void onServiceStateChange(const sp<IMemory>& eventMemory);
DISoundTriggerClient.h32 virtual void onRecognitionEvent(const sp<IMemory>& eventMemory) = 0;
34 virtual void onSoundModelEvent(const sp<IMemory>& eventMemory) = 0;
36 virtual void onServiceStateChange(const sp<IMemory>& eventMemory) = 0;
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h36 class IMemory; variable
143 const sp<IMemory> &data);
220 virtual void releaseRecordingFrame(const sp<IMemory>& frame);
230 virtual void dataCallback(int32_t /*msgType*/, const sp<IMemory>& /*data*/) {} in dataCallback() argument
233 const sp<IMemory> &data);
253 List<sp<IMemory> > mFramesReceived;
254 List<sp<IMemory> > mFramesBeingEncoded;
279 List<sp<IMemory>> mMemoryBases;
291 std::vector<const sp<IMemory>> mInflightReturnedMemorys;
295 void releaseOneRecordingFrame(const sp<IMemory>& frame);
DCameraSourceTimeLapse.h33 class IMemory; variable
146 const sp<IMemory> &data);
191 sp<IMemory> createIMemoryCopy(const sp<IMemory> &source_data);
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.h96 CallbackEvent(event_type type, sp<IMemory> memory);
104 sp<IMemory> mMemory;
118 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
125 const sp<IMemory>& dataMemory);
169 virtual status_t loadSoundModel(const sp<IMemory>& modelMemory,
175 const sp<IMemory>& dataMemory);
224 sp<IMemory> prepareRecognitionEvent(struct sound_trigger_recognition_event *event);
228 sp<IMemory> prepareSoundModelEvent(struct sound_trigger_model_event *event);
231 sp<IMemory> prepareServiceStateEvent(sound_trigger_service_state_t state);
DSoundTriggerHwService.cpp48 size_t> CopyToArray(const sp<IMemory>& mem) { in CopyToArray()
228 sp<IMemory> SoundTriggerHwService::prepareRecognitionEvent( in prepareRecognitionEvent()
232 sp<IMemory> eventMemory; in prepareRecognitionEvent()
278 sp<IMemory> eventMemory = prepareRecognitionEvent(event); in sendRecognitionEvent()
305 sp<IMemory> SoundTriggerHwService::prepareSoundModelEvent(struct sound_trigger_model_event *event) in prepareSoundModelEvent()
308 sp<IMemory> eventMemory; in prepareSoundModelEvent()
324 sp<IMemory> eventMemory = prepareSoundModelEvent(event); in sendSoundModelEvent()
335 sp<IMemory> SoundTriggerHwService::prepareServiceStateEvent(sound_trigger_service_state_t state) in prepareServiceStateEvent()
338 sp<IMemory> eventMemory; in prepareServiceStateEvent()
353 sp<IMemory> eventMemory = prepareServiceStateEvent(state); in sendServiceStateEvent()
[all …]
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp150 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly) in getFrameAtTime()
168 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime()
171 sp<IMemory> getImageAtIndex(int index, int colorFormat, bool metaOnly, bool thumbnail) in getImageAtIndex()
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 status_t getFrameAtIndex(std::vector<sp<IMemory> > *frames, in getFrameAtIndex()
240 frames->push_back(interface_cast<IMemory>(reply.readStrongBinder())); in getFrameAtIndex()
245 sp<IMemory> extractAlbumArt() in extractAlbumArt()
257 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt()
[all …]
/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/base/media/jni/
Dandroid_media_MediaHTTPConnection.h27 class IMemory; variable
37 sp<IMemory> getIMemory();
50 sp<IMemory> mMemory;
/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;
119 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…
189 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
/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.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()
156 void* IMemory::pointer() const { in pointer()
165 size_t IMemory::size() const { in size()
171 ssize_t IMemory::offset() const { in offset()
180 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory()
193 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory()
242 CHECK_INTERFACE(IMemory, data, reply); in onTransact()

123456