Home
last modified time | relevance | path

Searched refs:rgb (Results 1 - 4 of 4) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_config.cpp211 Json::Value rgb = GetValue(valueObj, "rgb"); in ParseLightConfig() local
212 if (!soc.isArray() || !rgb.isArray()) { in ParseLightConfig()
220 if (rgb.size() != MAX_RGB_RANGE || !rgb[RED_INDEX].isUInt() || !rgb[GREEN_INDEX].isUInt() || in ParseLightConfig()
221 !rgb[BLUE_INDEX].isUInt()) { in ParseLightConfig()
222 BATTERY_HILOGW(COMP_HDI, "The battery light %{public}s rgb data type error.", key.c_str()); in ParseLightConfig()
229 .rgb = (rgb[RED_INDE in ParseLightConfig()
[all...]
/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/
H A Dbattery_sys_test.cpp64 ASSERT_TRUE(lightConf[i].rgb >= 0 && lightConf[i].rgb <= maxRgb); in HWTEST_F()
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_config.h39 uint32_t rgb; member
/drivers/hdf_core/framework/support/platform/src/hdmi/
H A Dhdmi_core.c800 HDF_LOGD("Y422 is not support at pal and ntsc, force adapt to rgb!"); in HdmiTmdsClockUpdate()
1081 bool rgb; in HdmiFillVideoAttrFromHardwareStatus() local
1087 rgb = ((hwStatus->videoStatus.rgb2Ycbcr) || in HdmiFillVideoAttrFromHardwareStatus()
1089 videoAttr->colorSpace = (rgb == true) ? HDMI_COLOR_SPACE_RGB : HDMI_COLOR_SPACE_YCBCR444; in HdmiFillVideoAttrFromHardwareStatus()

Completed in 4 milliseconds