Lines Matching refs:scaler

443 komeda_scaler_check_cfg(struct komeda_scaler *scaler,  in komeda_scaler_check_cfg()  argument
455 if (!malidp_in_range(&scaler->hsize, hsize_in) || in komeda_scaler_check_cfg()
456 !malidp_in_range(&scaler->hsize, hsize_out)) { in komeda_scaler_check_cfg()
461 if (!malidp_in_range(&scaler->vsize, vsize_in) || in komeda_scaler_check_cfg()
462 !malidp_in_range(&scaler->vsize, vsize_out)) { in komeda_scaler_check_cfg()
473 max_upscaling = scaler->max_upscaling; in komeda_scaler_check_cfg()
476 scaler->max_downscaling)) { in komeda_scaler_check_cfg()
482 scaler->max_downscaling)) { in komeda_scaler_check_cfg()
488 struct komeda_pipeline *pipe = scaler->base.pipeline; in komeda_scaler_check_cfg()
511 struct komeda_scaler *scaler; in komeda_scaler_validate() local
517 scaler = komeda_component_get_avail_scaler(dflow->input.component, in komeda_scaler_validate()
519 if (!scaler) { in komeda_scaler_validate()
524 err = komeda_scaler_check_cfg(scaler, kcrtc_st, dflow); in komeda_scaler_validate()
528 c_st = komeda_component_get_state_and_set_user(&scaler->base, in komeda_scaler_validate()
553 komeda_component_set_output(&dflow->input, &scaler->base, 0); in komeda_scaler_validate()
557 static void komeda_split_data_flow(struct komeda_scaler *scaler,
843 struct komeda_scaler *scaler = layer->base.pipeline->scalers[0]; in komeda_complete_data_flow_cfg() local
868 if (dflow->en_scaling && scaler) in komeda_complete_data_flow_cfg()
869 dflow->en_split = !malidp_in_range(&scaler->hsize, dflow->in_w) || in komeda_complete_data_flow_cfg()
870 !malidp_in_range(&scaler->hsize, dflow->out_w); in komeda_complete_data_flow_cfg()
945 static void komeda_split_data_flow(struct komeda_scaler *scaler, in komeda_split_data_flow() argument
962 if (dflow->en_scaling && scaler) in komeda_split_data_flow()
963 overlap += scaler->scaling_split_overlap; in komeda_split_data_flow()
970 if (dflow->en_img_enhancement && scaler) in komeda_split_data_flow()
971 overlap += scaler->enh_split_overlap; in komeda_split_data_flow()