Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 15 of 15) sorted by relevance

/cts/apps/CameraITS/tests/scene1/
Dtest_dng_noise_model.py73 for ch in range(4):
75 s,o = noise_profile[cfa_idxs[ch]]
81 plane = its.image.convert_capture_to_planes(cap, props)[ch]
82 plane = (plane * white_level - black_levels[ch]) / (
83 white_level - black_levels[ch])
89 var_measured[ch].append(
91 var_expected[ch].append(s * mean + o)
93 for ch in range(4):
94 pylab.plot(sensitivities, var_expected[ch], "rgkb"[ch],
95 label=["R","GR","GB","B"][ch]+" expected")
[all …]
Dtest_capture_result.py98 for ch in range(4):
104 zs = numpy.array(lsc_map[ch::4]).reshape(h_map, w_map)
106 matplotlib.pyplot.savefig("%s_plot_lsc_%s_ch%d.png"%(NAME,name,ch))
Dtest_crop_region_raw.py116 h,w,ch = img.shape
/cts/tools/dasm/src/java_cup/
Dlexer.java200 protected static boolean id_start_char(int ch) in id_start_char() argument
202 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') || in id_start_char()
203 (ch == '_'); in id_start_char()
213 protected static boolean id_char(int ch) in id_char() argument
215 return id_start_char(ch) || (ch >= '0' && ch <= '9'); in id_char()
223 protected static int find_single_char(int ch) in find_single_char() argument
227 result = (Integer)char_symbols.get(new Integer((char)ch)); in find_single_char()
/cts/tools/signature-tools/src/signature/converter/dex/
DGenericSignatureParser.java607 private boolean isStopSymbol(char ch) { in isStopSymbol() argument
608 switch (ch) { in isStopSymbol()
627 char ch = buffer[pos]; in scanIdentifier() local
628 if ((ch >= 'a') && (ch <= 'z') || (ch >= 'A') in scanIdentifier()
629 && (ch <= 'Z') || !isStopSymbol(ch)) { in scanIdentifier()
/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java100 for (int ch = 1; ch <= 2; ++ch) { in testAACEncoders()
110 format.setInteger(MediaFormat.KEY_CHANNEL_COUNT, ch); in testAACEncoders()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java378 for (int ch = 0; ch < 3; ch++) { in serializeTonemapCurve()
380 int len = curve.getPointCount(ch); in serializeTonemapCurve()
382 curveArr.put(curve.getPoint(ch, i).x); in serializeTonemapCurve()
383 curveArr.put(curve.getPoint(ch, i).y); in serializeTonemapCurve()
385 curveObj.put(names[ch], curveArr); in serializeTonemapCurve()
426 for (int ch = 0; ch < 4; ch++) { in serializeLensShadingMap()
427 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java220 for (int ch = 0; ch < 3; ch++) { in serializeTonemapCurve()
222 int len = curve.getPointCount(ch); in serializeTonemapCurve()
224 curveArr.put(curve.getPoint(ch,i).x); in serializeTonemapCurve()
225 curveArr.put(curve.getPoint(ch,i).y); in serializeTonemapCurve()
227 curveObj.put(names[ch], curveArr); in serializeTonemapCurve()
268 for (int ch = 0; ch < 4; ch++) { in serializeLensShadingMap()
269 mapObj.put(map.getGainFactor(ch, col, row)); in serializeLensShadingMap()
/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java206 public void characters(char[] ch, int start, int length) throws SAXException { in characters() argument
207 mVec.add(STR_CHARACTERS_TAG + new String(ch)); in characters()
227 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { in ignorableWhitespace() argument
228 mVec.add(STR_IGNORABLE_WHITESPACE_TAG + new String(ch)); in ignorableWhitespace()
DXmlTest.java123 public void characters(char[] ch, int start, int length) throws SAXException { in characters() argument
124 mVec.add(STR_CHARACTERS_TAG + new String(ch)); in characters()
144 public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { in ignorableWhitespace() argument
145 mVec.add(STR_IGNORABLE_WHITESPACE_TAG + new String(ch)); in ignorableWhitespace()
/cts/apps/CameraITS/pymodules/its/
Dimage.py661 ch = img.reshape(h*w*chans)[i::chans].reshape(h,w)
662 ch = ch.reshape(h,w/f,f).mean(2).reshape(h,w/f)
663 ch = ch.T.reshape(w/f,h/f,f).mean(2).T.reshape(h/f,w/f)
664 chs.append(ch.reshape(h*w/(f*f)))
Ddevice.py220 ch = self.sock.recv(1)
221 if len(ch) == 0:
224 chars.append(ch)
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java64 int ch; in printCpuInfo() local
69 while ( ( ch = in.read() ) != -1 ) { in printCpuInfo()
70 sb.append((char) ch); in printCpuInfo()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...