Home
last modified time | relevance | path

Searched refs:camera_handle (Results 1 – 25 of 74) sorted by relevance

123

/device/asus/flo/camera/QCamera2/stack/common/
Dmm_camera_interface.h90 uint32_t camera_handle; member
113 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
268 int32_t (*query_capability) (uint32_t camera_handle);
278 int32_t (*register_event_notify) (uint32_t camera_handle,
287 int32_t (*close_camera) (uint32_t camera_handle);
301 int32_t (*map_buf) (uint32_t camera_handle,
316 int32_t (*unmap_buf) (uint32_t camera_handle,
330 int32_t (*set_parms) (uint32_t camera_handle,
344 int32_t (*get_parms) (uint32_t camera_handle,
354 int32_t (*do_auto_focus) (uint32_t camera_handle);
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h206 uint32_t camera_handle; member
212 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
222 int32_t (*get_buf) (uint32_t camera_handle,
229 int32_t (*put_buf) (uint32_t camera_handle,
260 int32_t (*sync) (uint32_t camera_handle);
261 uint8_t (*is_event_supported) (uint32_t camera_handle,
263 int32_t (*register_event_notify) (uint32_t camera_handle,
267 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id,
269 void (*camera_close) (uint32_t camera_handle);
272 mm_camera_2nd_sensor_t * (*query_2nd_sensor_info) (uint32_t camera_handle);
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_camera_interface.h90 uint32_t camera_handle; member
113 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
268 int32_t (*query_capability) (uint32_t camera_handle);
278 int32_t (*register_event_notify) (uint32_t camera_handle,
287 int32_t (*close_camera) (uint32_t camera_handle);
301 int32_t (*map_buf) (uint32_t camera_handle,
316 int32_t (*unmap_buf) (uint32_t camera_handle,
330 int32_t (*set_parms) (uint32_t camera_handle,
344 int32_t (*get_parms) (uint32_t camera_handle,
354 int32_t (*do_auto_focus) (uint32_t camera_handle);
[all …]
/device/moto/shamu/camera/QCamera2/stack/common/
Dmm_camera_interface.h91 uint32_t camera_handle; member
116 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
288 int32_t (*query_capability) (uint32_t camera_handle);
298 int32_t (*register_event_notify) (uint32_t camera_handle,
307 int32_t (*close_camera) (uint32_t camera_handle);
321 int32_t (*map_buf) (uint32_t camera_handle,
336 int32_t (*unmap_buf) (uint32_t camera_handle,
350 int32_t (*set_parms) (uint32_t camera_handle,
364 int32_t (*get_parms) (uint32_t camera_handle,
374 int32_t (*do_auto_focus) (uint32_t camera_handle);
[all …]
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h186 uint32_t camera_handle; member
192 typedef void (*mm_camera_event_notify_t)(uint32_t camera_handle,
202 int32_t (*get_buf) (uint32_t camera_handle,
209 int32_t (*put_buf) (uint32_t camera_handle,
221 int32_t (*sync) (uint32_t camera_handle);
222 uint8_t (*is_event_supported) (uint32_t camera_handle,
224 int32_t (*register_event_notify) (uint32_t camera_handle,
228 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id,
230 void (*camera_close) (uint32_t camera_handle);
233 mm_camera_2nd_sensor_t * (*query_2nd_sensor_info) (uint32_t camera_handle);
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c147 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) in mm_camera_intf_query_capability() argument
152 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); in mm_camera_intf_query_capability()
155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability()
184 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, in mm_camera_intf_set_parms() argument
191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms()
221 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, in mm_camera_intf_get_parms() argument
228 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_get_parms()
254 static int32_t mm_camera_intf_do_auto_focus(uint32_t camera_handle) in mm_camera_intf_do_auto_focus() argument
260 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_do_auto_focus()
284 static int32_t mm_camera_intf_cancel_auto_focus(uint32_t camera_handle) in mm_camera_intf_cancel_auto_focus() argument
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c147 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) in mm_camera_intf_query_capability() argument
152 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); in mm_camera_intf_query_capability()
155 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability()
184 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, in mm_camera_intf_set_parms() argument
191 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms()
221 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, in mm_camera_intf_get_parms() argument
228 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_get_parms()
254 static int32_t mm_camera_intf_do_auto_focus(uint32_t camera_handle) in mm_camera_intf_do_auto_focus() argument
260 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_do_auto_focus()
284 static int32_t mm_camera_intf_cancel_auto_focus(uint32_t camera_handle) in mm_camera_intf_cancel_auto_focus() argument
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c152 static int32_t mm_camera_intf_query_capability(uint32_t camera_handle) in mm_camera_intf_query_capability() argument
157 CDBG("%s E: camera_handler = %d ", __func__, camera_handle); in mm_camera_intf_query_capability()
160 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_query_capability()
189 static int32_t mm_camera_intf_set_parms(uint32_t camera_handle, in mm_camera_intf_set_parms() argument
196 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_parms()
226 static int32_t mm_camera_intf_get_parms(uint32_t camera_handle, in mm_camera_intf_get_parms() argument
233 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_get_parms()
259 static int32_t mm_camera_intf_do_auto_focus(uint32_t camera_handle) in mm_camera_intf_do_auto_focus() argument
265 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_do_auto_focus()
289 static int32_t mm_camera_intf_cancel_auto_focus(uint32_t camera_handle) in mm_camera_intf_cancel_auto_focus() argument
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_pp.c73 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); in mm_app_preview_pp_notify_cb()
79 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) { in mm_app_preview_pp_notify_cb()
109 pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, buf_info->frame); in mm_app_video_pp_notify_cb()
115 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, pme->ch_id, frame)) in mm_app_video_pp_notify_cb()
148 pme->cam->camera_handle, in mm_app_isp_pix_notify_cb()
174 pme->cam->camera_handle, in prepareReprocess()
187 pme->cam->camera_handle, in prepareReprocess()
202 pme->cam->camera_handle, in prepareReprocess()
212 pme->cam->ops->del_stream(pme->cam->camera_handle, in prepareReprocess()
221 pme->cam->camera_handle, in prepareReprocess()
[all …]
Dmm_qcamera_preview.c230 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_camera()
258 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_camera_stats()
286 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_zsl()
298 int mm_stream_deinit_preview_buf(uint32_t camera_handle,
317 int mm_stream_init_preview_buf(uint32_t camera_handle,
392 int mm_stream_initbuf(uint32_t camera_handle, in mm_stream_initbuf() argument
443 int mm_stream_initbuf_1(uint32_t camera_handle,
469 mm_stream_init_preview_buf( camera_handle,
478 mm_stream_init_video_buf( camera_handle,
487 mm_stream_init_main_buf( camera_handle,
[all …]
Dmm_qcamera_snapshot.c218 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->current_job_frames->camera_handle, in jpeg_encode_cb()
303 pme->cam->ops->get_stream_parm(pme->cam->camera_handle, in encodeData()
334 pme->cam->ops->get_stream_parm(pme->cam->camera_handle, in encodeData()
373 pme->cam->ops->send_command(bufs->camera_handle, in snapshot_yuv_cb()
385 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in snapshot_yuv_cb()
406 if (MM_CAMERA_OK != pme->cam->ops->qbuf(bufs->camera_handle, in snapshot_yuv_cb()
440 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id, in snapshot_raw_cb()
472 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_add_snapshot_stream()
483 …am[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_add_snapshot_stream()
500 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode); in mm_app_set_snapshot_mode()
[all …]
Dmm_qcamera_video.c95 int mm_stream_deinit_video_buf(uint32_t camera_handle,
114 int mm_stream_init_video_buf(uint32_t camera_handle,
217 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) in mm_app_video_notify_cb()
237 …if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stre… in mm_app_config_video()
250 …if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stre… in mm_app_config_video()
266 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_video()
279 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_prepare_video()
302 …if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[… in mm_app_unprepare_video()
307 …if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[… in mm_app_unprepare_video()
329 …if(MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&stream… in mm_app_streamon_video()
[all …]
Dmm_qcamera_rdi.c93 pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode))) { in mm_app_set_opmode()
162 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle, in mm_app_rdi_notify_cb()
192 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle, in mm_app_prepare_rdi()
210 if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle, in mm_app_prepare_rdi()
243 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle, in mm_app_streamon_rdi()
264 pme,pme->cam,pme->cam->camera_handle); in mm_app_start_rdi()
305 if (MM_CAMERA_OK != (rc = pme->cam->ops->stop_streams(pme->cam->camera_handle, in mm_app_streamoff_rdi()
320 if (MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle, in mm_app_streamoff_rdi()
351 …if (MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream… in mm_app_streamdel_rdi()
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_preview.c189 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_camera()
218 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_zsl()
230 int mm_stream_deinit_preview_buf(uint32_t camera_handle,
249 int mm_stream_init_preview_buf(uint32_t camera_handle,
324 int mm_stream_initbuf(uint32_t camera_handle, in mm_stream_initbuf() argument
407 int mm_stream_initbuf_1(uint32_t camera_handle,
433 mm_stream_init_preview_buf( camera_handle,
442 mm_stream_init_video_buf( camera_handle,
451 mm_stream_init_main_buf( camera_handle,
460 mm_stream_init_thumbnail_buf( camera_handle,
[all …]
Dmm_qcamera_rdi.c111 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_rdi_notify_cb()
138 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_rdi()
153 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_prepare_rdi()
160 … pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_rdi()
176 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_prepare_rdi()
209 …if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,num_of_s… in mm_app_streamon_rdi()
227 pme,pme->cam,pme->cam->camera_handle); in mm_app_start_rdi()
265 …if (MM_CAMERA_OK != (rc = pme->cam->ops->stop_streams(pme->cam->camera_handle,pme->ch_id,num_of_st… in mm_app_streamoff_rdi()
277 …if (MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream… in mm_app_streamoff_rdi()
Dmm_qcamera_video.c87 int mm_stream_deinit_video_buf(uint32_t camera_handle,
106 int mm_stream_init_video_buf(uint32_t camera_handle,
203 if(MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) in mm_app_video_notify_cb()
222 …if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stre… in mm_app_config_video()
235 …if(MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stre… in mm_app_config_video()
251 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_video()
264 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_prepare_video()
287 …if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[… in mm_app_unprepare_video()
292 …if(MM_CAMERA_OK != (rc = pme->cam->ops->del_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[… in mm_app_unprepare_video()
314 …if(MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&stream… in mm_app_streamon_video()
[all …]
Dmm_qcamera_snapshot.c322 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { in snapshot_raw_cb()
325 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,thumb_frame)) { in snapshot_raw_cb()
568 …pme->stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->c… in mm_app_add_snapshot_stream()
579 …am[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_add_snapshot_stream()
595 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_OP_MODE, &op_mode); in mm_app_set_snapshot_mode()
611 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_config_snapshot_format()
620 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_config_snapshot_format()
649 … pme->cam->camera_handle,pme->ch_id,snapshot_raw_cb,pme,&attr,2,stream))) { in mm_app_streamon_snapshot()
654 if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id, in mm_app_streamon_snapshot()
660 … if (MM_CAMERA_OK != (rc =pme->cam->ops->request_super_buf(pme->cam->camera_handle,pme->ch_id))) { in mm_app_streamon_snapshot()
[all …]
Dmm_qcamera_app.c189 static void notify_evt_cb(uint32_t camera_handle, in notify_evt_cb() argument
238 CDBG("Open Camera id = %d handle = %d",cam_id,pme->cam->camera_handle); in mm_app_open()
246 pme->cam->ops->register_event_notify(pme->cam->camera_handle,notify_evt_cb,pme,evt); in mm_app_open()
252 pme->ch_id = pme->cam->ops->ch_acquire(pme->cam->camera_handle); in mm_app_open()
270 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id); in mm_app_close()
271 pme->cam->ops->camera_close(pme->cam->camera_handle); in mm_app_close()
349 pme->cam->camera_handle,MM_CAMERA_PARM_DIMENSION, &pme->dim))) in mm_app_set_dim()
389 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id); in mm_app_close_ch()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c436 static void notify_evt_cb(uint32_t camera_handle, in notify_evt_cb() argument
442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb()
477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open()
492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
523 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, in mm_app_open()
532 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); in mm_app_open()
550 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
555 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
560 test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_open()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c436 static void notify_evt_cb(uint32_t camera_handle, in notify_evt_cb() argument
442 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb()
477 CDBG("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open()
492 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
514 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open()
523 rc = test_obj->cam->ops->register_event_notify(test_obj->cam->camera_handle, in mm_app_open()
532 rc = test_obj->cam->ops->query_capability(test_obj->cam->camera_handle); in mm_app_open()
550 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
555 test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_open()
560 test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_open()
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp81 rc = mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, in tryRestartStreams()
186 int32_t get_buffer_hook(uint32_t camera_handle, in get_buffer_hook() argument
195 return pme->getBuf(camera_handle, ch_id, stream_id, in get_buffer_hook()
202 int32_t put_buffer_hook(uint32_t camera_handle, in put_buffer_hook() argument
208 return pme->putBuf(camera_handle, ch_id, stream_id, in put_buffer_hook()
213 int QCameraHardwareInterface::getBuf(uint32_t camera_handle, in getBuf() argument
249 int QCameraHardwareInterface::putBuf(uint32_t camera_handle, in putBuf() argument
281 mCameraHandle->ops->sync(mCameraHandle->camera_handle); in QCameraHardwareInterface()
283 mChannelId=mCameraHandle->ops->ch_acquire(mCameraHandle->camera_handle); in QCameraHardwareInterface()
287 mCameraHandle->ops->camera_close(mCameraHandle->camera_handle); in QCameraHardwareInterface()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c721 uint32_t camera_handle, in mm_camera_intf_set_stream_parm() argument
731 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_set_stream_parm()
734 camera_handle,ch_id,s_id,parm_type); in mm_camera_intf_set_stream_parm()
750 uint32_t camera_handle, in mm_camera_intf_get_stream_parm() argument
760 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_get_stream_parm()
763 camera_handle,ch_id,s_id,parm_type); in mm_camera_intf_get_stream_parm()
779 static int32_t mm_camera_intf_send_private_ioctl(uint32_t camera_handle, in mm_camera_intf_send_private_ioctl() argument
788 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_send_private_ioctl()
799 static int32_t mm_camera_intf_send_native_cmd(uint32_t camera_handle, in mm_camera_intf_send_native_cmd() argument
808 my_obj = mm_camera_util_get_camera_by_handler(camera_handle); in mm_camera_intf_send_native_cmd()
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine()
204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine()
379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine()
528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in video_stream_cb_routine()
597 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in snapshot_stream_cb_routine()
636 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in raw_stream_cb_routine()
672 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in metadata_stream_cb_routine()
779 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in reprocess_stream_cb_routine()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp62 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in zsl_channel_cb()
113 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in capture_channel_cb_routine()
204 pme->mCameraHandle->camera_handle != recvd_frame->camera_handle){ in postproc_channel_cb_routine()
379 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in nodisplay_preview_stream_cb_routine()
528 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in video_stream_cb_routine()
597 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in snapshot_stream_cb_routine()
636 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in raw_stream_cb_routine()
672 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in metadata_stream_cb_routine()
779 pme->mCameraHandle->camera_handle != super_frame->camera_handle){ in reprocess_stream_cb_routine()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp405 if(mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ) < 0) { in native_set_parms()
418 *result= mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, type,value ); in native_set_parms()
570 if(mCameraHandle->ops->is_op_supported(mCameraHandle->camera_handle, MM_CAMERA_OPS_FOCUS)) { in hasAutoFocusSupport()
583 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_ASD_ENABLE,(uint… in supportsSceneDetection()
589 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FD,(uint8_t*)&rc… in supportsFaceDetection()
595 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_FOCUS_RECT,(uint… in supportsSelectableZoneAf()
601 …mCameraHandle->ops->is_parm_supported(mCameraHandle->camera_handle,MM_CAMERA_PARM_REDEYE_REDUCTION… in supportsRedEyeReduction()
626 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in getMaxPictureDimension()
652 ret = mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in loadTables()
658 if(mCameraHandle->ops->get_parm(mCameraHandle->camera_handle, in loadTables()
[all …]

123