/frameworks/av/soundtrigger/ |
D | ISoundTriggerClient.cpp | 43 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()
|
D | ISoundTrigger.cpp | 54 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/ |
D | StagefrightMetadataRetriever.h | 44 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(
|
D | MetadataRetrieverClient.h | 53 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;
|
D | MetadataRetrieverClient.cpp | 196 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/ |
D | CameraClient.h | 51 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/ |
D | IMediaLogService.cpp | 43 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/ |
D | SharedMemoryBuffer.h | 27 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;
|
D | FrameDecoder.h | 50 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/ |
D | IMediaMetadataRetriever.h | 45 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;
|
D | mediametadataretriever.h | 95 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();
|
D | MediaMetadataRetrieverInterface.h | 46 virtual sp<IMemory> getFrameAtTime( 48 virtual sp<IMemory> getImageAtIndex( 50 virtual sp<IMemory> getImageRectAtIndex( 53 std::vector<sp<IMemory> >* frames,
|
/frameworks/av/include/soundtrigger/ |
D | SoundTrigger.h | 50 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);
|
D | ISoundTriggerClient.h | 32 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/ |
D | CameraSource.h | 36 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);
|
D | CameraSourceTimeLapse.h | 33 class IMemory; variable 146 const sp<IMemory> &data); 191 sp<IMemory> createIMemoryCopy(const sp<IMemory> &source_data);
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.h | 96 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);
|
D | SoundTriggerHwService.cpp | 48 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/ |
D | IMediaMetadataRetriever.cpp | 150 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/ |
D | Reader.h | 34 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()
|
D | Writer.h | 33 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/ |
D | android_media_MediaHTTPConnection.h | 27 class IMemory; variable 37 sp<IMemory> getIMemory(); 50 sp<IMemory> mMemory;
|
/frameworks/av/camera/include/camera/ |
D | Camera.h | 43 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/ |
D | stream.cpp | 54 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/ |
D | IMemory.cpp | 92 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()
|