Home
last modified time | relevance | path

Searched refs:newConfig (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/
DSubscriptionManager.cpp179 ContSubConfigs newConfig = mContSubConfigsByPropIdArea[propIdAreaId]; in addContinuousSubscriberLocked() local
185 newConfig.addClient(clientId, subConfig); in addContinuousSubscriberLocked()
186 return updateContSubConfigsLocked(propIdAreaId, newConfig); in addContinuousSubscriberLocked()
192 ContSubConfigs newConfig = mContSubConfigsByPropIdArea[propIdAreaId]; in removeContinuousSubscriberLocked() local
193 newConfig.removeClient(clientId); in removeContinuousSubscriberLocked()
194 return updateContSubConfigsLocked(propIdAreaId, newConfig); in removeContinuousSubscriberLocked()
215 const ContSubConfigs& newConfig) { in updateContSubConfigsLocked() argument
217 float newRateHz = newConfig.getMaxSampleRateHz(); in updateContSubConfigsLocked()
219 float newResolution = newConfig.getMinRequiredResolution(); in updateContSubConfigsLocked()
222 newConfig.isVurEnabled() == oldConfig.isVurEnabled()) { in updateContSubConfigsLocked()
[all …]
/hardware/qcom/display/msm8994/libhdmi/
Dhdmi.cpp721 int HDMIDisplay::setActiveConfig(int newConfig) { in setActiveConfig() argument
722 if(newConfig < 0 || newConfig > mModeCount) { in setActiveConfig()
723 ALOGE("%s Invalid configuration %d", __FUNCTION__, newConfig); in setActiveConfig()
729 if (!isValidConfigChange(newConfig)) { in setActiveConfig()
730 ALOGE("%s Invalid configuration %d", __FUNCTION__, newConfig); in setActiveConfig()
734 mCurrentMode = mEDIDModes[newConfig]; in setActiveConfig()
735 mActiveConfig = newConfig; in setActiveConfig()
743 bool HDMIDisplay::isValidConfigChange(int newConfig) { in isValidConfigChange() argument
744 int newMode = mEDIDModes[newConfig]; in isValidConfigChange()
746 getAttrForConfig(newConfig, width, height, refresh); in isValidConfigChange()
Dhdmi.h72 int setActiveConfig(int newConfig);
96 bool isValidConfigChange(int newConfig);
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2_params.cpp495 struct dynamicConfig newConfig; in venc_store_dynamic_config() local
496 memset(&newConfig, 0, sizeof(dynamicConfig)); in venc_store_dynamic_config()
497 newConfig.type = config_type; in venc_store_dynamic_config()
501 memcpy(&newConfig.config_data.framerate, config, sizeof(OMX_CONFIG_FRAMERATETYPE)); in venc_store_dynamic_config()
504 … memcpy(&newConfig.config_data.intravoprefresh, config, sizeof(OMX_CONFIG_INTRAREFRESHVOPTYPE)); in venc_store_dynamic_config()
507 memcpy(&newConfig.config_data.bitrate, config, sizeof(OMX_VIDEO_CONFIG_BITRATETYPE)); in venc_store_dynamic_config()
510 … memcpy(&newConfig.config_data.useltr, config, sizeof(OMX_QCOM_VIDEO_CONFIG_LTRUSE_TYPE)); in venc_store_dynamic_config()
513 … memcpy(&newConfig.config_data.markltr, config, sizeof(OMX_QCOM_VIDEO_CONFIG_LTRMARK_TYPE)); in venc_store_dynamic_config()
516 memcpy(&newConfig.config_data.configqp, config, sizeof(OMX_QCOM_VIDEO_CONFIG_QP)); in venc_store_dynamic_config()
519 memcpy(&newConfig.config_data.intraperiod, config, sizeof(QOMX_VIDEO_INTRAPERIODTYPE)); in venc_store_dynamic_config()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1129 auto newConfig = std::make_shared<Config>(*this); in populateConfigs() local
1145 newConfig->setAttribute(Attribute::VsyncPeriod, in populateConfigs()
1147 newConfig->setAttribute(Attribute::Width, in populateConfigs()
1149 newConfig->setAttribute(Attribute::Height, in populateConfigs()
1151 newConfig->setAttribute(Attribute::DpiX, in populateConfigs()
1153 newConfig->setAttribute(Attribute::DpiY, in populateConfigs()
1159 newConfig->setAttribute(ColorMode, in populateConfigs()
1164 newConfig->setHwc1Id(hwc1ConfigId); in populateConfigs()
1167 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1171 newConfig.reset(); in populateConfigs()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1173 auto newConfig = std::make_shared<Config>(*this); in populateConfigs() local
1189 newConfig->setAttribute(Attribute::VsyncPeriod, in populateConfigs()
1191 newConfig->setAttribute(Attribute::Width, in populateConfigs()
1193 newConfig->setAttribute(Attribute::Height, in populateConfigs()
1195 newConfig->setAttribute(Attribute::DpiX, in populateConfigs()
1197 newConfig->setAttribute(Attribute::DpiY, in populateConfigs()
1203 newConfig->setAttribute(ColorMode, in populateConfigs()
1208 newConfig->setHwc1Id(hwc1ConfigId); in populateConfigs()
1211 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1215 newConfig.reset(); in populateConfigs()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/
DSubscriptionManager.h179 const ContSubConfigs& newConfig) REQUIRES(mLock);
/hardware/google/gfxstream/host/gl/glestranslator/EGL/
DEglDisplay.cpp261 std::unique_ptr<EglConfig> newConfig( in addSimplePixelFormat() local
266 if (m_uniqueConfigs.insert(*newConfig).second) { in addSimplePixelFormat()
267 config = newConfig.release(); in addSimplePixelFormat()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.h65 virtual void updateAppliedActiveConfig(const hwc2_config_t newConfig,
DExynosPrimaryDisplay.cpp1613 void ExynosPrimaryDisplay::updateAppliedActiveConfig(const hwc2_config_t newConfig, in updateAppliedActiveConfig() argument
1618 getDisplayVsyncPeriodFromConfig(newConfig)) { in updateAppliedActiveConfig()
1622 __func__, mAppliedActiveConfig, newConfig, mLastRefreshRateAppliedNanos, ts); in updateAppliedActiveConfig()
1627 mAppliedActiveConfig = newConfig; in updateAppliedActiveConfig()
/hardware/interfaces/audio/aidl/default/
DModule.cpp1106 AudioPortConfig newConfig; in setAudioPortConfigImpl() local
1107 newConfig.portId = portIt->id; in setAudioPortConfigImpl()
1108 if (fillPortConfig(*portIt, &newConfig)) { in setAudioPortConfigImpl()
1109 *out_suggested = newConfig; in setAudioPortConfigImpl()