Home
last modified time | relevance | path

Searched refs:rgb (Results 1 – 2 of 2) sorted by relevance

/optee_os/scripts/kconfig/kconfiglib/
H A Dmenuconfig.py358 def _rgb_to_6cube(rgb): argument
371 return tuple(0 if x < 48 else int(round(max(1, (x - 55)/40))) for x in rgb)
380 def _rgb_to_gray(rgb): argument
388 luma = 0.299*rgb[0] + 0.587*rgb[1] + 0.114*rgb[2]
406 def _alloc_rgb(rgb, rgb2index={}): argument
419 if rgb in rgb2index:
420 return rgb2index[rgb]
426 _warn("Unable to allocate new RGB color ", rgb, ". Too many colors "
432 curses.init_color(color_index, *(int(round(1000*x/255)) for x in rgb))
433 rgb2index[rgb] = color_index
[all …]
/optee_os/core/arch/arm/dts/
H A Dstm32mp15xx-dhcor-avenger96.dtsi242 adi,input-colorspace = "rgb";