Home
last modified time | relevance | path

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

1234

/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.h51 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
98 static void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
100 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* …
103 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem,
105 void handlePostview(const sp<IMemory>& mem);
106 void handleRawPicture(const sp<IMemory>& mem);
107 void handleCompressedPicture(const sp<IMemory>& mem);
109 void handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr,
111 … handleGenericDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
/frameworks/av/media/libmedia/
DIMediaLogService.cpp42 virtual void registerWriter(const sp<IMemory>& shared, size_t size, const char *name) { in registerWriter()
52 virtual void unregisterWriter(const sp<IMemory>& shared) { in unregisterWriter()
73 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
82 sp<IMemory> shared = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
DIAudioTrack.cpp55 virtual sp<IMemory> getCblk() const in getCblk()
58 sp<IMemory> cblk; in getCblk()
62 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
115 virtual status_t allocateTimedBuffer(size_t size, sp<IMemory>* buffer) { in allocateTimedBuffer()
124 *buffer = interface_cast<IMemory>(reply.readStrongBinder()); in allocateTimedBuffer()
130 virtual status_t queueTimedBuffer(const sp<IMemory>& buffer, in queueTimedBuffer()
234 sp<IMemory> buffer; in onTransact()
244 sp<IMemory> buffer = interface_cast<IMemory>( in onTransact()
DIMediaMetadataRetriever.cpp119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) in getFrameAtTime()
134 return interface_cast<IMemory>(reply.readStrongBinder()); in getFrameAtTime()
137 sp<IMemory> extractAlbumArt() in extractAlbumArt()
149 return interface_cast<IMemory>(reply.readStrongBinder()); in extractAlbumArt()
229 sp<IMemory> bitmap = getFrameAtTime(timeUs, option); in onTransact()
246 sp<IMemory> albumArt = extractAlbumArt(); in onTransact()
DIAudioRecord.cpp45 virtual sp<IMemory> getCblk() const in getCblk()
48 sp<IMemory> cblk; in getCblk()
52 cblk = interface_cast<IMemory>(reply.readStrongBinder()); in getCblk()
DIStreamSource.cpp62 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { in setBuffers()
106 Vector<sp<IMemory> > buffers; in onTransact()
108 sp<IMemory> mem = in onTransact()
109 interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/include/media/stagefright/
DCameraSource.h32 class IMemory; variable
129 const sp<IMemory> &data);
176 virtual void releaseRecordingFrame(const sp<IMemory>& frame);
183 virtual void dataCallback(int32_t msgType, const sp<IMemory> &data) {} in dataCallback()
186 const sp<IMemory> &data);
194 List<sp<IMemory> > mFramesReceived;
195 List<sp<IMemory> > mFramesBeingEncoded;
206 void releaseOneRecordingFrame(const sp<IMemory>& frame);
DCameraSourceTimeLapse.h30 class IMemory; variable
139 const sp<IMemory> &data);
161 sp<IMemory> createIMemoryCopy(const sp<IMemory> &source_data);
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.h49 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
50 virtual sp<IMemory> extractAlbumArt();
66 sp<IMemory> mAlbumArt;
67 sp<IMemory> mThumbnail;
/frameworks/av/include/camera/
DCamera.h41 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr,
43 …virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) = 0;
105 void releaseRecordingFrame(const sp<IMemory>& mem);
144 virtual void dataCallback(int32_t msgType, const sp<IMemory>& dataPtr,
146 …virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& d…
156 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
DICameraRecordingProxyListener.h28 class IMemory; variable
36 const sp<IMemory>& data) = 0;
DICameraRecordingProxy.h26 class IMemory; variable
85 virtual void releaseRecordingFrame(const sp<IMemory>& mem) = 0;
DICameraClient.h38 virtual void dataCallback(int32_t msgType, const sp<IMemory>& data,
40 … dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
/frameworks/av/include/media/nbaio/
DNBLog.h119 Writer(size_t size, const sp<IMemory>& iMemory);
136 sp<IMemory> getIMemory() const { return mIMemory; } in getIMemory()
144 const sp<IMemory> mIMemory; // ref-counted version
178 Reader(size_t size, const sp<IMemory>& iMemory);
183 bool isIMemory(const sp<IMemory>& iMemory) const;
188 const sp<IMemory> mIMemory; // ref-counted version
/frameworks/av/services/audioflinger/
DPlaybackTracks.h32 const sp<IMemory>& sharedBuffer,
101 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer()
124 sp<IMemory> mSharedBuffer;
168 const sp<IMemory>& sharedBuffer,
176 TimedBuffer(const sp<IMemory>& buffer, int64_t pts);
177 const sp<IMemory>& buffer() const { return mBuffer; } in buffer()
182 sp<IMemory> mBuffer;
198 sp<IMemory>* buffer);
199 status_t queueTimedBuffer(const sp<IMemory>& buffer,
212 const sp<IMemory>& sharedBuffer,
DTrackBase.h46 const sp<IMemory>& sharedBuffer,
55 sp<IMemory> getCblk() const { return mCblkMemory; } in getCblk()
119 sp<IMemory> mCblkMemory;
/frameworks/av/camera/
DICameraClient.cpp54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, in dataCallback()
70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp()
103 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
120 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
DICameraRecordingProxyListener.cpp38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp()
63 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
DICameraRecordingProxy.cpp61 void releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame()
96 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact()
/frameworks/av/include/media/
DIAudioTrack.h41 virtual sp<IMemory> getCblk() const = 0;
74 sp<IMemory>* buffer) = 0;
78 virtual status_t queueTimedBuffer(const sp<IMemory>& buffer,
DAudioTrack.h208 const sp<IMemory>& sharedBuffer,
249 const sp<IMemory>& sharedBuffer = 0,
285 sp<IMemory> sharedBuffer() const { return mSharedBuffer; } in sharedBuffer()
640 const sp<IMemory>& sharedBuffer,
658 sp<IMemory> mCblkMemory;
715 sp<IMemory> mSharedBuffer;
767 status_t allocateTimedBuffer(size_t size, sp<IMemory>* buffer);
775 status_t queueTimedBuffer(const sp<IMemory>& buffer, int64_t pts);
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;
DIMediaMetadataRetriever.h40 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
41 virtual sp<IMemory> extractAlbumArt() = 0;
/frameworks/av/cmds/stagefright/
Dstream.cpp50 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
63 Vector<sp<IMemory> > mBuffers;
87 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { in setBuffers()
113 sp<IMemory> mem = mBuffers.itemAt(index); in onBufferAvailable()
130 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
142 Vector<sp<IMemory> > mBuffers;
196 const Vector<sp<IMemory> > &buffers) { in setBuffers()
222 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); in writeData()
/frameworks/native/libs/binder/
DIMemory.cpp87 friend class IMemory;
122 class BpMemory : public BpInterface<IMemory>
137 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const in fastPointer()
146 void* IMemory::pointer() const { in pointer()
155 size_t IMemory::size() const { in size()
161 ssize_t IMemory::offset() const { in offset()
170 : BpInterface<IMemory>(impl), mOffset(0), mSize(0) in BpMemory()
182 data.writeInterfaceToken(IMemory::getInterfaceDescriptor()); in getMemory()
216 CHECK_INTERFACE(IMemory, data, reply); in onTransact()

1234