Home
last modified time | relevance | path

Searched refs:luma (Results 1 – 6 of 6) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DImageCompare.java30 private static double luma(int pixel) { in luma() method in ImageCompare
70 final double Y1 = luma(pixel1); in psnr()
71 final double Y2 = luma(pixel2); in psnr()
/frameworks/native/libs/gui/tests/
DRegionSampling_test.cpp150 float luma() { in luma() function
252 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F()
266 EXPECT_NEAR(listener->luma(), luma_green, error_margin); in TEST_F()
273 EXPECT_NEAR(listener->luma(), luma_blue, error_margin); in TEST_F()
291 EXPECT_NEAR(grayListener->luma(), luma_gray, error_margin); in TEST_F()
294 EXPECT_NEAR(greenListener->luma(), luma_green, error_margin); in TEST_F()
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp300 const uint8_t luma = std::round(getLuma(r, g, b) * 255.0f); in sampleArea() local
301 ++brightnessBuckets[luma]; in sampleArea()
302 if (brightnessBuckets[luma] > majoritySampleNum) return luma / 255.0f; in sampleArea()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp371 unsigned luma = in ConvertRGBToPlanarYUV() local
374 dstY[x] = luma; in ConvertRGBToPlanarYUV()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp493 unsigned luma = in ConvertRGB32ToPlanar() local
496 dstY[x] = luma; in ConvertRGB32ToPlanar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java299 private static float luma(int bgcolor) { in luma() method in MLand
1072 mScoreField.setTextColor(luma(color) > 0.7f ? 0xFF000000 : 0xFFFFFFFF);