Home
last modified time | relevance | path

Searched refs:primary_width (Results 1 – 25 of 51) 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()
74 external_width = primary_width; 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.h40 HWCCallbacks *callbacks, uint32_t primary_width,
55 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp52 uint32_t primary_width = 0; in Create() local
63 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
68 primary_width = UINT32(width); in Create()
72 status = hwc_display_primary->SetFrameBufferResolution(primary_width, primary_height); in Create()
/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()
74 external_width = primary_width; 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_primary.cpp52 uint32_t primary_width = 0; in Create() local
63 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
68 primary_width = UINT32(width); 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()
72 external_width = primary_width; 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.h34 static int Create(CoreInterface *core_intf, hwc_procs_t const **hwc_procs, uint32_t primary_width,
53 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,
Dhwc_display_primary.cpp48 uint32_t primary_width = 0; in Create() local
59 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
64 primary_width = UINT32(width); 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/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()
75 external_width = primary_width; 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.h41 HWCCallbacks *callbacks, uint32_t primary_width,
58 static void GetDownscaleResolution(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()
75 external_width = primary_width; 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.h41 HWCCallbacks *callbacks, uint32_t primary_width,
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()
75 external_width = primary_width; 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.h41 HWCCallbacks *callbacks, uint32_t primary_width,
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()
73 external_width = primary_width; 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.h34 static int Create(CoreInterface *core_intf, hwc_procs_t const **hwc_procs, uint32_t primary_width,
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.cpp49 uint32_t primary_width = 0; in Create() local
60 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
65 primary_width = UINT32(width); 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()
73 external_width = primary_width; 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.h34 static int Create(CoreInterface *core_intf, hwc_procs_t const **hwc_procs, uint32_t primary_width,
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.cpp49 uint32_t primary_width = 0; in Create() local
60 hwc_display_primary->GetMixerResolution(&primary_width, &primary_height); in Create()
65 primary_width = UINT32(width); 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()
69 pluggable_width = primary_width; 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,
65 static void GetDownscaleResolution(uint32_t primary_width, uint32_t primary_height,

123