Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 35) sorted by relevance

12

/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c147 uint32_t jpeg_open(mm_jpeg_ops_t *ops) in jpeg_open() argument
181 if (NULL != ops) { in jpeg_open()
183 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
184 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
186 ops->close = mm_jpeg_intf_close; in jpeg_open()
/hardware/qcom/camera/QCamera/HAL2/core/src/
DQCameraStream.cpp116 p_obj->mCameraHandle->ops->qbuf(p_obj->mCameraHandle->camera_handle, in superbuf_cb_routine()
149 p_obj->p_mm_ops->ops->qbuf(p_obj->mCameraHandle, in stream_cb_routine()
175 p_mm_ops->ops->qbuf(mCameraHandle, in dataCallback()
215 rc=p_mm_ops->ops->config_stream(mCameraHandle, in streamOn()
222 rc = p_mm_ops->ops->start_streams(mCameraHandle, in streamOn()
241 rc = p_mm_ops->ops->stop_streams(mCameraHandle, in streamOff()
269 rc=p_mm_ops->ops->add_stream(mCameraHandle, in initStream()
290 rc=p_mm_ops->ops->config_stream(mCameraHandle, in initStream()
302 p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in initStream()
321 rc= p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in deinitStream()
DQCameraHWI.cpp81 rc = mCameraHandle->ops->set_parm(mCameraHandle->camera_handle, in tryRestartStreams()
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()
297 mCameraHandle->ops->camera_close(mCameraHandle->camera_handle); in ~QCameraHardwareInterface()
377 ret = mCameraHandle->ops->set_parm( in construct_default_request()
479 int QCameraHardwareInterface::get_metadata_vendor_tag_ops(vendor_tag_query_ops_t **ops) in get_metadata_vendor_tag_ops() argument
481 *ops = NULL; in get_metadata_vendor_tag_ops()
DQCameraHAL.cpp116 p_camera_vtbl->ops->sync(p_camera_vtbl->camera_handle); in HAL_getCameraInfo()
130 p_camera_vtbl->ops->camera_close(p_camera_vtbl->camera_handle); in HAL_getCameraInfo()
DQCameraStream_Preview.cpp299 rc = p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, &buf); in processPreviewFrame()
302 rc = p_mm_ops->ops->qbuf(mCameraHandle, mChannelId, mNotifyBuffer[i].bufs[0]); in processPreviewFrame()
394 ret = p_mm_ops->ops->set_parm (mCameraHandle, MM_CAMERA_PARM_OP_MODE, in init()
405 ret =p_mm_ops->ops->set_parm (mCameraHandle, MM_CAMERA_PARM_OP_MODE, in init()
DQCameraHWI_Metatags.cpp128 camera_vtbl->ops->get_parm(camera_vtbl->camera_handle, in getStaticInfo()
135 camera_vtbl->ops->get_parm(camera_vtbl->camera_handle, in getStaticInfo()
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
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()
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_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()
581 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_preview_notify_cb()
627 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { in mm_app_zsl_notify_cb()
632 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,preview_frame)) { in mm_app_zsl_notify_cb()
651 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( in mm_app_prepare_preview()
657 … pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream(pme->cam->camera_handle,pme->ch_id, in mm_app_prepare_preview()
673 …if (MM_CAMERA_OK != (rc = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->str… in mm_app_prepare_preview()
698 …pme->cam->ops->get_stream_parm(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_PREVIEW].i… in mm_app_streamon_preview()
700 …if (MM_CAMERA_OK != (rc = pme->cam->ops->start_streams(pme->cam->camera_handle,pme->ch_id,1,&strea… in mm_app_streamon_preview()
[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 …pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,p… 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()
648 if (MM_CAMERA_OK != (rc = pme->cam->ops->init_stream_bundle( 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_video.c203 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()
333 if(MM_CAMERA_OK != (rc =pme->cam->ops->stop_streams(pme->cam->camera_handle,pme->ch_id,1,&stream))) in mm_app_streamoff_video()
409 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_recorder()
[all …]
Dmm_qcamera_app.c246 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()
348 if(MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( in mm_app_set_dim()
389 pme->cam->ops->ch_release(pme->cam->camera_handle,pme->ch_id); in mm_app_close_ch()
/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_interface2.c300 is_ops_supported = ((my_obj->properties.ops[index] & in mm_camera_ops_is_op_supported()
677 g_cam_ctrl.camera[*num_cameras].ops = &mm_camera_ops; in mm_camera_query()
819 rc = mm_cam->ops->is_op_supported(mm_cam, opcode); in cam_ops_is_op_supported()
830 rc = mm_cam->ops->action(mm_cam, start, opcode, val); in cam_ops_action()
840 rc = mm_cam->ops->open(mm_cam, op_mode); in cam_ops_open()
849 mm_cam->ops->close(mm_cam); in cam_ops_close()
858 rc = mm_cam->ops->ch_acquire(mm_cam, ch_type); in cam_ops_ch_acquire()
867 mm_cam->ops->ch_release(mm_cam, ch_type); in cam_ops_ch_release()
877 rc = mm_cam->ops->ch_set_attr(mm_cam, ch_type, attr); in cam_ops_ch_set_attr()
887 rc = mm_cam->ops->sendmsg(mm_cam, msg, buf_size, sendfd); in cam_ops_sendmsg()
Dmm_camera_interface2.h427 mm_camera_ops_t *ops; // operation interface member
/hardware/libhardware/include/hardware/
Dcamera2.h782 vendor_tag_query_ops_t **ops);
802 camera2_device_ops_t *ops; member
Dcamera.h289 camera_device_ops_t *ops; member
/hardware/libhardware/tests/camera2/
Dcamera2_utils.cpp78 mDevice->ops->notify_request_queue_not_empty(mDevice); in enqueue()
247 err = dev->ops->set_notify_callback(dev, in getNotificationsFrom()
353 res = d->ops->allocate_stream(d, in connectToDevice()
438 res = mDevice->ops->register_stream_buffers(mDevice, in connectToDevice()
464 res = mDevice->ops->release_stream(mDevice, mId); in disconnect()
Dcamera2.cpp153 err = dev->ops->set_request_queue_src_ops(dev, in configureCameraDevice()
159 err = dev->ops->set_frame_queue_dst_ops(dev, in configureCameraDevice()
167 err = dev->ops->get_metadata_vendor_tag_ops(dev, &vendor_metadata_tag_ops); in configureCameraDevice()
590 res = mDevice->ops->construct_default_request(mDevice, in TEST_F()
/hardware/msm7k/librpc/
DAndroid.mk5 LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c
/hardware/qcom/camera/QCamera/HAL2/wrapper/
DQualcommCamera.h112 vendor_tag_query_ops_t **ops);
DQualcommCamera.cpp164 device->ops = &camera_ops; in camera_device_open()
372 vendor_tag_query_ops_t **ops) in get_metadata_vendor_tag_ops() argument
378 rc = hardware->get_metadata_vendor_tag_ops(ops); in get_metadata_vendor_tag_ops()
/hardware/qcom/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg_interface.h205 uint32_t jpeg_open(mm_jpeg_ops_t *ops);
/hardware/ti/omap4xxx/camera/
DCameraHal_Module.cpp461 if (ti_dev->base.ops) { in camera_device_close()
462 free(ti_dev->base.ops); in camera_device_close()
541 camera_device->base.ops = camera_ops; in camera_device_open()
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h318 mm_camera_ops_t *ops; /* API call table */ member
/hardware/qcom/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp205 device->ops = &camera_ops; in camera_device_open()
/hardware/qcom/camera/
DQualcommCamera2.cpp215 device->ops = &camera_ops; in camera_device_open()

12