Searched refs:lum (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/ |
D | Palette.kt | 30 private fun lum(rgb: Int): Float { in lum() method 50 val lum = lum(colors[i]) in randomize() constant 51 if (lum < lum(colors[darkest])) darkest = i in randomize() 52 if (lum > lum(colors[lightest])) lightest = i in randomize() 78 val lum = lum(colors[i]) constant in com.android.egg.paint.Palette 79 if (lum < lum(colors[darkest])) darkest = i 80 if (lum > lum(colors[lightest])) lightest = i
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | histogram.rscript | 40 int lum = (77 * c.r + 150 * c.g + 29 * c.b) >> 8; 42 int old = rsGetElementAt_int(gSums, lum, x); 43 rsSetElementAt_int(gSums, old+1, lum, x);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | histogram.rscript | 40 int lum = (77 * c.r + 150 * c.g + 29 * c.b) >> 8; 42 int old = rsGetElementAt_int(gSums, lum, y); 43 rsSetElementAt_int(gSums, old+1, lum, y);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode.cpp | 169 Int IntraDC_dpcm(Int val, Int lum, BitstreamEncVideo *bitstream); 1944 Int IntraDC_dpcm(Int val, Int lum, BitstreamEncVideo *bitstream) in IntraDC_dpcm() argument 1961 if (lum) in IntraDC_dpcm()
|