Home
last modified time | relevance | path

Searched refs:src_height (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb.c79 CNV_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb2_config_dwb_cnv()
105 (params->cnv_params.src_height != params->dest_height)) { in dwb2_enable()
165 (params->cnv_params.src_height != params->dest_height)) { in dwb2_update()
295 dwb_program_vert_scalar(dwbc20, params->cnv_params.src_height, in dwb2_set_scaler()
Ddcn20_dwb_scl.c798 uint32_t src_height, in dwb_program_vert_scalar() argument
821 src_height, dest_height); in dwb_program_vert_scalar()
Ddcn20_dwb.h445 uint32_t src_height,
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.c144 int src_width, src_height, dst_height, fps; in _dpu_plane_calc_bw() local
157 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw()
164 scale_factor = src_height > dst_height ? in _dpu_plane_calc_bw()
165 mult_frac(src_height, 1, dst_height) : 1; in _dpu_plane_calc_bw()
197 int dst_width, src_height, dst_height, fps; in _dpu_plane_calc_clk() local
202 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk()
210 if (src_height > dst_height) { in _dpu_plane_calc_clk()
211 pstate->plane_clk *= src_height; in _dpu_plane_calc_clk()
531 scale_cfg->src_height[i] = src_h; in _dpu_plane_setup_scaler3()
534 scale_cfg->src_height[i] /= chroma_subsmpl_v; in _dpu_plane_setup_scaler3()
[all …]
Ddpu_hw_util.h121 u32 src_height[DPU_MAX_PLANES]; member
283 uint32_t src_height[DPU_MAX_PLANES]; member
Ddpu_hw_util.c298 ((scaler3_cfg->src_height[0] & 0x1FFFF) << 16); in dpu_hw_setup_scaler3()
301 ((scaler3_cfg->src_height[1] & 0x1FFFF) << 16); in dpu_hw_setup_scaler3()
/linux-6.1.9/include/uapi/linux/
Divtv.h59 __u32 src_height; member
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_overlay.c847 sheight = params->src_height; in intel_overlay_do_put_image()
857 sheight |= (params->src_height / uv_vscale) << 16; in intel_overlay_do_put_image()
1006 if (rec->src_height > IMAGE_MAX_HEIGHT_LEGACY || in check_overlay_src()
1010 if (rec->src_height > IMAGE_MAX_HEIGHT || in check_overlay_src()
1016 if (rec->src_height < N_VERT_Y_TAPS*4 || in check_overlay_src()
1080 tmp = rec->stride_Y*rec->src_height; in check_overlay_src()
1091 tmp = rec->stride_Y * rec->src_height; in check_overlay_src()
1095 tmp = rec->stride_UV * (rec->src_height / uv_vscale); in check_overlay_src()
1185 if (params->src_scan_height > params->src_height || in intel_overlay_put_image_ioctl()
/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c93 tpg->src_height = tpg->buf_height = h; in tpg_init()
497 tpg->src_height = height; in tpg_reset_source()
1576 return (line * 8) / tpg->src_height; in tpg_get_pat_line()
1578 return line == tpg->src_height / 2; in tpg_get_pat_line()
1580 return (line + 1) / 2 == tpg->src_height / 4; in tpg_get_pat_line()
1582 return (line + 10) / 20 == tpg->src_height / 40; in tpg_get_pat_line()
1681 unsigned h = tpg->src_height; in tpg_calculate_square_border()
2086 tpg->mv_vert_step = tpg->src_height - tpg->mv_vert_step; in tpg_update_mv_step()
2214 tpg->src_width, tpg->src_height, in tpg_log_status()
2271 params->mv_vert_old = tpg->mv_vert_count % tpg->src_height; in tpg_fill_params_pattern()
[all …]
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_codec.h18 u32 src_height; member
Dvenc.c242 venc->params.src_height = cur_fmt->height; in venc_s_fmt()
370 u32 src_height; in venc_valid_crop() local
376 src_height = venc->params.src_height; in venc_valid_crop()
380 if (rect->left > src_width - min_width || rect->top > src_height - min_height) in venc_valid_crop()
386 rect->height = min(rect->height, src_height - rect->top); in venc_valid_crop()
415 venc->params.crop.height = venc->params.src_height; in venc_s_selection()
1185 venc->params.src_height, in venc_get_debug_info()
Dvpu_windsor.c407 u32 src_height; member
986 windsor->src_height = params->src_height; in vpu_windsor_set_size()
/linux-6.1.9/drivers/media/platform/nxp/
Dimx-pxp.c726 u32 src_width, src_height, src_stride, src_fourcc; in pxp_start() local
740 src_height = ctx->q_data[V4L2_M2M_SRC].height; in pxp_start()
808 decy = (src_height <= dst_height) ? 0 : ilog2(src_height / dst_height); in pxp_start()
812 y_size = src_stride * src_height; in pxp_start()
867 yscale = (src_height >> decy) * 0x1000 / dst_height; in pxp_start()
869 yscale = (src_height - 1) * 0x1000 / (dst_height - 1); in pxp_start()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddm_services_types.h127 uint32_t src_height; member
Ddc_types.h483 unsigned int src_height; /* input active height (half-active height in interlaced mode) */ member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dwb.c72 FC_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb3_config_fc()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c149 cfg->src_height = stream->src.height; in dce110_fill_display_configs()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c405 data->src_height[maximum_number_of_surfaces - 2] = data->src_height[5]; in calculate_bandwidth()
406 data->src_height[maximum_number_of_surfaces - 1] = data->src_height[5]; in calculate_bandwidth()
442 data->src_height_after_surface_type = bw_div(data->src_height[i], bw_int_to_fixed(2)); in calculate_bandwidth()
449 data->src_height_after_surface_type = data->src_height[i]; in calculate_bandwidth()
1438 …sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_height[k], data->v_scal… in calculate_bandwidth()
1442 …sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_height[k], data->v_scal… in calculate_bandwidth()
2000 …add(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[i], bw_sub(bw_div(data->src_height[i], data->v_scal… in calculate_bandwidth()
2829 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data()
2882 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data()
2932 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data()
[all …]
Dcalcs_logger.h428 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] src_height[%d]:%d", i, bw_fixed_to_int(data->src_height[i])); in print_bw_calcs_data()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h394 struct bw_fixed src_height[maximum_number_of_surfaces]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c286 wb_info->dwb_params.cnv_params.src_height; in dcn30_fpu_populate_dml_writeback_from_context()
311 (double)wb_info->dwb_params.cnv_params.src_height / in dcn30_fpu_populate_dml_writeback_from_context()
/linux-6.1.9/include/media/tpg/
Dv4l2-tpg.h135 unsigned src_width, src_height; member
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-yuv.c986 nf->tru_h = args->src_height; in ivtv_yuv_setup_frame()
1123 dma_args.src_height = yi->v4l2_src_h; in ivtv_yuv_setup_stream_frame()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c525 cfg->src_height = stream->src.height; in dce110_fill_display_configs()
/linux-6.1.9/tools/include/uapi/drm/
Di915_drm.h1806 __u16 src_height; member

12