Searched refs:stream_obj (Results 1 – 4 of 4) sorted by relevance
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 767 mm_stream_t *stream_obj = NULL; in mm_channel_add_stream() local 773 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream() 777 if (NULL == stream_obj) { in mm_channel_add_stream() 783 memset(stream_obj, 0, sizeof(mm_stream_t)); in mm_channel_add_stream() 784 stream_obj->my_hdl = mm_camera_util_generate_handler(idx); in mm_channel_add_stream() 785 stream_obj->ch_obj = my_obj; in mm_channel_add_stream() 787 stream_obj->buf_cb[0].cb = buf_cb; in mm_channel_add_stream() 788 stream_obj->buf_cb[0].user_data = user_data; in mm_channel_add_stream() 789 stream_obj->buf_cb[0].cb_count = -1; /* infinite by default */ in mm_channel_add_stream() 790 stream_obj->ext_image_mode = in mm_channel_add_stream() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 979 mm_stream_t *stream_obj = NULL; in mm_channel_link_stream() local 996 stream_obj = &my_obj->streams[idx]; in mm_channel_link_stream() 1000 if (NULL == stream_obj) { in mm_channel_link_stream() 1007 *stream_obj = *stream; in mm_channel_link_stream() 1008 stream_obj->linked_stream = stream; in mm_channel_link_stream() 1032 mm_stream_t *stream_obj = NULL; in mm_channel_add_stream() local 1038 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream() 1042 if (NULL == stream_obj) { in mm_channel_add_stream() 1048 memset(stream_obj, 0, sizeof(mm_stream_t)); in mm_channel_add_stream() 1049 stream_obj->fd = -1; in mm_channel_add_stream() [all …]
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 979 mm_stream_t *stream_obj = NULL; in mm_channel_link_stream() local 996 stream_obj = &my_obj->streams[idx]; in mm_channel_link_stream() 1000 if (NULL == stream_obj) { in mm_channel_link_stream() 1007 *stream_obj = *stream; in mm_channel_link_stream() 1008 stream_obj->linked_stream = stream; in mm_channel_link_stream() 1032 mm_stream_t *stream_obj = NULL; in mm_channel_add_stream() local 1038 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream() 1042 if (NULL == stream_obj) { in mm_channel_add_stream() 1048 memset(stream_obj, 0, sizeof(mm_stream_t)); in mm_channel_add_stream() 1049 stream_obj->fd = -1; in mm_channel_add_stream() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 889 mm_stream_t *stream_obj = NULL; in mm_channel_add_stream() local 895 stream_obj = &my_obj->streams[idx]; in mm_channel_add_stream() 899 if (NULL == stream_obj) { in mm_channel_add_stream() 905 memset(stream_obj, 0, sizeof(mm_stream_t)); in mm_channel_add_stream() 906 stream_obj->fd = -1; in mm_channel_add_stream() 907 stream_obj->my_hdl = mm_camera_util_generate_handler(idx); in mm_channel_add_stream() 908 stream_obj->ch_obj = my_obj; in mm_channel_add_stream() 909 pthread_mutex_init(&stream_obj->buf_lock, NULL); in mm_channel_add_stream() 910 pthread_mutex_init(&stream_obj->cb_lock, NULL); in mm_channel_add_stream() 911 stream_obj->state = MM_STREAM_STATE_INITED; in mm_channel_add_stream() [all …]
|