Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:lightness
(Results
1 - 1
of
1
) sorted by relevance
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
H
A
D
pwm_bl.c
157
* CIE
lightness
to PWM conversion.
159
* The CIE 1931
lightness
formula is what actually describes how we perceive
165
* is a number between 0.0 and 1.0; and L* is the
lightness
, how bright a human
171
static u64 cie1931(unsigned int
lightness
)
in cie1931()
argument
176
* @
lightness
is given as a number between 0 and 1, expressed
in cie1931()
182
lightness
*= 0x64;
in cie1931()
183
if (
lightness
<= (0x8 * PWM_LUMINANCE_SCALE)) {
in cie1931()
184
retval = DIV_ROUND_CLOSEST(
lightness
* 0xa, 0x2349);
in cie1931()
186
retval = (
lightness
+ (0x10 * PWM_LUMINANCE_SCALE)) / 0x74;
in cie1931()
Completed in 2 milliseconds