Lines Matching refs:win

463 	struct osd_window_state *win = &osd->win[layer];
468 if (!win->is_enabled) {
472 win->is_enabled = 0;
509 struct osd_window_state *win = &osd->win[layer];
510 struct osd_layer_config *cfg = &win->lconfig;
519 if (!otherwin && (!win->is_allocated ||
520 !win->fb_base_phys ||
528 if (win->is_enabled) {
532 win->is_enabled = 1;
613 struct osd_window_state *win = &sd->win[layer];
620 cbcr_offset_32 = win->lconfig.line_length *
621 win->lconfig.ysize;
629 if (win->lconfig.pixfmt == PIXFMT_NV12) {
682 if (win->lconfig.pixfmt != PIXFMT_NV12) {
712 if (win->lconfig.pixfmt != PIXFMT_NV12) {
736 struct osd_window_state *win = &osd->win[layer];
737 struct osd_layer_config *cfg = &win->lconfig;
742 win->fb_base_phys = fb_base_phys & ~0x1F;
748 win->fb_base_phys,
759 struct osd_window_state *win = &osd->win[layer];
764 *lconfig = win->lconfig;
785 struct osd_window_state *win = &osd->win[layer];
827 *lconfig = win->lconfig;
837 pixfmt = osd->win[WIN_OSD1].lconfig.pixfmt;
839 pixfmt = osd->win[WIN_OSD0].lconfig.pixfmt;
846 *lconfig = win->lconfig;
857 pixfmt = osd->win[WIN_VID1].lconfig.pixfmt;
859 pixfmt = osd->win[WIN_VID0].lconfig.pixfmt;
866 *lconfig = win->lconfig;
873 *lconfig = win->lconfig;
1220 struct osd_window_state *win = &osd->win[layer];
1221 struct osd_layer_config *cfg = &win->lconfig;
1246 win->is_enabled = 0;
1337 if (osd->win[WIN_VID0].lconfig.pixfmt == PIXFMT_RGB888)
1339 else if (osd->win[WIN_VID1].lconfig.pixfmt == PIXFMT_RGB888)
1347 win->fb_base_phys,
1359 struct osd_window_state *win = &osd->win[layer];
1362 struct osd_layer_config *cfg = &win->lconfig;
1367 win->is_enabled = 0;
1370 win->h_zoom = ZOOM_X1;
1371 win->v_zoom = ZOOM_X1;
1372 _osd_set_zoom(sd, layer, win->h_zoom, win->v_zoom);
1374 win->fb_base_phys = 0;
1375 _osd_start_layer(sd, layer, win->fb_base_phys, 0);
1423 struct osd_window_state *win = &osd->win[layer];
1428 if (!win->is_allocated) {
1437 win->is_allocated = 0;
1445 struct osd_window_state *win = &osd->win[layer];
1450 if (win->is_allocated) {
1454 win->is_allocated = 1;