Home
last modified time | relevance | path

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

1234

/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp97 vendor_tag_ops_t* ops) in get_vendor_tag_ops() argument
101 Ops = ops; in get_vendor_tag_ops()
103 ops->get_tag_count = get_tag_count; in get_vendor_tag_ops()
104 ops->get_all_tags = get_all_tags; in get_vendor_tag_ops()
105 ops->get_section_name = get_section_name; in get_vendor_tag_ops()
106 ops->get_tag_name = get_tag_name; in get_vendor_tag_ops()
107 ops->get_tag_type = get_tag_type; in get_vendor_tag_ops()
108 ops->reserved[0] = NULL; in get_vendor_tag_ops()
127 const vendor_tag_ops_t * ops) in get_tag_count() argument
130 if (ops == Ops) in get_tag_count()
[all …]
DQCamera3VendorTags.h112 static void get_vendor_tag_ops(vendor_tag_ops_t* ops);
114 const vendor_tag_ops_t *ops);
116 const vendor_tag_ops_t *ops,
119 const vendor_tag_ops_t *ops,
122 const vendor_tag_ops_t *ops,
125 const vendor_tag_ops_t *ops,
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp133 vendor_tag_ops_t* ops) in get_vendor_tag_ops() argument
137 Ops = ops; in get_vendor_tag_ops()
139 ops->get_tag_count = get_tag_count; in get_vendor_tag_ops()
140 ops->get_all_tags = get_all_tags; in get_vendor_tag_ops()
141 ops->get_section_name = get_section_name; in get_vendor_tag_ops()
142 ops->get_tag_name = get_tag_name; in get_vendor_tag_ops()
143 ops->get_tag_type = get_tag_type; in get_vendor_tag_ops()
144 ops->reserved[0] = NULL; in get_vendor_tag_ops()
163 const vendor_tag_ops_t * ops) in get_tag_count() argument
166 if (ops == Ops) in get_tag_count()
[all …]
DQCamera3VendorTags.h128 static void get_vendor_tag_ops(vendor_tag_ops_t* ops);
130 const vendor_tag_ops_t *ops);
132 const vendor_tag_ops_t *ops,
135 const vendor_tag_ops_t *ops,
138 const vendor_tag_ops_t *ops,
141 const vendor_tag_ops_t *ops,
/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()
147 rc = pme->cam->ops->reprocess( in mm_app_isp_pix_notify_cb()
173 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( in prepareReprocess()
186 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id = pme->cam->ops->add_stream( in prepareReprocess()
201 pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream( in prepareReprocess()
212 pme->cam->ops->del_stream(pme->cam->camera_handle, in prepareReprocess()
220 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream( in prepareReprocess()
[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 …pme->stream[MM_CAMERA_SNAPSHOT_THUMBNAIL].id = pme->cam->ops->add_stream(pme->cam->camera_handle,p… 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_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()
639 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_preview_notify_cb()
667 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_aec_stats_notify_cb()
691 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_awb_stats_notify_cb()
715 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_af_stats_notify_cb()
739 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,frame)) { in mm_app_ihist_stats_notify_cb()
782 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,main_frame)) { in mm_app_zsl_notify_cb()
788 if (MM_CAMERA_OK != pme->cam->ops->qbuf(pme->cam->camera_handle,pme->ch_id,preview_frame)) { in mm_app_zsl_notify_cb()
[all …]
Dmm_qcamera_rdi.c92 if (MM_CAMERA_OK != (rc = pme->cam->ops->set_parm( 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()
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()
Dmm_qcamera_video.c217 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()
348 …if(MM_CAMERA_OK != (rc =pme->cam->ops->stop_streams(pme->cam->camera_handle,pme->ch_id,1,&stream))) in mm_app_streamoff_video()
425 pme->cam->ops->set_parm(pme->cam->camera_handle,MM_CAMERA_PARM_RECORDING_HINT, &value); in mm_app_open_recorder()
[all …]
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c71 effect_ops_t ops; member
241 if (context->ops.start) in add_effect_to_output()
242 context->ops.start(context, output); in add_effect_to_output()
253 if (context->ops.stop) in remove_effect_from_output()
254 context->ops.stop(context, output); in remove_effect_from_output()
274 if (fx_ctxt->state == EFFECT_STATE_ACTIVE && fx_ctxt->ops.process != NULL) in effects_enabled()
344 if (fx_ctxt->ops.process != NULL) in effects_capture_thread_loop()
345 fx_ctxt->ops.process(fx_ctxt, &buf, &buf); in effects_capture_thread_loop()
395 if (fx_ctxt->ops.start) in visualizer_hal_start_output()
396 fx_ctxt->ops.start(fx_ctxt, out_ctxt); in visualizer_hal_start_output()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpegdec_interface.c248 uint32_t jpegdec_open(mm_jpegdec_ops_t *ops) in jpegdec_open() argument
282 if (NULL != ops) { in jpegdec_open()
284 ops->start_job = mm_jpegdec_intf_start_job; in jpegdec_open()
285 ops->abort_job = mm_jpegdec_intf_abort_job; in jpegdec_open()
286 ops->create_session = mm_jpegdec_intf_create_session; in jpegdec_open()
287 ops->destroy_session = mm_jpegdec_intf_destroy_session; in jpegdec_open()
288 ops->close = mm_jpegdec_intf_close; in jpegdec_open()
Dmm_jpeg_interface.c290 uint32_t jpeg_open(mm_jpeg_ops_t *ops, mm_dimension picture_size) in jpeg_open() argument
333 if (NULL != ops) { in jpeg_open()
335 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
336 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
337 ops->create_session = mm_jpeg_intf_create_session; in jpeg_open()
338 ops->destroy_session = mm_jpeg_intf_destroy_session; in jpeg_open()
339 ops->close = mm_jpeg_intf_close; in jpeg_open()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c288 uint32_t jpeg_open(mm_jpeg_ops_t *ops) in jpeg_open() argument
322 if (NULL != ops) { in jpeg_open()
324 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
325 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
326 ops->create_session = mm_jpeg_intf_create_session; in jpeg_open()
327 ops->destroy_session = mm_jpeg_intf_destroy_session; in jpeg_open()
328 ops->close = mm_jpeg_intf_close; in jpeg_open()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c288 uint32_t jpeg_open(mm_jpeg_ops_t *ops) in jpeg_open() argument
322 if (NULL != ops) { in jpeg_open()
324 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
325 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
326 ops->create_session = mm_jpeg_intf_create_session; in jpeg_open()
327 ops->destroy_session = mm_jpeg_intf_destroy_session; in jpeg_open()
328 ops->close = mm_jpeg_intf_close; in jpeg_open()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c492 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()
575 rc = test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_close()
582 rc = test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_close()
588 rc = test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_close()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c492 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()
575 rc = test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_close()
582 rc = test_obj->cam->ops->unmap_buf(test_obj->cam->camera_handle, in mm_app_close()
588 rc = test_obj->cam->ops->close_camera(test_obj->cam->camera_handle); in mm_app_close()
[all …]
/device/moto/shamu/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()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraStream.cpp105 rc = p_mm_ops->ops->start_streams(mCameraHandle, in streamOn()
128 rc = p_mm_ops->ops->stop_streams(mCameraHandle, in streamOff()
157 mStreamId = p_mm_ops->ops->add_stream(mCameraHandle, in initStream()
174 p_mm_ops->ops->del_stream(mCameraHandle, in initStream()
201 rc= p_mm_ops->ops->del_stream(mCameraHandle,mChannelId, in deinitStream()
224 rc = p_mm_ops->ops->get_parm(p_mm_ops->camera_handle, in setFormat()
255 rc = p_mm_ops->ops->config_stream(mCameraHandle, in setFormat()
330 rc = p_mm_ops->ops->get_stream_parm(mCameraHandle, in setCrop()
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 …]
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c176 uint32_t jpeg_open(mm_jpeg_ops_t *ops) in jpeg_open() argument
210 if (NULL != ops) { in jpeg_open()
212 ops->start_job = mm_jpeg_intf_start_job; in jpeg_open()
213 ops->abort_job = mm_jpeg_intf_abort_job; in jpeg_open()
215 ops->close = mm_jpeg_intf_close; in jpeg_open()
/device/generic/goldfish/camera/fake-pipeline2/
DBase.h48 const camera2_stream_ops_t *ops; member
55 const camera2_stream_in_ops_t *ops; member
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c77 mm_jpeg_ops_t ops; member
269 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops); in encode_test()
275 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in encode_test()
284 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
299 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
301 jpeg_obj.ops.close(jpeg_obj.handle); in encode_test()
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c76 mm_jpeg_ops_t ops; member
267 jpeg_obj.handle = jpeg_open(&jpeg_obj.ops); in encode_test()
273 rc = jpeg_obj.ops.create_session(jpeg_obj.handle, &jpeg_obj.params, in encode_test()
282 rc = jpeg_obj.ops.start_job(&jpeg_obj.job, &jpeg_obj.job_id[i]); in encode_test()
297 jpeg_obj.ops.destroy_session(jpeg_obj.job.encode_job.session_id); in encode_test()
299 jpeg_obj.ops.close(jpeg_obj.handle); in encode_test()
/device/generic/goldfish/camera/
DEmulatedCameraFactory.h86 void getVendorTagOps(vendor_tag_ops_t* ops);
103 static void get_vendor_tag_ops(vendor_tag_ops_t* ops);

1234