Home
last modified time | relevance | path

Searched refs:primary_height (Results 1 – 25 of 53) sorted by relevance

123

/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_display_external.cpp50 uint32_t primary_width, uint32_t primary_height, in Create() argument
70 if (primary_width && primary_height) { in Create()
75 external_height = primary_height; in Create()
80 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
193 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
196 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
200 if (primary_height > primary_width) { in GetDownscaleResolution()
201 std::swap(primary_height, primary_width); in GetDownscaleResolution()
203 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h41 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
55 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_display_external.cpp50 uint32_t primary_width, uint32_t primary_height, in Create() argument
70 if (primary_width && primary_height) { in Create()
75 external_height = primary_height; in Create()
80 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
194 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
197 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
201 if (primary_height > primary_width) { in GetDownscaleResolution()
202 std::swap(primary_height, primary_width); in GetDownscaleResolution()
204 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h41 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
55 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp53 uint32_t primary_height = 0; in Create() local
63 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
69 primary_height = UINT32(height); in Create()
72 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height); in Create()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_external.cpp48 uint32_t primary_width, uint32_t primary_height, in Create() argument
68 if (primary_width && primary_height) { in Create()
73 external_height = primary_height; in Create()
78 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
233 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
235 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
239 if (primary_height > primary_width) { in GetDownscaleResolution()
240 std::swap(primary_height, primary_width); in GetDownscaleResolution()
242 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h35 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
53 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp49 uint32_t primary_height = 0; in Create() local
59 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
65 primary_height = UINT32(height); in Create()
68 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height); in Create()
Dhwc_display_virtual.h37 uint32_t primary_width, uint32_t primary_height,
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_display_external.cpp50 uint32_t primary_width, uint32_t primary_height, in Create() argument
71 if (primary_width && primary_height) { in Create()
76 external_height = primary_height; in Create()
81 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
196 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
199 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
203 if (primary_height > primary_width) { in GetDownscaleResolution()
204 std::swap(primary_height, primary_width); in GetDownscaleResolution()
206 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h42 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
58 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_display_external.cpp50 uint32_t primary_width, uint32_t primary_height, in Create() argument
71 if (primary_width && primary_height) { in Create()
76 external_height = primary_height; in Create()
81 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
196 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
199 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
203 if (primary_height > primary_width) { in GetDownscaleResolution()
204 std::swap(primary_height, primary_width); in GetDownscaleResolution()
206 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h42 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
58 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_display_external.cpp50 uint32_t primary_width, uint32_t primary_height, in Create() argument
71 if (primary_width && primary_height) { in Create()
76 external_height = primary_height; in Create()
81 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
206 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
209 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
213 if (primary_height > primary_width) { in GetDownscaleResolution()
214 std::swap(primary_height, primary_width); in GetDownscaleResolution()
216 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h42 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
59 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_external.cpp48 uint32_t primary_width, uint32_t primary_height, in Create() argument
69 if (primary_width && primary_height) { in Create()
74 external_height = primary_height; in Create()
79 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
237 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
239 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
243 if (primary_height > primary_width) { in GetDownscaleResolution()
244 std::swap(primary_height, primary_width); in GetDownscaleResolution()
246 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h35 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
55 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_virtual.h37 uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp50 uint32_t primary_height = 0; in Create() local
60 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
66 primary_height = UINT32(height); in Create()
69 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height); in Create()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_external.cpp48 uint32_t primary_width, uint32_t primary_height, in Create() argument
69 if (primary_width && primary_height) { in Create()
74 external_height = primary_height; in Create()
79 GetDownscaleResolution(primary_width, primary_height, &external_width, &external_height); in Create()
237 void HWCDisplayExternal::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
239 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
243 if (primary_height > primary_width) { in GetDownscaleResolution()
244 std::swap(primary_height, primary_width); in GetDownscaleResolution()
246 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_external.h35 uint32_t primary_height, qService::QService *qservice, bool use_primary_res,
55 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_virtual.h37 uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp50 uint32_t primary_height = 0; in Create() local
60 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
66 primary_height = UINT32(height); in Create()
69 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height); in Create()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_display_pluggable.cpp45 uint32_t primary_width, uint32_t primary_height, in Create() argument
65 if (primary_width && primary_height) { in Create()
70 pluggable_height = primary_height; in Create()
75 GetDownscaleResolution(primary_width, primary_height, &pluggable_width, &pluggable_height); in Create()
200 void HWCDisplayPluggable::GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height, in GetDownscaleResolution() argument
203 uint32_t primary_area = primary_width * primary_height; in GetDownscaleResolution()
207 if (primary_height > primary_width) { in GetDownscaleResolution()
208 std::swap(primary_height, primary_width); in GetDownscaleResolution()
210 AdjustSourceResolution(primary_width, primary_height, non_primary_width, non_primary_height); in GetDownscaleResolution()
Dhwc_display_pluggable.h44 int32_t sdm_id, uint32_t primary_width, uint32_t primary_height,
64 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,

123