Home
last modified time | relevance | path

Searched refs:varInfo (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Dframebuffer_allocator.cpp25 int32_t FramebufferAllocator::SetFdFormatAndVirtualRes(struct fb_var_screeninfo varInfo) in SetFdFormatAndVirtualRes() argument
29 varInfo.reserved[0] = 0; in SetFdFormatAndVirtualRes()
30 varInfo.reserved[1] = 0; in SetFdFormatAndVirtualRes()
31 varInfo.reserved[2] = 0; // init reserved[2] is 0 in SetFdFormatAndVirtualRes()
32 varInfo.xoffset = 0; in SetFdFormatAndVirtualRes()
33 varInfo.yoffset = 0; in SetFdFormatAndVirtualRes()
34 varInfo.activate = FB_ACTIVATE_NOW; in SetFdFormatAndVirtualRes()
36 varInfo.bits_per_pixel = 32; // 32bit in SetFdFormatAndVirtualRes()
37 varInfo.transp.length = 8; // 8 bits in SetFdFormatAndVirtualRes()
38 varInfo in SetFdFormatAndVirtualRes()
[all...]
H A Dframebuffer_allocator.h35 int32_t SetFdFormatAndVirtualRes(struct fb_var_screeninfo varInfo);
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/
H A Dfb_display.cpp56 struct fb_var_screeninfo varInfo; in Init() local
60 ret = DisplayAdapter::GetInstance()->Ioctl(deviceFd, FBIOGET_VSCREENINFO, &varInfo); in Init()
64 mode.width = varInfo.xres; in Init()
65 mode.height = varInfo.yres; in Init()
68 DISPLAY_LOGD("xres : %{public}d yres : %{public}d fps : %{public}d", varInfo.xres, varInfo.yres, mode.freshRate); in Init()
70 displayCapability_.phyWidth = varInfo.xres; in Init()
71 displayCapability_.phyHeight = varInfo.yres; in Init()

Completed in 2 milliseconds