/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb.c | 79 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()
|
H A D | dcn20_dwb_scl.c | 801 uint32_t src_height, in dwb_program_vert_scalar() argument 824 src_height, dest_height); in dwb_program_vert_scalar()
|
H A D | dcn20_dwb.h | 418 uint32_t src_height,
|
/linux/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.c | 121 int src_width, src_height, dst_height, fps; in _dpu_plane_calc_bw() local 130 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_bw() 137 scale_factor = src_height > dst_height ? in _dpu_plane_calc_bw() 138 mult_frac(src_height, 1, dst_height) : 1; in _dpu_plane_calc_bw() 168 int dst_width, src_height, dst_height, fps; in _dpu_plane_calc_clk() local 171 src_height = drm_rect_height(&pipe_cfg->src_rect); in _dpu_plane_calc_clk() 179 if (src_height > dst_height) { in _dpu_plane_calc_clk() 180 plane_clk *= src_height; in _dpu_plane_calc_clk() 467 scale_cfg->src_height[i] = src_h; in _dpu_plane_setup_scaler3() 470 scale_cfg->src_height[i] /= chroma_subsmpl_v; in _dpu_plane_setup_scaler3() [all …]
|
H A D | dpu_hw_util.h | 127 u32 src_height[DPU_MAX_PLANES]; member 289 uint32_t src_height[DPU_MAX_PLANES]; member
|
H A D | dpu_hw_util.c | 311 ((scaler3_cfg->src_height[0] & 0x1FFFF) << 16); in dpu_hw_setup_scaler3() 314 ((scaler3_cfg->src_height[1] & 0x1FFFF) << 16); in dpu_hw_setup_scaler3()
|
/linux/include/uapi/linux/ |
H A D | ivtv.h | 59 __u32 src_height; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 849 sheight = params->src_height; in intel_overlay_do_put_image() 859 sheight |= (params->src_height / uv_vscale) << 16; in intel_overlay_do_put_image() 1015 if (rec->src_height > IMAGE_MAX_HEIGHT_LEGACY || in check_overlay_src() 1019 if (rec->src_height > IMAGE_MAX_HEIGHT || in check_overlay_src() 1025 if (rec->src_height < N_VERT_Y_TAPS*4 || in check_overlay_src() 1089 tmp = rec->stride_Y*rec->src_height; in check_overlay_src() 1100 tmp = rec->stride_Y * rec->src_height; in check_overlay_src() 1104 tmp = rec->stride_UV * (rec->src_height / uv_vscale); in check_overlay_src() 1194 if (params->src_scan_height > params->src_height || in intel_overlay_put_image_ioctl()
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_codec.h | 18 u32 src_height; member
|
H A D | venc.c | 241 venc->params.src_height = cur_fmt->height; in venc_s_fmt() 362 u32 src_height; in venc_valid_crop() local 368 src_height = venc->params.src_height; in venc_valid_crop() 372 if (rect->left > src_width - min_width || rect->top > src_height - min_height) in venc_valid_crop() 378 rect->height = min(rect->height, src_height - rect->top); in venc_valid_crop() 407 venc->params.crop.height = venc->params.src_height; in venc_s_selection() 1179 venc->params.src_height, in venc_get_debug_info()
|
H A D | vpu_windsor.c | 405 u32 src_height; member 992 windsor->src_height = params->src_height; in vpu_windsor_set_size()
|
/linux/drivers/media/common/v4l2-tpg/ |
H A D | v4l2-tpg-core.c | 93 tpg->src_height = tpg->buf_height = h; in tpg_init() 529 tpg->src_height = height; in tpg_reset_source() 1608 return (line * 8) / tpg->src_height; in tpg_get_pat_line() 1610 return line == tpg->src_height / 2; in tpg_get_pat_line() 1612 return (line + 1) / 2 == tpg->src_height / 4; in tpg_get_pat_line() 1614 return (line + 10) / 20 == tpg->src_height / 40; in tpg_get_pat_line() 1713 unsigned h = tpg->src_height; in tpg_calculate_square_border() 2246 tpg->src_width, tpg->src_height, in tpg_log_status() 2516 frame_line = tpg->src_height - frame_line - 1; in tpg_fill_plane_pattern() 2535 (frame_line + mv_vert_old) % tpg->src_height; in tpg_fill_plane_pattern() [all …]
|
/linux/drivers/media/platform/nxp/ |
H A D | imx-pxp.c | 843 u32 src_width, src_height, src_stride, src_fourcc; in pxp_start() local 857 src_height = ctx->q_data[V4L2_M2M_SRC].height; in pxp_start() 925 decy = (src_height <= dst_height) ? 0 : ilog2(src_height / dst_height); in pxp_start() 929 y_size = src_stride * src_height; in pxp_start() 984 yscale = (src_height >> decy) * 0x1000 / dst_height; in pxp_start() 986 yscale = (src_height - 1) * 0x1000 / (dst_height - 1); in pxp_start()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dm_services_types.h | 127 uint32_t src_height; member
|
H A D | dc_types.h | 400 unsigned int src_height; /* input active height (half-active height in interlaced mode) */ member
|
/linux/drivers/gpu/drm/amd/display/dc/dwb/dcn30/ |
H A D | dcn30_dwb.c | 72 FC_SOURCE_HEIGHT, params->cnv_params.src_height); in dwb3_config_fc()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
H A D | dce110_clk_mgr.c | 149 cfg->src_height = stream->src.height; in dce110_fill_display_configs()
|
/linux/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | dce_calcs.c | 403 data->src_height[maximum_number_of_surfaces - 2] = data->src_height[5]; in calculate_bandwidth() 404 data->src_height[maximum_number_of_surfaces - 1] = data->src_height[5]; in calculate_bandwidth() 440 data->src_height_after_surface_type = bw_div(data->src_height[i], bw_int_to_fixed(2)); in calculate_bandwidth() 447 data->src_height_after_surface_type = data->src_height[i]; in calculate_bandwidth() 1436 …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() 1998 …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() 2827 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data() 2880 …data->src_height[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.v… in populate_initial_data() 2930 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.viewport.height); in populate_initial_data() 2982 data->src_height[num_displays + 4] = bw_int_to_fixed(pipe[i].stream->src.height); in populate_initial_data() [all …]
|
H A D | calcs_logger.h | 428 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/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dce_calcs.h | 394 struct bw_fixed src_height[maximum_number_of_surfaces]; member
|
/linux/include/media/tpg/ |
H A D | v4l2-tpg.h | 135 unsigned src_width, src_height; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 286 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/drivers/media/pci/ivtv/ |
H A D | ivtv-yuv.c | 991 nf->tru_h = args->src_height; in ivtv_yuv_setup_frame() 1128 dma_args.src_height = yi->v4l2_src_h; in ivtv_yuv_setup_stream_frame()
|
/linux/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-hw.c | 1605 int src_width, int src_height) in wave5_set_enc_crop_info() argument 1608 int aligned_height = (codec == W_HEVC_ENC) ? ALIGN(src_height, 32) : ALIGN(src_height, 16); in wave5_set_enc_crop_info() 1618 pad_bot = aligned_height - src_height; in wave5_set_enc_crop_info()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clk_mgr.c | 525 cfg->src_height = stream->src.height; in dce110_fill_display_configs()
|