Home
last modified time | relevance | path

Searched refs:rectRatio (Results 1 – 4 of 4) sorted by relevance

/test/xts/hats/hdf/display/composer/moduletest/
Dhdi_device_test.cpp42 .rectRatio = { 0, 0, 1.0f, 0.125f },
48 .rectRatio = { 0, 0.875f, 1.0f, 0.125f },
54 .rectRatio = { 0, 0.0, 1.0f, 1.0f },
65 .rectRatio = { 0, 0, 1.0f, 1.0f },
69 .rectRatio = { 0, 0, 1.0f, 0.125f },
73 .rectRatio = { 0, 0.875f, 1.0f, 0.125f },
84 .rectRatio = { 0, 0, 1.0f, 1.0f },
91 .rectRatio = { 0, 0, 1.0f, 0.125f },
98 .rectRatio = { 0, 0.875f, 1.0f, 0.125f },
109 .rectRatio = { 0, 0, 1.0f, 0.125f },
[all …]
/test/xts/hats/hdf/display/composer/unittest/
Dhdi_composer_ut.cpp120 DISPLAY_TEST_LOGE(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings()
121 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings()
122 setting.displayRect.h = static_cast<uint32_t>(setting.rectRatio.h * h); in AdjustLayerSettings()
123 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings()
124 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings()
125 setting.displayRect.y = static_cast<uint32_t>(setting.rectRatio.y * h); in AdjustLayerSettings()
127 …setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, setting.rectRatio.h, setting.displa… in AdjustLayerSettings()
430 .rectRatio = { 0, 0, 1.0f, 1.0f },
457 .rectRatio = { 0, 0, 1.0f, 1.0f },
461 .rectRatio = { 0, 0, 1.0f, 1.0f },
[all …]
/test/xts/hats/hdf/display/composer/benchmark/
Ddisplay_benchmark_test.cpp137 DISPLAY_TEST_LOGE(" ratio w: %f ratio h: %f", setting.rectRatio.w, setting.rectRatio.h); in AdjustLayerSettings()
138 if ((setting.rectRatio.w > 0.0f) && (setting.rectRatio.h > 0.0f)) { in AdjustLayerSettings()
139 setting.displayRect.h = static_cast<uint32_t>(setting.rectRatio.h * h); in AdjustLayerSettings()
140 setting.displayRect.w = static_cast<uint32_t>(setting.rectRatio.w * w); in AdjustLayerSettings()
141 setting.displayRect.x = static_cast<uint32_t>(setting.rectRatio.x * w); in AdjustLayerSettings()
142 setting.displayRect.y = static_cast<uint32_t>(setting.rectRatio.y * h); in AdjustLayerSettings()
144 setting.rectRatio.x, setting.rectRatio.y, setting.rectRatio.w, in AdjustLayerSettings()
145 setting.rectRatio.h,setting.displayRect.x,setting.displayRect.y, in AdjustLayerSettings()
814 .rectRatio = { 0, 0, 1.0f, 1.0f }, in BENCHMARK_F()
818 .rectRatio = { 0, 0, 1.0f, 1.0f }, in BENCHMARK_F()
[all …]
/test/xts/hats/hdf/display/composer/common/
Ddisplay_test_utils.h59 FRect rectRatio = { 0.0f }; member