Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 39) sorted by relevance

12

/device/google/marlin/camera/QCamera2/util/
DQCameraQueue.h41 typedef bool (*match_fn_data)(void *data, void *user_data, void *match_data);
42 typedef void (*release_data_fn)(void* data, void *user_data);
43 typedef bool (*match_fn)(void *data, void *user_data);
48 QCameraQueue(release_data_fn data_rel_fn, void *user_data);
DQCameraCmdThread.cpp94 void* user_data) in launch() argument
100 user_data); in launch()
DQCameraCmdThread.h63 int32_t launch(void *(*start_routine)(void *), void* user_data);
DQCameraQueue.cpp73 QCameraQueue::QCameraQueue(release_data_fn data_rel_fn, void *user_data) in QCameraQueue() argument
79 m_userData = user_data; in QCameraQueue()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraPostProc.h132 int32_t init(jpeg_encode_callback_t jpeg_cb, void *user_data);
182 static void releaseNotifyData(void *user_data,
186 static void releaseSaveJobData(void *data, void *user_data);
187 static void releaseRawData(void *data, void *user_data);
190 static void releaseJpegData(void *data, void *user_data);
191 static void releasePPInputData(void *data, void *user_data);
192 static void releaseOngoingPPData(void *data, void *user_data);
198 static bool matchJobId(void *data, void *user_data, void *match_data);
DQCameraStream.h116 static void releaseFrameData(void *data, void *user_data);
198 void *user_data);
206 void *user_data);
210 void *user_data);
214 void *user_data);
218 void *user_data);
220 static int32_t invalidate_buf(uint32_t index, void *user_data);
221 static int32_t clean_invalidate_buf(uint32_t index, void *user_data);
222 static int32_t clean_buf(uint32_t index, void *user_data);
DQCameraStream.cpp72 void *user_data) in get_bufs() argument
74 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in get_bufs()
116 void *user_data) in get_bufs_deffered() argument
118 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in get_bufs_deffered()
144 void *user_data) in put_bufs() argument
146 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in put_bufs()
178 void * user_data ) in put_bufs_deffered() argument
180 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in put_bufs_deffered()
203 int32_t QCameraStream::invalidate_buf(uint32_t index, void *user_data) in invalidate_buf() argument
205 QCameraStream *stream = reinterpret_cast<QCameraStream *>(user_data); in invalidate_buf()
[all …]
DQCameraMuxer.h203 static bool matchFrameId(void *data, void *user_data, void *match_data);
204 static bool findPreviousJpegs(void *data, void *user_data, void *match_data);
205 static void releaseJpegInfo(void *data, void *user_data);
DQCamera2HWI.h120 typedef void (*camera_release_callback)(void *user_data,
138 void *user_data; // any data needs to be released after callback member
170 static void releaseNotifications(void *data, void *user_data);
171 static bool matchSnapshotNotifications(void *data, void *user_data);
172 static bool matchPreviewNotifications(void *data, void *user_data);
173 static bool matchTimestampNotifications(void *data, void *user_data);
497 void *user_data);
687 void *user_data; member
DQCamera2HWICallbacks.cpp1086 cbArg.user_data = previewMem; in sendPreviewCallback()
1089 cbArg.user_data = dataToApp; in sendPreviewCallback()
1172 cbArg.user_data = (void *) &frame->buf_idx; in nodisplay_preview_stream_cb_routine()
1257 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
1296 cbArg.user_data = (void *) &frame->buf_idx; in rdi_mode_stream_cb_routine()
3062 void QCameraCbNotifier::releaseNotifications(void *data, void *user_data) in releaseNotifications() argument
3066 if ( ( NULL != arg ) && ( NULL != user_data ) ) { in releaseNotifications()
3068 arg->release_cb(arg->user_data, arg->cookie, FAILED_TRANSACTION); in releaseNotifications()
3236 cb->release_cb(cb->user_data, cb->cookie, in cbNotifyRoutine()
3253 cb->release_cb(cb->user_data, cb->cookie, in cbNotifyRoutine()
[all …]
/device/google/marlin/camera/QCamera2/HAL3/
DQCamera3PostProc.h117 void *user_data);
152 static void releaseNotifyData(void *user_data, void *cookie);
155 static void releaseJpegData(void *data, void *user_data);
156 static void releasePPInputData(void *data, void *user_data);
157 static void releaseMetadata(void *data, void *user_data);
158 static void releaseOngoingPPData(void *data, void *user_data);
DQCamera3Stream.h99 static void releaseFrameData(void *data, void *user_data);
145 void *user_data);
148 void *user_data);
149 static int32_t invalidate_buf(uint32_t index, void *user_data);
150 static int32_t clean_invalidate_buf(uint32_t index, void *user_data);
151 static int32_t clean_buf(uint32_t index, void *user_data);
DQCamera3Stream.cpp86 void *user_data) in get_bufs() argument
89 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in get_bufs()
123 void *user_data) in put_bufs() argument
126 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in put_bufs()
155 int32_t QCamera3Stream::invalidate_buf(uint32_t index, void *user_data) in invalidate_buf() argument
159 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in invalidate_buf()
195 int32_t QCamera3Stream::clean_invalidate_buf(uint32_t index, void *user_data) in clean_invalidate_buf() argument
199 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in clean_invalidate_buf()
235 int32_t QCamera3Stream::clean_buf(uint32_t index, void *user_data) in clean_buf() argument
239 QCamera3Stream *stream = reinterpret_cast<QCamera3Stream *>(user_data); in clean_buf()
[all …]
/device/google/marlin/camera/QCamera2/stack/common/
Dmm_camera_interface.h197 void *user_data);
205 void *user_data);
266 void *user_data; member
268 void *user_data);
274 void *user_data);
276 void *user_data);
277 int32_t (*invalidate_buf)(uint32_t index, void *user_data);
278 int32_t (*clean_invalidate_buf)(uint32_t index, void *user_data);
279 int32_t (*clean_buf)(uint32_t index, void *user_data);
411 void *user_data);
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h134 typedef void (*mm_camera_cmd_cb_t)(mm_camera_cmdcb_t * cmd_cb, void* user_data);
143 void* user_data; /* user_data for cb */ member
155 typedef void (*mm_camera_poll_notify_t)(void *user_data);
161 void* user_data; member
217 void *user_data; member
391 void *user_data; member
509 void *user_data; member
589 void * user_data);
675 void * user_data);
768 void* user_data);
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_app.h187 typedef void (*release_data_fn)(void* data, void *user_data);
378 void *user_data);
380 void *user_data);
382 extern int32_t mm_app_stream_clean_invalidate_buf(uint32_t index, void *user_data);
383 extern int32_t mm_app_stream_invalidate_buf(uint32_t index, void *user_data);
512 extern void mm_app_release_ppinput(void *data, void *user_data);
516 void *user_data);
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c313 … poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data); in mm_camera_poll_fn()
322 … poll_cb->poll_entries[i-1].notify_cb(poll_cb->poll_entries[i-1].user_data); in mm_camera_poll_fn()
431 poll_cb->poll_entries[idx].user_data = userdata; in mm_camera_poll_thread_add_poll_fd()
613 cmd_thread->cb(node, cmd_thread->user_data); in mm_camera_cmd_thread()
630 void* user_data) in mm_camera_cmd_thread_launch() argument
638 cmd_thread->user_data = user_data; in mm_camera_cmd_thread_launch()
Dmm_camera.c123 void* user_data) in mm_camera_dispatch_app_event() argument
127 mm_camera_obj_t * my_obj = (mm_camera_obj_t *)user_data; in mm_camera_dispatch_app_event()
136 my_obj->evt.evt[i].user_data); in mm_camera_dispatch_app_event()
154 static void mm_camera_event_notify(void* user_data) in mm_camera_event_notify() argument
162 mm_camera_obj_t *my_obj = (mm_camera_obj_t*)user_data; in mm_camera_event_notify()
468 void * user_data) in mm_camera_register_event_notify_internal() argument
479 if(evt_array->evt[i].user_data == NULL) { in mm_camera_register_event_notify_internal()
481 evt_array->evt[i].user_data = user_data; in mm_camera_register_event_notify_internal()
490 if(evt_array->evt[i].user_data == user_data) { in mm_camera_register_event_notify_internal()
492 evt_array->evt[i].user_data = NULL; in mm_camera_register_event_notify_internal()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_reprocess.c35 void *user_data) in mm_app_reprocess_notify_cb() argument
38 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_reprocess_notify_cb()
140 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_reprocess_stream_from_source()
333 void mm_app_release_ppinput(void *data, void *user_data) in mm_app_release_ppinput() argument
337 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_release_ppinput()
Dmm_qcamera_preview.c48 void *user_data) in mm_app_metadata_notify_cb() argument
53 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_metadata_notify_cb()
57 if (NULL == bufs || NULL == user_data) { in mm_app_metadata_notify_cb()
134 void *user_data) in mm_app_snapshot_notify_cb() argument
139 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_snapshot_notify_cb()
251 void *user_data) in mm_app_preview_notify_cb() argument
257 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_preview_notify_cb()
259 if (NULL == bufs || NULL == user_data) { in mm_app_preview_notify_cb()
324 void *user_data) in mm_app_zsl_notify_cb() argument
328 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_zsl_notify_cb()
[all …]
Dmm_qcamera_snapshot.c183 void *user_data) in mm_app_snapshot_metadata_notify_cb() argument
188 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_snapshot_metadata_notify_cb()
192 if (NULL == bufs || NULL == user_data) { in mm_app_snapshot_metadata_notify_cb()
266 void *user_data) in mm_app_snapshot_notify_cb_raw() argument
271 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_snapshot_notify_cb_raw()
334 void *user_data) in mm_app_snapshot_notify_cb() argument
339 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_snapshot_notify_cb()
502 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_postview_stream()
Dmm_qcamera_queue.c36 void *user_data) in mm_camera_queue_init() argument
46 queue->m_userData = user_data; in mm_camera_queue_init()
Dmm_qcamera_video.c35 void *user_data) in mm_app_video_notify_cb() argument
39 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_video_notify_cb()
78 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream()
Dmm_qcamera_rdi.c70 void *user_data) in mm_app_rdi_notify_cb() argument
74 mm_camera_test_obj_t *pme = (mm_camera_test_obj_t *)user_data; in mm_app_rdi_notify_cb()
155 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream()
215 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_snapshot_stream()
/device/google/cuttlefish_common/guest/commands/usbforward/
Dtransport_request.cpp83 auto treq = static_cast<TransportRequest*>(req->user_data); in OnTransferComplete()

12