/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_unit_test.c | 47 mm_camera_test_obj_t test_obj; in mm_app_tc_open_close() local 51 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); in mm_app_tc_open_close() 52 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_open_close() 59 rc = mm_app_close(&test_obj); in mm_app_tc_open_close() 79 mm_camera_test_obj_t test_obj; in mm_app_tc_start_stop_preview() local 83 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); in mm_app_tc_start_stop_preview() 84 rc = mm_app_open(cam_app, i, &test_obj); in mm_app_tc_start_stop_preview() 92 rc = mm_app_start_preview(&test_obj); in mm_app_tc_start_stop_preview() 99 rc = mm_app_stop_preview(&test_obj); in mm_app_tc_start_stop_preview() 107 rc |= mm_app_close(&test_obj); in mm_app_tc_start_stop_preview() [all …]
|
D | mm_qcamera_app.c | 487 mm_camera_test_obj_t *test_obj = in notify_evt_cb() local 489 if (test_obj == NULL || test_obj->cam->camera_handle != camera_handle) { in notify_evt_cb() 511 mm_camera_test_obj_t *test_obj) in mm_app_open() argument 518 rc = cam_app->hal_lib.mm_camera_open((uint8_t)cam_id, &(test_obj->cam)); in mm_app_open() 519 if(rc || !test_obj->cam) { in mm_app_open() 520 LOGE("dev open error. rc = %d, vtbl = %p\n", rc, test_obj->cam); in mm_app_open() 524 LOGD("Open Camera id = %d handle = %d", cam_id, test_obj->cam->camera_handle); in mm_app_open() 530 rc = mm_app_alloc_bufs(&test_obj->cap_buf, in mm_app_open() 541 rc = test_obj->cam->ops->map_buf(test_obj->cam->camera_handle, in mm_app_open() 543 test_obj->cap_buf.mem_info.fd, in mm_app_open() [all …]
|
D | mm_qcamera_video.c | 335 mm_camera_stream_t * mm_app_add_video_preview_stream(mm_camera_test_obj_t *test_obj, in mm_app_add_video_preview_stream() argument 343 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); in mm_app_add_video_preview_stream() 346 if ((test_obj->preview_resolution.user_input_display_width == 0) || in mm_app_add_video_preview_stream() 347 ( test_obj->preview_resolution.user_input_display_height == 0)) { in mm_app_add_video_preview_stream() 351 preview_dim.width = test_obj->preview_resolution.user_input_display_width; in mm_app_add_video_preview_stream() 352 preview_dim.height = test_obj->preview_resolution.user_input_display_height; in mm_app_add_video_preview_stream() 356 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_video_preview_stream() 384 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_video_preview_stream() 394 mm_camera_stream_t * mm_app_add_video_snapshot_stream(mm_camera_test_obj_t *test_obj, in mm_app_add_video_snapshot_stream() argument 403 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); in mm_app_add_video_snapshot_stream() [all …]
|
D | mm_qcamera_reprocess.c | 107 mm_camera_stream_t * mm_app_add_reprocess_stream_from_source(mm_camera_test_obj_t *test_obj, in mm_app_add_reprocess_stream_from_source() argument 120 if ( ( NULL == test_obj ) || in mm_app_add_reprocess_stream_from_source() 127 cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); in mm_app_add_reprocess_stream_from_source() 129 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_reprocess_stream_from_source() 162 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_reprocess_stream_from_source() 171 mm_camera_channel_t * mm_app_add_reprocess_channel(mm_camera_test_obj_t *test_obj, in mm_app_add_reprocess_channel() argument 182 channel = mm_app_add_channel(test_obj, in mm_app_add_reprocess_channel() 196 cam_capability_t *caps = ( cam_capability_t * ) ( test_obj->cap_buf.buf.buffer ); in mm_app_add_reprocess_channel() 199 pp_config.sharpness = test_obj->reproc_sharpness; in mm_app_add_reprocess_channel() 202 if (test_obj->reproc_wnr.denoise_enable) { in mm_app_add_reprocess_channel() [all …]
|
D | mm_qcamera_snapshot.c | 80 int encodeData(mm_camera_test_obj_t *test_obj, mm_camera_super_buf_t* recvd_frame, in encodeData() argument 88 test_obj->current_job_frames = in encodeData() 90 if (!test_obj->current_job_frames) { in encodeData() 94 *(test_obj->current_job_frames) = *recvd_frame; in encodeData() 98 job.encode_job.session_id = test_obj->current_jpeg_sess_id; in encodeData() 117 test_obj->mExifParams.sensor_params.sens_type = CAM_SENSOR_RAW; in encodeData() 118 job.encode_job.cam_exif_params = test_obj->mExifParams; in encodeData() 122 if (test_obj->mExifParams.debug_params) { in encodeData() 124 test_obj->mExifParams.debug_params, (sizeof(mm_jpeg_debug_exif_params_t))); in encodeData() 129 if (test_obj->metadata != NULL) { in encodeData() [all …]
|
D | mm_qcamera_rdi.c | 91 mm_camera_stream_t * mm_app_add_rdi_stream(mm_camera_test_obj_t *test_obj, in mm_app_add_rdi_stream() argument 101 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); in mm_app_add_rdi_stream() 138 rc = setmetainfoCommand(test_obj, &abc); in mm_app_add_rdi_stream() 143 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream() 179 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_stream() 194 mm_camera_stream_t * mm_app_add_rdi_snapshot_stream(mm_camera_test_obj_t *test_obj, in mm_app_add_rdi_snapshot_stream() argument 203 cam_capability_t *cam_cap = (cam_capability_t *)(test_obj->cap_buf.buf.buffer); in mm_app_add_rdi_snapshot_stream() 205 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_snapshot_stream() 238 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); in mm_app_add_rdi_snapshot_stream() 247 mm_camera_channel_t * mm_app_add_rdi_channel(mm_camera_test_obj_t *test_obj, uint8_t num_burst) in mm_app_add_rdi_channel() argument [all …]
|
D | mm_qcamera_main_menu.c | 1275 int take_jpeg_snapshot(mm_camera_test_obj_t *test_obj, int is_burst_mode) in take_jpeg_snapshot() argument 1278 int rc = mm_app_take_picture (test_obj, (uint8_t)is_burst_mode); in take_jpeg_snapshot() 2070 mm_camera_test_obj_t test_obj; in submain() local 2071 memset(&test_obj, 0, sizeof(mm_camera_test_obj_t)); in submain() 2318 if (lib_handle.test_obj.cam != NULL) { in submain() 2420 mm_app_start_record_preview(&lib_handle.test_obj, &snap_dim); in submain() 2427 mm_app_stop_record_preview(&lib_handle.test_obj); in submain()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
D | mm_qcamera_app.h | 349 mm_camera_test_obj_t test_obj; member 365 extern int setmetainfoCommand(mm_camera_test_obj_t *test_obj, 402 mm_camera_test_obj_t *test_obj); 403 extern int mm_app_close(mm_camera_test_obj_t *test_obj); 405 mm_camera_test_obj_t *test_obj, 410 extern int mm_app_del_channel(mm_camera_test_obj_t *test_obj, 412 extern mm_camera_stream_t * mm_app_add_stream(mm_camera_test_obj_t *test_obj, 414 extern int mm_app_del_stream(mm_camera_test_obj_t *test_obj, 417 extern int mm_app_config_stream(mm_camera_test_obj_t *test_obj, 421 extern int mm_app_start_channel(mm_camera_test_obj_t *test_obj, [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
D | QCameraHAL3SnapshotTest.cpp | 53 configureSnapshotStream(&(handle->test_obj), camid, w, h); in initTest() 55 constructDefaultRequest(&(handle->test_obj), 0); in initTest() 61 snapshotProcessCaptureRequest(&(handle->test_obj), 0); in initTest() 122 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in snapshotProcessCaptureRequestRepeat() 153 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in snapshotTestEnd()
|
D | QCameraHAL3RawSnapshotTest.cpp | 52 configureRawSnapshotStream(&(handle->test_obj), camid, w, h); in initTest() 53 constructDefaultRequest(&(handle->test_obj), 0); in initTest() 59 rawProcessCaptureRequest(&(handle->test_obj), 0); in initTest() 123 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in rawProcessCaptureRequestRepeat() 153 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in rawTestEnd()
|
D | QCameraHAL3VideoTest.cpp | 66 configureVideoStream(&(handle->test_obj), camid, w, h); in initTest() 68 constructDefaultRequest(&(handle->test_obj), camid); in initTest() 128 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in captureRequestRepeat() 187 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in videoTestEnd()
|
D | QCameraHAL3PreviewTest.cpp | 64 configurePreviewStream(&(handle->test_obj) , camid, w, h); in initTest() 66 constructDefaultRequest(&(handle->test_obj), camid); in initTest() 124 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in captureRequestRepeat() 208 hal3_camera_test_obj_t *my_test_obj = &(my_hal3test_obj->test_obj); in previewTestEnd()
|
D | QCameraHAL3Base.cpp | 205 my_test_obj = &(mLibHandle->test_obj); in hal3appCameraTestLoad() 209 my_if_handle->get_camera_info(0, &(mLibHandle->test_obj.cam_info)); in hal3appCameraTestLoad() 210 camcap_info = mLibHandle->test_obj.cam_info; in hal3appCameraTestLoad() 239 rc = hal3appCamOpen(&mLibHandle->app_obj, (int)camid, &(mLibHandle->test_obj)); in hal3appCameraLibOpen() 245 rc = hal3appCamInitialize((int)camid, &mLibHandle->test_obj); in hal3appCameraLibOpen()
|
D | QCameraHAL3Base.h | 121 hal3_camera_test_obj_t test_obj; member
|