Home
last modified time | relevance | path

Searched refs:mode_index (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_device_drm.cpp600 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local
601 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
603 mode_index); in InitializeConfigs()
604 current_mode_index_ = mode_index; in InitializeConfigs()
732 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in PopulateHWPanelInfo() local
733 if ((current_mode.vdisplay == connector_info_.modes[mode_index].mode.vdisplay) && in PopulateHWPanelInfo()
734 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
735 if (min_fps > connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
736 min_fps = connector_info_.modes[mode_index].mode.vrefresh; in PopulateHWPanelInfo()
738 if (max_fps < connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
[all …]
Dhw_virtual_drm.cpp184 int mode_index = -1; in SetDisplayAttributes() local
186 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
188 if (mode_index < 0) { in SetDisplayAttributes()
201 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
203 if (mode_index < 0) { in SetDisplayAttributes()
210 current_mode_index_ = UINT32(mode_index); in SetDisplayAttributes()
225 void HWVirtualDRM::GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index) { in GetModeIndex() argument
226 *mode_index = -1; in GetModeIndex()
231 *mode_index = INT32(i); in GetModeIndex()
Dhw_virtual_drm.h72 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_virtual_drm.cpp176 int mode_index = -1; in SetDisplayAttributes() local
178 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
180 if (mode_index < 0) { in SetDisplayAttributes()
193 GetModeIndex(display_attributes, &mode_index); in SetDisplayAttributes()
195 if (mode_index < 0) { in SetDisplayAttributes()
202 current_mode_index_ = UINT32(mode_index); in SetDisplayAttributes()
217 void HWVirtualDRM::GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index) { in GetModeIndex() argument
218 *mode_index = -1; in GetModeIndex()
223 *mode_index = INT32(i); in GetModeIndex()
Dhw_device_drm.cpp560 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in InitializeConfigs() local
561 if (connector_info_.modes[mode_index].mode.type & DRM_MODE_TYPE_PREFERRED) { in InitializeConfigs()
563 mode_index); in InitializeConfigs()
564 current_mode_index_ = mode_index; in InitializeConfigs()
686 for (uint32_t mode_index = 0; mode_index < connector_info_.modes.size(); mode_index++) { in PopulateHWPanelInfo() local
687 if ((current_mode.vdisplay == connector_info_.modes[mode_index].mode.vdisplay) && in PopulateHWPanelInfo()
688 (current_mode.hdisplay == connector_info_.modes[mode_index].mode.hdisplay)) { in PopulateHWPanelInfo()
689 if (min_fps > connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
690 min_fps = connector_info_.modes[mode_index].mode.vrefresh; in PopulateHWPanelInfo()
692 if (max_fps < connector_info_.modes[mode_index].mode.vrefresh) { in PopulateHWPanelInfo()
[all …]
Dhw_virtual_drm.h72 void GetModeIndex(const HWDisplayAttributes &display_attributes, int *mode_index);
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_pluggable.h77 DisplayError GetOverrideConfig(uint32_t *mode_index);
Ddisplay_pluggable.cpp183 DisplayError DisplayPluggable::GetOverrideConfig(uint32_t *mode_index) { in GetOverrideConfig() argument
186 if (!mode_index) { in GetOverrideConfig()
199 *mode_index = config_index; in GetOverrideConfig()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.h76 DisplayError GetOverrideConfig(uint32_t *mode_index);
Ddisplay_pluggable.cpp208 DisplayError DisplayPluggable::GetOverrideConfig(uint32_t *mode_index) { in GetOverrideConfig() argument
211 if (!mode_index) { in GetOverrideConfig()
226 *mode_index = config_index; in GetOverrideConfig()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_block_sizes.cpp957 bm.mode_index = static_cast<uint16_t>(i); in construct_block_size_descriptor_2d()
1171 bsd.block_modes[packed_idx].mode_index = static_cast<uint16_t>(i); in construct_block_size_descriptor_3d()
Dastcenc_compress_symbolic.cpp611 workscb.block_mode = qw_bm.mode_index; in compress_symbolic_block_for_partition_1plane()
944 workscb.block_mode = qw_bm.mode_index; in compress_symbolic_block_for_partition_2planes()
Dastcenc_internal.h403 uint16_t mode_index; member