/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera_interface.h | 207 uint32_t ch_id; member 223 uint32_t ch_id, uint32_t stream_id, 230 uint32_t ch_id, uint32_t stream_id, 267 int32_t (*qbuf) (uint32_t camera_handle, uint32_t ch_id, 293 void (*ch_release) (uint32_t camera_handle, uint32_t ch_id); 299 uint32_t (*add_stream) (uint32_t camera_handle, uint32_t ch_id, 303 int32_t (*del_stream) (uint32_t camera_handle, uint32_t ch_id, 306 int32_t (*config_stream) (uint32_t camera_handle, uint32_t ch_id, 310 int32_t (*init_stream_bundle) (uint32_t camera_handle, uint32_t ch_id, 315 int32_t (*destroy_stream_bundle) (uint32_t camera_handle, uint32_t ch_id); [all …]
|
D | mm_camera.h | 495 uint32_t ch_id, 513 uint32_t ch_id); 515 uint32_t ch_id, 519 uint32_t ch_id, 522 uint32_t ch_id, 526 uint32_t ch_id, 533 uint32_t ch_id); 535 uint32_t ch_id, 539 uint32_t ch_id, 543 uint32_t ch_id, [all …]
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 92 uint32_t ch_id; member 413 int32_t (*start_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 422 int32_t (*stop_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 446 uint32_t ch_id); 457 uint32_t ch_id, 466 uint32_t ch_id); 476 uint32_t ch_id, 488 uint32_t ch_id, 511 uint32_t ch_id, 536 uint32_t ch_id, [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 251 uint32_t ch_id = 0; in mm_camera_intf_add_channel() local 261 ch_id = mm_camera_add_channel(my_obj); in mm_camera_intf_add_channel() 265 CDBG("%s :X ch_id = %d",__func__,ch_id); in mm_camera_intf_add_channel() 266 return ch_id; in mm_camera_intf_add_channel() 269 static void mm_camera_intf_del_channel(uint32_t camera_handler, uint32_t ch_id) in mm_camera_intf_del_channel() argument 273 CDBG("%s :E ch_id = %d",__func__,ch_id); in mm_camera_intf_del_channel() 280 mm_camera_del_channel(my_obj, ch_id); in mm_camera_intf_del_channel() 347 uint32_t ch_id, in mm_camera_intf_qbuf() argument 359 rc = mm_camera_qbuf(my_obj, ch_id, buf); in mm_camera_intf_qbuf() 369 uint32_t ch_id, in mm_camera_intf_add_stream() argument [all …]
|
D | mm_camera.c | 250 uint32_t ch_id, in mm_camera_send_ch_event() argument 474 uint32_t ch_id, in mm_camera_qbuf() argument 479 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_qbuf() 883 uint32_t ch_id) in mm_camera_del_channel() argument 886 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_channel() 905 uint32_t ch_id, in mm_camera_add_stream() argument 911 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_add_stream() 935 uint32_t ch_id, in mm_camera_del_stream() argument 940 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_stream() 958 uint32_t ch_id, in mm_camera_config_stream() argument [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 457 uint32_t ch_id = 0; in mm_camera_intf_add_channel() local 467 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); in mm_camera_intf_add_channel() 471 CDBG("%s :X ch_id = %d", __func__, ch_id); in mm_camera_intf_add_channel() 472 return ch_id; in mm_camera_intf_add_channel() 491 uint32_t ch_id) in mm_camera_intf_del_channel() argument 496 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_del_channel() 503 rc = mm_camera_del_channel(my_obj, ch_id); in mm_camera_intf_del_channel() 528 uint32_t ch_id, in mm_camera_intf_get_bundle_info() argument 534 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_get_bundle_info() 541 rc = mm_camera_get_bundle_info(my_obj, ch_id, bundle_info); in mm_camera_intf_get_bundle_info() [all …]
|
D | mm_camera.c | 505 uint32_t ch_id, in mm_camera_qbuf() argument 510 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_qbuf() 788 uint32_t ch_id) in mm_camera_del_channel() argument 792 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_channel() 828 uint32_t ch_id, in mm_camera_get_bundle_info() argument 833 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_get_bundle_info() 863 uint32_t ch_id) in mm_camera_add_stream() argument 867 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_add_stream() 900 uint32_t ch_id, in mm_camera_del_stream() argument 905 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_stream() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 151 uint32_t ch_id; member 476 int32_t (*start_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 485 int32_t (*stop_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 509 uint32_t ch_id); 520 uint32_t ch_id, 529 uint32_t ch_id); 539 uint32_t ch_id, 551 uint32_t ch_id, 564 uint32_t ch_id, 587 uint32_t ch_id, [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 151 uint32_t ch_id; member 476 int32_t (*start_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 485 int32_t (*stop_zsl_snapshot) (uint32_t camera_handle, uint32_t ch_id); 509 uint32_t ch_id); 520 uint32_t ch_id, 529 uint32_t ch_id); 539 uint32_t ch_id, 551 uint32_t ch_id, 564 uint32_t ch_id, 587 uint32_t ch_id, [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 458 uint32_t ch_id = 0; in mm_camera_intf_add_channel() local 468 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); in mm_camera_intf_add_channel() 472 CDBG("%s :X ch_id = %d", __func__, ch_id); in mm_camera_intf_add_channel() 473 return ch_id; in mm_camera_intf_add_channel() 492 uint32_t ch_id) in mm_camera_intf_del_channel() argument 497 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_del_channel() 504 rc = mm_camera_del_channel(my_obj, ch_id); in mm_camera_intf_del_channel() 529 uint32_t ch_id, in mm_camera_intf_get_bundle_info() argument 535 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_get_bundle_info() 542 rc = mm_camera_get_bundle_info(my_obj, ch_id, bundle_info); in mm_camera_intf_get_bundle_info() [all …]
|
D | mm_camera.c | 557 uint32_t ch_id, in mm_camera_qbuf() argument 562 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_qbuf() 589 uint32_t ch_id, uint32_t stream_id) in mm_camera_get_queued_buf_count() argument 594 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_get_queued_buf_count() 875 uint32_t ch_id) in mm_camera_del_channel() argument 879 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_channel() 915 uint32_t ch_id, in mm_camera_get_bundle_info() argument 920 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_get_bundle_info() 952 uint32_t ch_id, in mm_camera_link_stream() argument 960 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_link_stream() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_interface.c | 458 uint32_t ch_id = 0; in mm_camera_intf_add_channel() local 468 ch_id = mm_camera_add_channel(my_obj, attr, channel_cb, userdata); in mm_camera_intf_add_channel() 472 CDBG("%s :X ch_id = %d", __func__, ch_id); in mm_camera_intf_add_channel() 473 return ch_id; in mm_camera_intf_add_channel() 492 uint32_t ch_id) in mm_camera_intf_del_channel() argument 497 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_del_channel() 504 rc = mm_camera_del_channel(my_obj, ch_id); in mm_camera_intf_del_channel() 529 uint32_t ch_id, in mm_camera_intf_get_bundle_info() argument 535 CDBG("%s :E ch_id = %d", __func__, ch_id); in mm_camera_intf_get_bundle_info() 542 rc = mm_camera_get_bundle_info(my_obj, ch_id, bundle_info); in mm_camera_intf_get_bundle_info() [all …]
|
D | mm_camera.c | 557 uint32_t ch_id, in mm_camera_qbuf() argument 562 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_qbuf() 589 uint32_t ch_id, uint32_t stream_id) in mm_camera_get_queued_buf_count() argument 594 ch_obj = mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_get_queued_buf_count() 875 uint32_t ch_id) in mm_camera_del_channel() argument 879 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_del_channel() 915 uint32_t ch_id, in mm_camera_get_bundle_info() argument 920 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_get_bundle_info() 952 uint32_t ch_id, in mm_camera_link_stream() argument 960 mm_camera_util_get_channel_by_handler(my_obj, ch_id); in mm_camera_link_stream() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_pp.c | 73 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() 149 pme->ch_id, in mm_app_isp_pix_notify_cb() 188 pme->ch_id, in prepareReprocess() 203 pme->ch_id, in prepareReprocess() 213 pme->ch_id, in prepareReprocess() 222 pme->ch_id, in prepareReprocess() 232 pme->ch_id, in prepareReprocess() [all …]
|
D | mm_qcamera_preview.c | 299 uint32_t ch_id, uint32_t stream_id, 318 uint32_t ch_id, uint32_t stream_id, 393 uint32_t ch_id, uint32_t stream_id, in mm_stream_initbuf() argument 444 uint32_t ch_id, uint32_t stream_id, 470 ch_id, stream_id, 479 ch_id, stream_id, 488 ch_id, stream_id, 497 ch_id, stream_id, 513 uint32_t ch_id, uint32_t stream_id, in mm_stream_deinitbuf() argument 544 uint32_t ch_id, uint32_t stream_id, [all …]
|
D | mm_qcamera_snapshot.c | 219 pme->current_job_frames->ch_id, in jpeg_encode_cb() 304 pme->ch_id, in encodeData() 335 pme->ch_id, in encodeData() 386 bufs->ch_id, in snapshot_yuv_cb() 407 bufs->ch_id, 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 …>stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 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() 521 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_config_raw_format() 545 …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() [all …]
|
D | mm_qcamera_video.c | 96 uint32_t ch_id, uint32_t stream_id, 115 uint32_t ch_id, uint32_t stream_id, 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 …>stream[MM_CAMERA_SNAPSHOT_MAIN].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, 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 …]
|
D | mm_qcamera_rdi.c | 163 pme->ch_id, in mm_app_rdi_notify_cb() 193 pme->ch_id, in mm_app_prepare_rdi() 211 pme->ch_id, in mm_app_prepare_rdi() 244 pme->ch_id, in mm_app_streamon_rdi() 306 pme->ch_id, in mm_app_streamoff_rdi() 321 pme->ch_id, 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/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 528 uint32_t ch_id, 531 uint32_t ch_id, uint32_t stream_id); 550 uint32_t ch_id); 552 uint32_t ch_id); 558 uint32_t ch_id); 560 uint32_t ch_id, 563 uint32_t ch_id); 565 uint32_t ch_id, 568 uint32_t ch_id, 572 uint32_t ch_id, [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 528 uint32_t ch_id, 531 uint32_t ch_id, uint32_t stream_id); 550 uint32_t ch_id); 552 uint32_t ch_id); 558 uint32_t ch_id); 560 uint32_t ch_id, 563 uint32_t ch_id); 565 uint32_t ch_id, 568 uint32_t ch_id, 572 uint32_t ch_id, [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 479 uint32_t ch_id, 499 uint32_t ch_id); 501 uint32_t ch_id); 507 uint32_t ch_id); 509 uint32_t ch_id, 512 uint32_t ch_id); 514 uint32_t ch_id, 517 uint32_t ch_id, 521 uint32_t ch_id); 523 uint32_t ch_id); [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 63 pme->current_job_frames->ch_id, in jpeg_encode_cb() 198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 243 bufs->ch_id, in mm_app_snapshot_metadata_notify_cb() 265 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw() 271 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb_raw() 304 bufs->ch_id, in mm_app_snapshot_notify_cb_raw() 332 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb() 338 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb() 422 bufs->ch_id, in mm_app_snapshot_notify_cb()
|
D | mm_qcamera_reprocess.c | 50 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_reprocess_notify_cb() 56 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_reprocess_notify_cb() 87 bufs->ch_id, in mm_app_reprocess_notify_cb() 338 r_ch->ch_id, in mm_app_do_reprocess() 353 recvd_frame->ch_id, in mm_app_release_ppinput()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 63 pme->current_job_frames->ch_id, in jpeg_encode_cb() 198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 255 bufs->ch_id, in mm_app_snapshot_metadata_notify_cb() 278 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw() 284 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb_raw() 320 bufs->ch_id, in mm_app_snapshot_notify_cb_raw() 348 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb() 354 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb() 438 bufs->ch_id, in mm_app_snapshot_notify_cb()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 63 pme->current_job_frames->ch_id, in jpeg_encode_cb() 198 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_metadata_notify_cb() 255 bufs->ch_id, in mm_app_snapshot_metadata_notify_cb() 278 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb_raw() 284 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb_raw() 320 bufs->ch_id, in mm_app_snapshot_notify_cb_raw() 348 if (pme->channels[i].ch_id == bufs->ch_id) { in mm_app_snapshot_notify_cb() 354 CDBG_ERROR("%s: Wrong channel id (%d)", __func__, bufs->ch_id); in mm_app_snapshot_notify_cb() 438 bufs->ch_id, in mm_app_snapshot_notify_cb()
|