Home
last modified time | relevance | path

Searched refs:dst_width (Results 1 – 25 of 54) sorted by relevance

123

/hardware/qcom/sm8150/display/sdm/libs/core/
Dresource_default.cpp457 uint32_t dst_width = (uint32_t)(dst_rect.right - dst_rect.left); in SrcSplitConfig() local
459 if (src_width != dst_width) { in SrcSplitConfig()
464 if ((src_width > max_pipe_width) || (dst_width > max_pipe_width)) { in SrcSplitConfig()
607 float dst_width = dst->right - dst->left; in CalculateCropRects() local
619 left_cut_ratio = (sci_left - dst_left) / dst_width; in CalculateCropRects()
625 right_cut_ratio = (dst_right - sci_right) / dst_width; in CalculateCropRects()
699 float dst_width = dst.right - dst.left; in ValidateDimensions() local
702 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
704 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
806 float dst_width = dst.right - dst.left; in GetScaleFactor() local
[all …]
/hardware/qcom/display/msm8996/sdm/libs/core/
Dresource_default.cpp432 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() local
435 if ((src_width > hw_res_info_.max_pipe_width) || (dst_width > hw_res_info_.max_pipe_width)) { in SrcSplitConfig()
578 float dst_width = dst->right - dst->left; in CalculateCropRects() local
590 left_cut_ratio = (sci_left - dst_left) / dst_width; in CalculateCropRects()
596 right_cut_ratio = (dst_right - sci_right) / dst_width; in CalculateCropRects()
670 float dst_width = dst.right - dst.left; in ValidateDimensions() local
673 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
675 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
776 float dst_width = dst.right - dst.left; in GetScaleFactor() local
779 *scale_x = crop_width / dst_width; in GetScaleFactor()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/core/
Dresource_default.cpp469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() local
472 if ((src_width > hw_res_info_.max_pipe_width) || (dst_width > hw_res_info_.max_pipe_width)) { in SrcSplitConfig()
615 float dst_width = dst->right - dst->left; in CalculateCropRects() local
627 left_cut_ratio = (sci_left - dst_left) / dst_width; in CalculateCropRects()
633 right_cut_ratio = (dst_right - sci_right) / dst_width; in CalculateCropRects()
707 float dst_width = dst.right - dst.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
814 float dst_width = dst.right - dst.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Dresource_default.cpp469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() local
472 if ((src_width > hw_res_info_.max_pipe_width) || (dst_width > hw_res_info_.max_pipe_width)) { in SrcSplitConfig()
615 float dst_width = dst->right - dst->left; in CalculateCropRects() local
627 left_cut_ratio = (sci_left - dst_left) / dst_width; in CalculateCropRects()
633 right_cut_ratio = (dst_right - sci_right) / dst_width; in CalculateCropRects()
707 float dst_width = dst.right - dst.left; in ValidateDimensions() local
710 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
712 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
814 float dst_width = dst.right - dst.left; in GetScaleFactor() local
817 *scale_x = crop_width / dst_width; in GetScaleFactor()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/
Dresource_default.cpp469 float dst_width = dst_rect.right - dst_rect.left; in SrcSplitConfig() local
473 if ((src_width > fmax_pipe_width) || (dst_width > fmax_pipe_width)) { in SrcSplitConfig()
616 float dst_width = dst->right - dst->left; in CalculateCropRects() local
628 left_cut_ratio = (sci_left - dst_left) / dst_width; in CalculateCropRects()
634 right_cut_ratio = (dst_right - sci_right) / dst_width; in CalculateCropRects()
708 float dst_width = dst.right - dst.left; in ValidateDimensions() local
711 if ((UINT32(crop_width - dst_width) == 1) || (UINT32(crop_height - dst_height) == 1)) { in ValidateDimensions()
713 "crop_h = %.0f, dst_h = %.0f", crop_width, dst_width, crop_height, dst_height); in ValidateDimensions()
815 float dst_width = dst.right - dst.left; in GetScaleFactor() local
818 *scale_x = crop_width / dst_width; in GetScaleFactor()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp187 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
189 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
190 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp188 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
190 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
191 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp227 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
229 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
230 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/sdm845/display/sdm/libs/utils/
Drect.cpp271 float *crop_height, float *dst_width, in GetCropAndDestination() argument
289 *dst_width = dst.right - dst.left; in GetCropAndDestination()
297 float crop_width = 1.0f, crop_height = 1.0f, dst_width = 1.0f, dst_height = 1.0f; in GetScaleFactor() local
300 &dst_width, &dst_height); in GetScaleFactor()
305 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external.cpp190 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
192 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
193 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp190 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
192 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
193 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/sm8150/display/sdm/libs/utils/
Drect.cpp312 float *crop_height, float *dst_width, in GetCropAndDestination() argument
330 *dst_width = dst.right - dst.left; in GetCropAndDestination()
338 float crop_width = 1.0f, crop_height = 1.0f, dst_width = 1.0f, dst_height = 1.0f; in GetScaleFactor() local
341 &dst_width, &dst_height); in GetScaleFactor()
346 *scale_x = crop_width / dst_width; in GetScaleFactor()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external.cpp200 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
202 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
203 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_scale_drm.cpp112 scaler->dst_width = scale_data.dst_width; in SetPlaneScalerV2()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_scale_drm.cpp112 scaler->dst_width = scale_data.dst_width; in SetPlaneScalerV2()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp231 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
233 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
234 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp231 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
233 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
234 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp194 static void AdjustSourceResolution(uint32_t dst_width, uint32_t dst_height, uint32_t *src_width, in AdjustSourceResolution() argument
196 *src_height = (dst_width * (*src_height)) / (*src_width); in AdjustSourceResolution()
197 *src_width = dst_width; in AdjustSourceResolution()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_scale_drm.cpp119 scaler->dst_width = scale_data.dst_width; in SetScalerV2()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_scale_drm.cpp119 scaler->dst_width = scale_data.dst_width; in SetScalerV2()
/hardware/qcom/sdm845/display/sdm/include/utils/
Drect.h66 float *dst_width, float *dst_height);
/hardware/qcom/sm8150/display/sdm/include/utils/
Drect.h68 float *dst_width, float *dst_height);
/hardware/qcom/msm8x09/original-kernel-headers/drm/
Dsde_drm.h278 uint32_t dst_width; member
/hardware/qcom/msm8x09/kernel-headers/drm/
Dsde_drm.h102 uint32_t dst_width; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_mdp_ext.h619 uint32_t dst_width; member

123