Home
last modified time | relevance | path

Searched refs:video_frame_buffer_info (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/video/
Dvideo.c21 struct scm_buffer_info_t video_frame_buffer_info = {0}; variable
37video_frame_buffer_info.vaddr = SPECIAL_MEMOEY_MAPPING_VIRT_ADDR_BASE + FRAME_BUFFER_MAPPING_OFFSE… in init_frame_buffer()
39 …rs_map_phys(video_frame_buffer_info.vaddr, __fb_info.framebuffer_addr, video_frame_buffer_info.siz… in init_frame_buffer()
62 if (video_frame_buffer_info.vaddr != NULL) in video_refresh_daemon()
63 … memcpy((void *)video_frame_buffer_info.vaddr, (void *)video_refresh_target->vaddr, in video_refresh_daemon()
154 memset(&video_frame_buffer_info, 0, sizeof(struct scm_buffer_info_t)); in video_init()
167 video_frame_buffer_info.bit_depth = 8; // type=2时,width和height是按照字符数来表示的,因此depth=8 in video_init()
168 video_frame_buffer_info.flags |= SCM_BF_TEXT; in video_init()
172 video_frame_buffer_info.bit_depth = __fb_info.framebuffer_bpp; in video_init()
173 video_frame_buffer_info.flags |= SCM_BF_PIXEL; in video_init()
[all …]
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dscreen_manager.c11 extern struct scm_buffer_info_t video_frame_buffer_info;
30 return &video_frame_buffer_info; in __create_buffer()
36 buf->bit_depth = video_frame_buffer_info.bit_depth; in __create_buffer()
43 buf->height = video_frame_buffer_info.height; in __create_buffer()
44 buf->width = video_frame_buffer_info.width; in __create_buffer()
45 buf->size = video_frame_buffer_info.size; in __create_buffer()
47 void* buf_vaddr = kzalloc(video_frame_buffer_info.size, 0); in __create_buffer()
66 if (unlikely(buf == &video_frame_buffer_info || buf == NULL)) in __destroy_buffer()
252 if (ptr->buf == &video_frame_buffer_info) in scm_enable_double_buffer()
345 if (ptr->buf == &video_frame_buffer_info) in scm_reinit()
[all …]