Home
last modified time | relevance | path

Searched refs:MM_CAMERA_CH_RAW (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/camera/mm-camera-interface/
Dmm_camera_notify.c59 stream = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream; in mm_camera_read_raw_frame()
64 pthread_mutex_lock(&my_obj->ch[MM_CAMERA_CH_RAW].mutex); in mm_camera_read_raw_frame()
66 if((my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb) && in mm_camera_read_raw_frame()
67 (my_obj->poll_threads[MM_CAMERA_CH_RAW].data.used == 1)){ in mm_camera_read_raw_frame()
68 data[cnt].type = MM_CAMERA_CH_RAW; in mm_camera_read_raw_frame()
70 data[cnt].def.frame = &my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.frame[idx].frame; in mm_camera_read_raw_frame()
71 my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.ref_count[idx]++; in mm_camera_read_raw_frame()
73 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].cb, in mm_camera_read_raw_frame()
74 (uint32_t)my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i].user_data); in mm_camera_read_raw_frame()
75 … memcpy(&buf_cb[cnt], &my_obj->ch[MM_CAMERA_CH_RAW].buf_cb[i], sizeof(mm_camera_buf_cb_t)); in mm_camera_read_raw_frame()
[all …]
Dmm_camera_channel.c76 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_get_num_stream()
106 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_get_stream_objs()
139 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_set_fmt()
194 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_acquire()
256 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_stream_null_val()
297 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_reg_buf()
406 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_qbuf()
499 case MM_CAMERA_CH_RAW: in mm_camera_ch_util_get_crop()
726 if(ch_type == MM_CAMERA_CH_RAW && in mm_camera_ch_fn()
Dmm_camera_interface2.h97 MM_CAMERA_CH_RAW, enumerator
Dmm_camera_interface2.c66 return MM_CAMERA_CH_RAW; in mm_camera_util_opcode_2_ch_type()
115 case MM_CAMERA_CH_RAW: in mm_camera_cfg_is_ch_supported()
Dmm_camera.c168 return MM_CAMERA_CH_RAW; in mm_camera_util_opcode_2_ch_type()
/hardware/qcom/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c156 fmt.ch_type = MM_CAMERA_CH_RAW; in mm_app_set_raw_snapshot_fmt()
237 reg_buf.ch_type = MM_CAMERA_CH_RAW; in mm_app_prepare_raw_snapshot_buf()
258 rc = pme->cam->cfg->unprepare_buf(pme->cam, MM_CAMERA_CH_RAW); in mm_app_unprepare_raw_snapshot_buf()
537 MM_CAMERA_CH_RAW, in mm_app_reg_raw_snapshot_data_cb()
548 MM_CAMERA_CH_RAW, in mm_app_reg_raw_snapshot_data_cb()
795 if (MM_CAMERA_OK != (rc = mm_app_open_ch(cam_id, MM_CAMERA_CH_RAW))) { in mm_app_start_raw_snapshot()
811 if (MM_CAMERA_OK != (rc = pme->cam->ops->ch_set_attr(pme->cam, MM_CAMERA_CH_RAW, &attr))) { in mm_app_start_raw_snapshot()
845 mm_app_close_ch(cam_id, MM_CAMERA_CH_RAW); in mm_app_stop_raw_snapshot()
/hardware/qcom/camera/QCamera/HAL/core/src/
DQCameraHWI_Still.cpp467 cam_ops_ch_set_attr(mCameraId, MM_CAMERA_CH_RAW, &ch_attr)) { in initRawSnapshotChannel()
474 fmt.ch_type = MM_CAMERA_CH_RAW; in initRawSnapshotChannel()
643 reg_buf.ch_type = MM_CAMERA_CH_RAW; in initRawSnapshotBuffers()
679 ret = cam_config_unprepare_buf(mCameraId, MM_CAMERA_CH_RAW); in deinitRawSnapshotBuffers()
1925 deinitSnapshotChannel(MM_CAMERA_CH_RAW); in handleError()
2103 ret = cam_ops_ch_acquire(mCameraId, MM_CAMERA_CH_RAW); in start()
2114 (void) cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_RAW, in start()
2241 ret= QCameraStream::deinitChannel(mCameraId, MM_CAMERA_CH_RAW); in stop()
2245 (void)cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_RAW, in stop()
/hardware/qcom/camera/
DQCameraHWI_Still.cpp519 cam_ops_ch_set_attr(mCameraId, MM_CAMERA_CH_RAW, &ch_attr)) { in initRawSnapshotChannel()
534 fmt.ch_type = MM_CAMERA_CH_RAW; in initRawSnapshotChannel()
712 reg_buf.ch_type = MM_CAMERA_CH_RAW; in initRawSnapshotBuffers()
748 ret = cam_config_unprepare_buf(mCameraId, MM_CAMERA_CH_RAW); in deinitRawSnapshotBuffers()
2159 deinitSnapshotChannel(MM_CAMERA_CH_RAW); in handleError()
2338 ret = cam_ops_ch_acquire(mCameraId, MM_CAMERA_CH_RAW); in start()
2349 (void) cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_RAW, in start()
2492 ret= QCameraStream::deinitChannel(mCameraId, MM_CAMERA_CH_RAW); in stop()
2496 (void)cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_RAW, in stop()