Searched refs:props (Results 1 - 8 of 8) sorted by relevance
/drivers/hdf_core/framework/model/display/driver/backlight/ |
H A D | pwm_bl.c | 33 struct BacklightProperties props; member 47 if (blPwmDev->props.maxBrightness == 0) { in BlPwmUpdateBrightness() 54 duty = (brightness * blPwmDev->config.period) / blPwmDev->props.maxBrightness; in BlPwmUpdateBrightness() 104 ret = parser->GetUint32(node, "minBrightness", &blPwmDev->props.minBrightness, DEF_MIN_BRIGHTNESS); in ParseBlPwmCfg() 106 ret = parser->GetUint32(node, "maxBrightness", &blPwmDev->props.maxBrightness, DEF_MAX_BRIGHTNESS); in ParseBlPwmCfg() 109 defBrightness = (blPwmDev->props.minBrightness + blPwmDev->props.maxBrightness) / 2; in ParseBlPwmCfg() 110 ret = parser->GetUint32(node, "defBrightness", &blPwmDev->props.defBrightness, defBrightness); in ParseBlPwmCfg() 159 blDev = RegisterBlDev(blPwmDev->name, &blPwmDev->props, &g_blDevOps, blPwmDev); in BlPwmEntryInit() 167 if (UpdateBrightness(blDev, blPwmDev->props in BlPwmEntryInit() [all...] |
H A D | hdf_bl.c | 33 struct BacklightProperties props; member 53 struct BacklightProperties *props, struct BacklightOps *ops) in BlDevInstance() 69 ret = memcpy_s(&blDev->props, sizeof(struct BacklightProperties), in BlDevInstance() 70 props, sizeof(struct BacklightProperties)); in BlDevInstance() 72 HDF_LOGE("%s props memcpy fail", __func__); in BlDevInstance() 81 struct BacklightDev *RegisterBlDev(const char *name, struct BacklightProperties *props, in RegisterBlDev() argument 89 if ((name == NULL) || (ops == NULL) || (props == NULL)) { in RegisterBlDev() 90 HDF_LOGE("%s: name , ops or props is null", __func__); in RegisterBlDev() 105 blDev = BlDevInstance(name, props, ops); in RegisterBlDev() 156 blDev->props in UpdateBacklightState() 52 BlDevInstance(const char *devName, struct BacklightProperties *props, struct BacklightOps *ops) BlDevInstance() argument [all...] |
H A D | hdf_bl.h | 36 struct BacklightDev *RegisterBlDev(const char *name, struct BacklightProperties *props,
|
/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | drm_device.cpp | 107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local 108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty() 110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty() 111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty() 115 prop.value = props->prop_values[i]; in GetProperty() 143 drmModeFreeObjectProperties(props); in GetProperty()
|
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/ |
H A D | drm_device.cpp | 107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType);
in GetProperty() local 108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties"));
in GetProperty() 110 for (uint32_t i = 0; i < props->count_props; i++) {
in GetProperty() 111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]);
in GetProperty() 115 prop.value = props->prop_values[i];
in GetProperty() 119 drmModeFreeObjectProperties(props);
in GetProperty()
|
/drivers/peripheral/codec/test/demo/heif/include/ |
H A D | codec_heif_helper.h | 52 bool CreateImgParam(ImgType type, std::vector<uint8_t>& props);
|
/drivers/peripheral/codec/test/demo/heif/src/ |
H A D | codec_heif_helper.cpp | 159 bool HeifEncoderHelper::CreateImgParam(ImgType type, vector<uint8_t>& props) in CreateImgParam() argument 196 IF_TRUE_RETURN_VAL_WITH_MSG(!bw.Finalize(props), false, "failed to write img prop"); in CreateImgParam()
|
/drivers/peripheral/display/interfaces/include/ |
H A D | display_type.h | 455 PropertyObject* props; /**< Array of property objects */ member
|
Completed in 7 milliseconds