Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecodeAccuracyTestBase.java1511 final double[] comp = {Color.red(rgbColor), Color.green(rgbColor), Color.blue(rgbColor)}; in convertRgbToXyz() local
1513 for (int i = 0; i < comp.length; i++) { in convertRgbToXyz()
1514 comp[i] /= 255.0; in convertRgbToXyz()
1515 if (comp[i] > 0.04045) { in convertRgbToXyz()
1516 comp[i] = Math.pow((comp[i] + 0.055) / 1.055, 2.4); in convertRgbToXyz()
1518 comp[i] /= 12.92; in convertRgbToXyz()
1520 comp[i] *= 100; in convertRgbToXyz()
1522 final double x = (comp[RED] * 0.4124) + (comp[GREEN] * 0.3576) + (comp[BLUE] * 0.1805); in convertRgbToXyz()
1523 final double y = (comp[RED] * 0.2126) + (comp[GREEN] * 0.7152) + (comp[BLUE] * 0.0722); in convertRgbToXyz()
1524 final double z = (comp[RED] * 0.0193) + (comp[GREEN] * 0.1192) + (comp[BLUE] * 0.9505); in convertRgbToXyz()
[all …]
/cts/tools/cts-media/
Dget_achievable_rates.py348 for comp in sorted(by_comp):
349 section = 'Decoders' if comp.is_decoder else 'Encoders'
355 yield ' <MediaCodec name="%s" type="%s" update="true">' % (comp.name, comp.mime)
356 by_size = createLookup(by_comp[comp], lambda e: e.size)
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java116 JavadocTool comp = JavadocTool.make0(context); in getRootDoc() local
117 RootDocImpl root = comp.getRootDocImpl(docLocale, encoding, showAccess, in getRootDoc()
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py66 for comp in components[1:]:
67 mod = getattr(mod, comp)
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...