Home
last modified time | relevance | path

Searched refs:target_width (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/staging/media/ipu3/
Dipu3-css-params.c134 imgu_css_scaler_calc(u32 input_width, u32 input_height, u32 target_width, in imgu_css_scaler_calc() argument
141 u32 out_width = target_width; in imgu_css_scaler_calc()
151 if (target_height * input_width > target_width * input_height) in imgu_css_scaler_calc()
152 target_width = DIV_ROUND_UP(target_height * input_width, in imgu_css_scaler_calc()
155 if (input_width == target_width) in imgu_css_scaler_calc()
167 input_width, target_width, in imgu_css_scaler_calc()
174 input_width, target_width, in imgu_css_scaler_calc()
185 } while ((out_width < target_width || out_height < target_height || in imgu_css_scaler_calc()
371 u32 input_width, input_height, target_width, target_height; in imgu_css_osys_calc_frame_and_stripe_params() local
377 target_width = css_pipe->queue[IPU3_CSS_QUEUE_VF].fmt.mpix.width; in imgu_css_osys_calc_frame_and_stripe_params()
[all …]
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dpcie.c1010 u32 target_width; in do_pcie_gen3_transition() local
1051 target_width = dd->lbus_width; in do_pcie_gen3_transition()
1422 dd->lbus_width < target_width) { /* not target */ in do_pcie_gen3_transition()