/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 569 mm_camera_bundle_attr_t attr; in mm_app_streamon_snapshot() local 576 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_streamon_snapshot() 577 attr.burst_num = 1; in mm_app_streamon_snapshot() 578 attr.look_back = 2; in mm_app_streamon_snapshot() 579 attr.post_frame_skip = 0; in mm_app_streamon_snapshot() 580 attr.water_mark = 2; in mm_app_streamon_snapshot() 583 … pme->cam->camera_handle,pme->ch_id,snapshot_yuv_cb,pme,&attr,2,stream))) { in mm_app_streamon_snapshot() 594 …OK != (rc =pme->cam->ops->request_super_buf(pme->cam->camera_handle,pme->ch_id, attr.burst_num))) { in mm_app_streamon_snapshot() 608 mm_camera_bundle_attr_t attr; in mm_app_streamon_raw() local 614 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_streamon_raw() [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 635 mm_camera_bundle_attr_t attr; in mm_app_streamon_snapshot() local 642 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_streamon_snapshot() 643 attr.burst_num = 1; in mm_app_streamon_snapshot() 644 attr.look_back = 2; in mm_app_streamon_snapshot() 645 attr.post_frame_skip = 0; in mm_app_streamon_snapshot() 646 attr.water_mark = 2; in mm_app_streamon_snapshot() 649 … pme->cam->camera_handle,pme->ch_id,snapshot_raw_cb,pme,&attr,2,stream))) { in mm_app_streamon_snapshot() 713 mm_camera_bundle_attr_t attr; in mm_app_start_snapshot() local 784 mm_camera_channel_attr_t attr; in mm_app_start_raw_snapshot() 787 attr.type = MM_CAMERA_CH_ATTR_RAW_STREAMING_TYPE; in mm_app_start_raw_snapshot() [all …]
|
D | mm_qcamera_preview.c | 713 mm_camera_bundle_attr_t attr; in mm_app_prepare_preview_zsl() local 777 mm_camera_bundle_attr_t attr; in mm_app_streamon_preview_zsl() local 787 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_streamon_preview_zsl() 788 attr.burst_num = 1; in mm_app_streamon_preview_zsl() 789 attr.look_back = 2; in mm_app_streamon_preview_zsl() 790 attr.post_frame_skip = 0; in mm_app_streamon_preview_zsl() 791 attr.water_mark = 2; in mm_app_streamon_preview_zsl() 794 … pme->cam->camera_handle,pme->ch_id,mm_app_zsl_notify_cb,pme,&attr,2,stream))) { in mm_app_streamon_preview_zsl()
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 348 mm_camera_channel_attr_t attr; in mm_app_start_preview_zsl() local 350 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_preview_zsl() 351 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_start_preview_zsl() 352 attr.look_back = 2; in mm_app_start_preview_zsl() 353 attr.post_frame_skip = 0; in mm_app_start_preview_zsl() 354 attr.water_mark = 2; in mm_app_start_preview_zsl() 355 attr.max_unmatched_frames = 3; in mm_app_start_preview_zsl() 358 &attr, in mm_app_start_preview_zsl()
|
D | mm_qcamera_snapshot.c | 351 mm_camera_channel_attr_t attr; in mm_app_start_capture() local 353 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_capture() 354 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_CONTINUOUS; in mm_app_start_capture() 355 attr.max_unmatched_frames = 3; in mm_app_start_capture() 358 &attr, in mm_app_start_capture()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_preview.c | 348 mm_camera_channel_attr_t attr; in mm_app_start_preview_zsl() local 350 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_preview_zsl() 351 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_start_preview_zsl() 352 attr.look_back = 2; in mm_app_start_preview_zsl() 353 attr.post_frame_skip = 0; in mm_app_start_preview_zsl() 354 attr.water_mark = 2; in mm_app_start_preview_zsl() 355 attr.max_unmatched_frames = 3; in mm_app_start_preview_zsl() 358 &attr, in mm_app_start_preview_zsl()
|
D | mm_qcamera_snapshot.c | 351 mm_camera_channel_attr_t attr; in mm_app_start_capture() local 353 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_capture() 354 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_CONTINUOUS; in mm_app_start_capture() 355 attr.max_unmatched_frames = 3; in mm_app_start_capture() 358 &attr, in mm_app_start_capture()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 51 mm_camera_channel_attr_t *attr, 211 ch_obj->bundle.superbuf_queue.attr.notify_mode = cmd_cb->u.notify_mode; in mm_channel_process_stream_buf() 217 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode; in mm_channel_process_stream_buf() 636 mm_camera_channel_attr_t *attr, in mm_channel_init() argument 644 if (NULL != attr) { in mm_channel_init() 645 my_obj->bundle.superbuf_queue.attr = *attr; in mm_channel_init() 1585 if (MM_CAMERA_SUPER_BUF_PRIORITY_NORMAL != queue->attr.priority) { in mm_channel_superbuf_comp_and_enqueue() 1644 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 1670 if ( ( queue->attr.max_unmatched_frames < unmatched_bundles ) && in mm_channel_superbuf_comp_and_enqueue() 1675 if ( queue->attr.max_unmatched_frames < unmatched_bundles ) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 51 mm_camera_channel_attr_t *attr, 209 ch_obj->bundle.superbuf_queue.attr.notify_mode = cmd_cb->u.notify_mode; in mm_channel_process_stream_buf() 215 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode; in mm_channel_process_stream_buf() 634 mm_camera_channel_attr_t *attr, in mm_channel_init() argument 642 if (NULL != attr) { in mm_channel_init() 643 my_obj->bundle.superbuf_queue.attr = *attr; in mm_channel_init() 1582 if (MM_CAMERA_SUPER_BUF_PRIORITY_NORMAL != queue->attr.priority) { in mm_channel_superbuf_comp_and_enqueue() 1641 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 1667 if ( ( queue->attr.max_unmatched_frames < unmatched_bundles ) && in mm_channel_superbuf_comp_and_enqueue() 1672 if ( queue->attr.max_unmatched_frames < unmatched_bundles ) { in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_snapshot.c | 523 mm_camera_channel_attr_t attr; in mm_app_start_capture_raw() local 525 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_capture_raw() 526 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in mm_app_start_capture_raw() 527 attr.max_unmatched_frames = 3; in mm_app_start_capture_raw() 530 &attr, in mm_app_start_capture_raw() 591 mm_camera_channel_attr_t attr; in mm_app_start_capture() local 593 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_capture() 594 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_CONTINUOUS; in mm_app_start_capture() 595 attr.max_unmatched_frames = 3; in mm_app_start_capture() 598 &attr, in mm_app_start_capture()
|
D | mm_qcamera_preview.c | 688 mm_camera_channel_attr_t attr; in mm_app_start_preview_zsl() local 690 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in mm_app_start_preview_zsl() 691 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_CONTINUOUS; in mm_app_start_preview_zsl() 692 attr.look_back = 2; in mm_app_start_preview_zsl() 693 attr.post_frame_skip = 0; in mm_app_start_preview_zsl() 694 attr.water_mark = 2; in mm_app_start_preview_zsl() 695 attr.max_unmatched_frames = 3; in mm_app_start_preview_zsl() 698 &attr, in mm_app_start_preview_zsl()
|
/device/htc/flounder/sensor_hub/libsensors/ |
D | CwMcuSensor.h | 113 int sysfs_set_input_attr(const char *attr, char *value, size_t len); 114 int sysfs_set_input_attr_by_int(const char *attr, int value);
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 158 int32_t QCamera3Channel::init(mm_camera_channel_attr_t *attr, in init() argument 162 attr, in init() 949 mm_camera_channel_attr_t attr; in initialize() local 951 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in initialize() 952 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in initialize() 953 attr.look_back = 1; in initialize() 954 attr.post_frame_skip = 1; in initialize() 955 attr.water_mark = 1; in initialize() 956 attr.max_unmatched_frames = 1; in initialize() 958 rc = init(&attr, NULL); in initialize() [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 74 mm_camera_bundle_attr_t *attr, 265 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode; in mm_channel_process_stream_buf() 439 payload->attr, in mm_channel_fsm_fn_stopped() 542 payload->attr, in mm_channel_fsm_fn_active() 737 mm_camera_bundle_attr_t *attr, in mm_channel_bundle_stream() argument 759 memcpy(&my_obj->bundle.superbuf_queue.attr, attr, sizeof(mm_camera_bundle_attr_t)); in mm_channel_bundle_stream() 1016 my_obj->pending_cnt = my_obj->bundle.superbuf_queue.attr.burst_num; in mm_channel_request_super_buf() 1302 if (MM_CAMERA_SUPER_BUF_PRIORITY_NORMAL != queue->attr.priority) { in mm_channel_superbuf_comp_and_enqueue() 1353 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 1410 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 51 mm_camera_channel_attr_t *attr, 239 ch_obj->bundle.superbuf_queue.attr.notify_mode = cmd_cb->u.notify_mode; in mm_channel_process_stream_buf() 295 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode; in mm_channel_process_stream_buf() 831 mm_camera_channel_attr_t *attr, in mm_channel_init() argument 839 if (NULL != attr) { in mm_channel_init() 840 my_obj->bundle.superbuf_queue.attr = *attr; in mm_channel_init() 2015 if (MM_CAMERA_SUPER_BUF_PRIORITY_NORMAL != queue->attr.priority) { in mm_channel_superbuf_comp_and_enqueue() 2082 + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 2086 queue->attr.post_frame_skip, queue->expected_frame_id); in mm_channel_superbuf_comp_and_enqueue() 2113 if ( ( queue->attr.max_unmatched_frames < unmatched_bundles ) && in mm_channel_superbuf_comp_and_enqueue() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 156 int32_t QCamera3Channel::init(mm_camera_channel_attr_t *attr, in init() argument 160 attr, in init() 1128 mm_camera_channel_attr_t attr; in initialize() local 1140 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in initialize() 1141 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in initialize() 1142 attr.look_back = 1; in initialize() 1143 attr.post_frame_skip = 1; in initialize() 1144 attr.water_mark = 1; in initialize() 1145 attr.max_unmatched_frames = 1; in initialize() 1147 rc = init(&attr, NULL); in initialize() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 73 mm_camera_bundle_attr_t *attr, 213 notify_mode = ch_obj->bundle.superbuf_queue.attr.notify_mode; in mm_channel_process_stream_buf() 391 payload->attr, in mm_channel_fsm_fn_stopped() 568 payload->attr, in mm_channel_fsm_fn_active() 858 mm_camera_bundle_attr_t *attr, in mm_channel_bundle_stream() argument 882 memcpy(&my_obj->bundle.superbuf_queue.attr, attr, sizeof(mm_camera_bundle_attr_t)); in mm_channel_bundle_stream() 1397 if (MM_CAMERA_SUPER_BUF_PRIORITY_NORMAL != queue->attr.priority) { in mm_channel_superbuf_comp_and_enqueue() 1449 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 1509 queue->expected_frame_id = buf_info->frame_idx + queue->attr.post_frame_skip; in mm_channel_superbuf_comp_and_enqueue() 1589 if (MM_CAMERA_SUPER_BUF_NOTIFY_CONTINUOUS == queue->attr.notify_mode) { in mm_channel_superbuf_bufdone_overflow() [all …]
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraHWI.cpp | 321 pthread_attr_t attr; in notify_request_queue_not_empty() local 322 if(pthread_attr_init(&attr)!=0) { in notify_request_queue_not_empty() 326 if(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED)!=0){ in notify_request_queue_not_empty() 330 if(pthread_create(&mCommandThread,&attr, in notify_request_queue_not_empty()
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 2971 mm_camera_channel_attr_t attr; in addZSLChannel() local 2972 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in addZSLChannel() 2973 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in addZSLChannel() 2974 attr.look_back = mParameters.getZSLBackLookCount(); in addZSLChannel() 2975 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addZSLChannel() 2976 attr.water_mark = mParameters.getZSLQueueDepth(); in addZSLChannel() 2977 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addZSLChannel() 2978 rc = pChannel->init(&attr, in addZSLChannel() 3053 mm_camera_channel_attr_t attr; in addCaptureChannel() local 3054 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in addCaptureChannel() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2HWI.cpp | 2971 mm_camera_channel_attr_t attr; in addZSLChannel() local 2972 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in addZSLChannel() 2973 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in addZSLChannel() 2974 attr.look_back = mParameters.getZSLBackLookCount(); in addZSLChannel() 2975 attr.post_frame_skip = mParameters.getZSLBurstInterval(); in addZSLChannel() 2976 attr.water_mark = mParameters.getZSLQueueDepth(); in addZSLChannel() 2977 attr.max_unmatched_frames = mParameters.getMaxUnmatchedFramesInQueue(); in addZSLChannel() 2978 rc = pChannel->init(&attr, in addZSLChannel() 3053 mm_camera_channel_attr_t attr; in addCaptureChannel() local 3054 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in addCaptureChannel() [all …]
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 304 mm_camera_channel_attr_t attr; member 447 mm_camera_channel_attr_t *attr, 515 mm_camera_channel_attr_t *attr,
|
/device/moto/shamu/camera/QCamera2/HAL3/ |
D | QCamera3Channel.cpp | 176 int32_t QCamera3Channel::init(mm_camera_channel_attr_t *attr, in init() argument 180 attr, in init() 1560 mm_camera_channel_attr_t attr; in initialize() local 1572 memset(&attr, 0, sizeof(mm_camera_channel_attr_t)); in initialize() 1573 attr.notify_mode = MM_CAMERA_SUPER_BUF_NOTIFY_BURST; in initialize() 1574 attr.look_back = 1; in initialize() 1575 attr.post_frame_skip = 1; in initialize() 1576 attr.water_mark = 1; in initialize() 1577 attr.max_unmatched_frames = 1; in initialize() 1579 rc = init(&attr, NULL); in initialize() [all …]
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 302 mm_camera_bundle_attr_t *attr; member 333 mm_camera_bundle_attr_t attr; member 491 mm_camera_bundle_attr_t *attr,
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 306 mm_camera_channel_attr_t attr; member 449 mm_camera_channel_attr_t *attr, 517 mm_camera_channel_attr_t *attr,
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/ |
D | mm_camera.h | 332 mm_camera_channel_attr_t attr; member 502 mm_camera_channel_attr_t *attr, 571 mm_camera_channel_attr_t *attr,
|