Lines Matching refs:layer_info
100 layer->layer_info.id, in vpbe_isr_odd_field()
275 osd_device->ops.disable_layer(osd_device, layer->layer_info.id); in vpbe_start_streaming()
322 osd_device->ops.disable_layer(osd_device, layer->layer_info.id); in vpbe_stop_streaming()
374 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_set_osd_display_params()
383 layer->layer_info.id, in vpbe_set_osd_display_params()
388 layer->layer_info.id, 0); in vpbe_set_osd_display_params()
396 layer->layer_info.enable = 1; in vpbe_set_osd_display_params()
402 otherlayer->layer_info.id, 1); in vpbe_set_osd_display_params()
408 otherlayer->layer_info.enable = 1; in vpbe_set_osd_display_params()
418 struct display_layer_info *layer_info = &layer->layer_info; in vpbe_disp_calculate_scale_factor() local
420 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_disp_calculate_scale_factor()
449 layer_info->h_zoom = ZOOM_X1; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
450 layer_info->v_zoom = ZOOM_X1; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
451 layer_info->h_exp = H_EXP_OFF; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
452 layer_info->v_exp = V_EXP_OFF; /* no horizontal zoom */ in vpbe_disp_calculate_scale_factor()
476 layer_info->h_zoom = ZOOM_X2; in vpbe_disp_calculate_scale_factor()
478 layer_info->h_zoom = ZOOM_X4; in vpbe_disp_calculate_scale_factor()
480 layer_info->h_exp = H_EXP_9_OVER_8; in vpbe_disp_calculate_scale_factor()
507 layer_info->v_zoom = ZOOM_X2; in vpbe_disp_calculate_scale_factor()
509 layer_info->v_zoom = ZOOM_X4; in vpbe_disp_calculate_scale_factor()
511 layer_info->v_exp = V_EXP_6_OVER_5; in vpbe_disp_calculate_scale_factor()
525 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_disp_adj_position()
646 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_display_s_selection()
666 layer->layer_info.id, cfg); in vpbe_display_s_selection()
674 layer->layer_info.id, cfg); in vpbe_display_s_selection()
683 layer->layer_info.id, in vpbe_display_s_selection()
684 layer->layer_info.h_zoom, in vpbe_display_s_selection()
685 layer->layer_info.v_zoom); in vpbe_display_s_selection()
687 layer->layer_info.h_exp, in vpbe_display_s_selection()
688 layer->layer_info.v_exp); in vpbe_display_s_selection()
695 if ((layer->layer_info.h_zoom != ZOOM_X1) || in vpbe_display_s_selection()
696 (layer->layer_info.v_zoom != ZOOM_X1) || in vpbe_display_s_selection()
697 (layer->layer_info.h_exp != H_EXP_OFF) || in vpbe_display_s_selection()
698 (layer->layer_info.v_exp != V_EXP_OFF)) in vpbe_display_s_selection()
712 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_display_g_selection()
727 layer->layer_info.id, cfg); in vpbe_display_g_selection()
812 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_display_s_fmt()
845 otherlayer->layer_info.id); in vpbe_display_s_fmt()
855 layer->layer_info.id, cfg); in vpbe_display_s_fmt()
873 otherlayer->layer_info.config.pixfmt = PIXFMT_NV12; in vpbe_display_s_fmt()
878 layer->layer_info.id, cfg); in vpbe_display_s_fmt()
887 layer->layer_info.id, cfg); in vpbe_display_s_fmt()
1161 layer->layer_info.id); in vpbe_display_open()
1186 struct osd_layer_config *cfg = &layer->layer_info.config; in vpbe_display_release()
1196 layer->layer_info.id); in vpbe_display_release()
1206 otherlayer->layer_info.id); in vpbe_display_release()
1208 otherlayer->layer_info.id); in vpbe_display_release()
1211 layer->layer_info.id); in vpbe_display_release()
1213 layer->layer_info.id); in vpbe_display_release()
1319 vpbe_display_layer->layer_info.id = in init_vpbe_layer()