Searched refs:camera_obj (Results 1 – 3 of 3) sorted by relevance
36 camera_obj->camera_idx = -1; in video_camera_new()38 camera_obj->frame_release = 0; in video_camera_new()39 camera_obj->frame = NULL; in video_camera_new()61 if (camera_obj->frame == NULL) { in video_camera_open()63 if (camera_obj->frame) { in video_camera_open()71 py_video_camera_open(camera_obj->camera_idx, camera_obj->frame_rate); in video_camera_open()87 if (camera_obj->frame) { in video_camera_close()96 camera_obj->camera_idx = -1; in video_camera_close()99 camera_obj->frame = NULL; in video_camera_close()120 if (camera_obj->frame == NULL || camera_obj->camera_idx < 0) { in video_camera_preview()[all …]
37 camera_obj->frame_release = 0; in video_recorder_new()38 camera_obj->camera_idx = -1; in video_recorder_new()39 camera_obj->frame = NULL; in video_recorder_new()41 return MP_OBJ_FROM_PTR(camera_obj); in video_recorder_new()48 mp_video_camera_obj_t *camera_obj; in video_recorder_open() local70 if (camera_obj->frame == NULL) { in video_recorder_open()72 if (camera_obj->frame) { in video_recorder_open()80 py_rtsp_open(camera_obj->camera_idx, media_type, camera_obj->frame_rate, in video_recorder_open()98 if (camera_obj->frame) { in video_recorder_close()101 camera_obj->camera_idx = -1; in video_recorder_close()[all …]
35 camera_obj->mname = "video-player"; in video_player_new()36 camera_obj->camera_idx = -1; in video_player_new()37 camera_obj->frame = NULL; in video_player_new()39 return MP_OBJ_FROM_PTR(camera_obj); in video_player_new()46 mp_video_camera_obj_t *camera_obj; in video_player_open() local59 if (camera_obj->frame == NULL) { in video_player_open()61 if (camera_obj->frame) { in video_player_open()90 mp_video_camera_obj_t *camera_obj; in video_player_close() local97 if (camera_obj->frame) { in video_player_close()100 camera_obj->camera_idx = -1; in video_player_close()[all …]
Completed in 6 milliseconds