• Home
  • Raw
  • Download

Lines Matching refs:win

481 	struct osd_window_state *win = &osd->win[layer];  in osd_disable_layer()  local
486 if (!win->is_enabled) { in osd_disable_layer()
490 win->is_enabled = 0; in osd_disable_layer()
527 struct osd_window_state *win = &osd->win[layer]; in osd_enable_layer() local
528 struct osd_layer_config *cfg = &win->lconfig; in osd_enable_layer()
537 if (!otherwin && (!win->is_allocated || in osd_enable_layer()
538 !win->fb_base_phys || in osd_enable_layer()
546 if (win->is_enabled) { in osd_enable_layer()
550 win->is_enabled = 1; in osd_enable_layer()
631 struct osd_window_state *win = &sd->win[layer]; in _osd_start_layer() local
638 cbcr_offset_32 = win->lconfig.line_length * in _osd_start_layer()
639 win->lconfig.ysize; in _osd_start_layer()
647 if (win->lconfig.pixfmt == PIXFMT_NV12) { in _osd_start_layer()
700 if (win->lconfig.pixfmt != PIXFMT_NV12) { in _osd_start_layer()
730 if (win->lconfig.pixfmt != PIXFMT_NV12) { in _osd_start_layer()
754 struct osd_window_state *win = &osd->win[layer]; in osd_start_layer() local
755 struct osd_layer_config *cfg = &win->lconfig; in osd_start_layer()
760 win->fb_base_phys = fb_base_phys & ~0x1F; in osd_start_layer()
766 win->fb_base_phys, in osd_start_layer()
777 struct osd_window_state *win = &osd->win[layer]; in osd_get_layer_config() local
782 *lconfig = win->lconfig; in osd_get_layer_config()
803 struct osd_window_state *win = &osd->win[layer]; in try_layer_config() local
845 *lconfig = win->lconfig; in try_layer_config()
855 pixfmt = osd->win[WIN_OSD1].lconfig.pixfmt; in try_layer_config()
857 pixfmt = osd->win[WIN_OSD0].lconfig.pixfmt; in try_layer_config()
864 *lconfig = win->lconfig; in try_layer_config()
875 pixfmt = osd->win[WIN_VID1].lconfig.pixfmt; in try_layer_config()
877 pixfmt = osd->win[WIN_VID0].lconfig.pixfmt; in try_layer_config()
884 *lconfig = win->lconfig; in try_layer_config()
891 *lconfig = win->lconfig; in try_layer_config()
1238 struct osd_window_state *win = &osd->win[layer]; in osd_set_layer_config() local
1239 struct osd_layer_config *cfg = &win->lconfig; in osd_set_layer_config()
1264 win->is_enabled = 0; in osd_set_layer_config()
1355 if (osd->win[WIN_VID0].lconfig.pixfmt == PIXFMT_RGB888) in osd_set_layer_config()
1357 else if (osd->win[WIN_VID1].lconfig.pixfmt == PIXFMT_RGB888) in osd_set_layer_config()
1365 win->fb_base_phys, in osd_set_layer_config()
1377 struct osd_window_state *win = &osd->win[layer]; in osd_init_layer() local
1380 struct osd_layer_config *cfg = &win->lconfig; in osd_init_layer()
1385 win->is_enabled = 0; in osd_init_layer()
1388 win->h_zoom = ZOOM_X1; in osd_init_layer()
1389 win->v_zoom = ZOOM_X1; in osd_init_layer()
1390 _osd_set_zoom(sd, layer, win->h_zoom, win->v_zoom); in osd_init_layer()
1392 win->fb_base_phys = 0; in osd_init_layer()
1393 _osd_start_layer(sd, layer, win->fb_base_phys, 0); in osd_init_layer()
1441 struct osd_window_state *win = &osd->win[layer]; in osd_release_layer() local
1446 if (!win->is_allocated) { in osd_release_layer()
1455 win->is_allocated = 0; in osd_release_layer()
1463 struct osd_window_state *win = &osd->win[layer]; in osd_request_layer() local
1468 if (win->is_allocated) { in osd_request_layer()
1472 win->is_allocated = 1; in osd_request_layer()