Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 14 of 14) sorted by relevance

/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_stream.c527 stream->frame.ref_count[i] = 0; in mm_camera_stream_util_reg_buf()
529 stream->frame.ref_count[i] = 1; in mm_camera_stream_util_reg_buf()
534 i, stream->frame.frame_offset[i], stream->frame.reg_flag[i], stream->frame.ref_count[i]); in mm_camera_stream_util_reg_buf()
556 memset(stream->frame.ref_count,0,(stream->frame.num_frame * sizeof(int8_t))); in mm_camera_stream_util_unreg_buf()
700 if(stream->frame.ref_count[frame->idx] == 0) { in mm_camera_stream_util_buf_done()
703 __func__, frame->idx, stream->frame.ref_count[frame->idx], stream->stream_type); in mm_camera_stream_util_buf_done()
706 stream->frame.ref_count[frame->idx]--; in mm_camera_stream_util_buf_done()
707 if(0 == stream->frame.ref_count[frame->idx]) { in mm_camera_stream_util_buf_done()
714 CDBG("<DEBUG> : Still ref count pending count :%d",stream->frame.ref_count[frame->idx]); in mm_camera_stream_util_buf_done()
720 stream->frame.ref_count[frame->idx]--; in mm_camera_stream_util_buf_done()
[all …]
Dmm_camera_notify.c71 my_obj->ch[MM_CAMERA_CH_RAW].raw.stream.frame.ref_count[idx]++; in mm_camera_read_raw_frame()
418 my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.ref_count[idx] = 2; in mm_camera_read_preview_frame()
420 my_obj->ch[MM_CAMERA_CH_PREVIEW].preview.stream.frame.ref_count[idx] = 1; in mm_camera_read_preview_frame()
470 … my_obj->ch[MM_CAMERA_CH_SNAPSHOT].snapshot.main.frame.ref_count[data[cnt].snapshot.main.idx]++; in mm_camera_snapshot_send_liveshot_notify()
530 … my_obj->ch[MM_CAMERA_CH_SNAPSHOT].snapshot.main.frame.ref_count[data[i].snapshot.main.idx]++; in mm_camera_snapshot_send_snapshot_notify()
531 …my_obj->ch[MM_CAMERA_CH_SNAPSHOT].snapshot.thumbnail.frame.ref_count[data[i].snapshot.thumbnail.id… in mm_camera_snapshot_send_snapshot_notify()
586 my_obj->ch[MM_CAMERA_CH_SNAPSHOT].snapshot.main.frame.ref_count[idx]++; in mm_camera_read_snapshot_main_frame()
656 my_obj->ch[MM_CAMERA_CH_VIDEO].video.video.frame.ref_count[idx]++; in mm_camera_read_video_frame()
Dmm_camera_interface2.c319 g_cam_ctrl.cam_obj[camera_id]->ref_count++; in mm_camera_ops_open()
333 g_cam_ctrl.cam_obj[camera_id]->ref_count++; in mm_camera_ops_open()
341 g_cam_ctrl.cam_obj[camera_id]->ref_count--; in mm_camera_ops_open()
364 my_obj->ref_count--; in mm_camera_ops_close()
365 if(my_obj->ref_count > 0) { in mm_camera_ops_close()
366 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_ops_close()
Dmm_camera.h119 int8_t ref_count[MM_CAMERA_MAX_NUM_FRAMES]; member
245 int ref_count; member
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c418 my_obj->ref_count--; in mm_camera_intf_close()
420 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
422 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_intf_close()
1374 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1389 cam_obj->ref_count++; in camera_open()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c418 my_obj->ref_count--; in mm_camera_intf_close()
420 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
422 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_intf_close()
1374 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1391 cam_obj->ref_count++; in camera_open()
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c189 my_obj->ref_count--; in mm_camera_intf_close()
191 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
193 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_intf_close()
911 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
928 cam_obj->ref_count++; in camera_open()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_interface.c363 my_obj->ref_count--; in mm_camera_intf_close()
365 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
367 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_intf_close()
1604 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1621 cam_obj->ref_count++; in camera_open()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_interface.c222 my_obj->ref_count--; in mm_camera_intf_close()
224 if(my_obj->ref_count > 0) { in mm_camera_intf_close()
226 CDBG("%s: ref_count=%d\n", __func__, my_obj->ref_count); in mm_camera_intf_close()
1275 g_cam_ctrl.cam_obj[camera_idx]->ref_count++; in camera_open()
1294 cam_obj->ref_count++; in camera_open()
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h369 int ref_count; member
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h396 int ref_count; member
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h371 int ref_count; member
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h419 int ref_count; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h433 int ref_count; member