Searched refs:nits (Results 1 – 14 of 14) sorted by relevance
/hardware/google/graphics/common/libhwc2.1/libdevice/ |
D | BrightnessController.h | 73 int setBrightnessNits(float nits, const nsecs_t vsyncNs); 156 auto nits = mBrightnessTable->BrightnessToNits(brightness.value(), brightnessMode); in getBrightnessNitsAndMode() local 157 if (nits == std::nullopt) { in getBrightnessNitsAndMode() 160 return std::make_tuple(nits.value(), brightnessMode); in getBrightnessNitsAndMode() 291 std::optional<float> NitsToBrightness(float nits) const override; 293 std::optional<uint32_t> NitsToDbv(BrightnessMode bm, float nits) const override; 308 BrightnessMode GetBrightnessModeForNits(float nits) const { in GetBrightnessModeForNits() argument 310 if (nits >= range.nits_min && nits <= range.nits_max) { in GetBrightnessModeForNits() 331 range.nits_min = attr.nits.min; in setBrightnessRangeFromAttribute() 332 range.nits_max = attr.nits.max; in setBrightnessRangeFromAttribute() [all …]
|
D | BrightnessController.cpp | 50 float nits) const { in NitsToBrightness() 51 BrightnessMode mode = GetBrightnessModeForNits(nits); in NitsToBrightness() 57 const float brightness = LinearInterpolation(nits, in NitsToBrightness() 74 std::optional<float> nits = DbvToNits(bm, dbv); in DbvToBrightness() local 75 if (nits == std::nullopt) { in DbvToBrightness() 79 return NitsToBrightness(nits.value()); in DbvToBrightness() 89 float nits = LinearInterpolation(brightness, range.brightness_min, range.brightness_max, in BrightnessToNits() local 91 if (isnan(nits)) { in BrightnessToNits() 95 return nits; in BrightnessToNits() 99 float nits) const { in NitsToDbv() [all …]
|
D | ExynosDisplay.h | 1352 virtual int32_t setBrightnessNits(const float nits);
|
D | ExynosDisplay.cpp | 4294 int32_t ExynosDisplay::setBrightnessNits(const float nits) in setBrightnessNits() argument 4297 int32_t ret = mBrightnessController->setBrightnessNits(nits, mVsyncPeriod); in setBrightnessNits()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | VK_EXT_hdr_metadata.adoc | 55 nits 57 nits 58 * pname:maxContentLightLevel is content's maximum luminance in nits 60 in nits
|
/hardware/google/graphics/common/include/displaycolor/ |
D | displaycolor.h | 146 virtual std::optional<uint32_t> NitsToDbv(BrightnessMode bm, float nits) const = 0; 148 virtual std::optional<float> NitsToBrightness(float nits) const = 0;
|
/hardware/google/graphics/common/libhwc2.1/libhwcService/ |
D | ExynosHWCService.cpp | 429 int32_t ExynosHWCService::setDisplayBrightnessNits(const int32_t display_id, const float nits) { in setDisplayBrightnessNits() argument 430 if (nits < 0) in setDisplayBrightnessNits() 436 return display->setBrightnessNits(nits); in setDisplayBrightnessNits()
|
D | IExynosHWC.h | 72 virtual int32_t setDisplayBrightnessNits(int32_t displayId, float nits) = 0;
|
D | ExynosHWCService.h | 74 virtual int32_t setDisplayBrightnessNits(const int32_t display_id, const float nits);
|
D | IExynosHWC.cpp | 430 virtual int32_t setDisplayBrightnessNits(int32_t displayId, float nits) { in setDisplayBrightnessNits() argument 434 data.writeFloat(nits); in setDisplayBrightnessNits() 870 float nits = data.readFloat(); in onTransact() local 871 int32_t error = setDisplayBrightnessNits(displayId, nits); in onTransact()
|
/hardware/google/graphics/common/libhwc2.1/ |
D | pixel-display.cpp | 392 double nits = std::get<float>(res.value()); in queryStats() local 393 (*_aidl_return) = DisplayStats::make<DisplayStats::brightnessNits>(nits); in queryStats()
|
/hardware/interfaces/configstore/1.0/ |
D | ISurfaceFlingerConfigs.hal | 68 * 2. has high luminance capability, typically 540 nits or higher at 10% OPR
|
/hardware/interfaces/graphics/composer/2.2/ |
D | IComposerClient.hal | 70 * Units: nits 71 * max as defined by ST 2048: 10,000 nits
|
/hardware/interfaces/graphics/common/1.0/ |
D | types.hal | 972 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits. 1005 * A pixel value of 1.0, 1.0, 1.0 corresponds to sRGB white (D65) at 80 nits.
|