Home
last modified time | relevance | path

Searched refs:native_handle_t (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
DConversion.h86 native_handle_t* native_handle_create_from_fd(int fd);
99 int native_handle_read_fd(native_handle_t const* nh, int index = 0);
158 hidl_handle inHidlHandle(native_handle_t const* nh);
330 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh,
357 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l);
423 HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh,
462 std::vector<native_handle_t*>* nh,
521 std::vector<std::vector<native_handle_t*> >* nh,
555 std::vector<std::vector<native_handle_t*> >* nh,
653 native_handle_t** nh,
[all …]
DWGraphicBufferProducer.h102 native_handle_t* nh = nullptr; in dequeueBuffer()
112 std::vector<std::vector<native_handle_t*> > nhAA; in dequeueBuffer()
157 native_handle_t* nh = nullptr; in detachNextBuffer()
204 std::vector<std::vector<native_handle_t*> > nhAA; in queueBuffer()
250 std::vector<std::vector<native_handle_t*> > nhAA; in connect()
328 native_handle_t* nh = nullptr; in getLastQueuedBuffer()
350 std::vector<std::vector<native_handle_t*> > nhAA; in getFrameTimestamps()
/frameworks/av/camera/include/camera/
DCamera.h46 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle) = 0;
49 const std::vector<native_handle_t*>& handles) = 0;
122 void releaseRecordingFrameHandle(native_handle_t *handle);
126 const std::vector<native_handle_t*> handles);
175 …virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* hand…
178 const std::vector<native_handle_t*>& handles);
190 virtual void releaseRecordingFrameHandle(native_handle_t* handle);
192 const std::vector<native_handle_t*>& handles);
DICameraRecordingProxyListener.h41 native_handle_t* handle) = 0;
45 const std::vector<native_handle_t*>& handles) = 0;
DICameraRecordingProxy.h88 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
90 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/av/camera/
DICameraRecordingProxyListener.cpp53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp()
69 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch()
125 native_handle_t* handle = data.readNativeHandle(); in onTransact()
145 std::vector<native_handle_t*> handles; in onTransact()
159 native_handle_t* handle = data.readNativeHandle(); in onTransact()
DICameraRecordingProxy.cpp74 void releaseRecordingFrameHandle(native_handle_t *handle) { in releaseRecordingFrameHandle()
87 void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch()
152 std::vector<native_handle_t*> handles; in onTransact()
155 native_handle_t* handle = data.readNativeHandle(); in onTransact()
DICameraClient.cpp86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp()
98 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch()
171 native_handle_t* handle = data.readNativeHandle(); in onTransact()
191 std::vector<native_handle_t*> handles; in onTransact()
205 native_handle_t* handle = data.readNativeHandle(); in onTransact()
DCamera.cpp235 void Camera::releaseRecordingFrameHandle(native_handle_t* handle) in releaseRecordingFrameHandle()
244 const std::vector<native_handle_t*> handles) { in releaseRecordingFrameHandleBatch()
400 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) in recordingFrameHandleCallbackTimestamp()
431 const std::vector<native_handle_t*>& handles) in recordingFrameHandleCallbackTimestampBatch()
485 void Camera::RecordingProxy::releaseRecordingFrameHandle(native_handle_t* handle) { in releaseRecordingFrameHandle()
491 const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCameraSource.h145 native_handle_t* handle);
148 const std::vector<native_handle_t*>& handles);
220 virtual void releaseRecordingFrameHandle(native_handle_t* handle);
222 virtual void releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles);
235 native_handle_t* handle);
239 const std::vector<native_handle_t*>& handles);
289 std::vector<native_handle_t*> mInflightReturnedHandles;
DCameraSourceTimeLapse.h155 native_handle_t* handle);
165 const std::vector<native_handle_t*>& handles);
/frameworks/native/libs/ui/
DGralloc2.cpp156 auto buffer = const_cast<native_handle_t*>(bufferHandle); in freeBuffer()
172 auto buffer = const_cast<native_handle_t*>(bufferHandle); in validateBufferSize()
189 auto buffer = const_cast<native_handle_t*>(bufferHandle); in getTransportSize()
212 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock()
247 auto buffer = const_cast<native_handle_t*>(bufferHandle); in lock()
281 auto buffer = const_cast<native_handle_t*>(bufferHandle); in unlock()
/frameworks/av/camera/include/camera/android/hardware/
DICameraClient.h43 native_handle_t* handle) = 0;
50 const std::vector<native_handle_t*>& handles) = 0;
DICamera.h102 virtual void releaseRecordingFrameHandle(native_handle_t *handle) = 0;
107 const std::vector<native_handle_t*>& handles) = 0;
/frameworks/av/media/libstagefright/bqhelper/
DConversion.cpp39 native_handle_t* native_handle_create_from_fd(int fd) { in native_handle_create_from_fd()
43 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd()
62 int native_handle_read_fd(native_handle_t const* nh, int index) { in native_handle_read_fd()
132 hidl_handle inHidlHandle(native_handle_t const* nh) { in inHidlHandle()
218 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
373 status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence()
446 bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) { in wrapAs()
499 native_handle_t* nh = native_handle_create_from_fd(fd); in convertTo()
635 HGraphicBufferProducer::FenceTimeSnapshot* t, native_handle_t** nh, in unflatten()
732 std::vector<native_handle_t*>* nh, in unflatten()
[all …]
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h29 typedef struct native_handle native_handle_t; typedef
52 uint32_t size, int32_t type, int32_t format, const native_handle_t *resource) = 0;
DSensorManager.h42 typedef struct native_handle native_handle_t; typedef
64 int createDirectChannel(size_t size, int channelType, const native_handle_t *channelData);
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp57 inline native_handle_t* native_handle_create_from_fd(int fd) { in native_handle_create_from_fd()
61 native_handle_t* nh = native_handle_create(1, 0); in native_handle_create_from_fd()
80 inline int native_handle_read_fd(native_handle_t const* nh, int index = 0) { in native_handle_read_fd()
147 native_handle_t* handle = t.nativeHandle == nullptr ? in convertTo()
230 inline status_t unflattenFence(hidl_handle* fence, native_handle_t** nh, in unflattenFence()
303 inline bool wrapAs(hidl_handle* t, native_handle_t** nh, Fence const& l) { in wrapAs()
356 native_handle_t* nh = native_handle_create_from_fd(fd); in convertTo()
481 HGraphicBufferProducer::QueueBufferInput* t, native_handle_t** nh, in unflatten()
532 native_handle_t** nh, in wrapAs()
621 native_handle_t** nh, in flatten()
[all …]
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h121 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method,
127 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, in GraphicBuffer()
135 native_handle_t* inHandle, bool keepOwnership);
229 status_t initWithHandle(const native_handle_t* handle,
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h121 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method,
127 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, in GraphicBuffer()
135 native_handle_t* inHandle, bool keepOwnership);
229 status_t initWithHandle(const native_handle_t* handle,
/frameworks/av/media/libstagefright/
DCameraSource.cpp59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle);
63 const std::vector<native_handle_t*>& handles);
110 native_handle_t* handle) { in postRecordingFrameHandleTimestamp()
119 const std::vector<native_handle_t*>& handles) { in postRecordingFrameHandleTimestampBatch()
963 native_handle_t* handle = nullptr; in releaseRecordingFrame()
1190 void CameraSource::releaseRecordingFrameHandle(native_handle_t* handle) { in releaseRecordingFrameHandle()
1203 void CameraSource::releaseRecordingFrameHandleBatch(const std::vector<native_handle_t*>& handles) { in releaseRecordingFrameHandleBatch()
1219 native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp()
1257 const std::vector<native_handle_t*>& handles) { in recordingFrameHandleCallbackTimestampBatch()
1268 native_handle_t* handle = handles[i]; in recordingFrameHandleCallbackTimestampBatch()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferFreedListener.h40 virtual void onBufferFreed(int streamId, const native_handle_t* handle) = 0;
/frameworks/native/libs/nativewindow/include/vndk/
Dhardware_buffer.h27 const native_handle_t* AHardwareBuffer_getNativeHandle(const AHardwareBuffer* buffer);
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp106 OMX_U32 audioHwSync, native_handle_t **sidebandHandle) { in configureVideoTunnelMode()
189 native_handle_t* fenceNh = native_handle_create_from_fd(fenceFd); in fillBuffer()
207 native_handle_t* fenceNh = native_handle_create_from_fd(fenceFd); in emptyBuffer()
236 native_handle_t* nh; in dispatchMessage()
317 native_handle_t* sidebandHandle = nullptr; in configureVideoTunnelMode()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp109 OMX_U32 audioHwSync, native_handle_t **sidebandHandle) { in configureVideoTunnelMode()
192 native_handle_t* fenceNh = native_handle_create_from_fd(fenceFd); in fillBuffer()
210 native_handle_t* fenceNh = native_handle_create_from_fd(fenceFd); in emptyBuffer()
239 native_handle_t* nh; in dispatchMessage()
320 native_handle_t* sidebandHandle = nullptr; in configureVideoTunnelMode()

1234